209 references to TupleType
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Expressions.cs (1)
5600
else if (node.Type.Kind() == SyntaxKind.
TupleType
)
Binder\Binder_Symbols.cs (1)
481
case SyntaxKind.
TupleType
:
Syntax.xml.Internal.Generated.cs (4)
28545
var cached = CSharpSyntaxNodeCache.TryGetNode((int)SyntaxKind.
TupleType
, openParenToken, elements.Node, closeParenToken, this.context, out hash);
28548
var result = new TupleTypeSyntax(SyntaxKind.
TupleType
, openParenToken, elements.Node, closeParenToken, this.context);
33912
var cached = SyntaxNodeCache.TryGetNode((int)SyntaxKind.
TupleType
, openParenToken, elements.Node, closeParenToken, out hash);
33915
var result = new TupleTypeSyntax(SyntaxKind.
TupleType
, openParenToken, elements.Node, closeParenToken);
Syntax.xml.Syntax.Generated.cs (1)
839
/// <item><description><see cref="SyntaxKind.
TupleType
"/></description></item>
Syntax\SyntaxExtensions.cs (1)
447
case SyntaxKind.
TupleType
:
Syntax\SyntaxKindFacts.cs (1)
350
case SyntaxKind.
TupleType
:
Syntax\SyntaxNormalizer.cs (2)
732
if (token.IsKind(SyntaxKind.CloseParenToken) && IsWord(next.Kind()) && token.Parent.IsKind(SyntaxKind.
TupleType
) == true)
913
(!next.IsKind(SyntaxKind.OpenParenToken) || KeywordNeedsSeparatorBeforeOpenParen(token.Kind()) || next.Parent.IsKind(SyntaxKind.
TupleType
)) &&
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
542
currentToken.Parent.IsKind(SyntaxKind.
TupleType
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
83
public int TupleType => (int)SyntaxKind.
TupleType
;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
1326
SyntaxKind.
TupleType
))
1577
SyntaxKind.
TupleType
or
Microsoft.CodeAnalysis.CSharp.Features (3)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (2)
1911
case SyntaxKind.
TupleType
:
2230
case SyntaxKind.
TupleType
:
EditAndContinue\SyntaxComparer.cs (1)
515
case SyntaxKind.
TupleType
:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (183)
IncrementalParsing\IncrementalParsingTests.cs (1)
762
N(SyntaxKind.
TupleType
);
Parsing\CollectionExpressionParsingTests.cs (27)
4292
N(SyntaxKind.
TupleType
);
4411
N(SyntaxKind.
TupleType
);
5418
N(SyntaxKind.
TupleType
);
12591
N(SyntaxKind.
TupleType
);
12674
N(SyntaxKind.
TupleType
);
12771
N(SyntaxKind.
TupleType
);
13100
N(SyntaxKind.
TupleType
);
13249
N(SyntaxKind.
TupleType
);
13414
N(SyntaxKind.
TupleType
);
13592
N(SyntaxKind.
TupleType
);
13619
N(SyntaxKind.
TupleType
);
13786
N(SyntaxKind.
TupleType
);
13815
N(SyntaxKind.
TupleType
);
15600
N(SyntaxKind.
TupleType
);
15667
N(SyntaxKind.
TupleType
);
15766
N(SyntaxKind.
TupleType
);
15845
N(SyntaxKind.
TupleType
);
15946
N(SyntaxKind.
TupleType
);
16029
N(SyntaxKind.
TupleType
);
16132
N(SyntaxKind.
TupleType
);
16223
N(SyntaxKind.
TupleType
);
16334
N(SyntaxKind.
TupleType
);
16430
N(SyntaxKind.
TupleType
);
16546
N(SyntaxKind.
TupleType
);
16629
N(SyntaxKind.
TupleType
);
16730
N(SyntaxKind.
TupleType
);
16811
N(SyntaxKind.
TupleType
);
Parsing\DeclarationExpressionTests.cs (1)
582
N(SyntaxKind.
TupleType
);
Parsing\DeclarationParsingTests.cs (12)
11291
N(SyntaxKind.
TupleType
);
11357
N(SyntaxKind.
TupleType
);
12204
N(SyntaxKind.
TupleType
);
12237
N(SyntaxKind.
TupleType
);
12284
N(SyntaxKind.
TupleType
);
12333
N(SyntaxKind.
TupleType
);
12393
N(SyntaxKind.
TupleType
);
12455
N(SyntaxKind.
TupleType
);
12460
N(SyntaxKind.
TupleType
);
12531
N(SyntaxKind.
TupleType
);
12590
N(SyntaxKind.
TupleType
);
12646
N(SyntaxKind.
TupleType
);
Parsing\DeclarationScopeParsingTests.cs (3)
10983
N(SyntaxKind.
TupleType
);
11331
N(SyntaxKind.
TupleType
);
11451
N(SyntaxKind.
TupleType
);
Parsing\DeconstructionTests.cs (4)
149
N(SyntaxKind.
TupleType
);
227
N(SyntaxKind.
TupleType
);
305
N(SyntaxKind.
TupleType
);
2050
Assert.Equal(SyntaxKind.
TupleType
, nullable.ElementType.Kind());
Parsing\ExtensionsParsingTests.cs (2)
2438
N(SyntaxKind.
TupleType
);
3626
N(SyntaxKind.
TupleType
);
Parsing\FileModifierParsingTests.cs (2)
1725
N(SyntaxKind.
TupleType
);
1982
N(SyntaxKind.
TupleType
);
Parsing\FunctionPointerTests.cs (1)
1943
N(SyntaxKind.
TupleType
);
Parsing\ImplicitObjectCreationParsingTests.cs (4)
54
N(SyntaxKind.
TupleType
);
138
N(SyntaxKind.
TupleType
);
187
N(SyntaxKind.
TupleType
);
228
N(SyntaxKind.
TupleType
);
Parsing\LambdaReturnTypeParsingTests.cs (3)
981
N(SyntaxKind.
TupleType
);
2236
N(SyntaxKind.
TupleType
);
2303
N(SyntaxKind.
TupleType
);
Parsing\MemberDeclarationParsingTests.cs (78)
518
N(SyntaxKind.
TupleType
);
601
N(SyntaxKind.
TupleType
);
2022
N(SyntaxKind.
TupleType
);
2221
N(SyntaxKind.
TupleType
);
8350
N(SyntaxKind.
TupleType
);
8408
N(SyntaxKind.
TupleType
);
12686
N(SyntaxKind.
TupleType
);
12771
N(SyntaxKind.
TupleType
);
12856
N(SyntaxKind.
TupleType
);
12941
N(SyntaxKind.
TupleType
);
13026
N(SyntaxKind.
TupleType
);
13111
N(SyntaxKind.
TupleType
);
13196
N(SyntaxKind.
TupleType
);
13281
N(SyntaxKind.
TupleType
);
13366
N(SyntaxKind.
TupleType
);
13460
N(SyntaxKind.
TupleType
);
13945
N(SyntaxKind.
TupleType
);
14210
N(SyntaxKind.
TupleType
);
14294
N(SyntaxKind.
TupleType
);
14369
N(SyntaxKind.
TupleType
);
14452
N(SyntaxKind.
TupleType
);
14538
N(SyntaxKind.
TupleType
);
14622
N(SyntaxKind.
TupleType
);
14706
N(SyntaxKind.
TupleType
);
14785
N(SyntaxKind.
TupleType
);
14864
N(SyntaxKind.
TupleType
);
14951
N(SyntaxKind.
TupleType
);
15038
N(SyntaxKind.
TupleType
);
15129
N(SyntaxKind.
TupleType
);
15152
N(SyntaxKind.
TupleType
);
15246
N(SyntaxKind.
TupleType
);
15320
N(SyntaxKind.
TupleType
);
15394
N(SyntaxKind.
TupleType
);
15473
N(SyntaxKind.
TupleType
);
15552
N(SyntaxKind.
TupleType
);
15640
N(SyntaxKind.
TupleType
);
15723
N(SyntaxKind.
TupleType
);
15809
N(SyntaxKind.
TupleType
);
15900
N(SyntaxKind.
TupleType
);
15994
N(SyntaxKind.
TupleType
);
16077
N(SyntaxKind.
TupleType
);
16154
N(SyntaxKind.
TupleType
);
16229
N(SyntaxKind.
TupleType
);
16304
N(SyntaxKind.
TupleType
);
16387
N(SyntaxKind.
TupleType
);
16496
N(SyntaxKind.
TupleType
);
16545
N(SyntaxKind.
TupleType
);
16630
N(SyntaxKind.
TupleType
);
16679
N(SyntaxKind.
TupleType
);
16738
N(SyntaxKind.
TupleType
);
16796
N(SyntaxKind.
TupleType
);
16854
N(SyntaxKind.
TupleType
);
16912
N(SyntaxKind.
TupleType
);
16967
N(SyntaxKind.
TupleType
);
17046
N(SyntaxKind.
TupleType
);
17125
N(SyntaxKind.
TupleType
);
17208
N(SyntaxKind.
TupleType
);
17295
N(SyntaxKind.
TupleType
);
17392
N(SyntaxKind.
TupleType
);
18614
N(SyntaxKind.
TupleType
);
18684
N(SyntaxKind.
TupleType
);
18808
N(SyntaxKind.
TupleType
);
18881
N(SyntaxKind.
TupleType
);
18947
N(SyntaxKind.
TupleType
);
19009
N(SyntaxKind.
TupleType
);
19083
N(SyntaxKind.
TupleType
);
19164
N(SyntaxKind.
TupleType
);
19226
N(SyntaxKind.
TupleType
);
19300
N(SyntaxKind.
TupleType
);
19706
N(SyntaxKind.
TupleType
);
19807
N(SyntaxKind.
TupleType
);
19905
N(SyntaxKind.
TupleType
);
20233
N(SyntaxKind.
TupleType
);
20315
N(SyntaxKind.
TupleType
);
20411
N(SyntaxKind.
TupleType
);
20504
N(SyntaxKind.
TupleType
);
20585
N(SyntaxKind.
TupleType
);
20669
N(SyntaxKind.
TupleType
);
Parsing\NullableParsingTests.cs (1)
1096
N(SyntaxKind.
TupleType
);
Parsing\PatternParsingTests.cs (18)
3073
N(SyntaxKind.
TupleType
);
3131
N(SyntaxKind.
TupleType
);
3193
N(SyntaxKind.
TupleType
);
3258
N(SyntaxKind.
TupleType
);
3323
N(SyntaxKind.
TupleType
);
3381
N(SyntaxKind.
TupleType
);
3443
N(SyntaxKind.
TupleType
);
3508
N(SyntaxKind.
TupleType
);
3573
N(SyntaxKind.
TupleType
);
3647
N(SyntaxKind.
TupleType
);
3725
N(SyntaxKind.
TupleType
);
3806
N(SyntaxKind.
TupleType
);
3893
N(SyntaxKind.
TupleType
);
3964
N(SyntaxKind.
TupleType
);
4037
N(SyntaxKind.
TupleType
);
4108
N(SyntaxKind.
TupleType
);
4181
N(SyntaxKind.
TupleType
);
4268
N(SyntaxKind.
TupleType
);
Parsing\ScriptParsingTests.cs (1)
952
N(SyntaxKind.
TupleType
);
Parsing\SeparatedSyntaxListParsingTests.cs (2)
384
N(SyntaxKind.
TupleType
);
429
N(SyntaxKind.
TupleType
);
Parsing\StatementAttributeParsingTests.cs (2)
1224
N(SyntaxKind.
TupleType
);
7501
N(SyntaxKind.
TupleType
);
Parsing\StatementParsingTests.cs (4)
254
Assert.Equal(SyntaxKind.
TupleType
, ds.Declaration.Type.Kind());
288
Assert.Equal(SyntaxKind.
TupleType
, ds.Declaration.Type.Kind());
4079
N(SyntaxKind.
TupleType
);
4138
N(SyntaxKind.
TupleType
);
Parsing\TopLevelStatementsParsingTests.cs (2)
720
N(SyntaxKind.
TupleType
);
1639
N(SyntaxKind.
TupleType
);
Parsing\TypeArgumentListParsingTests.cs (3)
893
N(SyntaxKind.
TupleType
);
953
N(SyntaxKind.
TupleType
);
3408
N(SyntaxKind.
TupleType
);
Parsing\UsingDirectiveParsingTests.cs (3)
1566
N(SyntaxKind.
TupleType
);
1623
N(SyntaxKind.
TupleType
);
1729
N(SyntaxKind.
TupleType
);
Parsing\ValueTupleTests.cs (9)
45
N(SyntaxKind.
TupleType
);
128
N(SyntaxKind.
TupleType
);
259
N(SyntaxKind.
TupleType
);
284
N(SyntaxKind.
TupleType
);
363
N(SyntaxKind.
TupleType
);
389
N(SyntaxKind.
TupleType
);
462
N(SyntaxKind.
TupleType
);
543
N(SyntaxKind.
TupleType
);
568
N(SyntaxKind.
TupleType
);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
542
currentToken.Parent.IsKind(SyntaxKind.
TupleType
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
83
public int TupleType => (int)SyntaxKind.
TupleType
;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
1326
SyntaxKind.
TupleType
))
1577
SyntaxKind.
TupleType
or
Roslyn.Diagnostics.CSharp.Analyzers (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
542
currentToken.Parent.IsKind(SyntaxKind.
TupleType
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
83
public int TupleType => (int)SyntaxKind.
TupleType
;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
1326
SyntaxKind.
TupleType
))
1577
SyntaxKind.
TupleType
or