33 references to None
Microsoft.CodeAnalysis.CSharp (33)
Symbols\Source\AttributeLocation.cs (1)
143return AttributeLocation.None;
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (2)
169Debug.Assert(arguments.SymbolPart == AttributeLocation.None); 319Debug.Assert(symbolPart == AttributeLocation.None);
Symbols\Source\SourceAssemblySymbol.cs (3)
1324arguments.SymbolPart = AttributeLocation.None; 2328return IsInteractive ? AttributeLocation.None : AttributeLocation.Assembly | AttributeLocation.Module; 2341Debug.Assert(arguments.SymbolPart == AttributeLocation.None);
Symbols\Source\SourceComplexParameterSymbol.cs (2)
732Debug.Assert(arguments.SymbolPart == AttributeLocation.None); 1386Debug.Assert(symbolPart == AttributeLocation.None);
Symbols\Source\SourceConstructorSymbolBase.cs (1)
257if (arguments.SymbolPart == AttributeLocation.None)
Symbols\Source\SourceEventSymbol.cs (1)
292Debug.Assert(arguments.SymbolPart == AttributeLocation.None);
Symbols\Source\SourceFieldSymbol.cs (1)
120Debug.Assert(arguments.SymbolPart == AttributeLocation.None);
Symbols\Source\SourceMethodSymbolWithAttributes.cs (6)
283: (GetAttributeDeclarations(), AttributeLocation.None); 325Debug.Assert(arguments.SymbolPart == AttributeLocation.None || arguments.SymbolPart == AttributeLocation.Return); 329if (arguments.SymbolPart == AttributeLocation.None) 482Debug.Assert(arguments.SymbolPart == AttributeLocation.None || arguments.SymbolPart == AttributeLocation.Return); 484if (arguments.SymbolPart == AttributeLocation.None) 1023Debug.Assert(symbolPart == AttributeLocation.None || symbolPart == AttributeLocation.Return);
Symbols\Source\SourceModuleSymbol.cs (2)
450return ContainingAssembly.IsInteractive ? AttributeLocation.None : AttributeLocation.Assembly | AttributeLocation.Module; 511Debug.Assert(arguments.SymbolPart == AttributeLocation.None);
Symbols\Source\SourceNamedTypeSymbol.cs (3)
827return AttributeLocation.None; 1061Debug.Assert(arguments.SymbolPart == AttributeLocation.None); 1470Debug.Assert(symbolPart == AttributeLocation.None);
Symbols\Source\SourcePropertySymbolBase.cs (2)
1245Debug.Assert(arguments.SymbolPart == AttributeLocation.None); 1401Debug.Assert(symbolPart == AttributeLocation.None);
Symbols\Source\SourceTypeParameterSymbol.cs (1)
428Debug.Assert(arguments.SymbolPart == AttributeLocation.None);
Symbols\Symbol_Attributes.cs (7)
249/// <param name="symbolPart">Specific part of the symbol to which the attributes apply, or <see cref="AttributeLocation.None"/> if the attributes apply to the symbol itself.</param> 283/// <param name="symbolPart">Specific part of the symbol to which the attributes apply, or <see cref="AttributeLocation.None"/> if the attributes apply to the symbol itself.</param> 293AttributeLocation symbolPart = AttributeLocation.None, 663bool isOwner = symbolPart == AttributeLocation.None && ReferenceEquals(attributesOwner, attributeTarget); 683if (explicitTarget == AttributeLocation.None) 701if (allowedTargets == AttributeLocation.None) 726if (symbolPart == AttributeLocation.None)
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (1)
129Debug.Assert(arguments.SymbolPart == AttributeLocation.None);