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