17 references to DisallowNull
Microsoft.CodeAnalysis.CSharp (17)
FlowAnalysis\NullableWalker.cs (7)
2931if ((parameterAnnotations & FlowAnalysisAnnotations.DisallowNull) != 0) 6688if ((flowAnalysisAnnotations & FlowAnalysisAnnotations.DisallowNull) == FlowAnalysisAnnotations.DisallowNull) 7512return ((targetAnnotations & FlowAnalysisAnnotations.DisallowNull) != 0) && 10104return annotations & (FlowAnalysisAnnotations.DisallowNull | FlowAnalysisAnnotations.AllowNull); 10125return annotations & (FlowAnalysisAnnotations.DisallowNull | FlowAnalysisAnnotations.AllowNull); 10139annotations |= 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)