14 overrides of GetAttributeUsageInfo
Microsoft.CodeAnalysis.CSharp (14)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
253
internal sealed override AttributeUsageInfo
GetAttributeUsageInfo
()
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
312
internal sealed override AttributeUsageInfo
GetAttributeUsageInfo
()
Symbols\ErrorTypeSymbol.cs (1)
530
internal override AttributeUsageInfo
GetAttributeUsageInfo
()
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2425
internal override AttributeUsageInfo
GetAttributeUsageInfo
()
Symbols\Source\ImplicitNamedTypeSymbol.cs (1)
40
internal override AttributeUsageInfo
GetAttributeUsageInfo
()
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1050
internal override AttributeUsageInfo
GetAttributeUsageInfo
()
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
218
internal override AttributeUsageInfo
GetAttributeUsageInfo
() => default;
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
900
internal override AttributeUsageInfo
GetAttributeUsageInfo
() => default;
Symbols\Synthesized\SynthesizedContainer.cs (1)
202
internal override AttributeUsageInfo
GetAttributeUsageInfo
() => default(AttributeUsageInfo);
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
155
internal override AttributeUsageInfo
GetAttributeUsageInfo
() => AttributeUsageInfo.Default;
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
123
internal override AttributeUsageInfo
GetAttributeUsageInfo
() => AttributeUsageInfo.Default;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
149
internal override AttributeUsageInfo
GetAttributeUsageInfo
() => default;
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
138
internal override AttributeUsageInfo
GetAttributeUsageInfo
()
Symbols\Wrapped\WrappedNamedTypeSymbol.cs (1)
252
internal override AttributeUsageInfo
GetAttributeUsageInfo
()
13 references to GetAttributeUsageInfo
Microsoft.CodeAnalysis.CSharp (13)
Compiler\ClsComplianceChecker.cs (1)
349
AttributeUsageInfo attributeUsage = attribute.AttributeClass.
GetAttributeUsageInfo
();
Emitter\Model\AttributeDataAdapter.cs (1)
96
get { return this.AttributeClass.
GetAttributeUsageInfo
().AllowMultiple; }
Emitter\Model\PEAssemblyBuilder.cs (1)
585
if (symbol.
GetAttributeUsageInfo
() != AttributeUsageInfo.Default)
Lowering\ClosureConversion\LambdaCapturedVariable.cs (1)
193
(attributeType.
GetAttributeUsageInfo
().ValidTargets & System.AttributeTargets.Field) != 0)
Lowering\StateMachineRewriter\StateMachineFieldSymbol.cs (1)
108
(attributeType.
GetAttributeUsageInfo
().ValidTargets & System.AttributeTargets.Field) != 0)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (2)
2430
return ((object)this.BaseTypeNoUseSiteDiagnostics != null) ? this.BaseTypeNoUseSiteDiagnostics.
GetAttributeUsageInfo
() : AttributeUsageInfo.Default;
2448
return ((object)this.BaseTypeNoUseSiteDiagnostics != null) ? this.BaseTypeNoUseSiteDiagnostics.
GetAttributeUsageInfo
() : AttributeUsageInfo.Default;
Symbols\Source\SourceAssemblySymbol.cs (1)
1227
if (attributeClass.
GetAttributeUsageInfo
().AllowMultiple)
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
721
AttributeUsageInfo attributeUsage = attribute.AttributeClass.
GetAttributeUsageInfo
();
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1060
return ((object)this.BaseTypeNoUseSiteDiagnostics != null) ? this.BaseTypeNoUseSiteDiagnostics.
GetAttributeUsageInfo
() : AttributeUsageInfo.Default;
Symbols\Symbol_Attributes.cs (1)
897
AttributeUsageInfo attributeUsageInfo = attributeType.
GetAttributeUsageInfo
();
Symbols\Synthesized\Records\SynthesizedPrimaryConstructorParameterBackingFieldSymbol.cs (1)
75
(attributeType.
GetAttributeUsageInfo
().ValidTargets & System.AttributeTargets.Field) != 0)
Symbols\Wrapped\WrappedNamedTypeSymbol.cs (1)
254
return _underlyingType.
GetAttributeUsageInfo
();