MSDN-WhiteKnight / CilTools

A set of tools to work with CIL in .NET applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reference to generic method parameter is handled incorrectly

MSDN-WhiteKnight opened this issue · comments

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