1 write to _method
ILCompiler.Compiler (1)
Compiler\DependencyAnalysis\GVMDependenciesNode.cs (1)
33
_method
= method;
20 references to _method
ILCompiler.Compiler (20)
Compiler\DependencyAnalysis\GVMDependenciesNode.cs (20)
39
protected override string GetName(NodeFactory factory) => "__GVMDependenciesNode_" + factory.NameMangler.GetMangledMethodName(
_method
);
43
if (!
_method
.IsAbstract)
45
yield return new DependencyListEntry(factory.GenericVirtualMethodImpl(
_method
), "Implementation of the generic virtual method");
48
if (!
_method
.OwningType.IsInterface)
50
yield return new DependencyListEntry(factory.TypeGVMEntries(
_method
.OwningType.GetTypeDefinition()), "Resolution metadata");
60
TypeDesc methodOwningType =
_method
.OwningType;
64
(methodOwningType.IsSealed() ||
_method
.IsFinal))
75
TypeDesc methodOwningType =
_method
.OwningType;
76
bool methodIsShared =
_method
.IsSharedByGenericInstantiations;
78
TypeSystemContext context =
_method
.Context;
128
MethodDesc interfaceMethod =
_method
.GetMethodDefinition();
131
_method
.GetTypicalMethodDefinition(), (InstantiatedType)potentialDefinitionInterfaces[interfaceIndex]);
148
TypeDesc[] openInstantiation = new TypeDesc[
_method
.Instantiation.Length];
151
MethodDesc implementingMethodInstantiation = slotDecl.MakeInstantiatedMethod(openInstantiation).InstantiateSignature(potentialOverrideType.Instantiation,
_method
.Instantiation);
160
factory.MetadataManager.NoteOverridingMethod(
_method
, implementingMethodInstantiation, origin);
198
methodToResolve =
_method
;
203
.GetMethodForInstantiatedType(
_method
.GetTypicalMethodDefinition(), (InstantiatedType)overrideTypeCur)
204
.MakeInstantiatedMethod(
_method
.Instantiation);
209
if (instantiatedTargetMethod !=
_method
)
214
factory.MetadataManager.NoteOverridingMethod(
_method
, instantiatedTargetMethod);