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