Register BsonClassMap by type and support abstract Record #36
Annotations
1 error and 10 warnings
tests
Process completed with exit code 1.
|
tests:
src/Transactions/MongoTransactionDatabase.cs#L224
All 'DropCollection' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
|
tests:
src/Transactions/MongoTransactionDatabase.cs#L247
All 'DropCollectionAsync' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
|
tests:
src/Transactions/MongoTransactionCollection.cs#L685
Rename parameter 'cancellationToken' to '_cancellationToken' to match the interface declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
|
tests:
src/Prime.Extensions/MongoCollectionExtensions.cs#L122
'FindOptionsBase.Modifiers' is obsolete: 'Use individual properties instead.'
|
tests:
src/Prime.Extensions/MongoCollectionExtensions.cs#L133
'FindOptionsBase.Modifiers' is obsolete: 'Use individual properties instead.'
|
tests:
src/Prime.Extensions/MongoCollectionFindExtensions.cs#L146
The type 'TId' cannot be used as type parameter 'TKey' in the generic type or method 'AsyncCursorSourceExtensions.ToDictionaryAsync<TDocument, TKey>(IAsyncCursorSource<TDocument>, Func<TDocument, TKey>, CancellationToken)'. Nullability of type argument 'TId' doesn't match 'notnull' constraint.
|
tests:
src/Prime.Extensions/MongoCollectionFindExtensions.cs#L89
Method has 8 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
|
tests:
src/Prime.Extensions/MongoCollectionExtensions.cs#L122
'FindOptionsBase.Modifiers' is obsolete: 'Use individual properties instead.'
|
tests:
src/Prime.Extensions/MongoCollectionExtensions.cs#L133
'FindOptionsBase.Modifiers' is obsolete: 'Use individual properties instead.'
|
tests:
src/Prime.Extensions/MongoCollectionFindExtensions.cs#L100
The type 'TId' cannot be used as type parameter 'TKey' in the generic type or method 'ConcurrentDictionary<TKey, TValue>'. Nullability of type argument 'TId' doesn't match 'notnull' constraint.
|