|
5 | 5 |
|
6 | 6 | namespace StyleCop.Analyzers.Lightup |
7 | 7 | { |
8 | | - internal enum SyntaxKindEx |
| 8 | + using Microsoft.CodeAnalysis.CSharp; |
| 9 | + |
| 10 | + internal static class SyntaxKindEx |
9 | 11 | { |
10 | | - UnderscoreToken = 8491, |
11 | | - IsPatternExpression = 8657, |
12 | | - LocalFunctionStatement = 8830, |
13 | | - TupleType = 8924, |
14 | | - TupleElement = 8925, |
15 | | - TupleExpression = 8926, |
16 | | - SingleVariableDesignation = 8927, |
17 | | - ParenthesizedVariableDesignation = 8928, |
18 | | - ForEachVariableStatement = 8929, |
19 | | - DeclarationPattern = 9000, |
20 | | - ConstantPattern = 9002, |
21 | | - CasePatternSwitchLabel = 9009, |
22 | | - WhenClause = 9013, |
23 | | - DiscardDesignation = 9014, |
24 | | - DeclarationExpression = 9040, |
25 | | - RefExpression = 9050, |
26 | | - RefType = 9051, |
27 | | - ThrowExpression = 9052, |
| 12 | + public const SyntaxKind UnderscoreToken = (SyntaxKind)8491; |
| 13 | + public const SyntaxKind IsPatternExpression = (SyntaxKind)8657; |
| 14 | + public const SyntaxKind LocalFunctionStatement = (SyntaxKind)8830; |
| 15 | + public const SyntaxKind TupleType = (SyntaxKind)8924; |
| 16 | + public const SyntaxKind TupleElement = (SyntaxKind)8925; |
| 17 | + public const SyntaxKind TupleExpression = (SyntaxKind)8926; |
| 18 | + public const SyntaxKind SingleVariableDesignation = (SyntaxKind)8927; |
| 19 | + public const SyntaxKind ParenthesizedVariableDesignation = (SyntaxKind)8928; |
| 20 | + public const SyntaxKind ForEachVariableStatement = (SyntaxKind)8929; |
| 21 | + public const SyntaxKind DeclarationPattern = (SyntaxKind)9000; |
| 22 | + public const SyntaxKind ConstantPattern = (SyntaxKind)9002; |
| 23 | + public const SyntaxKind CasePatternSwitchLabel = (SyntaxKind)9009; |
| 24 | + public const SyntaxKind WhenClause = (SyntaxKind)9013; |
| 25 | + public const SyntaxKind DiscardDesignation = (SyntaxKind)9014; |
| 26 | + public const SyntaxKind DeclarationExpression = (SyntaxKind)9040; |
| 27 | + public const SyntaxKind RefExpression = (SyntaxKind)9050; |
| 28 | + public const SyntaxKind RefType = (SyntaxKind)9051; |
| 29 | + public const SyntaxKind ThrowExpression = (SyntaxKind)9052; |
28 | 30 | } |
29 | 31 | } |
0 commit comments