53 references to MethodBeingCompiled
ILCompiler.RyuJit (53)
JitInterface\CorInfoImpl.RyuJit.cs (8)
59MethodDesc asyncResumptionStub = _compilation.TypeSystemContext.GetAsyncResumptionStub(MethodBeingCompiled, _compilation.TypeSystemContext.GeneratedAssembly.GetGlobalModuleType()); 70methodIL ??= _compilation.GetMethodIL(MethodBeingCompiled); 368Debug.Assert(MethodBeingCompiled.IsSharedByGenericInstantiations); 374ISymbolNode helper = GetGenericLookupHelper(GetGenericRuntimeLookupKind(MethodBeingCompiled), ReadyToRunHelperId.GetNonGCStaticBase, HandleToObject(callerHandle), helperArg); 408MethodBeingCompiled : HandleToObject((void*)pTargetMethod.tokenContext); 1318exactType == MethodBeingCompiled.OwningType && 1321!MethodBeingCompiled.HasInstantiation) 2205var target = MethodBeingCompiled.Context.Target;
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (45)
348ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramSpecific, MethodBeingCompiled); 352Get_CORINFO_METHOD_INFO(MethodBeingCompiled, methodIL, &methodInfo); 599CodeBasedDependencyAlgorithm.AddDependenciesDueToMethodCodePresence(ref _additionalDependencies, _compilation.NodeFactory, MethodBeingCompiled, methodIL); 1061return MethodBeingCompiled; 1078return MethodBeingCompiled.OwningType; 1095return MethodBeingCompiled.HasInstantiation ? (TypeSystemEntity)MethodBeingCompiled: (TypeSystemEntity)MethodBeingCompiled.OwningType; 1349if (!_compilation.CanInline(MethodBeingCompiled, method)) 1378if (calleeMethod.IsAsyncCall() && !MethodBeingCompiled.IsAsyncCall()) 1384EcmaModule rootModule = (MethodBeingCompiled.OwningType as MetadataType)?.Module as EcmaModule; 1488Console.Error.WriteLine($"Failed devirtualization with unexpected unknown failure while compiling {MethodBeingCompiled} with decl {decl} targeting type {objType}"); 1941MethodBeingCompiled : HandleToObject((void*)pResolvedToken.tokenContext); 1998MethodBeingCompiled : HandleToObject((void*)pResolvedToken.tokenContext); 2901ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramSpecific, MethodBeingCompiled); 2918MethodDesc md = method == null ? MethodBeingCompiled : HandleToObject(method); 2987if (method != null && typeToInit == MethodBeingCompiled.OwningType) 3001if (typeToInit == typeFromContext(context) || typeToInit == MethodBeingCompiled.OwningType) 3009if (MethodBeingCompiled.OwningType == typeToInit && MethodBeingCompiled.IsStaticConstructor) 3754ComputeLookup(caller != MethodBeingCompiled, runtimeDeterminedResult, ReadyToRunHelperId.MethodDictionary, caller, ref instArg); 3832ComputeLookup(caller != MethodBeingCompiled, runtimeDeterminedResult, ReadyToRunHelperId.MethodDictionary, 4322_roDataBlob = new MethodReadOnlyDataNode(MethodBeingCompiled); 4350_rwDataBlob = new MethodReadWriteDataNode(MethodBeingCompiled); 4408if (this.MethodBeingCompiled.IsUnmanagedCallersOnly) 4796TypeDesc owningType = MethodBeingCompiled.OwningType; 4842if (this.MethodBeingCompiled.IsUnmanagedCallersOnly) 4851if (!isFallbackBodyCompilation && !this.MethodBeingCompiled.Signature.IsStatic) // Must be a static method 4853ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramNonStaticMethod, this.MethodBeingCompiled); 4856if (!isFallbackBodyCompilation && (this.MethodBeingCompiled.HasInstantiation || this.MethodBeingCompiled.OwningType.HasInstantiation)) // No generics involved 4858ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramGenericMethod, this.MethodBeingCompiled); 4861if (!isFallbackBodyCompilation && this.MethodBeingCompiled.IsAsync) 4863ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramAsync, this.MethodBeingCompiled); 4866if (!isFallbackBodyCompilation && MarshalHelpers.IsMarshallingRequired(this.MethodBeingCompiled.Signature, ((MetadataType)this.MethodBeingCompiled.OwningType).Module)) // Only blittable arguments 4868ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramNonBlittableTypes, this.MethodBeingCompiled); 4874if (this.MethodBeingCompiled.IsPInvoke) 4879if (this.MethodBeingCompiled.IsNoOptimization) 4884if (this.MethodBeingCompiled.Context.Target.Abi == TargetAbi.NativeAotArmel) 4889if (this.MethodBeingCompiled.IsAsyncCall() 4891|| (_compilation.TypeSystemContext.IsSpecialUnboxingThunk(this.MethodBeingCompiled) && _compilation.TypeSystemContext.GetTargetOfSpecialUnboxingThunk(this.MethodBeingCompiled).IsAsyncCall()) 4892|| (_compilation.TypeSystemContext.IsDefaultInterfaceMethodImplementationInstantiationThunk(this.MethodBeingCompiled) && _compilation.TypeSystemContext.GetTargetOfDefaultInterfaceMethodImplementationInstantiationThunk(this.MethodBeingCompiled).IsAsyncCall())