@@ -230,6 +230,8 @@ public override void VisitClassDeclaration(ClassDeclarationSyntax node)
230
230
231
231
switch ( kind )
232
232
{
233
+ case SyntaxKind . AttributeList :
234
+ break ;
233
235
case SyntaxKind . TypeParameterList :
234
236
{
235
237
SyntaxTriviaList _syntaxTrivias = asNode . GetTrailingTrivia ( ) ;
@@ -296,6 +298,8 @@ public override void VisitConstructorDeclaration(ConstructorDeclarationSyntax no
296
298
297
299
switch ( kind )
298
300
{
301
+ case SyntaxKind . AttributeList :
302
+ break ;
299
303
case SyntaxKind . BaseConstructorInitializer :
300
304
_BaseConstructorInitializerNode = asNode ;
301
305
SyntaxTriviaList _syntaxTrivias = asNode . GetTrailingTrivia ( ) ;
@@ -917,6 +921,7 @@ public override void VisitMethodDeclaration(MethodDeclarationSyntax node)
917
921
918
922
switch ( kind )
919
923
{
924
+ case SyntaxKind . AttributeList :
920
925
case SyntaxKind . GenericName :
921
926
case SyntaxKind . PredefinedType :
922
927
break ;
@@ -970,6 +975,8 @@ public override void VisitFieldDeclaration(FieldDeclarationSyntax node)
970
975
971
976
switch ( kind )
972
977
{
978
+ case SyntaxKind . AttributeList :
979
+ break ;
973
980
case SyntaxKind . VariableDeclaration :
974
981
Visit ( asNode ) ;
975
982
break ;
@@ -1111,6 +1118,7 @@ where n.AsNode().IsKind(SyntaxKind.GenericName)
1111
1118
{
1112
1119
//TODO "EqualsValueClause" default value
1113
1120
case SyntaxKind . EqualsValueClause :
1121
+ case SyntaxKind . AttributeList :
1114
1122
case SyntaxKind . PredefinedType :
1115
1123
case SyntaxKind . IdentifierName :
1116
1124
case SyntaxKind . GenericName :
0 commit comments