2 implementations of IMethodBodyNode
ILCompiler.Compiler (1)
Compiler\DependencyAnalysis\ScannedMethodNode.cs (1)
21
public class ScannedMethodNode : DependencyNodeCore<NodeFactory>,
IMethodBodyNode
ILCompiler.RyuJit (1)
Compiler\DependencyAnalysis\MethodCodeNode.cs (1)
18
public class MethodCodeNode : ObjectNode,
IMethodBodyNode
, INodeWithCodeInfo, INodeWithDebugInfo, ISpecialUnboxThunkNode, IMethodCodeNodeWithTypeSignature
26 references to IMethodBodyNode
ILCompiler.Compiler (26)
Compiler\Compilation.cs (1)
653
if (node is
IMethodBodyNode
methodBodyNode)
Compiler\DependencyAnalysis\DataflowAnalyzedMethodNode.cs (1)
53
if (markedNodes[i] is not
IMethodBodyNode
methodBody)
Compiler\DependencyAnalysis\ModuleInitializerListNode.cs (1)
40
foreach (
var
methodNode in factory.MetadataManager.GetCompiledMethodBodies())
Compiler\DependencyAnalysis\NodeFactory.cs (4)
309
tentative.RealBody : (
IMethodBodyNode
)entrypoint);
312
_tentativeMethods = new NodeCache<
IMethodBodyNode
, TentativeInstanceMethodNode>(method =>
1124
private NodeCache<
IMethodBodyNode
, TentativeInstanceMethodNode> _tentativeMethods;
1131
return _tentativeMethods.GetOrAdd((
IMethodBodyNode
)MethodEntrypoint(method, unboxingStub));
Compiler\DependencyAnalysis\TentativeInstanceMethodNode.cs (1)
24
public TentativeInstanceMethodNode(
IMethodBodyNode
methodNode)
Compiler\DependencyAnalysis\TentativeMethodNode.cs (3)
23
private readonly
IMethodBodyNode
_methodNode;
25
public
IMethodBodyNode
RealBody => _methodNode;
27
public TentativeMethodNode(
IMethodBodyNode
methodNode)
Compiler\ILScanner.cs (1)
504
if (node is
IMethodBodyNode
{ Method.IsVirtual: true, Method.HasInstantiation: false } virtualMethodBody)
Compiler\MetadataManager.cs (6)
75
private readonly SortedSet<
IMethodBodyNode
> _methodBodiesGenerated = new SortedSet<
IMethodBodyNode
>(CompilerComparer.Instance);
254
IMethodBodyNode
methodBodyNode = obj as
IMethodBodyNode
;
754
foreach (
var
methodBody in GetCompiledMethodBodies())
1132
internal IEnumerable<
IMethodBodyNode
> GetCompiledMethodBodies()
Compiler\MethodBodyDeduplicator.cs (3)
39
foreach (
IMethodBodyNode
body in factory.MetadataManager.GetCompiledMethodBodies())
69
public
IMethodBodyNode
Method { get; }
72
public MethodInternKey(
IMethodBodyNode
node, NodeFactory factory)
Compiler\MstatObjectDumper.cs (3)
68
case
IMethodBodyNode
methodBody:
112
if (originalNode is
IMethodBodyNode
originalBody && targetNode is
IMethodBodyNode
targetBody)
Compiler\SourceLinkWriter.cs (1)
40
|| node is not
IMethodBodyNode
methodBodyNode
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\ObjectWriter.cs (1)
411
bool isMethod = node is
IMethodBodyNode
or AssemblyStubNode;