17 references to DisallowNull
Microsoft.CodeAnalysis.CSharp (17)
FlowAnalysis\NullableWalker.cs (7)
2931
if ((parameterAnnotations & FlowAnalysisAnnotations.
DisallowNull
) != 0)
6688
if ((flowAnalysisAnnotations & FlowAnalysisAnnotations.
DisallowNull
) == FlowAnalysisAnnotations.
DisallowNull
)
7512
return ((targetAnnotations & FlowAnalysisAnnotations.
DisallowNull
) != 0) &&
10104
return annotations & (FlowAnalysisAnnotations.
DisallowNull
| FlowAnalysisAnnotations.AllowNull);
10125
return annotations & (FlowAnalysisAnnotations.
DisallowNull
| FlowAnalysisAnnotations.AllowNull);
10139
annotations |= FlowAnalysisAnnotations.
DisallowNull
;
Symbols\Metadata\PE\PEFieldSymbol.cs (4)
55
Debug.Assert((value & ~(FlowAnalysisAnnotations.
DisallowNull
| FlowAnalysisAnnotations.AllowNull | FlowAnalysisAnnotations.MaybeNull | FlowAnalysisAnnotations.NotNull)) == 0);
58
if ((value & FlowAnalysisAnnotations.
DisallowNull
) != 0) bitsToSet |= PackedFlags.HasDisallowNullAttribute;
70
if ((theBits & PackedFlags.HasDisallowNullAttribute) != 0) value |= FlowAnalysisAnnotations.
DisallowNull
;
419
if (module.HasAttribute(handle, AttributeDescription.DisallowNullAttribute)) annotations |= FlowAnalysisAnnotations.
DisallowNull
;
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
796
if (module.HasAttribute(handle, AttributeDescription.DisallowNullAttribute)) annotations |= FlowAnalysisAnnotations.
DisallowNull
;
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
252
if (attributeData.HasDisallowNullAttribute) annotations |= FlowAnalysisAnnotations.
DisallowNull
;
Symbols\Source\SourceComplexParameterSymbol.cs (1)
159
if (attributeData.HasDisallowNullAttribute) annotations |= FlowAnalysisAnnotations.
DisallowNull
;
Symbols\SymbolExtensions.cs (1)
468
annotations |= FlowAnalysisAnnotations.
DisallowNull
;
Symbols\Synthesized\SynthesizedAccessorValueParameterSymbol.cs (2)
42
result |= FlowAnalysisAnnotations.
DisallowNull
;
87
if ((annotations & FlowAnalysisAnnotations.
DisallowNull
) != 0)