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