Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference to generic method parameter is handled incorrectly #94

Closed
MSDN-WhiteKnight opened this issue Dec 18, 2021 · 0 comments
Closed
Labels
bug Something isn't working
Milestone

Comments

@MSDN-WhiteKnight
Copy link
Owner

mscorlib / System.Threading.Interlocked / CompareExchange

Expected:

.method public hidebysig static !!T  CompareExchange<class T>(!!T& location1,
                                                          !!T 'value',
                                                          !!T comparand) cil managed

Actual

.method  public hidebysig static !!0 CompareExchange<T>(
    !0 location1, 
    !!0 'value', 
    !!0 comparand
) cil managed
@MSDN-WhiteKnight MSDN-WhiteKnight added the bug Something isn't working label Dec 18, 2021
@MSDN-WhiteKnight MSDN-WhiteKnight added this to the 2.4 milestone Dec 18, 2021
MSDN-WhiteKnight added a commit that referenced this issue Dec 18, 2021
Avoid resolving referenced method implementation in IsGenericMethod property, because it is slow and could potentially fail (issue #94 for example)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant