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