34 references to ImplicitArrayCreationExpression
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Expressions.cs (4)
609case SyntaxKind.ImplicitArrayCreationExpression: 4369creationSyntax.Kind() == SyntaxKind.ImplicitArrayCreationExpression); 4372Debug.Assert(boundInitExprOpt.IsDefault || creationSyntax.Kind() == SyntaxKind.ImplicitArrayCreationExpression); 4402var isInferred = creationSyntax.IsKind(SyntaxKind.ImplicitArrayCreationExpression);
Parser\LanguageParser.cs (1)
10829case SyntaxKind.ImplicitArrayCreationExpression:
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\NewLineUserSettingFormattingRule.cs (2)
135or SyntaxKind.ImplicitArrayCreationExpression 361currentToken.Parent.Kind() is SyntaxKind.ArrayInitializerExpression or SyntaxKind.ImplicitArrayCreationExpression)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
606=> token.Parent is (kind: SyntaxKind.ArrayRankSpecifier or SyntaxKind.BracketedArgumentList or SyntaxKind.BracketedParameterList or SyntaxKind.ImplicitArrayCreationExpression or SyntaxKind.ListPattern or SyntaxKind.CollectionExpression);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
320SyntaxKind.ImplicitArrayCreationExpression) ? 0 : 1;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
99public int? ImplicitArrayCreationExpression => (int)SyntaxKind.ImplicitArrayCreationExpression;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (1)
520else if (currentOriginalNode.Kind() == SyntaxKind.ImplicitArrayCreationExpression)
Microsoft.CodeAnalysis.CSharp.Features (1)
BraceCompletion\CurlyBraceCompletionService.cs (1)
143SyntaxKind.ImplicitArrayCreationExpression or
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (16)
Parsing\CollectionExpressionParsingTests.cs (3)
7706N(SyntaxKind.ImplicitArrayCreationExpression); 7737N(SyntaxKind.ImplicitArrayCreationExpression); 7769N(SyntaxKind.ImplicitArrayCreationExpression);
Parsing\DeconstructionTests.cs (1)
1701N(SyntaxKind.ImplicitArrayCreationExpression);
Parsing\ExpressionParsingTests.cs (8)
373N(SyntaxKind.ImplicitArrayCreationExpression); 1907Assert.Equal(SyntaxKind.ImplicitArrayCreationExpression, expr.Kind()); 6025N(SyntaxKind.ImplicitArrayCreationExpression); 6056N(SyntaxKind.ImplicitArrayCreationExpression); 6086N(SyntaxKind.ImplicitArrayCreationExpression); 6404N(SyntaxKind.ImplicitArrayCreationExpression); 6431N(SyntaxKind.ImplicitArrayCreationExpression); 6459N(SyntaxKind.ImplicitArrayCreationExpression);
Parsing\ImplicitObjectCreationParsingTests.cs (1)
97N(SyntaxKind.ImplicitArrayCreationExpression);
Parsing\LambdaAttributeParsingTests.cs (1)
3019N(SyntaxKind.ImplicitArrayCreationExpression);
Parsing\ScriptParsingTests.cs (1)
319N(SyntaxKind.ImplicitArrayCreationExpression);
Parsing\StatementAttributeParsingTests.cs (1)
3969N(SyntaxKind.ImplicitArrayCreationExpression);
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\NewLineUserSettingFormattingRule.cs (2)
135or SyntaxKind.ImplicitArrayCreationExpression 361currentToken.Parent.Kind() is SyntaxKind.ArrayInitializerExpression or SyntaxKind.ImplicitArrayCreationExpression)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
606=> token.Parent is (kind: SyntaxKind.ArrayRankSpecifier or SyntaxKind.BracketedArgumentList or SyntaxKind.BracketedParameterList or SyntaxKind.ImplicitArrayCreationExpression or SyntaxKind.ListPattern or SyntaxKind.CollectionExpression);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
320SyntaxKind.ImplicitArrayCreationExpression) ? 0 : 1;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
99public int? ImplicitArrayCreationExpression => (int)SyntaxKind.ImplicitArrayCreationExpression;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (1)
520else if (currentOriginalNode.Kind() == SyntaxKind.ImplicitArrayCreationExpression)