Implemented interface member:
property
Method
ILCompiler.DependencyAnalysis.IMethodNode.Method
55 references to Method
ILCompiler.ReadyToRun (55)
Compiler\DependencyAnalysis\ReadyToRun\InliningInfoNode.cs (1)
75MethodDesc inliner = methodNode.Method;
Compiler\DependencyAnalysis\ReadyToRun\InstanceEntryPointTableNode.cs (10)
40if (method.Method is AsyncResumptionStub) 91return BuildSignatureForMethodDefinedInModule(method.Method, factory); 114if (method.Method is AsyncResumptionStub) 117CompilerTypeSystemContext context = (CompilerTypeSystemContext)method.Method.Context; 118bool isUnboxingThunk = context.IsUnboxingThunk(method.Method); 120Debug.Assert(method.Method.HasInstantiation || method.Method.OwningType.HasInstantiation || method.Method.IsAsyncVariant() || 147MethodDesc hashtableKeyMethod = isUnboxingThunk ? context.GetTargetOfUnboxingThunk(method.Method) : method.Method;
Compiler\DependencyAnalysis\ReadyToRun\MethodEntryPointTableNode.cs (2)
53Debug.Assert(method.Method is EcmaMethod); 54EcmaMethod ecmaMethod = (EcmaMethod)method.Method;
Compiler\DependencyAnalysis\ReadyToRun\ResumptionStubEntryPointSignature.cs (3)
35sb.Append(nameMangler.GetMangledMethodName(_resumptionStub.Method)); 40return comparer.Compare(_resumptionStub.Method, ((ResumptionStubEntryPointSignature)other)._resumptionStub.Method);
Compiler\DependencyAnalysis\ReadyToRun\StoreMultiCallableAddrOfCodeSignature.cs (3)
70sb.Append(nameMangler.GetMangledMethodName(_target.Method)); 80int result = comparer.Compare(_target.Method, otherNode._target.Method);
Compiler\DependencyAnalysis\ReadyToRun\WasmMethodRelativeVirtualIPNode.cs (3)
31protected override string GetName(NodeFactory factory) => $"Wasm relative virtual IP: {_method.Method}"; 54return comparer.Compare(_method.Method, ((WasmMethodRelativeVirtualIPNode)other)._method.Method);
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (1)
752set.Add(compiled.Method.GetTypicalMethodDefinition());
Compiler\FileLayoutOptimizer.cs (7)
163methods.MergeSortAllowDuplicates((MethodWithGCInfo left, MethodWithGCInfo right) => (_profileData[left.Method] != null).CompareTo(_profileData[right.Method] != null)); 244var profileData = _profileData[method.Method]; 286methodMap.Add(methodWithGCInfo.Method, methodWithGCInfo); 333mdToIndex.Add(method.Method, index); 341MethodProfileData data = _profileData[method.Method]; 350graphNodes[mdToIndex[method.Method]].IncreaseEdge(graphNodes[otherIndex], count);
Compiler\ReadyToRunCodegenCompilation.cs (18)
770var method = methodCodeNodeNeedingCode.Method; 933if (deniedHelpers.Contains(managedHelper.Method)) 939corInfoImpl.ProbeManagedHelper(managedHelper.Method, Logger); 954LogManagedHelperProbeFailure(managedHelper.Method, "compilation did not produce code"); 955newlyDeniedHelpers.Add(managedHelper.Method); 959LogManagedHelperProbeFailure(managedHelper.Method, "processor feature fixups are required"); 960newlyDeniedHelpers.Add(managedHelper.Method); 965LogManagedHelperProbeFailure(managedHelper.Method, ex.Message); 966newlyDeniedHelpers.Add(managedHelper.Method); 970LogManagedHelperProbeFailure(managedHelper.Method, ex.Message); 971newlyDeniedHelpers.Add(managedHelper.Method); 975LogManagedHelperProbeFailure(managedHelper.Method, ex.Message); 976newlyDeniedHelpers.Add(managedHelper.Method); 1016if (!deniedHelpers.Contains(managedHelper.Method) && 1020managedHelper.Method, 1035if (!deniedHelpers.Contains(managedHelper.Method)) 1037directManagedHelpers.Add(managedHelper.Method); 1144MethodDesc method = methodCodeNodeNeedingCode.Method;
JitInterface\CorInfoImpl.ReadyToRun.cs (3)
965_compilation.NodeFactory.DetectGenericCycles(_methodCodeNode.Method, methodNode.Method); 3531EcmaMethod ecmaMethod = _methodCodeNode.Method.GetTypicalMethodDefinition() as EcmaMethod; 3538if (_methodCodeNode.Method != HandleToObject(ftnHnd))
parent\parent\Common\Compiler\ObjectWriter\WebCilObjectWriter.cs (1)
272$"R2R method {method.Method} has wasm function index {functionIndex}, expected {expectedFunctionIndex}");
parent\parent\Common\JitInterface\CorInfoImpl.cs (3)
393throw new CodeGenerationFailedException(_methodCodeNode.Method, _lastException.SourceException); 425throw new CodeGenerationFailedException(_methodCodeNode.Method); 656return _methodCodeNode.Method;