Skip to content

Commit 7dabafc

Browse files
author
Oleksandr Poliakov
committed
pr
1 parent 58c015d commit 7dabafc

12 files changed

+12
-12
lines changed

src/MongoDB.Driver/AggregateOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public TimeSpan? MaxAwaitTime
122122
/// <summary>
123123
/// Gets or sets the maximum time.
124124
/// </summary>
125-
[Obsolete("Use Timeout instead")]
125+
[Obsolete("MaxTime is obsolete and will be removed in a future version. Use Timeout instead.")]
126126
public TimeSpan? MaxTime
127127
{
128128
get { return _maxTime; }

src/MongoDB.Driver/CountOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public long? Limit
7373
/// <summary>
7474
/// Gets or sets the maximum time.
7575
/// </summary>
76-
[Obsolete("Use Timeout instead")]
76+
[Obsolete("MaxTime is obsolete and will be removed in a future version. Use Timeout instead.")]
7777
public TimeSpan? MaxTime
7878
{
7979
get { return _maxTime; }

src/MongoDB.Driver/CreateManyIndexesOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public CreateIndexCommitQuorum CommitQuorum
5555
/// Gets or sets the maximum time.
5656
/// </summary>
5757
/// <value>The maximum time.</value>
58-
[Obsolete("Use Timeout instead")]
58+
[Obsolete("MaxTime is obsolete and will be removed in a future version. Use Timeout instead.")]
5959
public TimeSpan? MaxTime
6060
{
6161
get { return _maxTime; }

src/MongoDB.Driver/CreateOneIndexOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public CreateIndexCommitQuorum CommitQuorum
4343
/// Gets or sets the maximum time.
4444
/// </summary>
4545
/// <value>The maximum time.</value>
46-
[Obsolete("Use Timeout instead")]
46+
[Obsolete("MaxTime is obsolete and will be removed in a future version. Use Timeout instead.")]
4747
public TimeSpan? MaxTime
4848
{
4949
get { return _maxTime; }

src/MongoDB.Driver/DistinctOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public BsonValue Comment
5252
/// <summary>
5353
/// Gets or sets the maximum time.
5454
/// </summary>
55-
[Obsolete("Use Timeout instead")]
55+
[Obsolete("MaxTime is obsolete and will be removed in a future version. Use Timeout instead.")]
5656
public TimeSpan? MaxTime
5757
{
5858
get { return _maxTime; }

src/MongoDB.Driver/DropIndexOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public BsonValue Comment
4444
/// Gets or sets the maximum time.
4545
/// </summary>
4646
/// <value>The maximum time.</value>
47-
[Obsolete("Use Timeout instead")]
47+
[Obsolete("MaxTime is obsolete and will be removed in a future version. Use Timeout instead.")]
4848
public TimeSpan? MaxTime
4949
{
5050
get { return _maxTime; }

src/MongoDB.Driver/EstimatedDocumentCountOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public BsonValue Comment
4242
/// <summary>
4343
/// Gets or sets the maximum time.
4444
/// </summary>
45-
[Obsolete("Use Timeout instead")]
45+
[Obsolete("MaxTime is obsolete and will be removed in a future version. Use Timeout instead.")]
4646
public TimeSpan? MaxTime
4747
{
4848
get { return _maxTime; }

src/MongoDB.Driver/FindOneAndDeleteOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public BsonDocument Let
7676
/// <summary>
7777
/// Gets or sets the maximum time.
7878
/// </summary>
79-
[Obsolete("Use Timeout instead")]
79+
[Obsolete("MaxTime is obsolete and will be removed in a future version. Use Timeout instead.")]
8080
public TimeSpan? MaxTime
8181
{
8282
get { return _maxTime; }

src/MongoDB.Driver/FindOneAndReplaceOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public bool IsUpsert
106106
/// <summary>
107107
/// Gets or sets the maximum time.
108108
/// </summary>
109-
[Obsolete("Use Timeout instead")]
109+
[Obsolete("MaxTime is obsolete and will be removed in a future version. Use Timeout instead.")]
110110
public TimeSpan? MaxTime
111111
{
112112
get { return _maxTime; }

src/MongoDB.Driver/FindOneAndUpdateOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public BsonDocument Let
120120
/// <summary>
121121
/// Gets or sets the maximum time.
122122
/// </summary>
123-
[Obsolete("Use Timeout instead")]
123+
[Obsolete("MaxTime is obsolete and will be removed in a future version. Use Timeout instead.")]
124124
public TimeSpan? MaxTime
125125
{
126126
get { return _maxTime; }

0 commit comments

Comments
 (0)