10 references to IsNotNull
Microsoft.CodeAnalysis.CSharp (10)
FlowAnalysis\NullableWalker.cs (9)
4848if ((leftType.IsNotNull && methodOpt.ReturnNotNullIfParameterNotNull.Contains(methodOpt.Parameters[0].Name)) || 4849(rightType.IsNotNull && methodOpt.ReturnNotNullIfParameterNotNull.Contains(methodOpt.Parameters[1].Name))) 5249if (leftType.IsNotNull && rightType.MayBeNull) 5253else if (rightType.IsNotNull && leftType.MayBeNull) 6457else if (leftType.MayBeNull && rightType.IsNotNull) 6462else if (rightType.MayBeNull && leftType.IsNotNull) 6903if (results[i].RValueType.IsNotNull || isExpandedParamsArgument) 8922if (!operandType.IsNotNull && reportRemainingWarnings) 9999return rValueType.IsNotNull;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1332if (notNullIfParameterNotNull.Contains(overrideParam.Name) && NullableWalker.GetParameterState(baseParam.TypeWithAnnotations, baseParam.FlowAnalysisAnnotations).IsNotNull)