Skip to content

Commit

Permalink
CSHARP-4895: Mark API as obsolete: Driver + Core (#1500)
Browse files Browse the repository at this point in the history
  • Loading branch information
papafe authored Oct 14, 2024
1 parent 0bf1089 commit 576fec4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/MongoDB.Driver/MongoClientBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ namespace MongoDB.Driver
/// <summary>
/// Base class for implementors of <see cref="IMongoClient"/>.
/// </summary>
[Obsolete("This class will be removed in a later release.")]
public abstract class MongoClientBase : IMongoClient
{
/// <inheritdoc />
Expand Down
1 change: 1 addition & 0 deletions src/MongoDB.Driver/MongoCollectionBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ namespace MongoDB.Driver
/// Base class for implementors of <see cref="IMongoCollection{TDocument}"/>.
/// </summary>
/// <typeparam name="TDocument">The type of the document.</typeparam>
[Obsolete("This class will be made internal in a later release.")]
public abstract class MongoCollectionBase<TDocument> : IMongoCollection<TDocument>
{
/// <inheritdoc />
Expand Down
1 change: 1 addition & 0 deletions src/MongoDB.Driver/MongoDatabaseBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ namespace MongoDB.Driver
/// <summary>
/// Base class for implementors of <see cref="IMongoDatabase" />.
/// </summary>
[Obsolete("This class will be removed in a later release.")]
public abstract class MongoDatabaseBase : IMongoDatabase
{
// public properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
CA1801;
CA1812;
CA1822;
CA2007
CA2007;
CS0618
</NoWarn>
</PropertyGroup>

Expand Down

0 comments on commit 576fec4

Please sign in to comment.