In the Experimental instance, create a Class Library with this code:
namespace ClassLibrary1
{
public class Class1
{
public int f1()
{
return 0;
}
public int p1
{
get
{
return 0;
}
}
public int f2() => 0;
public int p2 => 0;
}
}
Ensure that the code file is the active window and click the command of the extension
Expected Behavior: it is already bad that so many points throw NotImplementedException, but for expression-bodied members a COMException is returned when the part is vsCMPartBody.
Actual Behavior: at the very least, NotImplementedException should be returned instead of COMException. And even better, return actual information since there is a body and for regular members the body points are returned.
The text was updated successfully, but these errors were encountered:
Version Used: Visual Studio 2017 15.2 (26430.16 Release)
Steps to Reproduce:
Expected Behavior: it is already bad that so many points throw NotImplementedException, but for expression-bodied members a COMException is returned when the part is vsCMPartBody.
Actual Behavior: at the very least, NotImplementedException should be returned instead of COMException. And even better, return actual information since there is a body and for regular members the body points are returned.
The text was updated successfully, but these errors were encountered: