17 references to AllowNull
Microsoft.CodeAnalysis.CSharp (17)
FlowAnalysis\NullableWalker.cs (7)
765if ((annotations & FlowAnalysisAnnotations.AllowNull) != 0) 2865if ((parameterAnnotations & FlowAnalysisAnnotations.AllowNull) != 0) 6631else if ((flowAnalysisAnnotations & FlowAnalysisAnnotations.AllowNull) == FlowAnalysisAnnotations.AllowNull) 10043return annotations & (FlowAnalysisAnnotations.DisallowNull | FlowAnalysisAnnotations.AllowNull); 10064return annotations & (FlowAnalysisAnnotations.DisallowNull | FlowAnalysisAnnotations.AllowNull); 10073annotations |= 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)