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
);
39
factory.MetadataManager.AddDependenciesDueToVirtualMethodReflectability(sink, factory,
_method
);
42
_method
.IsSharedByGenericInstantiations || ( // Non-exact methods are always valid instantiations (always pass constraints check)
43
_method
.Instantiation.CheckValidInstantiationArguments() &&
44
_method
.OwningType.Instantiation.CheckValidInstantiationArguments() &&
45
_method
.CheckConstraints());
49
bool getUnboxingStub =
_method
.OwningType.IsValueType && !
_method
.Signature.IsStatic;
51
sink.Add(factory.MethodEntrypoint(
_method
, getUnboxingStub), "GVM Dependency - Canon method");
53
if (
_method
.IsSharedByGenericInstantiations)
55
sink.Add(factory.NativeLayout.TemplateMethodEntry(
_method
), "GVM Dependency - Template entry");
56
sink.Add(factory.NativeLayout.TemplateMethodLayout(
_method
), "GVM Dependency - Template");
57
sink.Add(factory.ShadowNonConcreteMethod(
_method
), "GVM Dependency - shadow generic method");
61
sink.Add(factory.ExactMethodInstantiationsHashtableEntry(
_method
), "GVM Dependency - runtime lookups");