parent\parent\Common\JitInterface\CorInfoImpl.cs (40)
348ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramSpecific, MethodBeingCompiled);
352Get_CORINFO_METHOD_INFO(MethodBeingCompiled, methodIL, &methodInfo);
1099return MethodBeingCompiled;
1116return MethodBeingCompiled.OwningType;
1133return MethodBeingCompiled.HasInstantiation ? (TypeSystemEntity)MethodBeingCompiled: (TypeSystemEntity)MethodBeingCompiled.OwningType;
1387if (!_compilation.CanInline(MethodBeingCompiled, method))
1422EcmaModule rootModule = (MethodBeingCompiled.OwningType as MetadataType)?.Module as EcmaModule;
1462if (fIsTailPrefix && MethodBeingCompiled.Context.Target.Architecture == TargetArchitecture.Wasm32)
1987MethodBeingCompiled : HandleToObject((void*)pResolvedToken.tokenContext);
2044MethodBeingCompiled : HandleToObject((void*)pResolvedToken.tokenContext);
2940ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramSpecific, MethodBeingCompiled);
2957MethodDesc md = method == null ? MethodBeingCompiled : HandleToObject(method);
3026if (method != null && typeToInit == MethodBeingCompiled.OwningType)
3040if (typeToInit == typeFromContext(context) || typeToInit == MethodBeingCompiled.OwningType)
3048if (MethodBeingCompiled.OwningType == typeToInit && MethodBeingCompiled.IsStaticConstructor)
4361_methodColdCodeNode = new MethodColdCodeNode(MethodBeingCompiled);
4382_roDataBlob = new MethodReadOnlyDataNode(MethodBeingCompiled);
4410_rwDataBlob = new MethodReadWriteDataNode(MethodBeingCompiled);
4468if (this.MethodBeingCompiled.IsUnmanagedCallersOnly)
4879TypeDesc owningType = MethodBeingCompiled.OwningType;
4925if (this.MethodBeingCompiled.IsUnmanagedCallersOnly)
4934if (!isFallbackBodyCompilation && !this.MethodBeingCompiled.Signature.IsStatic) // Must be a static method
4936ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramNonStaticMethod, this.MethodBeingCompiled);
4939if (!isFallbackBodyCompilation && (this.MethodBeingCompiled.HasInstantiation || this.MethodBeingCompiled.OwningType.HasInstantiation)) // No generics involved
4941ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramGenericMethod, this.MethodBeingCompiled);
4944if (!isFallbackBodyCompilation && this.MethodBeingCompiled.IsAsync)
4946ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramAsync, this.MethodBeingCompiled);
4949if (!isFallbackBodyCompilation && MarshalHelpers.IsMarshallingRequired(this.MethodBeingCompiled.Signature, ((MetadataType)this.MethodBeingCompiled.OwningType).Module)) // Only blittable arguments
4951ThrowHelper.ThrowInvalidProgramException(ExceptionStringID.InvalidProgramNonBlittableTypes, this.MethodBeingCompiled);
4957if (this.MethodBeingCompiled.IsPInvoke)
4962if (this.MethodBeingCompiled.IsNoOptimization)
4967if (this.MethodBeingCompiled.Context.Target.Abi == TargetAbi.NativeAotArmel)
4972if (this.MethodBeingCompiled.IsAsyncCall()
4986if (this.MethodBeingCompiled.Context.Target.Architecture == TargetArchitecture.Wasm32)
5149ReadOnlySpan<char> methodName = MethodBeingCompiled.GetName().AsSpan();