We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 969358b commit 09d06deCopy full SHA for 09d06de
src/Compatibility/ApiDiff/Microsoft.DotNet.ApiDiff/SyntaxRewriter/GlobalPrefixRemover.cs
@@ -18,7 +18,7 @@ internal class GlobalPrefixRemover : CSharpSyntaxRewriter
18
if (node.Left is AliasQualifiedNameSyntax alias &&
19
alias.Alias.Identifier.Text == GlobalPrefix)
20
{
21
- return node.Right;
+ node = SyntaxFactory.QualifiedName(alias.Name, node.Right).WithTriviaFrom(node);
22
}
23
return base.VisitQualifiedName(node);
24
0 commit comments