19 implementations of GetAttributes
Microsoft.CodeAnalysis (19)
CodeGen\ArrayMembers.cs (1)
352public IEnumerable<Cci.ICustomAttribute> GetAttributes(EmitContext context)
CodeGen\PrivateImplementationDetails.cs (3)
529public override IEnumerable<Cci.ICustomAttribute> GetAttributes(EmitContext context) 884public IEnumerable<Cci.ICustomAttribute> GetAttributes(EmitContext context) 1080public virtual IEnumerable<Cci.ICustomAttribute> GetAttributes(EmitContext context)
Emit\CommonPEModuleBuilder.cs (1)
372IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context) => SpecializedCollections.EmptyEnumerable<Cci.ICustomAttribute>();
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (1)
98public IEnumerable<Cci.ICustomAttribute> GetAttributes(EmitContext context)
Emit\EditAndContinue\DeletedSourceDefinition.cs (1)
39public IEnumerable<ICustomAttribute> GetAttributes(EmitContext context)
Emit\ErrorType.cs (2)
169IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context) 233IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
Emit\NoPia\CommonEmbeddedMember.cs (1)
91IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
Emit\NoPia\CommonEmbeddedParameter.cs (1)
193IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
Emit\NoPia\CommonEmbeddedType.cs (1)
533IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
Emit\NoPia\CommonEmbeddedTypeParameter.cs (1)
204IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
Emit\NoPia\VtblGap.cs (1)
173IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
PEWriter\InheritedTypeParameter.cs (1)
202public IEnumerable<ICustomAttribute> GetAttributes(EmitContext context)
PEWriter\MethodDefinitionBase.cs (1)
111public IEnumerable<ICustomAttribute> GetAttributes(EmitContext context) => SpecializedCollections.EmptyEnumerable<ICustomAttribute>();
PEWriter\ModifiedTypeReference.cs (1)
72IEnumerable<ICustomAttribute> IReference.GetAttributes(EmitContext context)
PEWriter\ParameterDefinitionBase.cs (1)
32public virtual IEnumerable<Cci.ICustomAttribute> GetAttributes(EmitContext context) => [];
PEWriter\RootModuleType.cs (1)
53public IEnumerable<ICustomAttribute> GetAttributes(EmitContext context)
11 references to GetAttributes
Microsoft.CodeAnalysis (11)
PEWriter\InheritedTypeParameter.cs (1)
204return _parentParameter.GetAttributes(context);
PEWriter\MetadataVisitor.cs (4)
164this.Visit(genericParameter.GetAttributes(Context)); 441this.Visit(parameterDefinition.GetAttributes(Context)); 568this.Visit(typeMember.GetAttributes(Context)); 579this.Visit(typeMemberReference.GetAttributes(Context)); // In principle, references can have attributes that are distinct from the definitions they refer to.
PEWriter\MetadataWriter.cs (3)
616IteratorHelper.EnumerableIsNotEmpty(parDef.GetAttributes(Context))) 2111AddCustomAttributesToTable(parentHandle, parent.GetAttributes(Context)); 2127AddCustomAttributesToTable(parentHandle, parent.GetAttributes(Context));
PEWriter\ReferenceIndexerBase.cs (2)
100this.Visit(genericParameter.GetAttributes(Context)); 273this.Visit(typeDefinition.GetAttributes(Context));
PEWriter\Types.cs (1)
414/// itself. Unlike <see cref="IReference.GetAttributes(EmitContext)"/> a