SyntaxKind Enum

Definition

public enum class SyntaxKind
public enum SyntaxKind
type SyntaxKind = 
Public Enum SyntaxKind
Inheritance
SyntaxKind

Fields

AbstractKeyword 8356

Represents abstract.

AccessorList 8895
AddAccessorDeclaration 8898
AddAssignmentExpression 8715
AddExpression 8668
AddKeyword 8419

Represents add.

AddressOfExpression 8737
AliasKeyword 8407

Represents alias.

AliasQualifiedName 8620
AmpersandAmpersandToken 8261

Represents && token.

AmpersandEqualsToken 8279

Represents &= token.

AmpersandToken 8198

Represents & token.

AndAssignmentExpression 8720
AndKeyword 8439

Represents and.

AndPattern 9032
AnnotationsKeyword 8489

Represents annotations.

AnonymousMethodExpression 8641
AnonymousObjectCreationExpression 8650
AnonymousObjectMemberDeclarator 8647
ArgListExpression 8748
ArgListKeyword 8366

Represents __arglist.

Argument 8638
ArgumentList 8636
ArrayCreationExpression 8651
ArrayInitializerExpression 8646
ArrayRankSpecifier 8623
ArrayType 8622
ArrowExpressionClause 8917
AscendingKeyword 8432

Represents ascending.

AscendingOrdering 8782
AsExpression 8687
AsKeyword 8364

Represents as.

AssemblyKeyword 8409

Represents assembly.

AsteriskEqualsToken 8277

Represents *= token.

AsteriskToken 8199

Represents * token.

AsyncKeyword 8435

Represents async.

Attribute 8849
AttributeArgument 8851
AttributeArgumentList 8850
AttributeList 8847
AttributeTargetSpecifier 8848
AwaitExpression 8740
AwaitKeyword 8436

Represents await.

BackslashToken 8210

Represents </code> token.

BadDirectiveTrivia 8562
BadToken 8507
BarBarToken 8260

Represents || token.

BarEqualsToken 8278

Represents |= token.

BarToken 8209

Represents | token.

BaseConstructorInitializer 8889
BaseExpression 8747
BaseExpressionTypeClause 8659
BaseKeyword 8371

Represents base.

BaseList 8864
BitwiseAndExpression 8678
BitwiseNotExpression 8732
BitwiseOrExpression 8677
Block 8792
BoolKeyword 8304

Represents bool.

BracketedArgumentList 8637
BracketedParameterList 8907
BreakKeyword 8339

Represents break.

BreakStatement 8803
ByKeyword 8427

Represents by.

ByteKeyword 8305

Represents byte.

CaretEqualsToken 8282

Represents ^= token.

CaretToken 8197

Represents ^ token.

CaseKeyword 8332

Represents case.

CasePatternSwitchLabel 9009
CaseSwitchLabel 8823
CastExpression 8640
CatchClause 8826
CatchDeclaration 8827
CatchFilterClause 8828
CatchKeyword 8335

Represents catch.

CharacterLiteralExpression 8751
CharacterLiteralToken 8510
CharKeyword 8317

Represents char.

CheckedExpression 8762
CheckedKeyword 8379

Represents checked.

CheckedStatement 8815
ChecksumKeyword 8478

Represents checksum.

ClassConstraint 8868
ClassDeclaration 8855
ClassKeyword 8374

Represents class.

CloseBraceToken 8206

Represents } token.

CloseBracketToken 8208

Represents ] token.

CloseParenToken 8201

Represents ) token.

CoalesceAssignmentExpression 8725
CoalesceExpression 8688
CollectionInitializerExpression 8645
ColonColonToken 8264

Represents :: token.

ColonToken 8211

Represents : token.

CommaToken 8216

Represents , token.

CompilationUnit 8840
ComplexElementInitializerExpression 8648
ConditionalAccessExpression 8691
ConditionalExpression 8633
ConflictMarkerTrivia 8564
ConstantPattern 9002
ConstKeyword 8350

Represents const.

ConstructorConstraint 8867
ConstructorDeclaration 8878
ContinueKeyword 8340

Represents continue.

ContinueStatement 8804
ConversionOperatorDeclaration 8877
ConversionOperatorMemberCref 8602
CrefBracketedParameterList 8604
CrefParameter 8605
CrefParameterList 8603
DataKeyword 8441

