9 references to GetCustomAttributes
ILCompiler.Compiler (2)
Compiler\Dataflow\FlowAnnotations.cs (1)
383
GetMemberTypesForDynamicallyAccessedMembersAttribute(reader, fieldDef.
GetCustomAttributes
());
Compiler\DependencyAnalysis\CustomAttributeBasedDependencyAlgorithm.cs (1)
77
AddDependenciesDueToCustomAttributes(ref dependencies, GetMetadataApiDependency(factory, "Field"u8), factory, field.Module, fieldDef.
GetCustomAttributes
(), field);
ILCompiler.MetadataTransform (1)
ILCompiler\Metadata\Transform.Field.cs (1)
71
Ecma.CustomAttributeHandleCollection customAttributes = fieldDef.
GetCustomAttributes
();
ILCompiler.ReadyToRun (1)
Compiler\ReadyToRunMetadataFieldLayoutAlgorithm.cs (1)
440
return !metadataReader.GetCustomAttributeHandle(fieldDef.
GetCustomAttributes
(), "System", "ThreadStaticAttribute").IsNil;
ILCompiler.TypeSystem (4)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaField.cs (2)
175
foreach (var attributeHandle in fieldDefinition.
GetCustomAttributes
())
285
return !MetadataReader.GetCustomAttributeHandle(MetadataReader.GetFieldDefinition(_handle).
GetCustomAttributes
(),
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\MetadataExtensions.cs (2)
76
var attributeHandle = metadataReader.GetCustomAttributeHandle(metadataReader.GetFieldDefinition(This.Handle).
GetCustomAttributes
(),
89
var attributeHandles = metadataReader.GetFieldDefinition(This.Handle).
GetCustomAttributes
();
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Fields\Ecma\EcmaField.cs (1)
35
protected sealed override IEnumerable<CustomAttributeData> GetTrueCustomAttributes() => FieldDefinition.
GetCustomAttributes
().ToTrueCustomAttributes(_module);