File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,22 @@ public override void VisitFieldDeclaration(FieldDeclarationSyntax node)
8989 }
9090 }
9191
92+ public override void VisitArrayType ( ArrayTypeSyntax node )
93+ {
94+ using ( ExpressionCaptureScope arrayTypeCaptureScope = new ExpressionCaptureScope ( visitorContext , visitorContext . topCaptureScope ) )
95+ {
96+ Visit ( node . ElementType ) ;
97+
98+ arrayTypeCaptureScope . MakeArrayType ( ) ;
99+ }
100+ }
101+
102+ public override void VisitArrayRankSpecifier ( ArrayRankSpecifierSyntax node )
103+ {
104+ foreach ( ExpressionSyntax size in node . Sizes )
105+ Visit ( size ) ;
106+ }
107+
92108 #region Resolution boilerplate
93109 // Boilerplate to have resolution work correctly
94110 public override void VisitUsingDirective ( UsingDirectiveSyntax node )
You can’t perform that action at this time.
0 commit comments