Represents data.

DecimalKeyword 8315

Represents decimal.

DeclarationExpression 9040
DeclarationPattern 9000
DefaultConstraint 9064
DefaultExpression 8764
DefaultKeyword 8333

Represents default.

DefaultLiteralExpression 8755
DefaultSwitchLabel 8824
DefineDirectiveTrivia 8554
DefineKeyword 8471

Represents define.

DelegateDeclaration 8859
DelegateKeyword 8378

Represents delegate.

DescendingKeyword 8433

Represents descending.

DescendingOrdering 8783
DestructorDeclaration 8891
DisabledTextTrivia 8546
DisableKeyword 8479

Represents disable.

DiscardDesignation 9014
DiscardPattern 9024
DivideAssignmentExpression 8718
DivideExpression 8671
DocumentationCommentExteriorTrivia 8543
DoKeyword 8330

Represents do.

DollarToken 8195

Represents $ token.

DoStatement 8810
DotDotToken 8222

Represents .. token.

DotToken 8218

Represents . token.

DoubleKeyword 8313

Represents double.

DoubleQuoteToken 8213

Represents " token.

ElementAccessExpression 8635
ElementBindingExpression 8708
ElifDirectiveTrivia 8549
ElifKeyword 8467

Represents elif.

ElseClause 8820
ElseDirectiveTrivia 8550
ElseKeyword 8326

Represents else.

EmptyStatement 8798
EnableKeyword 8487

Represents enable.

EndIfDirectiveTrivia 8551
EndIfKeyword 8468

Represents endif.

EndOfDirectiveToken 8494

Represents a token that comes after the end of a directive such as #endif.

EndOfDocumentationCommentToken 8495

Represents the end of a triple-slash documentation comment.

EndOfFileToken 8496

Represents the end of a file.

EndOfLineTrivia 8539
EndRegionDirectiveTrivia 8553
EndRegionKeyword 8470

Represents endregion.

EnumDeclaration 8858
EnumKeyword 8377

Represents enum.

EnumMemberDeclaration 8872
EqualsEqualsToken 8268

Represents == token.

EqualsExpression 8680
EqualsGreaterThanToken 8269

Represents => token.

EqualsKeyword 8431

Represents equals.

EqualsToken 8204

Represents = token.

EqualsValueClause 8796
ErrorDirectiveTrivia 8556
ErrorKeyword 8474

Represents error.

EventDeclaration 8893
EventFieldDeclaration 8874
EventKeyword 8358

Represents event.

ExclamationEqualsToken 8267

Represents != token.

ExclamationToken 8194

Represents ! token.

ExclusiveOrAssignmentExpression 8721
ExclusiveOrExpression 8679
ExplicitInterfaceSpecifier 8871
ExplicitKeyword 8383

Represents explicit.

ExpressionColon 9069
ExpressionStatement 8797
ExternAliasDirective 8844
ExternKeyword 8359

Represents extern.

FalseKeyword 8324

Represents false.

FalseLiteralExpression 8753
FieldDeclaration 8873
FieldKeyword 8412

Represents field.

FileScopedNamespaceDeclaration 8845
FinallyClause 8829
FinallyKeyword 8336

Represents finally.

FixedKeyword 8351

Represents fixed.

FixedStatement 8814
FloatKeyword 8314

Represents float.

ForEachKeyword 8329

Represents foreach.

ForEachStatement 8812
ForEachVariableStatement 8929
ForKeyword 8328

Represents for.

ForStatement 8811
FromClause 8776
FromKeyword 8422

Represents from.

FunctionPointerCallingConvention 9059
FunctionPointerParameter 9057
FunctionPointerParameterList 9058
FunctionPointerType 9056
FunctionPointerUnmanagedCallingConvention 9067
FunctionPointerUnmanagedCallingConventionList 9066
GenericName 8618
GetAccessorDeclaration 8896
GetKeyword 8417

Represents get.

GlobalKeyword 8408

Represents global.

GlobalStatement 8841
GotoCaseStatement 8801
GotoDefaultStatement 8802
GotoKeyword 8338

Represents goto.

GotoStatement 8800
GreaterThanEqualsToken 8273

Represents >= token.

GreaterThanExpression 8684
GreaterThanGreaterThanEqualsToken 8275

Represents >>= token.

GreaterThanGreaterThanToken 8274

Represents >> token.

GreaterThanOrEqualExpression 8685
GreaterThanToken 8217

Represents > token.

GroupClause 8785
GroupKeyword 8423

Represents group.

HashToken 8220

Represents # token.

HiddenKeyword 8477

Represents hidden.

IdentifierName 8616
IdentifierToken 8508
IfDirectiveTrivia 8548
IfKeyword 8325

Represents if.

IfStatement 8819
ImplicitArrayCreationExpression 8652
ImplicitElementAccess 8656
ImplicitKeyword 8384

Represents implicit.

ImplicitObjectCreationExpression 8659
ImplicitStackAllocArrayCreationExpression 9053
IncompleteMember 8916
IndexerDeclaration 8894
IndexerMemberCref 8600
IndexExpression 8741
InitAccessorDeclaration 9060
InitKeyword 8443

Represents init.

InKeyword 8362

Represents in.

InterfaceDeclaration 8857
InterfaceKeyword 8376

Represents interface.

InternalKeyword 8345

Represents internal.

InterpolatedStringEndToken 8483

Represents " token that is closing $".

InterpolatedStringExpression 8655
InterpolatedStringStartToken 8482

Represents $" token.

InterpolatedStringText 8919
InterpolatedStringTextToken 8517
InterpolatedStringToken 8515
InterpolatedVerbatimStringStartToken 8484

Represents $@ or @$ token.

Interpolation 8918
InterpolationAlignmentClause 8920
InterpolationFormatClause 8921
IntKeyword 8309

Represents int.

IntoKeyword 8425

Represents into.

InvocationExpression 8634
IsExpression 8686
IsKeyword 8363

Represents is.

IsPatternExpression 8657
JoinClause 8778
JoinIntoClause 8779
JoinKeyword 8424

Represents join.

LabeledStatement 8799
LeftShiftAssignmentExpression 8723
LeftShiftExpression 8673
LessThanEqualsToken 8270

Represents <= token.

LessThanExpression 8682
LessThanLessThanEqualsToken 8272

Represents <<= token.

LessThanLessThanToken 8271

Represents << token.

LessThanOrEqualExpression 8683
LessThanSlashToken 8233

Represents </ token.

LessThanToken 8215

Represents < token.

LetClause 8777
LetKeyword 8426

Represents let.

LineDirectivePosition 9070
LineDirectiveTrivia 8558
LineKeyword 8475

Represents line.

LineSpanDirectiveTrivia 9071
List 1
LoadDirectiveTrivia 8923
LoadKeyword 8485

Represents load.

LocalDeclarationStatement 8793
LocalFunctionStatement 8830
LockKeyword 8337

Represents lock.

LockStatement 8818
LogicalAndExpression 8676
LogicalNotExpression 8733
LogicalOrExpression 8675
LongKeyword 8311

Represents long.

MakeRefExpression 8765
MakeRefKeyword 8367

Represents __makeref.

ManagedKeyword 8445

Represents managed.

MemberBindingExpression 8707
MethodDeclaration 8875
MethodKeyword 8413

Represents method.

MinusEqualsToken 8281

Represents -= token.

MinusGreaterThanToken 8266

Represents -> token.

MinusMinusToken 8262

Represents -- token.

MinusToken 8202

Represents - token.

ModuleKeyword 8410

Represents module.

ModuloAssignmentExpression 8719
ModuloExpression 8672
MultiLineCommentTrivia 8542
MultiLineDocumentationCommentTrivia 8545
MultiplyAssignmentExpression 8717
MultiplyExpression 8670
NameColon 8639
NameEquals 8852
NameMemberCref 8599
NameOfKeyword 8434

Represents nameof.

NamespaceDeclaration 8842
NamespaceKeyword 8372

Represents namespace.

NewKeyword 8354

Represents new.

None 0
NotEqualsExpression 8681
NotKeyword 8440

Represents not.

NotPattern 9033
NullableDirectiveTrivia 9055
NullableKeyword 8486

Represents nullable.

NullableType 8625
NullKeyword 8322

Represents null.

