diff --git a/Directory.Packages.props b/Directory.Packages.props
index 8ef272ab..5abea805 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -2,21 +2,21 @@
-
-
+
+
-
-
+
+
-
-
-
+
+
+
-
+
@@ -30,23 +30,23 @@
('$(TargetFrameworkIdentifier)' == '.NETStandard' And
$([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '2.0')) And
$([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '2.1'))) ">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbApplicationStore.cs b/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbApplicationStore.cs
index 2a43f1d4..1e7f484c 100644
--- a/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbApplicationStore.cs
+++ b/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbApplicationStore.cs
@@ -865,7 +865,7 @@ namespace OpenIddict.MongoDb
if ((await collection.ReplaceOneAsync(entity =>
entity.Id == application.Id &&
- entity.ConcurrencyToken == timestamp, application, null, cancellationToken)).MatchedCount == 0)
+ entity.ConcurrencyToken == timestamp, application, null as ReplaceOptions, cancellationToken)).MatchedCount == 0)
{
throw new OpenIddictExceptions.ConcurrencyException(new StringBuilder()
.AppendLine("The application was concurrently updated and cannot be persisted in its current state.")
diff --git a/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbAuthorizationStore.cs b/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbAuthorizationStore.cs
index 033e8307..c33a0da0 100644
--- a/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbAuthorizationStore.cs
+++ b/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbAuthorizationStore.cs
@@ -901,7 +901,7 @@ namespace OpenIddict.MongoDb
if ((await collection.ReplaceOneAsync(entity =>
entity.Id == authorization.Id &&
- entity.ConcurrencyToken == timestamp, authorization, null, cancellationToken)).MatchedCount == 0)
+ entity.ConcurrencyToken == timestamp, authorization, null as ReplaceOptions, cancellationToken)).MatchedCount == 0)
{
throw new OpenIddictExceptions.ConcurrencyException(new StringBuilder()
.AppendLine("The authorization was concurrently updated and cannot be persisted in its current state.")
diff --git a/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbScopeStore.cs b/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbScopeStore.cs
index 39320f18..a1ca929b 100644
--- a/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbScopeStore.cs
+++ b/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbScopeStore.cs
@@ -615,7 +615,7 @@ namespace OpenIddict.MongoDb
if ((await collection.ReplaceOneAsync(entity =>
entity.Id == scope.Id &&
- entity.ConcurrencyToken == timestamp, scope, null, cancellationToken)).MatchedCount == 0)
+ entity.ConcurrencyToken == timestamp, scope, null as ReplaceOptions, cancellationToken)).MatchedCount == 0)
{
throw new OpenIddictExceptions.ConcurrencyException(new StringBuilder()
.AppendLine("The scope was concurrently updated and cannot be persisted in its current state.")
diff --git a/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbTokenStore.cs b/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbTokenStore.cs
index 2f72b41e..ab34e825 100644
--- a/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbTokenStore.cs
+++ b/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbTokenStore.cs
@@ -991,7 +991,7 @@ namespace OpenIddict.MongoDb
if ((await collection.ReplaceOneAsync(entity =>
entity.Id == token.Id &&
- entity.ConcurrencyToken == timestamp, token, null, cancellationToken)).MatchedCount == 0)
+ entity.ConcurrencyToken == timestamp, token, null as ReplaceOptions, cancellationToken)).MatchedCount == 0)
{
throw new OpenIddictExceptions.ConcurrencyException(new StringBuilder()
.AppendLine("The token was concurrently updated and cannot be persisted in its current state.")