Open wherewhere opened 4 months ago
You could at least provide a simple repro with valid IL (I have no idea what you trying).
Here is one that produces the same call /* 2B000001 */
output.
.method static void M<T>()
{
ret
}
.method static void Main()
{
.entrypoint
call void M<int64>()
ret
}
When I call generic method in IL, it just becomes something like
call /* 2B000001 */
.What I wrote:
What it output:
The method is just gone. But it can be compiled when I switch the branch to x64, .NET Framework (x64) and Default at the first time (switch to other branch and switch back).
The code link: https://sharplab.io/#v2:EYLgtghglgdgNAGxFBAfAAgNgAQEECwAUAN5EC+RRAdAMYIQDOD2ADgK7AJQ3YDCRpQtmHYqYAKYAXABYB7ACasOXHg0kRJ3bADdZURQFkAPAGpRNSbIBO2Oo2YAKANoBlAJ5rxYKgCU2MTQkAXXdPbwBJAIBmACYASmwAFQA+BziiEWxBTMyrKQyRCiERAuExKTlFdk4tNQ0tXX1sAzTSrLbM9AAWDpEaCAQEHT1FXhAQY1hJTC7U9OKc7DzJNqKyIA