9 references to NotNullWhenTrue
Microsoft.CodeAnalysis.CSharp (9)
FlowAnalysis\NullableWalker.cs (6)
1271
bool hasNotNullWhenTrue = (annotations & FlowAnalysisAnnotations.NotNull) == FlowAnalysisAnnotations.
NotNullWhenTrue
;
2466
var unconditionalAnnotationWhenTrue = makeUnconditionalAnnotationCore(annotations, FlowAnalysisAnnotations.
NotNullWhenTrue
, FlowAnalysisAnnotations.NotNull);
6601
bool hasNotNullWhenTrue = (annotations & FlowAnalysisAnnotations.NotNull) == FlowAnalysisAnnotations.
NotNullWhenTrue
;
7626
(((annotations & FlowAnalysisAnnotations.
NotNullWhenTrue
) != 0) ^ ((annotations & FlowAnalysisAnnotations.NotNullWhenFalse) != 0));
7648
bool notNullWhenTrue = (annotations & FlowAnalysisAnnotations.
NotNullWhenTrue
) != 0;
7691
bool notNullWhenTrue = (parameterAnnotations & FlowAnalysisAnnotations.
NotNullWhenTrue
) != 0;
Symbols\FlowAnalysisAnnotations.cs (1)
22
NotNull =
NotNullWhenTrue
| NotNullWhenFalse,
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
813
annotations |= (when ? FlowAnalysisAnnotations.
NotNullWhenTrue
: FlowAnalysisAnnotations.NotNullWhenFalse);
Symbols\Source\SourceComplexParameterSymbol.cs (1)
181
annotations |= (when ? FlowAnalysisAnnotations.
NotNullWhenTrue
: FlowAnalysisAnnotations.NotNullWhenFalse);