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