7 references to IsNotNull
Microsoft.CodeAnalysis.CSharp (7)
FlowAnalysis\NullableWalker.cs (6)
1077
return !parameterState.
IsNotNull
();
1293
if (inputParamNames.IsEmpty || outputState.
IsNotNull
())
1302
&& GetState(ref state, inputSlot).
IsNotNull
())
4967
return resultType.State.
IsNotNull
()
9416
if (!isLiftedConversion || operandState.
IsNotNull
())
9418
var returnNotNull = operandState.
IsNotNull
() && method.ReturnNotNullIfParameterNotNull.Contains(parameter.Name);
Symbols\TypeWithState.cs (1)
94
(State.
IsNotNull
() || Type?.CanContainNull() == false ? NullableAnnotation.NotAnnotated : NullableAnnotation.Annotated);