18 implementations of GetAttributes
Microsoft.CodeAnalysis (18)
CodeGen\ArrayMembers.cs (1)
351public IEnumerable<Cci.ICustomAttribute> GetAttributes(EmitContext context)
CodeGen\PrivateImplementationDetails.cs (2)
421public override IEnumerable<Cci.ICustomAttribute> GetAttributes(EmitContext context) 669public IEnumerable<Cci.ICustomAttribute> GetAttributes(EmitContext context)
Emit\CommonPEModuleBuilder.cs (1)
303IEnumerable<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)
168IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context) 232IEnumerable<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)
532IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
Emit\NoPia\CommonEmbeddedTypeParameter.cs (1)
203IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
Emit\NoPia\VtblGap.cs (1)
172IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context)
PEWriter\InheritedTypeParameter.cs (1)
203public IEnumerable<ICustomAttribute> GetAttributes(EmitContext context)
PEWriter\ModifiedTypeReference.cs (1)
70IEnumerable<ICustomAttribute> IReference.GetAttributes(EmitContext context)
PEWriter\ReturnValueParameter.cs (1)
21public IEnumerable<ICustomAttribute> GetAttributes(EmitContext context)
PEWriter\RootModuleStaticConstructor.cs (1)
112public IEnumerable<ICustomAttribute> GetAttributes(EmitContext context) => SpecializedCollections.EmptyEnumerable<ICustomAttribute>();
PEWriter\RootModuleType.cs (1)
51public IEnumerable<ICustomAttribute> GetAttributes(EmitContext context)
11 references to GetAttributes
Microsoft.CodeAnalysis (11)
PEWriter\InheritedTypeParameter.cs (1)
205return _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)
617IteratorHelper.EnumerableIsNotEmpty(parDef.GetAttributes(Context))) 2106AddCustomAttributesToTable(parentHandle, parent.GetAttributes(Context)); 2122AddCustomAttributesToTable(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