10 references to IsNotNull
Microsoft.CodeAnalysis.CSharp (10)
FlowAnalysis\NullableWalker.cs (9)
5433if ((leftType.IsNotNull && methodOpt.ReturnNotNullIfParameterNotNull.Contains(methodOpt.Parameters[0].Name)) || 5434(rightType.IsNotNull && methodOpt.ReturnNotNullIfParameterNotNull.Contains(methodOpt.Parameters[1].Name))) 5907if (leftType.IsNotNull && rightType.MayBeNull) 5911else if (rightType.IsNotNull && leftType.MayBeNull) 7327else if (leftType.MayBeNull && rightType.IsNotNull) 7332else if (rightType.MayBeNull && leftType.IsNotNull) 7803if (results[i].RValueType.IsNotNull || isExpandedParamsArgument) 10054if (!operandType.IsNotNull && reportRemainingWarnings) 11384return rValueType.IsNotNull;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1368if (notNullIfParameterNotNull.Contains(overrideParam.Name) && NullableWalker.GetParameterState(baseParam.TypeWithAnnotations, baseParam.FlowAnalysisAnnotations).IsNotNull)