-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Dotnet Drivers
-
Not Needed
-
Dereference after null check
Either the check against null is unnecessary, or there may be a null reference exception. Reference is checked against null but then dereferenced anyway
/src/MongoDB.Driver.Core/Core/Operations/BulkWriteBatchResult.cs:147: FORWARD_NULL 102658 Comparing "writeConcernResult" to null implies that "writeConcernResult" might be null.
/src/MongoDB.Driver.Core/Core/Operations/BulkWriteBatchResult.cs:173: FORWARD_NULL 102658 Calling a method on null object "writeConcernResult".