10 references to IsNotNull
Microsoft.CodeAnalysis.CSharp (10)
FlowAnalysis\NullableWalker.cs (9)
5281if ((leftType.IsNotNull && methodOpt.ReturnNotNullIfParameterNotNull.Contains(methodOpt.Parameters[0].Name)) || 5282(rightType.IsNotNull && methodOpt.ReturnNotNullIfParameterNotNull.Contains(methodOpt.Parameters[1].Name))) 5739if (leftType.IsNotNull && rightType.MayBeNull) 5743else if (rightType.IsNotNull && leftType.MayBeNull) 7136else if (leftType.MayBeNull && rightType.IsNotNull) 7141else if (rightType.MayBeNull && leftType.IsNotNull) 7598if (results[i].RValueType.IsNotNull || isExpandedParamsArgument) 9727if (!operandType.IsNotNull && reportRemainingWarnings) 10837return rValueType.IsNotNull;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1352if (notNullIfParameterNotNull.Contains(overrideParam.Name) && NullableWalker.GetParameterState(baseParam.TypeWithAnnotations, baseParam.FlowAnalysisAnnotations).IsNotNull)