NullLiteralExpression 8754
NumericLiteralExpression 8749
NumericLiteralToken 8509
ObjectCreationExpression 8649
ObjectInitializerExpression 8644
ObjectKeyword 8319

Represents object.

OmittedArraySizeExpression 8654
OmittedArraySizeExpressionToken 8493

Represents that nothing was specified as an array size.

OmittedTypeArgument 8626
OmittedTypeArgumentToken 8492

Represents that nothing was specified as a type argument.

OnKeyword 8430

Represents on.

OpenBraceToken 8205

Represents { token.

OpenBracketToken 8207

Represents [ token.

OpenParenToken 8200

Represents ( token.

OperatorDeclaration 8876
OperatorKeyword 8382

Represents operator.

OperatorMemberCref 8601
OrAssignmentExpression 8722
OrderByClause 8781
OrderByKeyword 8429

Represents orderby.

OrKeyword 8438

Represents or.

OrPattern 9031
OutKeyword 8361

Represents out.

OverrideKeyword 8355

Represents override.

Parameter 8908
ParameterList 8906
ParamKeyword 8414

Represents param.

ParamsKeyword 8365

Represents params.

ParenthesizedExpression 8632
ParenthesizedLambdaExpression 8643
ParenthesizedPattern 9028
ParenthesizedVariableDesignation 8928
PartialKeyword 8406

Represents partial.

PercentEqualsToken 8283

Represents %= token.

PercentToken 8196

Represents % token.

PlusEqualsToken 8280

Represents += token.

PlusPlusToken 8263

Represents ++ token.

PlusToken 8203

Represents + token.

PointerIndirectionExpression 8736
PointerMemberAccessExpression 8690
PointerType 8624
PositionalPatternClause 9023
PostDecrementExpression 8739
PostIncrementExpression 8738
PragmaChecksumDirectiveTrivia 8560
PragmaKeyword 8476

Represents pragma.

PragmaWarningDirectiveTrivia 8559
PreDecrementExpression 8735
PredefinedType 8621
PreIncrementExpression 8734
PreprocessingMessageTrivia 8547
PrimaryConstructorBaseType 9065
PrivateKeyword 8344

Represents private.

PropertyDeclaration 8892
PropertyKeyword 8415

Represents property.

PropertyPatternClause 9021
ProtectedKeyword 8346

Represents protected.

PublicKeyword 8343

Represents public.

QualifiedCref 8598
QualifiedName 8617
QueryBody 8775
QueryContinuation 8786
QueryExpression 8774
QuestionQuestionEqualsToken 8284

Represents ??= token.

QuestionQuestionToken 8265

Represents ?? token.

QuestionToken 8219

Represents ? token.

RangeExpression 8658
ReadOnlyKeyword 8348

Represents readonly.

RecordDeclaration 9063
RecordKeyword 8444

Represents record.

RecordStructDeclaration 9068
RecursivePattern 9020
ReferenceDirectiveTrivia 8561
ReferenceKeyword 8481

Represents r.

RefExpression 9050
RefKeyword 8360

Represents ref.

RefType 9051
RefTypeExpression 8767
RefTypeKeyword 8368

Represents __reftype.

RefValueExpression 8766
RefValueKeyword 8369

Represents __refvalue.

RegionDirectiveTrivia 8552
RegionKeyword 8469

Represents region.

RelationalPattern 9029
RemoveAccessorDeclaration 8899
RemoveKeyword 8420

Represents remove.

RestoreKeyword 8480

Represents restore.

ReturnKeyword 8341

Represents return.

ReturnStatement 8805
RightShiftAssignmentExpression 8724
RightShiftExpression 8674
SafeOnlyKeyword 8488
SByteKeyword 8306

Represents sbyte.

SealedKeyword 8349

Represents sealed.

SelectClause 8784
SelectKeyword 8428

Represents select.

SemicolonToken 8212

Represents ; token.

SetAccessorDeclaration 8897
SetKeyword 8418

Represents set.

ShebangDirectiveTrivia 8922
ShortKeyword 8307

Represents short.

SimpleAssignmentExpression 8714
SimpleBaseType 8865
SimpleLambdaExpression 8642
SimpleMemberAccessExpression 8689
SingleLineCommentTrivia 8541
SingleLineDocumentationCommentTrivia 8544
SingleQuoteToken 8214

Represents ' token.

SingleVariableDesignation 8927
SizeOfExpression 8761
SizeOfKeyword 8321

Represents sizeof.

SkippedTokensTrivia 8563
SlashEqualsToken 8276

Represents /= token.

SlashGreaterThanToken 8232

Represents /> token.

SlashToken 8221

Represents / token.

StackAllocArrayCreationExpression 8653
StackAllocKeyword 8352

Represents stackalloc.

StaticKeyword 8347

Represents static.

StringKeyword 8316

Represents string.

StringLiteralExpression 8750
StringLiteralToken 8511
StructConstraint 8869
StructDeclaration 8856
StructKeyword 8375

Represents struct.

Subpattern 9022
SubtractAssignmentExpression 8716
SubtractExpression 8669
SuppressNullableWarningExpression 9054
SwitchExpression 9025
SwitchExpressionArm 9026
SwitchKeyword 8331

Represents switch.

SwitchSection 8822
SwitchStatement 8821
ThisConstructorInitializer 8890
ThisExpression 8746
ThisKeyword 8370

Represents this.

ThrowExpression 9052
ThrowKeyword 8342

Represents throw.

ThrowStatement 8808
TildeToken 8193

Represents ~ token.

TrueKeyword 8323

Represents true.

TrueLiteralExpression 8752
TryKeyword 8334

Represents try.

TryStatement 8825
TupleElement 8925
TupleExpression 8926
TupleType 8924
TypeArgumentList 8619
TypeConstraint 8870
TypeCref 8597
TypeKeyword 8411

Represents type.

TypeOfExpression 8760
TypeOfKeyword 8320

Represents typeof.

TypeParameter 8910
TypeParameterConstraintClause 8866
TypeParameterList 8909
TypePattern 9030
TypeVarKeyword 8416

Represents typevar.

UIntKeyword 8310

Represents uint.

ULongKeyword 8312

Represents ulong.

UnaryMinusExpression 8731
UnaryPlusExpression 8730
UncheckedExpression 8763
UncheckedKeyword 8380

Represents unchecked.

UncheckedStatement 8816
UndefDirectiveTrivia 8555
UndefKeyword 8472

Represents undef.

UnderscoreToken 8491

Represents _ token.

UnknownAccessorDeclaration 8900
UnmanagedKeyword 8446

Represents unmanaged.

UnsafeKeyword 8381

Represents unsafe.

UnsafeStatement 8817
UShortKeyword 8308

Represents ushort.

UsingDirective 8843
UsingKeyword 8373

Represents using.

UsingStatement 8813
VariableDeclaration 8794
VariableDeclarator 8795
VarKeyword 8490

Represents var.

VarPattern 9027
VirtualKeyword 8357

Represents virtual.

VoidKeyword 8318

Represents void.

VolatileKeyword 8353

Represents volatile.

WarningDirectiveTrivia 8557
WarningKeyword 8473

Represents warning.

WarningsKeyword 8488

Represents warnings.

WhenClause 9013
WhenKeyword 8437

Represents when.

WhereClause 8780
WhereKeyword 8421

Represents where.

WhileKeyword 8327

Represents while.

WhileStatement 8809
WhitespaceTrivia 8540
WithExpression 9061
WithInitializerExpression 9062
WithKeyword 8442

Represents with.

XmlCDataEndToken 8237

Represents ]]> token.

XmlCDataSection 8584
XmlCDataStartToken 8236

Represents <![CDATA[ token.

XmlComment 8585
XmlCommentEndToken 8235

Represents --> token.

XmlCommentStartToken 8234

Represents <!-- token.

XmlCrefAttribute 8579
XmlElement 8574
XmlElementEndTag 8576
XmlElementStartTag 8575
XmlEmptyElement 8577
XmlEntityLiteralToken 8512
XmlName 8581
XmlNameAttribute 8580
XmlPrefix 8582
XmlProcessingInstruction 8586
XmlProcessingInstructionEndToken 8239

Represents ?> token.

XmlProcessingInstructionStartToken 8238

Represents <? token.

XmlText 8583
XmlTextAttribute 8578
XmlTextLiteralNewLineToken 8514
XmlTextLiteralToken 8513
YieldBreakStatement 8807
YieldKeyword 8405

Represents yield.

YieldReturnStatement 8806

Applies to