51 references to ArrayCreationExpression
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Expressions.cs (2)
575case SyntaxKind.ArrayCreationExpression: 3711creationSyntax.Kind() == SyntaxKind.ArrayCreationExpression ||
Parser\LanguageParser.cs (1)
10159case SyntaxKind.ArrayCreationExpression:
Syntax\SyntaxFactory.cs (1)
2192case SyntaxKind.ArrayCreationExpression:
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
CSharpSyntaxKinds.cs (1)
82public int ArrayCreationExpression => (int)SyntaxKind.ArrayCreationExpression;
IndentBlockFormattingRule.cs (1)
227if (node.IsKind(SyntaxKind.ArrayInitializerExpression) && node.Parent != null && node.Parent.IsKind(SyntaxKind.ArrayCreationExpression))
TypeStyleHelper.cs (1)
79if (initializerExpression.Kind() is SyntaxKind.ObjectCreationExpression or SyntaxKind.ArrayCreationExpression &&
Microsoft.CodeAnalysis.CSharp.Features (3)
Debugging\CSharpProximityExpressionsService_ExpressionTermCollector.cs (1)
102case SyntaxKind.ArrayCreationExpression:
GenerateType\CSharpGenerateTypeService.cs (1)
53expression.Parent.IsParentKind(SyntaxKind.ArrayCreationExpression);
IntroduceVariable\CSharpIntroduceVariableService.cs (1)
91if (!expression.DepthFirstTraversal().Any(n => n.RawKind == (int)SyntaxKind.ArrayCreationExpression) &&
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (37)
Parsing\AnonymousFunctionParsingTests.cs (10)
1191N(SyntaxKind.ArrayCreationExpression); 1248N(SyntaxKind.ArrayCreationExpression); 1294N(SyntaxKind.ArrayCreationExpression); 1361N(SyntaxKind.ArrayCreationExpression); 1439N(SyntaxKind.ArrayCreationExpression); 1495N(SyntaxKind.ArrayCreationExpression); 1549N(SyntaxKind.ArrayCreationExpression); 1643N(SyntaxKind.ArrayCreationExpression); 1747N(SyntaxKind.ArrayCreationExpression); 1824N(SyntaxKind.ArrayCreationExpression);
Parsing\AwaitParsingTests.cs (1)
1226N(SyntaxKind.ArrayCreationExpression);
Parsing\ExpressionParsingTests.cs (8)
1361Assert.Equal(SyntaxKind.ArrayCreationExpression, expr.Kind()); 1387N(SyntaxKind.ArrayCreationExpression); 1469N(SyntaxKind.ArrayCreationExpression); 1731N(SyntaxKind.ArrayCreationExpression); 1839Assert.Equal(SyntaxKind.ArrayCreationExpression, expr.Kind()); 1861Assert.Equal(SyntaxKind.ArrayCreationExpression, expr.Kind()); 1885Assert.Equal(SyntaxKind.ArrayCreationExpression, expr.Kind()); 3013Assert.Equal(SyntaxKind.ArrayCreationExpression, expr.Kind());
Parsing\ImplicitObjectCreationParsingTests.cs (1)
182N(SyntaxKind.ArrayCreationExpression);
Parsing\NullableParsingTests.cs (6)
1388N(SyntaxKind.ArrayCreationExpression); 1499N(SyntaxKind.ArrayCreationExpression); 1563N(SyntaxKind.ArrayCreationExpression); 1627N(SyntaxKind.ArrayCreationExpression); 1691N(SyntaxKind.ArrayCreationExpression); 1718N(SyntaxKind.ArrayCreationExpression);
Parsing\ScriptParsingTests.cs (2)
391N(SyntaxKind.ArrayCreationExpression); 433N(SyntaxKind.ArrayCreationExpression);
Parsing\SeparatedSyntaxListParsingTests.cs (8)
820N(SyntaxKind.ArrayCreationExpression); 859N(SyntaxKind.ArrayCreationExpression); 898N(SyntaxKind.ArrayCreationExpression); 942N(SyntaxKind.ArrayCreationExpression); 986N(SyntaxKind.ArrayCreationExpression); 1035N(SyntaxKind.ArrayCreationExpression); 1079N(SyntaxKind.ArrayCreationExpression); 1123N(SyntaxKind.ArrayCreationExpression);
Parsing\StatementAttributeParsingTests.cs (1)
3875N(SyntaxKind.ArrayCreationExpression);
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CSharpSyntaxKinds.cs (1)
82public int ArrayCreationExpression => (int)SyntaxKind.ArrayCreationExpression;
IndentBlockFormattingRule.cs (1)
227if (node.IsKind(SyntaxKind.ArrayInitializerExpression) && node.Parent != null && node.Parent.IsKind(SyntaxKind.ArrayCreationExpression))
TypeStyleHelper.cs (1)
79if (initializerExpression.Kind() is SyntaxKind.ObjectCreationExpression or SyntaxKind.ArrayCreationExpression &&
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\MethodXml\MethodXmlBuilder.cs (1)
198case SyntaxKind.ArrayCreationExpression: