From 074180cf8d460a8ae4dc0241e8289920be324b7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=8Caba=20=C5=A0agi?= Date: Wed, 23 Jun 2021 15:14:47 +0200 Subject: [PATCH] Added SyntaxKinds related to Patterns and InitOnlySetters --- .../StyleCop.Analyzers/Lightup/SyntaxKindEx.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/SyntaxKindEx.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/SyntaxKindEx.cs index d07e72561..78e08b3b6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/SyntaxKindEx.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/SyntaxKindEx.cs @@ -9,6 +9,7 @@ internal static class SyntaxKindEx { public const SyntaxKind DotDotToken = (SyntaxKind)8222; public const SyntaxKind QuestionQuestionEqualsToken = (SyntaxKind)8284; + public const SyntaxKind InitKeyword = (SyntaxKind)8443; public const SyntaxKind ManagedKeyword = (SyntaxKind)8445; public const SyntaxKind UnmanagedKeyword = (SyntaxKind)8446; public const SyntaxKind NullableKeyword = (SyntaxKind)8486; @@ -45,6 +46,11 @@ internal static class SyntaxKindEx public const SyntaxKind SwitchExpressionArm = (SyntaxKind)9026; public const SyntaxKind VarPattern = (SyntaxKind)9027; public const SyntaxKind ParenthesizedPattern = (SyntaxKind)9028; + public const SyntaxKind RelationalPattern = (SyntaxKind)9029; + public const SyntaxKind TypePattern = (SyntaxKind)9030; + public const SyntaxKind OrPattern = (SyntaxKind)9031; + public const SyntaxKind AndPattern = (SyntaxKind)9032; + public const SyntaxKind NotPattern = (SyntaxKind)9033; public const SyntaxKind DeclarationExpression = (SyntaxKind)9040; public const SyntaxKind RefExpression = (SyntaxKind)9050; public const SyntaxKind RefType = (SyntaxKind)9051; @@ -54,6 +60,7 @@ internal static class SyntaxKindEx public const SyntaxKind NullableDirectiveTrivia = (SyntaxKind)9055; public const SyntaxKind FunctionPointerType = (SyntaxKind)9056; public const SyntaxKind FunctionPointerParameter = (SyntaxKind)9057; + public const SyntaxKind InitAccessorDeclaration = (SyntaxKind)9060; public const SyntaxKind WithExpression = (SyntaxKind)9061; public const SyntaxKind WithInitializerExpression = (SyntaxKind)9062; public const SyntaxKind RecordDeclaration = (SyntaxKind)9063;