You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class ConstructorWithBase
{
public ConstructorWithBase(string value)
: base(value)
{
return;
}
}
public class ConstructorWithBase
{
public ConstructorWithBase(string value)
{
return;
}
}
It ends up with the following message. Which isn't as helpful as it could be.
Original: Around Line 3
{
public ConstructorWithBase(string value)
: base(value)
{
return;
}
}
Formatted: Missing
The problem is because the root Compare method is comparing null to a node, which means they are not equal. But it has no context for where the null node is.
SyntaxNodeComparer probably needs to be modified to keep track of parents in the stack, and passing them to the compare methods.
See the ignored unit test.
The text was updated successfully, but these errors were encountered:
When SyntaxNodeComparer compares the following
It ends up with the following message. Which isn't as helpful as it could be.
The problem is because the root Compare method is comparing null to a node, which means they are not equal. But it has no context for where the null node is.
SyntaxNodeComparer probably needs to be modified to keep track of parents in the stack, and passing them to the compare methods.
See the ignored unit test.
The text was updated successfully, but these errors were encountered: