11 references to GetCustomAttributes
ILCompiler.Compiler (2)
Compiler\Dataflow\FlowAnnotations.cs (1)
406DynamicallyAccessedMemberTypes methodMemberTypes = GetMemberTypesForDynamicallyAccessedMembersAttribute(reader, reader.GetMethodDefinition(method.Handle).GetCustomAttributes());
Compiler\DependencyAnalysis\CustomAttributeBasedDependencyAlgorithm.cs (1)
38AddDependenciesDueToCustomAttributes(ref dependencies, GetMetadataApiDependency(factory, "Method"u8), factory, method.Module, methodDef.GetCustomAttributes(), method);
ILCompiler.MetadataTransform (1)
ILCompiler\Metadata\Transform.Method.cs (1)
113Ecma.CustomAttributeHandleCollection attributes = methodDef.GetCustomAttributes();
ILCompiler.ReadyToRun (1)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
606foreach (var attributeHandle in metadataReader.GetMethodDefinition(handle).GetCustomAttributes())
ILCompiler.TypeSystem (4)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaMethod.cs (2)
186foreach (var attributeHandle in methodDefinition.GetCustomAttributes()) 453return !MetadataReader.GetCustomAttributeHandle(MetadataReader.GetMethodDefinition(_handle).GetCustomAttributes(),
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\MetadataExtensions.cs (2)
48var attributeHandle = metadataReader.GetCustomAttributeHandle(metadataReader.GetMethodDefinition(This.Handle).GetCustomAttributes(), 61var attributeHandles = metadataReader.GetMethodDefinition(This.Handle).GetCustomAttributes();
Microsoft.CodeAnalysis.Workspaces (2)
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (2)
486method.GetCustomAttributes().Count == 0) 637method.GetCustomAttributes().Count == 0)
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodDecoder.cs (1)
28public IEnumerable<CustomAttributeData> ComputeTrueCustomAttributes() => MethodDefinition.GetCustomAttributes().ToTrueCustomAttributes(_module);