31 references to TargetMethod
ILCompiler.Compiler (31)
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)
149
MethodDesc targetMethod = info.
TargetMethod
;
154
if (!factory.VTable(info.
TargetMethod
.OwningType).HasKnownVirtualMethodUse)
157
dependencyList.Add(factory.VirtualMethodUse(info.
TargetMethod
), "ReadyToRun Delegate to virtual method");
Compiler\DependencyAnalysis\Target_ARM\ARMReadyToRunHelperNode.cs (3)
97
Debug.Assert(!target.
TargetMethod
.CanMethodBeInSealedVTable(factory));
103
slot = VirtualMethodSlotHelper.GetVirtualMethodSlot(factory, target.
TargetMethod
, target.
TargetMethod
.OwningType);
Compiler\DependencyAnalysis\Target_ARM64\ARM64ReadyToRunHelperNode.cs (3)
112
Debug.Assert(!target.
TargetMethod
.CanMethodBeInSealedVTable(factory));
118
slot = VirtualMethodSlotHelper.GetVirtualMethodSlot(factory, target.
TargetMethod
, target.
TargetMethod
.OwningType);
Compiler\DependencyAnalysis\Target_LoongArch64\LoongArch64ReadyToRunHelperNode.cs (3)
104
Debug.Assert(!target.
TargetMethod
.CanMethodBeInSealedVTable(factory));
110
slot = VirtualMethodSlotHelper.GetVirtualMethodSlot(factory, target.
TargetMethod
, target.
TargetMethod
.OwningType);
Compiler\DependencyAnalysis\Target_RiscV64\RiscV64ReadyToRunHelperNode.cs (3)
102
Debug.Assert(!target.
TargetMethod
.CanMethodBeInSealedVTable(factory));
108
slot = VirtualMethodSlotHelper.GetVirtualMethodSlot(factory, target.
TargetMethod
, target.
TargetMethod
.OwningType);
Compiler\DependencyAnalysis\Target_X64\X64ReadyToRunHelperNode.cs (3)
116
Debug.Assert(!target.
TargetMethod
.CanMethodBeInSealedVTable(factory));
123
slot = VirtualMethodSlotHelper.GetVirtualMethodSlot(factory, target.
TargetMethod
, target.
TargetMethod
.OwningType);
Compiler\DependencyAnalysis\Target_X86\X86ReadyToRunHelperNode.cs (3)
120
Debug.Assert(!target.
TargetMethod
.CanMethodBeInSealedVTable(factory));
127
slot = VirtualMethodSlotHelper.GetVirtualMethodSlot(factory, target.
TargetMethod
, target.
TargetMethod
.OwningType);