File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Compatibility/ApiDiff/Microsoft.DotNet.ApiDiff/SyntaxRewriter Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ internal class PrimitiveSimplificationRewriter : CSharpSyntaxRewriter
44
44
{ "System.UInt64" , SyntaxKind . ULongKeyword } ,
45
45
} ;
46
46
47
- public override SyntaxNode ? VisitIdentifierName ( IdentifierNameSyntax node )
47
+ public override SyntaxNode ? VisitQualifiedName ( QualifiedNameSyntax node )
48
48
{
49
- if ( s_primitives . TryGetValue ( node . Identifier . Text , out SyntaxKind keyword ) )
49
+ if ( s_primitives . TryGetValue ( node . Right . Identifier . Text , out SyntaxKind keyword ) )
50
50
{
51
51
return SyntaxFactory . PredefinedType ( SyntaxFactory . Token ( keyword ) ) . WithTriviaFrom ( node ) ;
52
52
}
53
53
54
- return base . VisitIdentifierName ( node ) ;
54
+ return base . VisitQualifiedName ( node ) ;
55
55
}
56
56
}
You can’t perform that action at this time.
0 commit comments