222 references to OmittedArraySizeExpression
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Expressions.cs (5)
782
case SyntaxKind.
OmittedArraySizeExpression
:
4014
if (arg.Kind() != SyntaxKind.
OmittedArraySizeExpression
)
4035
if (dimension.Kind() != SyntaxKind.
OmittedArraySizeExpression
)
4480
if (size.Kind() != SyntaxKind.
OmittedArraySizeExpression
)
4497
if (countSyntax.Kind() != SyntaxKind.
OmittedArraySizeExpression
)
Binder\Binder_Symbols.cs (1)
662
if (!permitDimensions && dimension.Count != 0 && dimension[0].Kind() != SyntaxKind.
OmittedArraySizeExpression
)
Binder\FixedStatementBinder.cs (1)
39
if (size.Kind() != SyntaxKind.
OmittedArraySizeExpression
)
Binder\ForLoopBinder.cs (1)
39
if (size.Kind() != SyntaxKind.
OmittedArraySizeExpression
)
Binder\LocalBinderFactory.cs (1)
61
if (size.Kind() != SyntaxKind.
OmittedArraySizeExpression
)
Binder\LocalScopeBinder.cs (1)
289
if (expression.Kind() != SyntaxKind.
OmittedArraySizeExpression
)
Binder\UsingStatementBinder.cs (1)
49
if (size.Kind() != SyntaxKind.
OmittedArraySizeExpression
)
Parser\LanguageParser.cs (2)
5340
bool isOmitted = expression.Kind == SyntaxKind.
OmittedArraySizeExpression
;
7535
if (list[i].RawKind == (int)SyntaxKind.
OmittedArraySizeExpression
)
Symbols\Source\SourceFixedFieldSymbol.cs (1)
72
if (arguments.Count == 0 || arguments[0].Expression.Kind() == SyntaxKind.
OmittedArraySizeExpression
)
Microsoft.CodeAnalysis.CSharp.Features (1)
EditAndContinue\SyntaxComparer.cs (1)
517
case SyntaxKind.
OmittedArraySizeExpression
:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (207)
Parsing\AnonymousFunctionParsingTests.cs (5)
1260
N(SyntaxKind.
OmittedArraySizeExpression
);
1507
N(SyntaxKind.
OmittedArraySizeExpression
);
1561
N(SyntaxKind.
OmittedArraySizeExpression
);
1655
N(SyntaxKind.
OmittedArraySizeExpression
);
1759
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\AwaitParsingTests.cs (1)
1931
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\CollectionExpressionParsingTests.cs (33)
4242
N(SyntaxKind.
OmittedArraySizeExpression
);
4315
N(SyntaxKind.
OmittedArraySizeExpression
);
4536
N(SyntaxKind.
OmittedArraySizeExpression
);
4599
N(SyntaxKind.
OmittedArraySizeExpression
);
5204
N(SyntaxKind.
OmittedArraySizeExpression
);
5393
N(SyntaxKind.
OmittedArraySizeExpression
);
6751
N(SyntaxKind.
OmittedArraySizeExpression
);
6795
N(SyntaxKind.
OmittedArraySizeExpression
);
6846
N(SyntaxKind.
OmittedArraySizeExpression
);
7064
N(SyntaxKind.
OmittedArraySizeExpression
);
7108
N(SyntaxKind.
OmittedArraySizeExpression
);
7166
N(SyntaxKind.
OmittedArraySizeExpression
);
7225
N(SyntaxKind.
OmittedArraySizeExpression
);
7274
N(SyntaxKind.
OmittedArraySizeExpression
);
7997
N(SyntaxKind.
OmittedArraySizeExpression
);
8142
N(SyntaxKind.
OmittedArraySizeExpression
);
8295
N(SyntaxKind.
OmittedArraySizeExpression
);
8451
N(SyntaxKind.
OmittedArraySizeExpression
);
8595
N(SyntaxKind.
OmittedArraySizeExpression
);
8750
N(SyntaxKind.
OmittedArraySizeExpression
);
13838
N(SyntaxKind.
OmittedArraySizeExpression
);
16155
N(SyntaxKind.
OmittedArraySizeExpression
);
16246
N(SyntaxKind.
OmittedArraySizeExpression
);
16357
N(SyntaxKind.
OmittedArraySizeExpression
);
16362
N(SyntaxKind.
OmittedArraySizeExpression
);
16453
N(SyntaxKind.
OmittedArraySizeExpression
);
16458
N(SyntaxKind.
OmittedArraySizeExpression
);
17057
N(SyntaxKind.
OmittedArraySizeExpression
);
18289
N(SyntaxKind.
OmittedArraySizeExpression
);
18344
N(SyntaxKind.
OmittedArraySizeExpression
);
18349
N(SyntaxKind.
OmittedArraySizeExpression
);
18404
N(SyntaxKind.
OmittedArraySizeExpression
);
18413
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\CrefParsingTests.cs (17)
1796
N(SyntaxKind.
OmittedArraySizeExpression
);
1816
N(SyntaxKind.
OmittedArraySizeExpression
);
1821
N(SyntaxKind.
OmittedArraySizeExpression
);
1830
N(SyntaxKind.
OmittedArraySizeExpression
);
1835
N(SyntaxKind.
OmittedArraySizeExpression
);
1840
N(SyntaxKind.
OmittedArraySizeExpression
);
1887
N(SyntaxKind.
OmittedArraySizeExpression
);
1937
N(SyntaxKind.
OmittedArraySizeExpression
);
1942
N(SyntaxKind.
OmittedArraySizeExpression
);
1951
N(SyntaxKind.
OmittedArraySizeExpression
);
1996
N(SyntaxKind.
OmittedArraySizeExpression
);
2030
N(SyntaxKind.
OmittedArraySizeExpression
);
2035
N(SyntaxKind.
OmittedArraySizeExpression
);
2075
N(SyntaxKind.
OmittedArraySizeExpression
);
2105
N(SyntaxKind.
OmittedArraySizeExpression
);
2135
N(SyntaxKind.
OmittedArraySizeExpression
);
2165
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\DeclarationScopeParsingTests.cs (2)
1332
N(SyntaxKind.
OmittedArraySizeExpression
);
1377
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\DeconstructionTests.cs (3)
328
N(SyntaxKind.
OmittedArraySizeExpression
);
3479
N(SyntaxKind.
OmittedArraySizeExpression
);
3541
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\ExpressionParsingTests.cs (2)
1399
N(SyntaxKind.
OmittedArraySizeExpression
);
1443
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\FileModifierParsingTests.cs (2)
1631
N(SyntaxKind.
OmittedArraySizeExpression
);
1889
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\FunctionPointerTests.cs (3)
2186
N(SyntaxKind.
OmittedArraySizeExpression
);
4031
N(SyntaxKind.
OmittedArraySizeExpression
);
4106
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\LambdaAttributeParsingTests.cs (5)
2024
N(SyntaxKind.
OmittedArraySizeExpression
);
2079
N(SyntaxKind.
OmittedArraySizeExpression
);
2084
N(SyntaxKind.
OmittedArraySizeExpression
);
2189
N(SyntaxKind.
OmittedArraySizeExpression
);
2542
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\LambdaParameterParsingTests.cs (4)
2003
N(SyntaxKind.
OmittedArraySizeExpression
);
2077
N(SyntaxKind.
OmittedArraySizeExpression
);
2114
N(SyntaxKind.
OmittedArraySizeExpression
);
2171
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\LambdaReturnTypeParsingTests.cs (7)
430
N(SyntaxKind.
OmittedArraySizeExpression
);
746
N(SyntaxKind.
OmittedArraySizeExpression
);
791
N(SyntaxKind.
OmittedArraySizeExpression
);
1087
N(SyntaxKind.
OmittedArraySizeExpression
);
1456
N(SyntaxKind.
OmittedArraySizeExpression
);
4823
N(SyntaxKind.
OmittedArraySizeExpression
);
5402
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\MemberDeclarationParsingTests.cs (8)
1927
N(SyntaxKind.
OmittedArraySizeExpression
);
2124
N(SyntaxKind.
OmittedArraySizeExpression
);
13392
N(SyntaxKind.
OmittedArraySizeExpression
);
13479
N(SyntaxKind.
OmittedArraySizeExpression
);
13570
N(SyntaxKind.
OmittedArraySizeExpression
);
13662
N(SyntaxKind.
OmittedArraySizeExpression
);
15736
N(SyntaxKind.
OmittedArraySizeExpression
);
15827
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\NullableParsingTests.cs (37)
69
N(SyntaxKind.
OmittedArraySizeExpression
);
113
N(SyntaxKind.
OmittedArraySizeExpression
);
242
N(SyntaxKind.
OmittedArraySizeExpression
);
254
N(SyntaxKind.
OmittedArraySizeExpression
);
293
N(SyntaxKind.
OmittedArraySizeExpression
);
302
N(SyntaxKind.
OmittedArraySizeExpression
);
314
N(SyntaxKind.
OmittedArraySizeExpression
);
422
N(SyntaxKind.
OmittedArraySizeExpression
);
468
N(SyntaxKind.
OmittedArraySizeExpression
);
621
N(SyntaxKind.
OmittedArraySizeExpression
);
662
N(SyntaxKind.
OmittedArraySizeExpression
);
780
N(SyntaxKind.
OmittedArraySizeExpression
);
867
N(SyntaxKind.
OmittedArraySizeExpression
);
927
N(SyntaxKind.
OmittedArraySizeExpression
);
986
N(SyntaxKind.
OmittedArraySizeExpression
);
998
N(SyntaxKind.
OmittedArraySizeExpression
);
1046
N(SyntaxKind.
OmittedArraySizeExpression
);
1067
N(SyntaxKind.
OmittedArraySizeExpression
);
1112
N(SyntaxKind.
OmittedArraySizeExpression
);
1136
N(SyntaxKind.
OmittedArraySizeExpression
);
1179
N(SyntaxKind.
OmittedArraySizeExpression
);
1231
N(SyntaxKind.
OmittedArraySizeExpression
);
1295
N(SyntaxKind.
OmittedArraySizeExpression
);
1350
N(SyntaxKind.
OmittedArraySizeExpression
);
1402
N(SyntaxKind.
OmittedArraySizeExpression
);
1407
N(SyntaxKind.
OmittedArraySizeExpression
);
1416
N(SyntaxKind.
OmittedArraySizeExpression
);
1456
N(SyntaxKind.
OmittedArraySizeExpression
);
1461
N(SyntaxKind.
OmittedArraySizeExpression
);
1470
N(SyntaxKind.
OmittedArraySizeExpression
);
1585
N(SyntaxKind.
OmittedArraySizeExpression
);
1590
N(SyntaxKind.
OmittedArraySizeExpression
);
1602
N(SyntaxKind.
OmittedArraySizeExpression
);
1614
N(SyntaxKind.
OmittedArraySizeExpression
);
1678
N(SyntaxKind.
OmittedArraySizeExpression
);
1705
N(SyntaxKind.
OmittedArraySizeExpression
);
1769
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\PatternParsingTests.cs (30)
260
N(SyntaxKind.
OmittedArraySizeExpression
);
980
N(SyntaxKind.
OmittedArraySizeExpression
);
1022
N(SyntaxKind.
OmittedArraySizeExpression
);
1159
N(SyntaxKind.
OmittedArraySizeExpression
);
1204
N(SyntaxKind.
OmittedArraySizeExpression
);
1327
N(SyntaxKind.
OmittedArraySizeExpression
);
1436
N(SyntaxKind.
OmittedArraySizeExpression
);
1548
N(SyntaxKind.
OmittedArraySizeExpression
);
3096
N(SyntaxKind.
OmittedArraySizeExpression
);
3156
N(SyntaxKind.
OmittedArraySizeExpression
);
3216
N(SyntaxKind.
OmittedArraySizeExpression
);
3283
N(SyntaxKind.
OmittedArraySizeExpression
);
3346
N(SyntaxKind.
OmittedArraySizeExpression
);
3406
N(SyntaxKind.
OmittedArraySizeExpression
);
3466
N(SyntaxKind.
OmittedArraySizeExpression
);
3533
N(SyntaxKind.
OmittedArraySizeExpression
);
3612
N(SyntaxKind.
OmittedArraySizeExpression
);
3688
N(SyntaxKind.
OmittedArraySizeExpression
);
3764
N(SyntaxKind.
OmittedArraySizeExpression
);
3847
N(SyntaxKind.
OmittedArraySizeExpression
);
3916
N(SyntaxKind.
OmittedArraySizeExpression
);
3989
N(SyntaxKind.
OmittedArraySizeExpression
);
4060
N(SyntaxKind.
OmittedArraySizeExpression
);
4133
N(SyntaxKind.
OmittedArraySizeExpression
);
4220
N(SyntaxKind.
OmittedArraySizeExpression
);
4309
N(SyntaxKind.
OmittedArraySizeExpression
);
6362
N(SyntaxKind.
OmittedArraySizeExpression
);
6414
N(SyntaxKind.
OmittedArraySizeExpression
);
6467
N(SyntaxKind.
OmittedArraySizeExpression
);
6476
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\PatternParsingTests_ListPatterns.cs (7)
296
N(SyntaxKind.
OmittedArraySizeExpression
);
399
N(SyntaxKind.
OmittedArraySizeExpression
);
1311
N(SyntaxKind.
OmittedArraySizeExpression
);
1374
N(SyntaxKind.
OmittedArraySizeExpression
);
1437
N(SyntaxKind.
OmittedArraySizeExpression
);
1504
N(SyntaxKind.
OmittedArraySizeExpression
);
1571
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\RecordParsing.cs (1)
4027
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\RefReadonlyTests.cs (1)
478
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\ScriptParsingTests.cs (11)
445
N(SyntaxKind.
OmittedArraySizeExpression
);
554
N(SyntaxKind.
OmittedArraySizeExpression
);
621
N(SyntaxKind.
OmittedArraySizeExpression
);
867
N(SyntaxKind.
OmittedArraySizeExpression
);
2114
N(SyntaxKind.
OmittedArraySizeExpression
);
2210
N(SyntaxKind.
OmittedArraySizeExpression
);
3730
N(SyntaxKind.
OmittedArraySizeExpression
);
4414
N(SyntaxKind.
OmittedArraySizeExpression
);
4419
N(SyntaxKind.
OmittedArraySizeExpression
);
8545
N(SyntaxKind.
OmittedArraySizeExpression
);
9022
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\SeparatedSyntaxListParsingTests.cs (6)
832
N(SyntaxKind.
OmittedArraySizeExpression
);
910
N(SyntaxKind.
OmittedArraySizeExpression
);
915
N(SyntaxKind.
OmittedArraySizeExpression
);
998
N(SyntaxKind.
OmittedArraySizeExpression
);
1003
N(SyntaxKind.
OmittedArraySizeExpression
);
1008
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\StackAllocInitializerParsingTests.cs (1)
46
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\StatementAttributeParsingTests.cs (4)
1129
N(SyntaxKind.
OmittedArraySizeExpression
);
1247
N(SyntaxKind.
OmittedArraySizeExpression
);
1612
N(SyntaxKind.
OmittedArraySizeExpression
);
3888
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\StatementParsingTests.cs (1)
4198
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\TypeArgumentListParsingTests.cs (1)
206
N(SyntaxKind.
OmittedArraySizeExpression
);
Parsing\UsingDirectiveParsingTests.cs (14)
1439
N(SyntaxKind.
OmittedArraySizeExpression
);
1524
N(SyntaxKind.
OmittedArraySizeExpression
);
2503
N(SyntaxKind.
OmittedArraySizeExpression
);
2852
N(SyntaxKind.
OmittedArraySizeExpression
);
3831
N(SyntaxKind.
OmittedArraySizeExpression
);
3920
N(SyntaxKind.
OmittedArraySizeExpression
);
4677
N(SyntaxKind.
OmittedArraySizeExpression
);
4758
N(SyntaxKind.
OmittedArraySizeExpression
);
4839
N(SyntaxKind.
OmittedArraySizeExpression
);
4917
N(SyntaxKind.
OmittedArraySizeExpression
);
4995
N(SyntaxKind.
OmittedArraySizeExpression
);
5073
N(SyntaxKind.
OmittedArraySizeExpression
);
5153
N(SyntaxKind.
OmittedArraySizeExpression
);
5233
N(SyntaxKind.
OmittedArraySizeExpression
);
Syntax\SyntaxRewriterTests.cs (1)
275
if (node != null && node.IsKind(SyntaxKind.
OmittedArraySizeExpression
) && first)