20 references to GetDecodedCustomAttribute
ILCompiler.Compiler (12)
Compiler\Dataflow\CompilerGeneratedState.cs (3)
619
CustomAttributeValue<TypeDesc>? decodedAttribute = ecmaMethod.
GetDecodedCustomAttribute
("System.Runtime.CompilerServices", "AsyncIteratorStateMachineAttribute");
620
decodedAttribute ??= ecmaMethod.
GetDecodedCustomAttribute
("System.Runtime.CompilerServices", "AsyncStateMachineAttribute");
621
decodedAttribute ??= ecmaMethod.
GetDecodedCustomAttribute
("System.Runtime.CompilerServices", "IteratorStateMachineAttribute");
Compiler\Dataflow\DiagnosticUtilities.cs (1)
46
decoded = ecmaMethod.
GetDecodedCustomAttribute
("System.Diagnostics.CodeAnalysis", requiresAttributeName);
Compiler\DependencyAnalysis\PInvokeMethodFixupNode.cs (1)
138
decodedAttr = method.
GetDecodedCustomAttribute
("System.Runtime.InteropServices", "DefaultDllImportSearchPathsAttribute");
src\runtime\src\coreclr\tools\Common\Compiler\MethodExtensions.cs (5)
18
var decoded = This.
GetDecodedCustomAttribute
("System.Runtime", "RuntimeImportAttribute");
32
var decoded = This.
GetDecodedCustomAttribute
("System.Runtime", "RuntimeImportAttribute");
46
var decoded = This.
GetDecodedCustomAttribute
("System.Runtime", "RuntimeExportAttribute");
66
var decoded = This.
GetDecodedCustomAttribute
("System.Runtime.InteropServices", "UnmanagedCallersOnlyAttribute");
83
var decoded = This.
GetDecodedCustomAttribute
("System.Runtime.InteropServices", "UnmanagedCallersOnlyAttribute");
src\runtime\src\coreclr\tools\Common\TypeSystem\Interop\UnmanagedCallingConventions.cs (2)
98
CustomAttributeValue<TypeDesc> unmanagedCallersOnlyAttribute = ((EcmaMethod)method).
GetDecodedCustomAttribute
("System.Runtime.InteropServices", "UnmanagedCallersOnlyAttribute").Value;
121
CustomAttributeValue<TypeDesc>? unmanagedCallConvAttribute = ecmaMethod.
GetDecodedCustomAttribute
("System.Runtime.InteropServices", "UnmanagedCallConvAttribute");
ILCompiler.ReadyToRun (7)
src\runtime\src\coreclr\tools\Common\Compiler\MethodExtensions.cs (5)
18
var decoded = This.
GetDecodedCustomAttribute
("System.Runtime", "RuntimeImportAttribute");
32
var decoded = This.
GetDecodedCustomAttribute
("System.Runtime", "RuntimeImportAttribute");
46
var decoded = This.
GetDecodedCustomAttribute
("System.Runtime", "RuntimeExportAttribute");
66
var decoded = This.
GetDecodedCustomAttribute
("System.Runtime.InteropServices", "UnmanagedCallersOnlyAttribute");
83
var decoded = This.
GetDecodedCustomAttribute
("System.Runtime.InteropServices", "UnmanagedCallersOnlyAttribute");
src\runtime\src\coreclr\tools\Common\TypeSystem\Interop\UnmanagedCallingConventions.cs (2)
98
CustomAttributeValue<TypeDesc> unmanagedCallersOnlyAttribute = ((EcmaMethod)method).
GetDecodedCustomAttribute
("System.Runtime.InteropServices", "UnmanagedCallersOnlyAttribute").Value;
121
CustomAttributeValue<TypeDesc>? unmanagedCallConvAttribute = ecmaMethod.
GetDecodedCustomAttribute
("System.Runtime.InteropServices", "UnmanagedCallConvAttribute");
ILCompiler.TypeSystem (1)
src\runtime\src\coreclr\tools\Common\TypeSystem\IL\UnsafeAccessors.cs (1)
23
CustomAttributeValue<TypeDesc>? decodedAttribute = method.
GetDecodedCustomAttribute
("System.Runtime.CompilerServices", "UnsafeAccessorAttribute");