8 overrides of HasCustomAttribute
ILCompiler.TypeSystem (8)
parent\parent\Common\TypeSystem\Common\ArrayType.cs (1)
323
public override bool
HasCustomAttribute
(string attributeNamespace, string attributeName)
parent\parent\Common\TypeSystem\Common\InstantiatedMethod.cs (1)
140
public override bool
HasCustomAttribute
(string attributeNamespace, string attributeName)
parent\parent\Common\TypeSystem\Common\MethodDelegator.cs (1)
45
public override bool
HasCustomAttribute
(string attributeNamespace, string attributeName)
parent\parent\Common\TypeSystem\Common\MethodForInstantiatedType.cs (1)
132
public override bool
HasCustomAttribute
(string attributeNamespace, string attributeName)
parent\parent\Common\TypeSystem\Ecma\EcmaMethod.cs (1)
453
public override bool
HasCustomAttribute
(string attributeNamespace, string attributeName)
parent\parent\Common\TypeSystem\IL\Stubs\ILEmitter.cs (1)
865
public override bool
HasCustomAttribute
(string attributeNamespace, string attributeName)
parent\parent\Common\TypeSystem\IL\Stubs\PInvokeTargetNativeMethod.cs (1)
67
public override bool
HasCustomAttribute
(string attributeNamespace, string attributeName)
parent\parent\Common\TypeSystem\RuntimeDetermined\MethodForRuntimeDeterminedType.cs (1)
46
public override bool
HasCustomAttribute
(string attributeNamespace, string attributeName)
19 references to HasCustomAttribute
ILCompiler.Compiler (9)
Compiler\Dataflow\FlowAnnotations.cs (1)
682
if (!body.OwningMethod.
HasCustomAttribute
("System.Runtime.CompilerServices", "CompilerGeneratedAttribute"))
Compiler\DependencyAnalysis\ILScanNodeFactory.cs (1)
29
else if (method.
HasCustomAttribute
("System.Runtime", "RuntimeImportAttribute"))
Compiler\LazyGenericsPolicy.cs (1)
23
return method.IsVirtual || method.
HasCustomAttribute
("System.Runtime.CompilerServices", "ForceLazyDictionaryAttribute");
Compiler\StackTraceEmissionPolicy.cs (1)
42
if (method.
HasCustomAttribute
("System.Diagnostics", "StackTraceHiddenAttribute")
Compiler\SubstitutedILProvider.cs (1)
1148
&& maybeCharacteristicMethod.
HasCustomAttribute
("System.Runtime.CompilerServices", "AnalysisCharacteristicAttribute"))
IL\ILImporter.Scanner.cs (1)
1227
&& intrinsicMethod.
HasCustomAttribute
("System.Runtime.CompilerServices", "AnalysisCharacteristicAttribute"))
IL\Stubs\StartupCode\StartupCodeMainMethod.cs (1)
109
if (_mainMethod.WrappedMethod.
HasCustomAttribute
("System", "STAThreadAttribute"))
parent\parent\Common\TypeSystem\IL\Stubs\PInvokeILEmitter.cs (1)
380
if (_targetMethod.
HasCustomAttribute
("System.Runtime.InteropServices", "LCIDConversionAttribute"))
parent\parent\Common\TypeSystem\Interop\UnmanagedCallingConventions.cs (1)
136
if (method.
HasCustomAttribute
("System.Runtime.InteropServices", "SuppressGCTransitionAttribute"))
ILCompiler.ReadyToRun (4)
Compiler\R2RTypeExtensions.cs (1)
53
return method.
HasCustomAttribute
("System.Runtime.Versioning", "NonVersionableAttribute");
IL\Stubs\PInvokeILEmitter.cs (1)
81
if (_targetMethod.
HasCustomAttribute
("System.Runtime.InteropServices", "LCIDConversionAttribute"))
parent\parent\Common\TypeSystem\Interop\UnmanagedCallingConventions.cs (1)
136
if (method.
HasCustomAttribute
("System.Runtime.InteropServices", "SuppressGCTransitionAttribute"))
PortableCallHelpers\PInvokeTableGenerator.cs (1)
328
&& candidate.
HasCustomAttribute
("System.Runtime.InteropServices", "UnmanagedCallersOnlyAttribute"))
ILCompiler.RyuJit (1)
Compiler\DependencyAnalysis\RyuJitNodeFactory.cs (1)
33
else if (method.
HasCustomAttribute
("System.Runtime", "RuntimeImportAttribute"))
ILCompiler.TypeSystem (5)
parent\parent\Common\TypeSystem\Common\InstantiatedMethod.cs (1)
142
return _methodDef.
HasCustomAttribute
(attributeNamespace, attributeName);
parent\parent\Common\TypeSystem\Common\MethodDelegator.cs (1)
47
return _wrappedMethod.
HasCustomAttribute
(attributeNamespace, attributeName);
parent\parent\Common\TypeSystem\Common\MethodForInstantiatedType.cs (1)
134
return _typicalMethodDef.
HasCustomAttribute
(attributeNamespace, attributeName);
parent\parent\Common\TypeSystem\Common\TypeSystemHelpers.cs (1)
376
if (method.
HasCustomAttribute
("System.Runtime.CompilerServices", "PreserveBaseOverridesAttribute"))
parent\parent\Common\TypeSystem\RuntimeDetermined\MethodForRuntimeDeterminedType.cs (1)
48
return _typicalMethodDef.
HasCustomAttribute
(attributeNamespace, attributeName);