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