10 references to IsNotNull
Microsoft.CodeAnalysis.CSharp (10)
FlowAnalysis\NullableWalker.cs (9)
5127if ((leftType.IsNotNull && methodOpt.ReturnNotNullIfParameterNotNull.Contains(methodOpt.Parameters[0].Name)) || 5128(rightType.IsNotNull && methodOpt.ReturnNotNullIfParameterNotNull.Contains(methodOpt.Parameters[1].Name))) 5585if (leftType.IsNotNull && rightType.MayBeNull) 5589else if (rightType.IsNotNull && leftType.MayBeNull) 6976else if (leftType.MayBeNull && rightType.IsNotNull) 6981else if (rightType.MayBeNull && leftType.IsNotNull) 7445if (results[i].RValueType.IsNotNull || isExpandedParamsArgument) 9563if (!operandType.IsNotNull && reportRemainingWarnings) 10674return rValueType.IsNotNull;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1337if (notNullIfParameterNotNull.Contains(overrideParam.Name) && NullableWalker.GetParameterState(baseParam.TypeWithAnnotations, baseParam.FlowAnalysisAnnotations).IsNotNull)