-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Description
This attempts to return MethodBase for the method with async callconv. We need to switch over to the thunk variant when compiling this.
runtime/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/Compilation.cs
Lines 202 to 208 in 891c183
| else if (intrinsicOwningType.Name.SequenceEqual("MethodBase"u8) && intrinsicOwningType.Namespace.SequenceEqual("System.Reflection"u8)) | |
| { | |
| if (intrinsicMethod.Signature.IsStatic && intrinsicMethod.Name.SequenceEqual("GetCurrentMethod"u8)) | |
| { | |
| return _methodBaseGetCurrentMethodThunks.GetHelper(callsiteMethod).InstantiateAsOpen(); | |
| } | |
| } |
Metadata
Metadata
Assignees
Type
Projects
Status
No status