src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (40)
348ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramSpecific, MethodBeingCompiled);
352Get_CORINFO_METHOD_INFO(MethodBeingCompiled, methodIL, &methodInfo);
1061return MethodBeingCompiled;
1078return MethodBeingCompiled.OwningType;
1095return MethodBeingCompiled.HasInstantiation ? (TypeSystemEntity)MethodBeingCompiled: (TypeSystemEntity)MethodBeingCompiled.OwningType;
1349if (!_compilation.CanInline(MethodBeingCompiled, method))
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);
2894ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramSpecific, MethodBeingCompiled);
2911MethodDesc md = method == null ? MethodBeingCompiled : HandleToObject(method);
2980if (method != null && typeToInit == MethodBeingCompiled.OwningType)
2994if (typeToInit == typeFromContext(context) || typeToInit == MethodBeingCompiled.OwningType)
3002if (MethodBeingCompiled.OwningType == typeToInit && MethodBeingCompiled.IsStaticConstructor)
4294_methodColdCodeNode = new MethodColdCodeNode(MethodBeingCompiled);
4315_roDataBlob = new MethodReadOnlyDataNode(MethodBeingCompiled);
4343_rwDataBlob = new MethodReadWriteDataNode(MethodBeingCompiled);
4401if (this.MethodBeingCompiled.IsUnmanagedCallersOnly)
4789TypeDesc owningType = MethodBeingCompiled.OwningType;
4835if (this.MethodBeingCompiled.IsUnmanagedCallersOnly)
4844if (!isFallbackBodyCompilation && !this.MethodBeingCompiled.Signature.IsStatic) // Must be a static method
4846ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramNonStaticMethod, this.MethodBeingCompiled);
4849if (!isFallbackBodyCompilation && (this.MethodBeingCompiled.HasInstantiation || this.MethodBeingCompiled.OwningType.HasInstantiation)) // No generics involved
4851ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramGenericMethod, this.MethodBeingCompiled);
4854if (!isFallbackBodyCompilation && this.MethodBeingCompiled.IsAsync)
4856ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramAsync, this.MethodBeingCompiled);
4859if (!isFallbackBodyCompilation && MarshalHelpers.IsMarshallingRequired(this.MethodBeingCompiled.Signature, ((MetadataType)this.MethodBeingCompiled.OwningType).Module)) // Only blittable arguments
4861ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramNonBlittableTypes, this.MethodBeingCompiled);
4867if (this.MethodBeingCompiled.IsPInvoke)
4872if (this.MethodBeingCompiled.IsNoOptimization)
4877if (this.MethodBeingCompiled.Context.Target.Abi == TargetAbi.NativeAotArmel)
4882if (this.MethodBeingCompiled.IsAsyncCall()
4896if (this.MethodBeingCompiled.Context.Target.Architecture == TargetArchitecture.Wasm32)
5055ReadOnlySpan<char> methodName = MethodBeingCompiled.GetName().AsSpan();