10 references to IsNotNull
Microsoft.CodeAnalysis.CSharp (10)
FlowAnalysis\NullableWalker.cs (9)
4421if ((leftType.IsNotNull && methodOpt.ReturnNotNullIfParameterNotNull.Contains(methodOpt.Parameters[0].Name)) || 4422(rightType.IsNotNull && methodOpt.ReturnNotNullIfParameterNotNull.Contains(methodOpt.Parameters[1].Name))) 4803if (leftType.IsNotNull && rightType.MayBeNull) 4807else if (rightType.IsNotNull && leftType.MayBeNull) 5867else if (leftType.MayBeNull && rightType.IsNotNull) 5872else if (rightType.MayBeNull && leftType.IsNotNull) 6269if (results[i].RValueType.IsNotNull || isExpandedParamsArgument) 8055if (!operandType.IsNotNull && reportRemainingWarnings) 9114return rValueType.IsNotNull;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1333if (notNullIfParameterNotNull.Contains(overrideParam.Name) && NullableWalker.GetParameterState(baseParam.TypeWithAnnotations, baseParam.FlowAnalysisAnnotations).IsNotNull)