3 overrides of GetMethodDefinition
ILCompiler.TypeSystem (3)
parent\parent\Common\TypeSystem\Common\InstantiatedMethod.cs (1)
161
public override MethodDesc
GetMethodDefinition
()
parent\parent\Common\TypeSystem\Common\MethodDelegator.cs (1)
51
public abstract override MethodDesc
GetMethodDefinition
();
parent\parent\Common\TypeSystem\Ecma\EcmaMethod.cs (1)
601
public override EcmaMethod
GetMethodDefinition
() => this;
67 references to GetMethodDefinition
crossgen2 (1)
Program.cs (1)
864
if (searchMethod == method.
GetMethodDefinition
())
ILCompiler.Compiler (29)
Compiler\Compilation.cs (2)
128
MethodDesc targetDefinition = target.
GetMethodDefinition
();
489
MethodDesc targetMethodDefinition = targetMethod.
GetMethodDefinition
();
Compiler\Dataflow\CompilerGeneratedState.cs (1)
511
if (methodOperand != methodOperand.
GetMethodDefinition
())
Compiler\DependencyAnalysis\GenericLookupResult.cs (1)
1099
MethodDesc instantiatedConstrainedMethodDefinition = instantiatedConstrainedMethod.
GetMethodDefinition
();
Compiler\DependencyAnalysis\ReflectionVirtualInvokeMapNode.cs (1)
89
MethodDesc methodDefinition = method.
GetMethodDefinition
();
Compiler\DependencyAnalysis\RuntimeMethodHandleNode.cs (1)
83
if (_targetMethod != _targetMethod.
GetMethodDefinition
())
Compiler\MetadataManager.cs (1)
1235
MethodDesc methodDefinition = method.
GetMethodDefinition
();
Compiler\RootingHelpers.cs (1)
167
method = method.
GetMethodDefinition
();
Compiler\UsageBasedMetadataManager.cs (2)
625
&& MetadataVirtualMethodAlgorithm.FindSlotDefiningMethodForVirtualMethod(decl.
GetMethodDefinition
()) == decl.
GetMethodDefinition
());
IL\ILImporter.Scanner.cs (1)
861
targetOfLookup = targetMethod.
GetMethodDefinition
();
parent\parent\Common\Compiler\CachingVirtualMethodAlgorithm.cs (1)
58
MethodDesc targetMethodDefinition = targetMethod.
GetMethodDefinition
();
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (1)
212
MethodDesc methodDef = method.
GetMethodDefinition
();
parent\parent\Common\Compiler\Dataflow\MethodProxy.cs (1)
55
MethodDesc methodDef = Method.
GetMethodDefinition
();
parent\parent\Common\Compiler\DependencyAnalysis\GVMDependenciesNode.cs (3)
35
Debug.Assert(MetadataVirtualMethodAlgorithm.FindSlotDefiningMethodForVirtualMethod(method.
GetMethodDefinition
()) == method.
GetMethodDefinition
());
139
MethodDesc interfaceMethod = _method.
GetMethodDefinition
();
parent\parent\Common\Compiler\DevirtualizationManager.cs (5)
105
impl = implType.ResolveInterfaceMethodTargetWithVariance(declMethod.
GetMethodDefinition
());
117
impl = impl.
GetMethodDefinition
().MakeInstantiatedMethod(originalDeclMethod.Instantiation);
164
impl = impl.
GetMethodDefinition
().MakeInstantiatedMethod(originalDeclMethod.Instantiation);
206
impl = impl.
GetMethodDefinition
().MakeInstantiatedMethod(originalDeclMethod.Instantiation);
211
MethodDesc slotDefiningMethodImpl = MetadataVirtualMethodAlgorithm.FindSlotDefiningMethodForVirtualMethod(impl.
GetMethodDefinition
());
parent\parent\Common\Compiler\NativeAotNameMangler.cs (1)
574
var methodDefinition = method.
GetMethodDefinition
();
parent\parent\Common\Compiler\TypeExtensions.cs (2)
469
MethodDesc staticMethodDef = interfaceMethod.
GetMethodDefinition
();
507
MethodDesc genInterfaceMethod = interfaceMethod.
GetMethodDefinition
();
parent\parent\Common\TypeSystem\IL\NativeAotILProvider.cs (1)
123
return new InstantiatedMethodIL(method, emit.Link(method.
GetMethodDefinition
()));
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (2)
304
if (method.HasInstantiation && (method.
GetMethodDefinition
() != method))
306
EntityHandle uninstantiatedHandle = GetMethodRef(method.
GetMethodDefinition
());
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\GraphBuilder.cs (1)
299
if (impl?.
GetMethodDefinition
() == method)
ILCompiler.ReadyToRun (22)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (1)
260
MethodDesc canonSlotMethodDefinition = MetadataVirtualMethodAlgorithm.FindSlotDefiningMethodForVirtualMethod(canonMethod.
GetMethodDefinition
());
Compiler\ExternalReferenceTokenManager.cs (1)
127
EnsureTypeDefTokensAreAvailableInVersionBubble(methodDesc.
GetMethodDefinition
().OwningType);
Compiler\ReadyToRunCompilationModuleGroupBase.cs (2)
421
if (method == method.
GetMethodDefinition
())
559
if ((method.
GetMethodDefinition
() == method) && method.OwningType.IsTypeDefinition)
parent\parent\Common\Compiler\CachingVirtualMethodAlgorithm.cs (1)
58
MethodDesc targetMethodDefinition = targetMethod.
GetMethodDefinition
();
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (1)
212
MethodDesc methodDef = method.
GetMethodDefinition
();
parent\parent\Common\Compiler\Dataflow\MethodProxy.cs (1)
55
MethodDesc methodDef = Method.
GetMethodDefinition
();
parent\parent\Common\Compiler\DependencyAnalysis\GVMDependenciesNode.cs (3)
35
Debug.Assert(MetadataVirtualMethodAlgorithm.FindSlotDefiningMethodForVirtualMethod(method.
GetMethodDefinition
()) == method.
GetMethodDefinition
());
139
MethodDesc interfaceMethod = _method.
GetMethodDefinition
();
parent\parent\Common\Compiler\DevirtualizationManager.cs (5)
105
impl = implType.ResolveInterfaceMethodTargetWithVariance(declMethod.
GetMethodDefinition
());
117
impl = impl.
GetMethodDefinition
().MakeInstantiatedMethod(originalDeclMethod.Instantiation);
164
impl = impl.
GetMethodDefinition
().MakeInstantiatedMethod(originalDeclMethod.Instantiation);
206
impl = impl.
GetMethodDefinition
().MakeInstantiatedMethod(originalDeclMethod.Instantiation);
211
MethodDesc slotDefiningMethodImpl = MetadataVirtualMethodAlgorithm.FindSlotDefiningMethodForVirtualMethod(impl.
GetMethodDefinition
());
parent\parent\Common\Compiler\NativeAotNameMangler.cs (1)
574
var methodDefinition = method.
GetMethodDefinition
();
parent\parent\Common\Compiler\TypeExtensions.cs (2)
469
MethodDesc staticMethodDef = interfaceMethod.
GetMethodDefinition
();
507
MethodDesc genInterfaceMethod = interfaceMethod.
GetMethodDefinition
();
parent\parent\Common\JitInterface\UnboxingMethodDesc.cs (1)
42
MethodDesc realMethodDefinition = _wrappedMethod.
GetMethodDefinition
();
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (2)
304
if (method.HasInstantiation && (method.
GetMethodDefinition
() != method))
306
EntityHandle uninstantiatedHandle = GetMethodRef(method.
GetMethodDefinition
());
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\GraphBuilder.cs (1)
299
if (impl?.
GetMethodDefinition
() == method)
ILCompiler.RyuJit (3)
JitInterface\CorInfoImpl.RyuJit.cs (2)
435
targetOfLookup = directMethod.
GetMethodDefinition
();
1413
lookupMethod = targetMethod.
GetMethodDefinition
();
parent\parent\Common\JitInterface\UnboxingMethodDesc.cs (1)
42
MethodDesc realMethodDefinition = _wrappedMethod.
GetMethodDefinition
();
ILCompiler.TypeSystem (12)
parent\parent\Common\TypeSystem\Common\ConstructedTypeRewritingHelpers.cs (1)
160
methodOnOwningType = method.
GetMethodDefinition
();
parent\parent\Common\TypeSystem\Common\MetadataVirtualMethodAlgorithm.cs (5)
241
targetMethod = targetMethod.
GetMethodDefinition
();
445
Debug.Assert(method.
GetMethodDefinition
() == method);
873
MethodDesc interfaceMethodDefinition = interfaceMethod.
GetMethodDefinition
();
935
MethodDesc interfaceMethodDefinition = interfaceMethod.
GetMethodDefinition
();
1201
MethodDesc interfaceMethodDefinition = interfaceMethod.
GetMethodDefinition
();
parent\parent\Common\TypeSystem\Common\MethodDesc.cs (2)
722
return
GetMethodDefinition
() == this;
801
return (clone == null) ? method : Context.GetInstantiatedMethod(method.
GetMethodDefinition
(), new Instantiation(clone));
parent\parent\Common\TypeSystem\Common\TypeSystemConstraintsHelpers.cs (1)
218
MethodDesc uninstantiatedMethod = method.
GetMethodDefinition
();
parent\parent\Common\TypeSystem\IL\ILDisassembler.cs (1)
84
MethodSignature signature = method.
GetMethodDefinition
().Signature;
parent\parent\Common\TypeSystem\RuntimeDetermined\MethodDesc.RuntimeDetermined.cs (2)
30
MethodDesc uninstantiatedMethod = result.
GetMethodDefinition
();
135
return (clone == null) ? method : Context.GetInstantiatedMethod(method.
GetMethodDefinition
(), new Instantiation(clone));