37 implementations of GetAttributes
Microsoft.CodeAnalysis (23)
CodeGen\ArrayMembers.cs (1)
353public IEnumerable<Cci.ICustomAttribute> GetAttributes(EmitContext context)
CodeGen\PrivateImplementationDetails.cs (3)
324public override IEnumerable<Cci.ICustomAttribute> GetAttributes(EmitContext context) 518public IEnumerable<Cci.ICustomAttribute> GetAttributes(EmitContext context) 677public virtual IEnumerable<Cci.ICustomAttribute> GetAttributes(EmitContext context)
Emit\CommonPEModuleBuilder.cs (1)
264IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context) => SpecializedCollections.EmptyEnumerable<Cci.ICustomAttribute>();
Emit\EditAndContinue\DeletedEventDefinition.cs (1)
66public IEnumerable<ICustomAttribute> GetAttributes(EmitContext context)
Emit\EditAndContinue\DeletedGenericParameter.cs (1)
87public IEnumerable<ICustomAttribute> GetAttributes(EmitContext context)
Emit\EditAndContinue\DeletedMethodDefinition.cs (1)
115public IEnumerable<ICustomAttribute> GetAttributes(EmitContext context)
Emit\EditAndContinue\DeletedParameterDefinition.cs (1)
54public IEnumerable<ICustomAttribute> GetAttributes(EmitContext context)
Emit\EditAndContinue\DeletedPropertyDefinition.cs (1)
80public IEnumerable<ICustomAttribute> GetAttributes(EmitContext context)
Emit\EditAndContinue\DeletedTypeDefinition.cs (1)
109public IEnumerable<ICustomAttribute> GetAttributes(EmitContext context)
Emit\ErrorType.cs (2)
168IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context) 232IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
Emit\NoPia\CommonEmbeddedMember.cs (1)
88IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
Emit\NoPia\CommonEmbeddedParameter.cs (1)
192IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
Emit\NoPia\CommonEmbeddedType.cs (1)
531IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
Emit\NoPia\CommonEmbeddedTypeParameter.cs (1)
191IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
Emit\NoPia\VtblGap.cs (1)
168IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
PEWriter\InheritedTypeParameter.cs (1)
195public IEnumerable<ICustomAttribute> GetAttributes(EmitContext context)
PEWriter\ModifiedTypeReference.cs (1)
70IEnumerable<ICustomAttribute> IReference.GetAttributes(EmitContext context)
PEWriter\ReturnValueParameter.cs (1)
19public IEnumerable<ICustomAttribute> GetAttributes(EmitContext context)
PEWriter\RootModuleStaticConstructor.cs (1)
110public IEnumerable<ICustomAttribute> GetAttributes(EmitContext context) => SpecializedCollections.EmptyEnumerable<ICustomAttribute>();
PEWriter\RootModuleType.cs (1)
51public IEnumerable<ICustomAttribute> GetAttributes(EmitContext context)
Microsoft.CodeAnalysis.CSharp (7)
Emitter\Model\AssemblyReference.cs (1)
48IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(CodeAnalysis.Emit.EmitContext context)
Emitter\Model\ExpandedVarargsMethodReference.cs (1)
130IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
Emitter\Model\FunctionPointerTypeSymbolAdapter.cs (1)
54IEnumerable<ICustomAttribute> IReference.GetAttributes(EmitContext context) => SpecializedCollections.EmptyEnumerable<ICustomAttribute>();
Emitter\Model\ModuleReference.cs (1)
81IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
Emitter\Model\NamedTypeReference.cs (1)
154IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
Emitter\Model\SymbolAdapter.cs (1)
41IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
Emitter\Model\TypeMemberReference.cs (1)
39IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
AssemblyReference.cs (1)
41IEnumerable<ICustomAttribute> IReference.GetAttributes(EmitContext context)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler.Utilities (1)
NamespaceTypeDefinitionNoBase.cs (1)
106IEnumerable<ICustomAttribute> IReference.GetAttributes(EmitContext context) => UnderlyingType.GetAttributes(context);
Microsoft.CodeAnalysis.VisualBasic (5)
Emit\AssemblyReference.vb (1)
52Private Function IReferenceAttributes(context As EmitContext) As IEnumerable(Of Cci.ICustomAttribute) Implements Cci.IReference.GetAttributes
Emit\ModuleReference.vb (1)
65Private Function IReferenceAttributes(context As EmitContext) As IEnumerable(Of Cci.ICustomAttribute) Implements Cci.IReference.GetAttributes
Emit\NamedTypeReference.vb (1)
110Private Function IReferenceAttributes(context As EmitContext) As IEnumerable(Of Cci.ICustomAttribute) Implements Cci.IReference.GetAttributes
Emit\SymbolAdapter.vb (1)
36Private Function IReferenceGetAttributes(context As EmitContext) As IEnumerable(Of Cci.ICustomAttribute) Implements Cci.IReference.GetAttributes
Emit\TypeMemberReference.vb (1)
29Private Function IReferenceAttributes(context As EmitContext) As IEnumerable(Of Cci.ICustomAttribute) Implements Cci.IReference.GetAttributes
24 references to GetAttributes
Microsoft.CodeAnalysis (17)
Emit\EditAndContinue\DeletedEventDefinition.cs (1)
68return WrapAttributes(OldDefinition.GetAttributes(context));
Emit\EditAndContinue\DeletedGenericParameter.cs (1)
89return OldDefinition.GetAttributes(context);
Emit\EditAndContinue\DeletedMethodDefinition.cs (1)
117return WrapAttributes(OldDefinition.GetAttributes(context));
Emit\EditAndContinue\DeletedParameterDefinition.cs (1)
56return WrapAttributes(OldDefinition.GetAttributes(context));
Emit\EditAndContinue\DeletedPropertyDefinition.cs (1)
82return WrapAttributes(OldDefinition.GetAttributes(context));
Emit\EditAndContinue\DeletedTypeDefinition.cs (1)
111return _oldTypeReference.GetAttributes(context);
PEWriter\InheritedTypeParameter.cs (1)
197return _parentParameter.GetAttributes(context);
PEWriter\MetadataVisitor.cs (4)
163this.Visit(genericParameter.GetAttributes(Context)); 424this.Visit(parameterDefinition.GetAttributes(Context)); 547this.Visit(typeMember.GetAttributes(Context)); 557this.Visit(typeMemberReference.GetAttributes(Context)); // In principle, references can have attributes that are distinct from the definitions they refer to.
PEWriter\MetadataWriter.cs (3)
611IteratorHelper.EnumerableIsNotEmpty(parDef.GetAttributes(Context))) 2091AddCustomAttributesToTable(parentHandle, parent.GetAttributes(Context)); 2101AddCustomAttributesToTable(parentHandle, parent.GetAttributes(Context));
PEWriter\ReferenceIndexerBase.cs (2)
86this.Visit(genericParameter.GetAttributes(Context)); 259this.Visit(typeDefinition.GetAttributes(Context));
PEWriter\Types.cs (1)
409/// itself. Unlike <see cref="IReference.GetAttributes(EmitContext)"/> a
Microsoft.CodeAnalysis.CSharp (1)
Emitter\Model\ExpandedVarargsMethodReference.cs (1)
132return _underlyingMethod.GetAttributes(context);
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler.Utilities (1)
NamespaceTypeDefinitionNoBase.cs (1)
106IEnumerable<ICustomAttribute> IReference.GetAttributes(EmitContext context) => UnderlyingType.GetAttributes(context);
Microsoft.CodeAnalysis.VisualBasic (5)
Emit\AssemblyReference.vb (1)
52Private Function IReferenceAttributes(context As EmitContext) As IEnumerable(Of Cci.ICustomAttribute) Implements Cci.IReference.GetAttributes
Emit\ModuleReference.vb (1)
65Private Function IReferenceAttributes(context As EmitContext) As IEnumerable(Of Cci.ICustomAttribute) Implements Cci.IReference.GetAttributes
Emit\NamedTypeReference.vb (1)
110Private Function IReferenceAttributes(context As EmitContext) As IEnumerable(Of Cci.ICustomAttribute) Implements Cci.IReference.GetAttributes
Emit\SymbolAdapter.vb (1)
36Private Function IReferenceGetAttributes(context As EmitContext) As IEnumerable(Of Cci.ICustomAttribute) Implements Cci.IReference.GetAttributes
Emit\TypeMemberReference.vb (1)
29Private Function IReferenceAttributes(context As EmitContext) As IEnumerable(Of Cci.ICustomAttribute) Implements Cci.IReference.GetAttributes