34 references to TargetMethod
ILCompiler.Compiler (34)
Compiler\DelegateCreationInfo.cs (9)
66
return
TargetMethod
.OwningType.IsValueType && !
TargetMethod
.Signature.IsStatic;
76
return _targetKind == TargetKind.VTableLookup || (_targetKind == TargetKind.Dispatch && !
TargetMethod
.HasInstantiation);
92
return
TargetMethod
.IsRuntimeDeterminedExactMethod;
115
return factory.GenericLookup.MethodEntry(
TargetMethod
, TargetMethodIsUnboxingThunk);
118
return factory.GenericLookup.DispatchCell(
TargetMethod
);
139
return factory.AddressTakenMethodEntrypoint(
TargetMethod
, TargetMethodIsUnboxingThunk);
142
return factory.ExactCallableAddressTakenAddress(
TargetMethod
, TargetMethodIsUnboxingThunk);
145
return factory.DispatchCell(
TargetMethod
);
Compiler\DependencyAnalysis\ReadyToRunGenericHelperNode.cs (1)
157
MethodDesc instantiatedTargetMethod = createInfo.
TargetMethod
.GetNonRuntimeDeterminedMethodFromRuntimeDeterminedMethodViaSubstitution(typeInstantiation, methodInstantiation);
Compiler\DependencyAnalysis\ReadyToRunHelperNode.cs (3)
147
MethodDesc targetMethod = info.
TargetMethod
;
152
if (!factory.VTable(info.
TargetMethod
.OwningType).HasKnownVirtualMethodUse)
155
dependencyList.Add(factory.VirtualMethodUse(info.
TargetMethod
), "ReadyToRun Delegate to virtual method");
Compiler\DependencyAnalysis\Target_ARM\ARMReadyToRunHelperNode.cs (3)
98
Debug.Assert(!target.
TargetMethod
.CanMethodBeInSealedVTable(factory));
104
slot = VirtualMethodSlotHelper.GetVirtualMethodSlot(factory, target.
TargetMethod
, target.
TargetMethod
.OwningType);
Compiler\DependencyAnalysis\Target_ARM64\ARM64ReadyToRunHelperNode.cs (3)
113
Debug.Assert(!target.
TargetMethod
.CanMethodBeInSealedVTable(factory));
119
slot = VirtualMethodSlotHelper.GetVirtualMethodSlot(factory, target.
TargetMethod
, target.
TargetMethod
.OwningType);
Compiler\DependencyAnalysis\Target_LoongArch64\LoongArch64ReadyToRunHelperNode.cs (3)
105
Debug.Assert(!target.
TargetMethod
.CanMethodBeInSealedVTable(factory));
111
slot = VirtualMethodSlotHelper.GetVirtualMethodSlot(factory, target.
TargetMethod
, target.
TargetMethod
.OwningType);
Compiler\DependencyAnalysis\Target_RiscV64\RiscV64ReadyToRunHelperNode.cs (3)
103
Debug.Assert(!target.
TargetMethod
.CanMethodBeInSealedVTable(factory));
109
slot = VirtualMethodSlotHelper.GetVirtualMethodSlot(factory, target.
TargetMethod
, target.
TargetMethod
.OwningType);
Compiler\DependencyAnalysis\Target_Wasm\WasmReadyToRunHelperNode.cs (3)
145
Debug.Assert(!target.
TargetMethod
.CanMethodBeInSealedVTable(factory));
152
slot = VirtualMethodSlotHelper.GetVirtualMethodSlot(factory, target.
TargetMethod
, target.
TargetMethod
.OwningType);
Compiler\DependencyAnalysis\Target_X64\X64ReadyToRunHelperNode.cs (3)
117
Debug.Assert(!target.
TargetMethod
.CanMethodBeInSealedVTable(factory));
124
slot = VirtualMethodSlotHelper.GetVirtualMethodSlot(factory, target.
TargetMethod
, target.
TargetMethod
.OwningType);
Compiler\DependencyAnalysis\Target_X86\X86ReadyToRunHelperNode.cs (3)
121
Debug.Assert(!target.
TargetMethod
.CanMethodBeInSealedVTable(factory));
128
slot = VirtualMethodSlotHelper.GetVirtualMethodSlot(factory, target.
TargetMethod
, target.
TargetMethod
.OwningType);