src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (42)
329ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramSpecific, MethodBeingCompiled);
333Get_CORINFO_METHOD_INFO(MethodBeingCompiled, methodIL, &methodInfo);
1041return MethodBeingCompiled;
1058return MethodBeingCompiled.OwningType;
1075return MethodBeingCompiled.HasInstantiation ? (TypeSystemEntity)MethodBeingCompiled: (TypeSystemEntity)MethodBeingCompiled.OwningType;
1265if (!_compilation.CanInline(MethodBeingCompiled, method))
1290EcmaModule rootModule = (MethodBeingCompiled.OwningType as MetadataType)?.Module as EcmaModule;
1394Console.Error.WriteLine($"Failed devirtualization with unexpected unknown failure while compiling {MethodBeingCompiled} with decl {decl} targeting type {objType}");
1777MethodBeingCompiled : HandleToObject((void*)pResolvedToken.tokenContext);
1834MethodBeingCompiled : HandleToObject((void*)pResolvedToken.tokenContext);
2739ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramSpecific, MethodBeingCompiled);
2756MethodDesc md = method == null ? MethodBeingCompiled : HandleToObject(method);
2825if (method != null && typeToInit == MethodBeingCompiled.OwningType)
2839if (typeToInit == typeFromContext(context) || typeToInit == MethodBeingCompiled.OwningType)
2847if (MethodBeingCompiled.OwningType == typeToInit && MethodBeingCompiled.IsStaticConstructor)
3886throw new RequiresRuntimeJitException($"{MethodBeingCompiled} -> {nameof(GetCookieForPInvokeCalliSig)}");
4006_methodColdCodeNode = new MethodColdCodeNode(MethodBeingCompiled);
4027_roDataBlob = new MethodReadOnlyDataNode(MethodBeingCompiled);
4055_rwDataBlob = new MethodReadWriteDataNode(MethodBeingCompiled);
4113if (this.MethodBeingCompiled.IsUnmanagedCallersOnly)
4475TypeDesc owningType = MethodBeingCompiled.OwningType;
4521if (this.MethodBeingCompiled.IsUnmanagedCallersOnly)
4524if (!this.MethodBeingCompiled.Signature.IsStatic) // Must be a static method
4526ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramNonStaticMethod, this.MethodBeingCompiled);
4529if (this.MethodBeingCompiled.HasInstantiation || this.MethodBeingCompiled.OwningType.HasInstantiation) // No generics involved
4531ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramGenericMethod, this.MethodBeingCompiled);
4534if (this.MethodBeingCompiled.IsAsync)
4536ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramAsync, this.MethodBeingCompiled);
4541if (Marshaller.IsMarshallingRequired(this.MethodBeingCompiled.Signature, ((MetadataType)this.MethodBeingCompiled.OwningType).Module, this.MethodBeingCompiled.GetUnmanagedCallersOnlyMethodCallingConventions())) // Only blittable arguments
4543ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramNonBlittableTypes, this.MethodBeingCompiled);
4550if (this.MethodBeingCompiled.IsPInvoke)
4555if (this.MethodBeingCompiled.IsNoOptimization)
4560if (this.MethodBeingCompiled.Context.Target.Abi == TargetAbi.NativeAotArmel)
4565if (this.MethodBeingCompiled.IsAsyncCall()
4579if (this.MethodBeingCompiled.Context.Target.OperatingSystem == TargetOS.Browser)
4738ReadOnlySpan<char> methodName = MethodBeingCompiled.GetName().AsSpan();