File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -823,6 +823,20 @@ public override void VisitMemberAccessExpression(MemberAccessExpressionSyntax no
823823 case SyntaxKind . ParenthesizedExpression :
824824 VisitParenthesizedExpression ( ( ParenthesizedExpressionSyntax ) asNode ) ;
825825 break ;
826+ case SyntaxKind . PredefinedType :
827+ {
828+ //TODO! other types!
829+ //
830+
831+ //this is string.Empty
832+ JSSB . Append ( "\" \" " ) ;
833+ SyntaxTriviaList _syntaxTrivias = nodesAndTokens [ nodesAndTokens . Count - 1 ] . GetTrailingTrivia ( ) ;
834+ for ( int _i = 0 ; _i < _syntaxTrivias . Count ; _i ++ )
835+ {
836+ VisitTrivia ( _syntaxTrivias [ _i ] ) ;
837+ }
838+ return ;
839+ }
826840 case SyntaxKind . InvocationExpression :
827841 case SyntaxKind . ElementAccessExpression :
828842 case SyntaxKind . SimpleMemberAccessExpression :
You can’t perform that action at this time.
0 commit comments