We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af44109 commit 26d617aCopy full SHA for 26d617a
src/MongoDB.Driver/MongoCollectionSettings.cs
@@ -126,7 +126,7 @@ public IBsonSerializerRegistry SerializerRegistry
126
/// </summary>
127
public TimeSpan? Timeout
128
{
129
- get { return _timeout.Value; }
+ get { return _timeout; }
130
set
131
132
if (_isFrozen) { throw new InvalidOperationException("MongoCollectionSettings is frozen."); }
src/MongoDB.Driver/MongoDatabaseSettings.cs
@@ -111,7 +111,7 @@ public IBsonSerializerRegistry SerializerRegistry
111
112
113
114
115
116
117
0 commit comments