227 references to OmittedArraySizeExpressionToken
Microsoft.CodeAnalysis.CSharp (3)
Parser\DocumentationCommentParser.cs (1)
1456
var omittedArraySizeExpressionInstance = SyntaxFactory.OmittedArraySizeExpression(SyntaxFactory.Token(SyntaxKind.
OmittedArraySizeExpressionToken
));
Parser\LanguageParser.cs (1)
7493
var omittedArraySizeExpressionInstance = _syntaxFactory.OmittedArraySizeExpression(SyntaxFactory.Token(SyntaxKind.
OmittedArraySizeExpressionToken
));
Syntax\SyntaxKind.cs (1)
497
/// <para>For example <c>int[,]</c> which has <see cref="
OmittedArraySizeExpressionToken
"/> as a child of
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (4)
231
|| currentKind == SyntaxKind.
OmittedArraySizeExpressionToken
)
243
if (currentKind == SyntaxKind.CloseBracketToken && previousKind != SyntaxKind.
OmittedArraySizeExpressionToken
&& HasFormattableBracketParent(currentToken))
285
&& currentKind != SyntaxKind.
OmittedArraySizeExpressionToken
296
&& previousKind != SyntaxKind.
OmittedArraySizeExpressionToken
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
279
if (previousToken.Kind() == SyntaxKind.
OmittedArraySizeExpressionToken
||
281
currentToken.Kind() == SyntaxKind.
OmittedArraySizeExpressionToken
||
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (211)
Generated\Syntax.Test.xml.Generated.cs (4)
263
=> InternalSyntaxFactory.OmittedArraySizeExpression(InternalSyntaxFactory.Token(SyntaxKind.
OmittedArraySizeExpressionToken
));
1739
Assert.Equal(SyntaxKind.
OmittedArraySizeExpressionToken
, node.OmittedArraySizeExpressionToken.Kind);
10479
=> SyntaxFactory.OmittedArraySizeExpression(SyntaxFactory.Token(SyntaxKind.
OmittedArraySizeExpressionToken
));
11955
Assert.Equal(SyntaxKind.
OmittedArraySizeExpressionToken
, node.OmittedArraySizeExpressionToken.Kind());
Parsing\AnonymousFunctionParsingTests.cs (5)
1262
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1509
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1563
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1657
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1761
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\AwaitParsingTests.cs (1)
1933
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\CollectionExpressionParsingTests.cs (33)
4244
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
4317
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
4538
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
4601
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
5206
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
5395
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
6753
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
6797
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
6848
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
7066
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
7110
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
7168
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
7227
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
7276
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
7999
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
8144
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
8297
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
8453
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
8597
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
8752
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
13840
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
16157
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
16248
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
16359
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
16364
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
16455
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
16460
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
17059
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
18291
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
18346
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
18351
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
18406
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
18415
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\CrefParsingTests.cs (17)
1798
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1818
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1823
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1832
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1837
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1842
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1889
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1939
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1944
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1953
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1998
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
2032
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
2037
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
2077
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
2107
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
2137
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
2167
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\DeclarationScopeParsingTests.cs (2)
1334
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1379
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\DeconstructionTests.cs (3)
330
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3481
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3543
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\ExpressionParsingTests.cs (2)
1401
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1445
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\FileModifierParsingTests.cs (2)
1633
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1891
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\FunctionPointerTests.cs (3)
2188
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
4033
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
4108
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\LambdaAttributeParsingTests.cs (5)
2026
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
2081
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
2086
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
2191
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
2544
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\LambdaParameterParsingTests.cs (4)
2005
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
2079
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
2116
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
2173
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\LambdaReturnTypeParsingTests.cs (7)
432
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
748
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
793
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1089
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1458
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
4825
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
5404
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\MemberDeclarationParsingTests.cs (8)
1929
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
2126
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
13394
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
13481
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
13572
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
13664
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
15738
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
15829
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\NullableParsingTests.cs (37)
71
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
115
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
244
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
256
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
295
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
304
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
316
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
424
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
470
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
623
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
664
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
782
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
869
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
929
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
988
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1000
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1048
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1069
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1114
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1138
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1181
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1233
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1297
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1352
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1404
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1409
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1418
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1458
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1463
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1472
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1587
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1592
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1604
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1616
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1680
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1707
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1771
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\PatternParsingTests.cs (30)
262
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
982
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1024
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1161
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1206
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1329
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1438
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1550
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3098
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3158
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3218
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3285
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3348
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3408
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3468
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3535
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3614
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3690
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3766
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3849
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3918
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3991
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
4062
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
4135
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
4222
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
4311
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
6364
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
6416
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
6469
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
6478
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\PatternParsingTests_ListPatterns.cs (7)
298
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
401
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1313
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1376
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1439
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1506
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1573
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\RecordParsing.cs (1)
4029
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\RefReadonlyTests.cs (1)
480
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\ScriptParsingTests.cs (11)
447
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
556
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
623
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
869
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
2116
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
2212
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3732
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
4416
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
4421
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
8547
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
9024
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\SeparatedSyntaxListParsingTests.cs (6)
834
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
912
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
917
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1000
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1005
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1010
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\StackAllocInitializerParsingTests.cs (1)
48
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\StatementAttributeParsingTests.cs (4)
1131
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1249
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1614
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3890
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\StatementParsingTests.cs (1)
4200
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\TypeArgumentListParsingTests.cs (1)
208
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Parsing\UsingDirectiveParsingTests.cs (14)
1441
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
1526
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
2505
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
2854
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3833
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
3922
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
4679
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
4760
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
4841
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
4919
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
4997
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
5075
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
5155
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
5235
N(SyntaxKind.
OmittedArraySizeExpressionToken
);
Syntax\SyntaxNodeTests.cs (1)
1888
var omittedArraySize = SyntaxFactory.OmittedArraySizeExpression(SyntaxFactory.Token(SyntaxKind.
OmittedArraySizeExpressionToken
));
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (4)
231
|| currentKind == SyntaxKind.
OmittedArraySizeExpressionToken
)
243
if (currentKind == SyntaxKind.CloseBracketToken && previousKind != SyntaxKind.
OmittedArraySizeExpressionToken
&& HasFormattableBracketParent(currentToken))
285
&& currentKind != SyntaxKind.
OmittedArraySizeExpressionToken
296
&& previousKind != SyntaxKind.
OmittedArraySizeExpressionToken
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
279
if (previousToken.Kind() == SyntaxKind.
OmittedArraySizeExpressionToken
||
281
currentToken.Kind() == SyntaxKind.
OmittedArraySizeExpressionToken
||
Microsoft.CodeAnalysis.Test.Utilities (1)
Syntax\TokenUtilities.cs (1)
69
return token.RawKind == (int)CS.SyntaxKind.
OmittedArraySizeExpressionToken
;