public class TestClassWithClassicConstructor
{
private int x;
private int y;
public TestClassWithClassicConstructor(int x, int y)
{
this.x = x;
this.y = y;
}
public int Add()
{
return x + y;
}
}
The above code can normally display the Add method in the dropdown.
After converting the constructor to a primary constructor:
public class TestClassWithPrimaryConstructor(int x, int y)
{
public int Add()
{
return x + y;
}
}

It seems that VA recognizes the primary constructor as a method instead of recognizing it as a class?