|
|
|
@ -2567,6 +2567,7 @@ namespace ICSharpCode.NRefactory.CSharp
@@ -2567,6 +2567,7 @@ namespace ICSharpCode.NRefactory.CSharp
|
|
|
|
|
var result = new ArrayCreateExpression (); |
|
|
|
|
|
|
|
|
|
var location = LocationsBag.GetLocations (arrayCreationExpression); |
|
|
|
|
result.AddChild (new CSharpTokenNode (Convert (arrayCreationExpression.Location), "new".Length), ArrayCreateExpression.Roles.Keyword); |
|
|
|
|
if (arrayCreationExpression.NewType != null) |
|
|
|
|
result.AddChild (ConvertToType (arrayCreationExpression.NewType), ArrayCreateExpression.Roles.Type); |
|
|
|
|
|
|
|
|
|