18 implementations of GetAttributes
Microsoft.CodeAnalysis (18)
CodeGen\ArrayMembers.cs (1)
351
public IEnumerable<Cci.ICustomAttribute>
GetAttributes
(EmitContext context)
CodeGen\PrivateImplementationDetails.cs (2)
421
public override IEnumerable<Cci.ICustomAttribute>
GetAttributes
(EmitContext context)
669
public IEnumerable<Cci.ICustomAttribute>
GetAttributes
(EmitContext context)
Emit\CommonPEModuleBuilder.cs (1)
303
IEnumerable<Cci.ICustomAttribute> Cci.IReference.
GetAttributes
(EmitContext context) => SpecializedCollections.EmptyEnumerable<Cci.ICustomAttribute>();
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (1)
98
public IEnumerable<Cci.ICustomAttribute>
GetAttributes
(EmitContext context)
Emit\EditAndContinue\DeletedSourceDefinition.cs (1)
39
public IEnumerable<ICustomAttribute>
GetAttributes
(EmitContext context)
Emit\ErrorType.cs (2)
168
IEnumerable<Cci.ICustomAttribute> Cci.IReference.
GetAttributes
(EmitContext context)
232
IEnumerable<Cci.ICustomAttribute> Cci.IReference.
GetAttributes
(EmitContext context)
Emit\NoPia\CommonEmbeddedMember.cs (1)
91
IEnumerable<Cci.ICustomAttribute> Cci.IReference.
GetAttributes
(EmitContext context)
Emit\NoPia\CommonEmbeddedParameter.cs (1)
193
IEnumerable<Cci.ICustomAttribute> Cci.IReference.
GetAttributes
(EmitContext context)
Emit\NoPia\CommonEmbeddedType.cs (1)
532
IEnumerable<Cci.ICustomAttribute> Cci.IReference.
GetAttributes
(EmitContext context)
Emit\NoPia\CommonEmbeddedTypeParameter.cs (1)
203
IEnumerable<Cci.ICustomAttribute> Cci.IReference.
GetAttributes
(EmitContext context)
Emit\NoPia\VtblGap.cs (1)
172
IEnumerable<Cci.ICustomAttribute> Cci.IReference.
GetAttributes
(EmitContext context)
PEWriter\InheritedTypeParameter.cs (1)
203
public IEnumerable<ICustomAttribute>
GetAttributes
(EmitContext context)
PEWriter\ModifiedTypeReference.cs (1)
70
IEnumerable<ICustomAttribute> IReference.
GetAttributes
(EmitContext context)
PEWriter\ReturnValueParameter.cs (1)
21
public IEnumerable<ICustomAttribute>
GetAttributes
(EmitContext context)
PEWriter\RootModuleStaticConstructor.cs (1)
112
public IEnumerable<ICustomAttribute>
GetAttributes
(EmitContext context) => SpecializedCollections.EmptyEnumerable<ICustomAttribute>();
PEWriter\RootModuleType.cs (1)
51
public IEnumerable<ICustomAttribute>
GetAttributes
(EmitContext context)
11 references to GetAttributes
Microsoft.CodeAnalysis (11)
PEWriter\InheritedTypeParameter.cs (1)
205
return _parentParameter.
GetAttributes
(context);
PEWriter\MetadataVisitor.cs (4)
164
this.Visit(genericParameter.
GetAttributes
(Context));
441
this.Visit(parameterDefinition.
GetAttributes
(Context));
568
this.Visit(typeMember.
GetAttributes
(Context));
579
this.Visit(typeMemberReference.
GetAttributes
(Context)); // In principle, references can have attributes that are distinct from the definitions they refer to.
PEWriter\MetadataWriter.cs (3)
617
IteratorHelper.EnumerableIsNotEmpty(parDef.
GetAttributes
(Context)))
2106
AddCustomAttributesToTable(parentHandle, parent.
GetAttributes
(Context));
2122
AddCustomAttributesToTable(parentHandle, parent.
GetAttributes
(Context));
PEWriter\ReferenceIndexerBase.cs (2)
100
this.Visit(genericParameter.
GetAttributes
(Context));
273
this.Visit(typeDefinition.
GetAttributes
(Context));
PEWriter\Types.cs (1)
414
/// itself. Unlike <see cref="IReference.
GetAttributes
(EmitContext)"/> a