17 references to AllowNull
Microsoft.CodeAnalysis.CSharp (17)
FlowAnalysis\NullableWalker.cs (7)
766if ((annotations & FlowAnalysisAnnotations.AllowNull) != 0) 2926if ((parameterAnnotations & FlowAnalysisAnnotations.AllowNull) != 0) 6692else if ((flowAnalysisAnnotations & FlowAnalysisAnnotations.AllowNull) == FlowAnalysisAnnotations.AllowNull) 10104return annotations & (FlowAnalysisAnnotations.DisallowNull | FlowAnalysisAnnotations.AllowNull); 10125return annotations & (FlowAnalysisAnnotations.DisallowNull | FlowAnalysisAnnotations.AllowNull); 10134annotations |= FlowAnalysisAnnotations.AllowNull;
Symbols\Metadata\PE\PEFieldSymbol.cs (4)
55Debug.Assert((value & ~(FlowAnalysisAnnotations.DisallowNull | FlowAnalysisAnnotations.AllowNull | FlowAnalysisAnnotations.MaybeNull | FlowAnalysisAnnotations.NotNull)) == 0); 59if ((value & FlowAnalysisAnnotations.AllowNull) != 0) bitsToSet |= PackedFlags.HasAllowNullAttribute; 71if ((theBits & PackedFlags.HasAllowNullAttribute) != 0) value |= FlowAnalysisAnnotations.AllowNull; 418if (module.HasAttribute(handle, AttributeDescription.AllowNullAttribute)) annotations |= FlowAnalysisAnnotations.AllowNull;
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
795if (module.HasAttribute(handle, AttributeDescription.AllowNullAttribute)) annotations |= FlowAnalysisAnnotations.AllowNull;
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
251if (attributeData.HasAllowNullAttribute) annotations |= FlowAnalysisAnnotations.AllowNull;
Symbols\Source\SourceComplexParameterSymbol.cs (1)
158if (attributeData.HasAllowNullAttribute) annotations |= FlowAnalysisAnnotations.AllowNull;
Symbols\SymbolExtensions.cs (1)
464annotations |= FlowAnalysisAnnotations.AllowNull;
Symbols\Synthesized\SynthesizedAccessorValueParameterSymbol.cs (2)
46result |= FlowAnalysisAnnotations.AllowNull; 91if ((annotations & FlowAnalysisAnnotations.AllowNull) != 0)