64 references to TypePattern
Microsoft.CodeAnalysis.CSharp (1)
Syntax\SyntaxFacts.cs (1)
227
case
TypePattern
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
130
public int? TypePattern => (int)SyntaxKind.
TypePattern
;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Semantics\PatternMatchingTests3.cs (4)
4159
Assert.Equal(SyntaxKind.
TypePattern
, pattern.Kind());
4174
Assert.Equal(SyntaxKind.
TypePattern
, pattern.Kind());
4386
Assert.Equal(SyntaxKind.
TypePattern
, pattern.Kind());
4408
Assert.Equal(SyntaxKind.
TypePattern
, pattern.Kind());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (57)
Parsing\AwaitParsingTests.cs (1)
1817
N(SyntaxKind.
TypePattern
);
Parsing\NullableParsingTests.cs (4)
856
N(SyntaxKind.
TypePattern
);
1873
N(SyntaxKind.
TypePattern
);
1885
N(SyntaxKind.
TypePattern
);
1965
N(SyntaxKind.
TypePattern
);
Parsing\PatternParsingTests.cs (29)
9380
N(SyntaxKind.
TypePattern
);
9388
N(SyntaxKind.
TypePattern
);
9427
N(SyntaxKind.
TypePattern
);
9485
N(SyntaxKind.
TypePattern
);
9493
N(SyntaxKind.
TypePattern
);
9543
N(SyntaxKind.
TypePattern
);
9618
N(SyntaxKind.
TypePattern
);
9669
N(SyntaxKind.
TypePattern
);
9685
N(SyntaxKind.
TypePattern
);
9735
N(SyntaxKind.
TypePattern
);
9745
N(SyntaxKind.
TypePattern
);
9964
N(SyntaxKind.
TypePattern
);
10060
N(SyntaxKind.
TypePattern
);
10115
N(SyntaxKind.
TypePattern
);
10441
N(SyntaxKind.
TypePattern
);
10494
N(SyntaxKind.
TypePattern
);
11048
N(SyntaxKind.
TypePattern
);
11100
N(SyntaxKind.
TypePattern
);
11212
N(SyntaxKind.
TypePattern
);
12064
N(SyntaxKind.
TypePattern
);
12089
N(SyntaxKind.
TypePattern
);
12145
N(SyntaxKind.
TypePattern
);
12191
N(SyntaxKind.
TypePattern
);
12243
N(SyntaxKind.
TypePattern
);
12294
N(SyntaxKind.
TypePattern
);
12346
N(SyntaxKind.
TypePattern
);
12392
N(SyntaxKind.
TypePattern
);
12444
N(SyntaxKind.
TypePattern
);
12495
N(SyntaxKind.
TypePattern
);
Parsing\PatternParsingTests_ListPatterns.cs (3)
248
N(SyntaxKind.
TypePattern
);
285
N(SyntaxKind.
TypePattern
);
1120
N(SyntaxKind.
TypePattern
);
Parsing\PatternParsingTests2.cs (9)
240
N(SyntaxKind.
TypePattern
);
1005
N(SyntaxKind.
TypePattern
);
1099
N(SyntaxKind.
TypePattern
);
1175
N(SyntaxKind.
TypePattern
);
1216
N(SyntaxKind.
TypePattern
);
1313
N(SyntaxKind.
TypePattern
);
1393
N(SyntaxKind.
TypePattern
);
1648
N(SyntaxKind.
TypePattern
);
1660
N(SyntaxKind.
TypePattern
);
Parsing\RangeExpressionParsingTests.cs (2)
275
N(SyntaxKind.
TypePattern
);
306
N(SyntaxKind.
TypePattern
);
Parsing\StatementParsingTests.cs (5)
4339
N(SyntaxKind.
TypePattern
);
4503
N(SyntaxKind.
TypePattern
);
4694
N(SyntaxKind.
TypePattern
);
5515
N(SyntaxKind.
TypePattern
);
5627
N(SyntaxKind.
TypePattern
);
Parsing\SwitchExpressionParsingTests.cs (4)
4255
N(SyntaxKind.
TypePattern
);
4300
N(SyntaxKind.
TypePattern
);
4470
N(SyntaxKind.
TypePattern
);
4531
N(SyntaxKind.
TypePattern
);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
130
public int? TypePattern => (int)SyntaxKind.
TypePattern
;