10 references to IsNotNull
Microsoft.CodeAnalysis.CSharp (10)
FlowAnalysis\NullableWalker.cs (9)
5072
if ((leftType.
IsNotNull
&& methodOpt.ReturnNotNullIfParameterNotNull.Contains(methodOpt.Parameters[0].Name)) ||
5073
(rightType.
IsNotNull
&& methodOpt.ReturnNotNullIfParameterNotNull.Contains(methodOpt.Parameters[1].Name)))
5530
if (leftType.
IsNotNull
&& rightType.MayBeNull)
5534
else if (rightType.
IsNotNull
&& leftType.MayBeNull)
6880
else if (leftType.MayBeNull && rightType.
IsNotNull
)
6885
else if (rightType.MayBeNull && leftType.
IsNotNull
)
7349
if (results[i].RValueType.
IsNotNull
|| isExpandedParamsArgument)
9421
if (!operandType.
IsNotNull
&& reportRemainingWarnings)
10532
return rValueType.
IsNotNull
;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1337
if (notNullIfParameterNotNull.Contains(overrideParam.Name) && NullableWalker.GetParameterState(baseParam.TypeWithAnnotations, baseParam.FlowAnalysisAnnotations).
IsNotNull
)