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