1 write to _method
ILCompiler.Compiler (1)
Compiler\DependencyAnalysis\GenericVirtualMethodImplNode.cs (1)
29
_method
= method;
14 references to _method
ILCompiler.Compiler (14)
Compiler\DependencyAnalysis\GenericVirtualMethodImplNode.cs (14)
35
protected override string GetName(NodeFactory factory) => "__GVMImplNode_" + factory.NameMangler.GetMangledMethodName(
_method
);
41
factory.MetadataManager.GetDependenciesDueToVirtualMethodReflectability(ref dependencies, factory,
_method
);
44
_method
.IsSharedByGenericInstantiations || ( // Non-exact methods are always valid instantiations (always pass constraints check)
45
_method
.Instantiation.CheckValidInstantiationArguments() &&
46
_method
.OwningType.Instantiation.CheckValidInstantiationArguments() &&
47
_method
.CheckConstraints());
51
bool getUnboxingStub =
_method
.OwningType.IsValueType && !
_method
.Signature.IsStatic;
53
dependencies.Add(factory.MethodEntrypoint(
_method
, getUnboxingStub), "GVM Dependency - Canon method");
55
if (
_method
.IsSharedByGenericInstantiations)
57
dependencies.Add(factory.NativeLayout.TemplateMethodEntry(
_method
), "GVM Dependency - Template entry");
58
dependencies.Add(factory.NativeLayout.TemplateMethodLayout(
_method
), "GVM Dependency - Template");
59
dependencies.Add(factory.ShadowNonConcreteMethod(
_method
), "GVM Dependency - shadow generic method");
63
dependencies.Add(factory.ExactMethodInstantiationsHashtableEntry(
_method
), "GVM Dependency - runtime lookups");