-
Type: Bug
-
Resolution: Done
-
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/Linq/Linq3Implementation/Ast/Visitors/AstNodeVisitor.cs:92: FORWARD_NULL 127530 Comparing "newNode" to null implies that "newNode" might be null.
/src/MongoDB.Driver/Linq/Linq3Implementation/Ast/Visitors/AstNodeVisitor.cs:94: FORWARD_NULL 127530 Calling a method on null object "newNode".