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