Cannot find generic typed definition in ILSpy
There is a bug when you write code like this:
var list = new List<int>();And then right click "Add" and select "Go to definition (in mscorlib.dll) F12" to open ILSpy, and the following error message comes through:
list.Add(3);
Cannot find 'M:System.Collections.Generic.List{System.Int32}.Add(System.Int32)' in command line specified assemblies.
Comments