5 overrides of GetCanonMethodTarget
ILCompiler.TypeSystem (5)
parent\parent\Common\TypeSystem\Canon\ArrayType.Canon.cs (1)
31public override MethodDesc GetCanonMethodTarget(CanonicalFormKind kind)
parent\parent\Common\TypeSystem\Canon\InstantiatedMethod.Canon.cs (1)
21public override MethodDesc GetCanonMethodTarget(CanonicalFormKind kind)
parent\parent\Common\TypeSystem\Canon\MethodDelegator.Canon.cs (1)
14public abstract override MethodDesc GetCanonMethodTarget(CanonicalFormKind kind);
parent\parent\Common\TypeSystem\Canon\MethodForInstantiatedType.Canon.cs (1)
14public override MethodDesc GetCanonMethodTarget(CanonicalFormKind kind)
parent\parent\Common\TypeSystem\RuntimeDetermined\MethodForRuntimeDeterminedType.cs (1)
58public override MethodDesc GetCanonMethodTarget(CanonicalFormKind kind)
155 references to GetCanonMethodTarget
ILCompiler.Compiler (111)
Compiler\Compilation.cs (1)
488MethodDesc targetMethod = calledMethod.GetCanonMethodTarget(CanonicalFormKind.Specific);
Compiler\Dataflow\HandleCallAction.cs (1)
315_reflectionMarker.Dependencies.Add(_reflectionMarker.Factory.ReflectedMethod(ctorMethod.GetCanonMethodTarget(CanonicalFormKind.Specific)), "Marshal API");
Compiler\DelegateCreationInfo.cs (3)
244MethodDesc targetCanonMethod = targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific); 279targetMethod = targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific); 285targetMethod = targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific);
Compiler\DependencyAnalysis\CustomAttributeBasedDependencyAlgorithm.cs (2)
128caDependencies.Add(factory.ReflectedMethod(constructor.GetCanonMethodTarget(CanonicalFormKind.Specific)), "Attribute constructor"); 244dependencies.Add(factory.ReflectedMethod(setterMethod.GetCanonMethodTarget(CanonicalFormKind.Specific)), "Custom attribute blob");
Compiler\DependencyAnalysis\DelegateTargetVirtualMethodNode.cs (3)
23Debug.Assert(method.GetCanonMethodTarget(CanonicalFormKind.Specific) == method); 49Debug.Assert(declaration.GetCanonMethodTarget(CanonicalFormKind.Specific) == declaration); 50Debug.Assert(implementation.GetCanonMethodTarget(CanonicalFormKind.Specific) == implementation);
Compiler\DependencyAnalysis\EETypeNode.cs (12)
391MethodDesc canonImpl = impl.GetCanonMethodTarget(CanonicalFormKind.Specific); 409factory.DelegateTargetVirtualMethod(decl.GetCanonMethodTarget(CanonicalFormKind.Specific)), "Slot is a delegate target")); 479MethodDesc defaultIntfMethod = implMethod.GetCanonMethodTarget(CanonicalFormKind.Specific); 487factory.DelegateTargetVirtualMethod(interfaceMethod.GetCanonMethodTarget(CanonicalFormKind.Specific)), "Interface slot is delegate target")); 496factory.DelegateTargetVirtualMethod(implMethod.GetCanonMethodTarget(CanonicalFormKind.Specific)), 497factory.DelegateTargetVirtualMethod(interfaceMethod.GetCanonMethodTarget(CanonicalFormKind.Specific)), 531MethodDesc defaultIntfMethod = implMethod.GetCanonMethodTarget(CanonicalFormKind.Specific); 549factory.DelegateTargetVirtualMethod(interfaceMethod.GetCanonMethodTarget(CanonicalFormKind.Specific)), 650sink.Add(factory.MethodEntrypoint(method.GetCanonMethodTarget(CanonicalFormKind.Specific)), 980MethodDesc canonImplMethod = implMethod.GetCanonMethodTarget(CanonicalFormKind.Specific); 994else if (factory.DelegateTargetVirtualMethod(declMethod.GetCanonMethodTarget(CanonicalFormKind.Specific)).Marked) 1049MethodDesc canonFinalizerMethod = finalizerMethod.GetCanonMethodTarget(CanonicalFormKind.Specific);
Compiler\DependencyAnalysis\ExactMethodInstantiationsEntryNode.cs (1)
22Debug.Assert(!method.GetCanonMethodTarget(CanonicalFormKind.Specific).IsCanonicalMethod(CanonicalFormKind.Any));
Compiler\DependencyAnalysis\FatFunctionPointerNode.cs (2)
26Debug.Assert(methodRepresented.GetCanonMethodTarget(CanonicalFormKind.Specific) != methodRepresented); 69MethodDesc canonMethod = Method.GetCanonMethodTarget(CanonicalFormKind.Specific);
Compiler\DependencyAnalysis\GenericDictionaryNode.cs (4)
160factory.MethodEntrypoint(method.GetCanonMethodTarget(CanonicalFormKind.Specific)), 208MethodDesc canonicalTarget = _owningMethod.GetCanonMethodTarget(CanonicalFormKind.Specific); 247return factory.GenericDictionaryLayout(_owningMethod.GetCanonMethodTarget(CanonicalFormKind.Specific)); 274Debug.Assert(owningMethod.GetCanonMethodTarget(CanonicalFormKind.Specific) != owningMethod);
Compiler\DependencyAnalysis\GenericLookupResult.cs (3)
661MethodDesc canonMethod = _method.GetCanonMethodTarget(CanonicalFormKind.Specific); 1070MethodDesc canonMethod = _constrainedMethod.GetCanonMethodTarget(CanonicalFormKind.Specific); 1139if (implMethod.GetCanonMethodTarget(CanonicalFormKind.Specific).IsSharedByGenericInstantiations)
Compiler\DependencyAnalysis\GenericMethodsTemplateMap.cs (1)
96Debug.Assert(method == method.GetCanonMethodTarget(CanonicalFormKind.Specific));
Compiler\DependencyAnalysis\GenericVirtualMethodImplNode.cs (1)
22Debug.Assert(method.GetCanonMethodTarget(CanonicalFormKind.Specific) == method);
Compiler\DependencyAnalysis\GvmDispatchCellInfoSectionNode.cs (1)
102MethodDesc canonMethod = targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific);
Compiler\DependencyAnalysis\InterfaceDispatchMapNode.cs (2)
208int genericContext = targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific).RequiresInstArg() 258implMethod.GetCanonMethodTarget(CanonicalFormKind.Specific).RequiresInstArg())
Compiler\DependencyAnalysis\MethodAssociatedDataNode.cs (1)
31Debug.Assert(methodNode.Method.GetCanonMethodTarget(CanonicalFormKind.Specific) == methodNode.Method);
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (12)
784Debug.Assert(method.GetCanonMethodTarget(CanonicalFormKind.Specific) == method, "Assert that the canonical method passed in is in standard canonical form"); 920sink.Add(context.MethodEntrypoint(_type.GetStaticConstructor().GetCanonMethodTarget(CanonicalFormKind.Specific)), "cctor for template"); 1007MethodDesc canonCctorMethod = cctorMethod.GetCanonMethodTarget(CanonicalFormKind.Specific); 1215MethodDesc canonMethod = _method.GetCanonMethodTarget(CanonicalFormKind.Specific); 1231method = method.GetCanonMethodTarget(CanonicalFormKind.Specific); 1266MethodDesc canonMethod = _method.GetCanonMethodTarget(CanonicalFormKind.Specific); 1304GenericMethodsTemplateMap.AddTemplateMethodDependencies(sink, factory, _method.GetCanonMethodTarget(CanonicalFormKind.Specific)); 1380factory.MetadataManager.GetDependenciesDueToLdToken(sink, factory, _method.GetCanonMethodTarget(CanonicalFormKind.Specific)); 1384sink.Add(factory.GVMDependencies(_method.GetCanonMethodTarget(CanonicalFormKind.Specific)), "Potential dynamic GVM call"); 1464MethodDesc canonMethod = _constrainedMethod.GetCanonMethodTarget(CanonicalFormKind.Specific); 1482var canonConstrainedMethod = _constrainedMethod.GetCanonMethodTarget(CanonicalFormKind.Specific); 1539GenericMethodsTemplateMap.AddTemplateMethodDependencies(sink, factory, _method.GetCanonMethodTarget(CanonicalFormKind.Specific));
Compiler\DependencyAnalysis\NodeFactory.cs (5)
1197MethodDesc canonMethod = method.GetCanonMethodTarget(CanonicalFormKind.Specific); 1206MethodDesc canonMethod = method.GetCanonMethodTarget(CanonicalFormKind.Specific); 1215MethodDesc canonMethod = method.GetCanonMethodTarget(CanonicalFormKind.Specific); 1338new ShadowConcreteMethodNode(key, (IMethodBodyNode)_factory.MethodEntrypoint(key.GetCanonMethodTarget(CanonicalFormKind.Specific))); 1356new ShadowNonConcreteMethodNode(key, (IMethodBodyNode)_factory.MethodEntrypoint(key.GetCanonMethodTarget(CanonicalFormKind.Specific)));
Compiler\DependencyAnalysis\ReadyToRunGenericHelperNode.cs (2)
251MethodDesc targetMethod = delegateCreationInfo.PossiblyUnresolvedTargetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific); 293MethodDesc targetMethod = delegateCreationInfo.PossiblyUnresolvedTargetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific);
Compiler\DependencyAnalysis\ReadyToRunHelperNode.cs (2)
79method.GetCanonMethodTarget(CanonicalFormKind.Specific) == method); 157info.PossiblyUnresolvedTargetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific));
Compiler\DependencyAnalysis\ReflectedMethodNode.cs (1)
27Debug.Assert(method.GetCanonMethodTarget(CanonicalFormKind.Specific) == method);
Compiler\DependencyAnalysis\ReflectionInvokeMapNode.cs (2)
44Debug.Assert(method.GetCanonMethodTarget(CanonicalFormKind.Specific) == method); 141Debug.Assert(method == method.GetCanonMethodTarget(CanonicalFormKind.Specific));
Compiler\DependencyAnalysis\ReflectionVirtualInvokeMapNode.cs (1)
95dependencies.Add(factory.GVMDependencies(slotDefiningMethod.GetCanonMethodTarget(CanonicalFormKind.Specific)), "GVM callable reflectable method");
Compiler\DependencyAnalysis\RuntimeMethodHandleNode.cs (1)
56MethodDesc canonMethod = _targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific);
Compiler\DependencyAnalysis\ScannedMethodNode.cs (1)
34Debug.Assert(method.GetCanonMethodTarget(CanonicalFormKind.Specific) == method);
Compiler\DependencyAnalysis\SealedVTableNode.cs (8)
139if (factory.DelegateTargetVirtualMethod(virtualSlots[i].GetCanonMethodTarget(CanonicalFormKind.Specific)).Marked) 140node = factory.AddressTakenMethodEntrypoint(implMethod.GetCanonMethodTarget(CanonicalFormKind.Specific), unboxingStub: !implMethod.Signature.IsStatic && declType.IsValueType); 142node = factory.MethodEntrypoint(implMethod.GetCanonMethodTarget(CanonicalFormKind.Specific), unboxingStub: !implMethod.Signature.IsStatic && declType.IsValueType); 199if (factory.DelegateTargetVirtualMethod(declMethod.GetCanonMethodTarget(CanonicalFormKind.Specific)).Marked) 200node = factory.AddressTakenMethodEntrypoint(targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific), unboxingStub: !targetMethod.Signature.IsStatic && declType.IsValueType); 202node = factory.MethodEntrypoint(targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific), unboxingStub: !targetMethod.Signature.IsStatic && declType.IsValueType); 218MethodDesc canonImplMethod = implMethod.GetCanonMethodTarget(CanonicalFormKind.Specific); 234if (factory.DelegateTargetVirtualMethod(declMethod.GetCanonMethodTarget(CanonicalFormKind.Specific)).Marked)
Compiler\DependencyAnalysis\UnboxingStubNode.cs (1)
37Debug.Assert(target.GetCanonMethodTarget(CanonicalFormKind.Specific) == target);
Compiler\DependencyAnalysis\VTableSliceNode.cs (1)
241factory.VirtualMethodUse(method.GetCanonMethodTarget(CanonicalFormKind.Specific)),
Compiler\ILScanner.cs (3)
384MethodDesc targetMethod = methodDictLookup.Method.GetCanonMethodTarget(CanonicalFormKind.Specific); 623_overriddenMethods.Add(baseVtable[i].GetCanonMethodTarget(CanonicalFormKind.Specific)); 722MethodDesc canonMethod = method.GetCanonMethodTarget(CanonicalFormKind.Specific);
Compiler\MetadataManager.cs (2)
478factory.NativeLayout.TemplateMethodEntry(method.GetCanonMethodTarget(CanonicalFormKind.Specific)), 866Debug.Assert(method.GetCanonMethodTarget(CanonicalFormKind.Specific) == method);
Compiler\MultiFileCompilationModuleGroup.cs (1)
55Debug.Assert(method.GetCanonMethodTarget(CanonicalFormKind.Specific) != method);
Compiler\RootingHelpers.cs (1)
234factory.ReflectedMethod(method.GetCanonMethodTarget(CanonicalFormKind.Specific)),
Compiler\RootingServiceProvider.cs (2)
29MethodDesc canonMethod = method.GetCanonMethodTarget(CanonicalFormKind.Specific); 66_rootAdder(_factory.ReflectedMethod(method.GetCanonMethodTarget(CanonicalFormKind.Specific)), reason);
Compiler\SingleFileCompilationModuleGroup.cs (1)
29Debug.Assert(method.GetCanonMethodTarget(CanonicalFormKind.Specific) != method);
Compiler\SingleMethodCompilationModuleGroup.cs (2)
33return method == _method || method == _method.GetCanonMethodTarget(CanonicalFormKind.Specific); 38Debug.Assert(method.GetCanonMethodTarget(CanonicalFormKind.Specific) != method);
Compiler\TypePreinit.cs (1)
3287MethodDesc targetMethod = creationInfo.PossiblyUnresolvedTargetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific);
Compiler\UsageBasedMetadataManager.cs (9)
309dependencies.Add(factory.ReflectedMethod(invokeMethod.GetCanonMethodTarget(CanonicalFormKind.Specific)), "Delegate invoke method is always reflectable"); 323dependencies.Add(factory.ReflectedMethod(defaultConstructor.GetCanonMethodTarget(CanonicalFormKind.Specific)), "Array.Initialize needs default constructor"); 526factory.ReflectedMethod(reflectedMethod.GetCanonMethodTarget(CanonicalFormKind.Specific)), 546MethodDesc canonicalMethod = method.GetCanonMethodTarget(CanonicalFormKind.Specific); 564ReflectedMethodNode reflectedMethod = factory.ReflectedMethod(target.GetCanonMethodTarget(CanonicalFormKind.Specific)); 587DelegateTargetVirtualMethodNode targetVirtualMethod = factory.ReflectedDelegateTargetVirtualMethod(target.GetCanonMethodTarget(CanonicalFormKind.Specific)); 621decl.GetCanonMethodTarget(CanonicalFormKind.Specific), 622impl.GetCanonMethodTarget(CanonicalFormKind.Specific)), 705var dependency = factory.ReflectedMethod(method.GetCanonMethodTarget(CanonicalFormKind.Specific));
IL\ILImporter.Scanner.cs (8)
223_compilation.TypeSystemContext.EnsureLoadableMethod(method.GetCanonMethodTarget(CanonicalFormKind.Specific)); 867Debug.Assert(targetOfLookup.GetCanonMethodTarget(CanonicalFormKind.Specific) == targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific)); 873else if (directCall && !allowInstParam && targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific).RequiresInstArg()) 903targetMethod = targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific); 1014methodToLookup.GetCanonMethodTarget(CanonicalFormKind.Specific)); 1135MethodDesc targetMethod = runtimeDeterminedResult.GetCanonMethodTarget(CanonicalFormKind.Specific); 2076MethodDesc targetMethod = runtimeDeterminedResult.GetCanonMethodTarget(CanonicalFormKind.Specific);
parent\parent\Common\Compiler\DependencyAnalysis\GVMDependenciesNode.cs (3)
32Debug.Assert(method.GetCanonMethodTarget(CanonicalFormKind.Specific) == method); 161MethodDesc canonImpl = implementingMethodInstantiation.GetCanonMethodTarget(CanonicalFormKind.Specific); 241.GetCanonMethodTarget(CanonicalFormKind.Specific);
parent\parent\Common\Compiler\DependencyAnalysis\ShadowMethodNode.cs (1)
48Debug.Assert(canonicalMethod.Method == method.GetCanonMethodTarget(CanonicalFormKind.Specific));
parent\parent\Common\Compiler\DependencyAnalysis\VirtualMethodUseNode.cs (1)
65MethodDesc canonDecl = _decl.GetCanonMethodTarget(CanonicalFormKind.Specific);
parent\parent\Common\Compiler\TypeExtensions.cs (1)
426interfaceMethod = interfaceMethod.GetCanonMethodTarget(CanonicalFormKind.Specific);
ILCompiler.ReadyToRun (27)
Compiler\DependencyAnalysis\ArrayInterfaceMethodsNode.cs (1)
65MethodDesc canonHelperMethod = helperMethod.GetCanonMethodTarget(CanonicalFormKind.Specific);
Compiler\DependencyAnalysis\InheritedVirtualMethodsNode.cs (2)
62MethodDesc canonImpl = impl.GetCanonMethodTarget(CanonicalFormKind.Specific); 120implMethod = implMethod.GetCanonMethodTarget(CanonicalFormKind.Specific);
Compiler\DependencyAnalysis\ReadyToRun\DelayLoadHelperMethodImport.cs (1)
46MethodDesc canonMethod = _method.Method.GetCanonMethodTarget(CanonicalFormKind.Specific);
Compiler\DependencyAnalysis\ReadyToRun\MethodFixupSignature.cs (1)
86MethodDesc canonMethod = method.GetCanonMethodTarget(CanonicalFormKind.Specific);
Compiler\DependencyAnalysis\ReadyToRun\ModuleTokenResolver.cs (1)
104method = method.GetCanonMethodTarget(CanonicalFormKind.Specific);
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (4)
137Debug.Assert(method == method.GetCanonMethodTarget(CanonicalFormKind.Specific)); 258MethodDesc canonMethod = method.GetCanonMethodTarget(CanonicalFormKind.Specific); 269MethodDesc canonMethod = method.GetCanonMethodTarget(CanonicalFormKind.Specific); 673MethodDesc compilableMethod = method.Method.GetCanonMethodTarget(CanonicalFormKind.Specific);
Compiler\DependencyAnalysis\ReadyToRunSymbolNodeFactory.cs (1)
451bool useInstantiatingStub = method.Method.GetCanonMethodTarget(CanonicalFormKind.Specific) != method.Method;
Compiler\ReadyToRunCodegenCompilation.cs (1)
261MethodDesc canonMethod = method.GetCanonMethodTarget(CanonicalFormKind.Specific);
Compiler\ReadyToRunJitHelperRootProvider.cs (1)
211return result.GetCanonMethodTarget(CanonicalFormKind.Specific);
Compiler\SingleMethodCompilationModuleGroup.cs (1)
29return (method == _method) || (method == _method.GetCanonMethodTarget(CanonicalFormKind.Specific));
JitInterface\CorInfoImpl.ReadyToRun.cs (4)
2093useInstantiatingStub = originalMethod.OwningType.IsArray || originalMethod.GetCanonMethodTarget(CanonicalFormKind.Specific).RequiresInstMethodDescArg(); 2347MethodDesc canonMethod = (isArrayConstructor ? null : targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific)); 2771MethodDesc compilableTarget = nonUnboxingMethod.GetCanonMethodTarget(CanonicalFormKind.Specific); 2829MethodDesc canonMethod = targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific);
parent\parent\Common\Compiler\DependencyAnalysis\GVMDependenciesNode.cs (3)
32Debug.Assert(method.GetCanonMethodTarget(CanonicalFormKind.Specific) == method); 161MethodDesc canonImpl = implementingMethodInstantiation.GetCanonMethodTarget(CanonicalFormKind.Specific); 241.GetCanonMethodTarget(CanonicalFormKind.Specific);
parent\parent\Common\Compiler\DependencyAnalysis\ShadowMethodNode.cs (1)
48Debug.Assert(canonicalMethod.Method == method.GetCanonMethodTarget(CanonicalFormKind.Specific));
parent\parent\Common\Compiler\TypeExtensions.cs (1)
426interfaceMethod = interfaceMethod.GetCanonMethodTarget(CanonicalFormKind.Specific);
parent\parent\Common\JitInterface\CorInfoImpl.cs (3)
1550MethodDesc impl = originalImpl.GetCanonMethodTarget(CanonicalFormKind.Specific); 3788MethodDesc targetMethod = runtimeDeterminedResult.GetCanonMethodTarget(CanonicalFormKind.Specific); 3854MethodDesc targetMethod = runtimeDeterminedResult.GetCanonMethodTarget(CanonicalFormKind.Specific);
parent\parent\Common\JitInterface\UnboxingMethodDesc.cs (1)
33MethodDesc realCanonTarget = _wrappedMethod.GetCanonMethodTarget(kind);
ILCompiler.RyuJit (16)
Compiler\DependencyAnalysis\MethodCodeNode.cs (1)
38Debug.Assert(method.GetCanonMethodTarget(CanonicalFormKind.Specific) == method);
JitInterface\CorInfoImpl.RyuJit.cs (11)
458Debug.Assert(expectedTargetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific) == targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific)); 1364&& (!pResult->exactContextNeedsRuntimeLookup || !targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific).RequiresInstMethodDescArg())) 1423Debug.Assert(lookupMethod.GetCanonMethodTarget(CanonicalFormKind.Specific) == targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific)); 1438else if (directCall && !allowInstParam && targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific).RequiresInstArg()) 1523targetMethod = targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific); 1533targetMethod = targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific); 1605targetOfLookup.GetCanonMethodTarget(CanonicalFormKind.Specific)); 1696targetMethod = targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific); 1895methodDesc = methodDesc.GetCanonMethodTarget(CanonicalFormKind.Specific);
parent\parent\Common\JitInterface\CorInfoImpl.cs (3)
1550MethodDesc impl = originalImpl.GetCanonMethodTarget(CanonicalFormKind.Specific); 3788MethodDesc targetMethod = runtimeDeterminedResult.GetCanonMethodTarget(CanonicalFormKind.Specific); 3854MethodDesc targetMethod = runtimeDeterminedResult.GetCanonMethodTarget(CanonicalFormKind.Specific);
parent\parent\Common\JitInterface\UnboxingMethodDesc.cs (1)
33MethodDesc realCanonTarget = _wrappedMethod.GetCanonMethodTarget(kind);
ILCompiler.TypeSystem (1)
parent\parent\Common\TypeSystem\Canon\InstantiatedMethod.Canon.cs (1)
28MethodDesc openMethodOnCanonicalizedType = _methodDef.GetCanonMethodTarget(kind);