628 references to Kind
Microsoft.CodeAnalysis.VisualBasic (628)
Binding\Binder_AnonymousTypes.vb (1)
158
If fieldNameToken.
Kind
= SyntaxKind.None Then
Binding\Binder_Expressions.vb (1)
513
If nameToken.
Kind
() = SyntaxKind.IdentifierToken Then
Binding\Binder_Query.vb (1)
2847
If nameToken.
Kind
<> SyntaxKind.None Then
Binding\Binder_Symbols.vb (1)
641
If nameSyntax.
Kind
() = SyntaxKind.IdentifierToken Then
Binding\Binder_Utils.vb (11)
29
Select Case varianceKeywordOpt.
Kind
37
Throw ExceptionUtilities.UnexpectedValue(varianceKeywordOpt.
Kind
)
48
If Array.IndexOf(keywordKinds, keywordSyntax.
Kind
) >= 0 Then
67
If badKeyword.
Kind
= SyntaxKind.ProtectedKeyword Then
69
If friendToken.
Kind
<> SyntaxKind.None Then
86
Select Case syntax.
Kind
268
Select Case keywordSyntax.
Kind
783
Select Case keywordSyntax.
Kind
789
Throw ExceptionUtilities.UnexpectedValue(keywordSyntax.
Kind
)
802
Select Case keywordSyntax.
Kind
808
Throw ExceptionUtilities.UnexpectedValue(keywordSyntax.
Kind
)
Binding\Binder_XmlLiterals.vb (4)
947
Select Case token.
Kind
951
Throw ExceptionUtilities.UnexpectedValue(token.
Kind
)
1299
Select Case token.
Kind
1303
Throw ExceptionUtilities.UnexpectedValue(token.
Kind
)
Binding\MemberSemanticModel.vb (2)
1273
Debug.Assert(trivia.Token.
Kind
<> SyntaxKind.None)
1985
Debug.Assert(trivia.Token.
Kind
<> SyntaxKind.None)
CommandLine\VisualBasicCommandLineParser.vb (6)
1902
If lastSeparatorToken.
Kind
= SyntaxKind.None Then
1906
ElseIf lastSeparatorToken.
Kind
<> tokens.Current.Kind Then
1908
GetErrorStringForRemainderOfConditionalCompilation(tokens, parsedTokensAsString, stopTokenKind:=lastSeparatorToken.
Kind
, includeCurrentToken:=True)
2113
Return token.
Kind
= SyntaxKind.EndOfFileToken OrElse token.
Kind
= SyntaxKind.ColonToken OrElse token.
Kind
= SyntaxKind.CommaToken
Compilation\SyntaxTreeSemanticModel.vb (1)
593
If token.
Kind
= SyntaxKind.None Then
Declarations\DeclarationTreeBuilder.vb (2)
818
Select Case modifier.
Kind
853
Throw ExceptionUtilities.UnexpectedValue(modifier.
Kind
)
Errors\ErrorFactories.vb (3)
71
Return ErrorInfo(id, SyntaxFacts.GetText(syntaxToken.
Kind
))
79
Return ErrorInfo(id, SyntaxFacts.GetText(syntaxToken.
Kind
), type)
83
Return ErrorInfo(id, SyntaxFacts.GetText(syntaxToken.
Kind
), type1, type2)
Generated\Syntax.xml.Main.Generated.vb (511)
5693
Select Case empty.
Kind
()
5724
Select Case endKeyword.
Kind
()
5729
Select Case blockKeyword.
Kind
()
5781
Select Case endKeyword.
Kind
()
5786
Select Case blockKeyword.
Kind
()
5816
Select Case endKeyword.
Kind
()
5821
Select Case blockKeyword.
Kind
()
5851
Select Case endKeyword.
Kind
()
5856
Select Case blockKeyword.
Kind
()
5886
Select Case endKeyword.
Kind
()
5891
Select Case blockKeyword.
Kind
()
5921
Select Case endKeyword.
Kind
()
5926
Select Case blockKeyword.
Kind
()
5956
Select Case endKeyword.
Kind
()
5961
Select Case blockKeyword.
Kind
()
5991
Select Case endKeyword.
Kind
()
5996
Select Case blockKeyword.
Kind
()
6026
Select Case endKeyword.
Kind
()
6031
Select Case blockKeyword.
Kind
()
6061
Select Case endKeyword.
Kind
()
6066
Select Case blockKeyword.
Kind
()
6096
Select Case endKeyword.
Kind
()
6101
Select Case blockKeyword.
Kind
()
6131
Select Case endKeyword.
Kind
()
6136
Select Case blockKeyword.
Kind
()
6166
Select Case endKeyword.
Kind
()
6171
Select Case blockKeyword.
Kind
()
6201
Select Case endKeyword.
Kind
()
6206
Select Case blockKeyword.
Kind
()
6236
Select Case endKeyword.
Kind
()
6241
Select Case blockKeyword.
Kind
()
6271
Select Case endKeyword.
Kind
()
6276
Select Case blockKeyword.
Kind
()
6306
Select Case endKeyword.
Kind
()
6311
Select Case blockKeyword.
Kind
()
6341
Select Case endKeyword.
Kind
()
6346
Select Case blockKeyword.
Kind
()
6376
Select Case endKeyword.
Kind
()
6381
Select Case blockKeyword.
Kind
()
6411
Select Case endKeyword.
Kind
()
6416
Select Case blockKeyword.
Kind
()
6446
Select Case endKeyword.
Kind
()
6451
Select Case blockKeyword.
Kind
()
6481
Select Case endKeyword.
Kind
()
6486
Select Case blockKeyword.
Kind
()
6516
Select Case endKeyword.
Kind
()
6521
Select Case blockKeyword.
Kind
()
6564
Select Case endKeyword.
Kind
()
6675
Select Case endOfFileToken.
Kind
()
6730
Select Case optionKeyword.
Kind
()
6735
Select Case nameKeyword.
Kind
()
6786
Select Case importsKeyword.
Kind
()
6865
Select Case identifier.
Kind
()
6870
Select Case equalsToken.
Kind
()
6908
Select Case lessThanToken.
Kind
()
6921
Select Case greaterThanToken.
Kind
()
7010
Select Case namespaceKeyword.
Kind
()
7407
Select Case inheritsKeyword.
Kind
()
7448
Select Case implementsKeyword.
Kind
()
7502
Select Case moduleKeyword.
Kind
()
7507
Select Case identifier.
Kind
()
7587
Select Case structureKeyword.
Kind
()
7592
Select Case identifier.
Kind
()
7672
Select Case interfaceKeyword.
Kind
()
7677
Select Case identifier.
Kind
()
7757
Select Case classKeyword.
Kind
()
7762
Select Case identifier.
Kind
()
7842
Select Case enumKeyword.
Kind
()
7847
Select Case identifier.
Kind
()
7921
Select Case openParenToken.
Kind
()
7926
Select Case ofKeyword.
Kind
()
7931
Select Case closeParenToken.
Kind
()
7979
Select Case identifier.
Kind
()
8023
Select Case asKeyword.
Kind
()
8074
Select Case asKeyword.
Kind
()
8079
Select Case openBraceToken.
Kind
()
8084
Select Case closeBraceToken.
Kind
()
8129
Select Case constraintKeyword.
Kind
()
8150
Select Case constraintKeyword.
Kind
()
8171
Select Case constraintKeyword.
Kind
()
8200
Select Case constraintKeyword.
Kind
()
8246
Select Case identifier.
Kind
()
9154
Select Case openParenToken.
Kind
()
9159
Select Case closeParenToken.
Kind
()
9229
Select Case subOrFunctionKeyword.
Kind
()
9235
Select Case identifier.
Kind
()
9357
Select Case subOrFunctionKeyword.
Kind
()
9362
Select Case identifier.
Kind
()
9494
Select Case identifier.
Kind
()
9581
Select Case subKeyword.
Kind
()
9586
Select Case newKeyword.
Kind
()
9676
Select Case declareKeyword.
Kind
()
9681
Select Case subOrFunctionKeyword.
Kind
()
9687
Select Case identifier.
Kind
()
9692
Select Case libKeyword.
Kind
()
9829
Select Case declareKeyword.
Kind
()
9834
Select Case subOrFunctionKeyword.
Kind
()
9839
Select Case identifier.
Kind
()
9844
Select Case libKeyword.
Kind
()
9988
Select Case declareKeyword.
Kind
()
9996
Select Case identifier.
Kind
()
10001
Select Case libKeyword.
Kind
()
10157
Select Case delegateKeyword.
Kind
()
10162
Select Case subOrFunctionKeyword.
Kind
()
10168
Select Case identifier.
Kind
()
10267
Select Case delegateKeyword.
Kind
()
10272
Select Case subOrFunctionKeyword.
Kind
()
10277
Select Case identifier.
Kind
()
10384
Select Case delegateKeyword.
Kind
()
10392
Select Case identifier.
Kind
()
10527
Select Case eventKeyword.
Kind
()
10532
Select Case identifier.
Kind
()
10633
Select Case operatorKeyword.
Kind
()
10638
Select Case operatorToken.
Kind
()
10755
Select Case propertyKeyword.
Kind
()
10760
Select Case identifier.
Kind
()
10862
Select Case accessorKeyword.
Kind
()
10936
Select Case accessorKeyword.
Kind
()
11006
Select Case accessorKeyword.
Kind
()
11076
Select Case accessorKeyword.
Kind
()
11146
Select Case accessorKeyword.
Kind
()
11280
Select Case implementsKeyword.
Kind
()
11324
Select Case handlesKeyword.
Kind
()
11366
Select Case keyword.
Kind
()
11385
Select Case identifier.
Kind
()
11428
Select Case dotToken.
Kind
()
11484
Select Case dotToken.
Kind
()
11665
Select Case asKeyword.
Kind
()
11734
Select Case asKeyword.
Kind
()
11783
Select Case withKeyword.
Kind
()
11788
Select Case openBraceToken.
Kind
()
11793
Select Case closeBraceToken.
Kind
()
11835
Select Case fromKeyword.
Kind
()
11921
Select Case dotToken.
Kind
()
11934
Select Case equalsToken.
Kind
()
12081
Select Case equalsToken.
Kind
()
12278
Select Case identifier.
Kind
()
12340
Select Case openParenToken.
Kind
()
12345
Select Case closeParenToken.
Kind
()
12376
Select Case lessThanToken.
Kind
()
12381
Select Case greaterThanToken.
Kind
()
12465
Select Case attributeModifier.
Kind
()
12471
Select Case colonToken.
Kind
()
12648
Select Case questionToken.
Kind
()
13057
Select Case labelToken.
Kind
()
13063
Select Case colonToken.
Kind
()
13107
Select Case goToKeyword.
Kind
()
13147
Select Case labelToken.
Kind
()
13180
Select Case labelToken.
Kind
()
13207
Select Case labelToken.
Kind
()
13285
Select Case stopOrEndKeyword.
Kind
()
13303
Select Case stopOrEndKeyword.
Kind
()
13328
Select Case stopOrEndKeyword.
Kind
()
13349
Select Case exitKeyword.
Kind
()
13354
Select Case blockKeyword.
Kind
()
13391
Select Case exitKeyword.
Kind
()
13396
Select Case blockKeyword.
Kind
()
13425
Select Case exitKeyword.
Kind
()
13430
Select Case blockKeyword.
Kind
()
13459
Select Case exitKeyword.
Kind
()
13464
Select Case blockKeyword.
Kind
()
13493
Select Case exitKeyword.
Kind
()
13498
Select Case blockKeyword.
Kind
()
13527
Select Case exitKeyword.
Kind
()
13532
Select Case blockKeyword.
Kind
()
13561
Select Case exitKeyword.
Kind
()
13566
Select Case blockKeyword.
Kind
()
13595
Select Case exitKeyword.
Kind
()
13600
Select Case blockKeyword.
Kind
()
13629
Select Case exitKeyword.
Kind
()
13634
Select Case blockKeyword.
Kind
()
13673
Select Case exitKeyword.
Kind
()
13740
Select Case continueKeyword.
Kind
()
13745
Select Case blockKeyword.
Kind
()
13777
Select Case continueKeyword.
Kind
()
13782
Select Case blockKeyword.
Kind
()
13812
Select Case continueKeyword.
Kind
()
13817
Select Case blockKeyword.
Kind
()
13855
Select Case continueKeyword.
Kind
()
13907
Select Case returnKeyword.
Kind
()
13955
Select Case ifKeyword.
Kind
()
14072
Select Case thenKeyword.
Kind
()
14121
Select Case elseKeyword.
Kind
()
14242
Select Case ifKeyword.
Kind
()
14421
Select Case elseIfKeyword.
Kind
()
14601
Select Case elseKeyword.
Kind
()
14691
Select Case tryKeyword.
Kind
()
14759
Select Case catchKeyword.
Kind
()
14804
Select Case whenKeyword.
Kind
()
14984
Select Case finallyKeyword.
Kind
()
15011
Select Case errorKeyword.
Kind
()
15163
Select Case onKeyword.
Kind
()
15168
Select Case errorKeyword.
Kind
()
15173
Select Case goToKeyword.
Kind
()
15224
Select Case onKeyword.
Kind
()
15229
Select Case errorKeyword.
Kind
()
15234
Select Case goToKeyword.
Kind
()
15285
Select Case onKeyword.
Kind
()
15290
Select Case errorKeyword.
Kind
()
15295
Select Case goToKeyword.
Kind
()
15354
Select Case onKeyword.
Kind
()
15359
Select Case errorKeyword.
Kind
()
15364
Select Case goToKeyword.
Kind
()
15416
Select Case onKeyword.
Kind
()
15421
Select Case errorKeyword.
Kind
()
15426
Select Case resumeKeyword.
Kind
()
15431
Select Case nextKeyword.
Kind
()
15461
Select Case resumeKeyword.
Kind
()
15506
Select Case resumeKeyword.
Kind
()
15551
Select Case resumeKeyword.
Kind
()
15604
Select Case resumeKeyword.
Kind
()
15721
Select Case selectKeyword.
Kind
()
15980
Select Case caseKeyword.
Kind
()
16030
Select Case caseKeyword.
Kind
()
16087
Select Case caseKeyword.
Kind
()
16139
Select Case elseKeyword.
Kind
()
16404
Select Case toKeyword.
Kind
()
16553
Select Case operatorToken.
Kind
()
16704
Select Case operatorToken.
Kind
()
16850
Select Case operatorToken.
Kind
()
16996
Select Case operatorToken.
Kind
()
17142
Select Case operatorToken.
Kind
()
17288
Select Case operatorToken.
Kind
()
17612
Select Case syncLockKeyword.
Kind
()
18095
Select Case doKeyword.
Kind
()
18135
Select Case doKeyword.
Kind
()
18175
Select Case doKeyword.
Kind
()
18222
Select Case doKeyword.
Kind
()
18280
Select Case loopKeyword.
Kind
()
18320
Select Case loopKeyword.
Kind
()
18360
Select Case loopKeyword.
Kind
()
18408
Select Case loopKeyword.
Kind
()
18469
Select Case whileOrUntilKeyword.
Kind
()
18615
Select Case whileOrUntilKeyword.
Kind
()
18908
Select Case whileKeyword.
Kind
()
19158
Select Case forKeyword.
Kind
()
19276
Select Case equalsToken.
Kind
()
19393
Select Case toKeyword.
Kind
()
19577
Select Case stepKeyword.
Kind
()
19737
Select Case forKeyword.
Kind
()
19742
Select Case eachKeyword.
Kind
()
19860
Select Case inKeyword.
Kind
()
20017
Select Case nextKeyword.
Kind
()
20068
Select Case usingKeyword.
Kind
()
20115
Select Case throwKeyword.
Kind
()
20270
Select Case operatorToken.
Kind
()
20542
Select Case operatorToken.
Kind
()
20805
Select Case operatorToken.
Kind
()
21068
Select Case operatorToken.
Kind
()
21331
Select Case operatorToken.
Kind
()
21594
Select Case operatorToken.
Kind
()
21857
Select Case operatorToken.
Kind
()
22120
Select Case operatorToken.
Kind
()
22383
Select Case operatorToken.
Kind
()
22646
Select Case operatorToken.
Kind
()
22909
Select Case operatorToken.
Kind
()
23341
Select Case mid.
Kind
()
23383
Select Case callKeyword.
Kind
()
23430
Select Case addHandlerOrRemoveHandlerKeyword.
Kind
()
23548
Select Case commaToken.
Kind
()
23701
Select Case addHandlerOrRemoveHandlerKeyword.
Kind
()
23818
Select Case commaToken.
Kind
()
24094
Select Case commaToken.
Kind
()
24261
Select Case raiseEventKeyword.
Kind
()
24315
Select Case withKeyword.
Kind
()
24463
Select Case reDimKeyword.
Kind
()
24508
Select Case reDimKeyword.
Kind
()
24560
Select Case reDimKeyword.
Kind
()
24743
Select Case eraseKeyword.
Kind
()
24793
Select Case token.
Kind
()
24829
Select Case token.
Kind
()
24865
Select Case token.
Kind
()
24901
Select Case token.
Kind
()
24937
Select Case token.
Kind
()
24973
Select Case token.
Kind
()
25009
Select Case token.
Kind
()
25054
Select Case token.
Kind
()
25084
Select Case openParenToken.
Kind
()
25201
Select Case closeParenToken.
Kind
()
25234
Select Case openParenToken.
Kind
()
25239
Select Case closeParenToken.
Kind
()
25283
Select Case openParenToken.
Kind
()
25288
Select Case closeParenToken.
Kind
()
25358
Select Case identifier.
Kind
()
25398
Select Case keyword.
Kind
()
25424
Select Case keyword.
Kind
()
25448
Select Case keyword.
Kind
()
25481
Select Case getTypeKeyword.
Kind
()
25486
Select Case openParenToken.
Kind
()
25508
Select Case closeParenToken.
Kind
()
25544
Select Case typeOfKeyword.
Kind
()
25661
Select Case operatorToken.
Kind
()
25718
Select Case typeOfKeyword.
Kind
()
25835
Select Case operatorToken.
Kind
()
25898
Select Case typeOfKeyword.
Kind
()
26086
Select Case getXmlNamespaceKeyword.
Kind
()
26091
Select Case openParenToken.
Kind
()
26096
Select Case closeParenToken.
Kind
()
26127
Select Case operatorToken.
Kind
()
26187
Select Case operatorToken.
Kind
()
26321
Select Case token1.
Kind
()
26392
Select Case token1.
Kind
()
26463
Select Case token1.
Kind
()
26542
Select Case token1.
Kind
()
26650
Select Case newKeyword.
Kind
()
26724
Select Case newKeyword.
Kind
()
26791
Select Case newKeyword.
Kind
()
26873
Select Case openBraceToken.
Kind
()
26878
Select Case closeBraceToken.
Kind
()
26927
Select Case keyword.
Kind
()
26934
Select Case openParenToken.
Kind
()
27051
Select Case commaToken.
Kind
()
27073
Select Case closeParenToken.
Kind
()
27112
Select Case keyword.
Kind
()
27117
Select Case openParenToken.
Kind
()
27234
Select Case commaToken.
Kind
()
27256
Select Case closeParenToken.
Kind
()
27295
Select Case keyword.
Kind
()
27300
Select Case openParenToken.
Kind
()
27417
Select Case commaToken.
Kind
()
27439
Select Case closeParenToken.
Kind
()
27476
Select Case keyword.
Kind
()
27496
Select Case openParenToken.
Kind
()
27613
Select Case closeParenToken.
Kind
()
27761
Select Case operatorToken.
Kind
()
28045
Select Case operatorToken.
Kind
()
28306
Select Case operatorToken.
Kind
()
28567
Select Case operatorToken.
Kind
()
28828
Select Case operatorToken.
Kind
()
29089
Select Case operatorToken.
Kind
()
29350
Select Case operatorToken.
Kind
()
29611
Select Case operatorToken.
Kind
()
29872
Select Case operatorToken.
Kind
()
30133
Select Case operatorToken.
Kind
()
30394
Select Case operatorToken.
Kind
()
30655
Select Case operatorToken.
Kind
()
30916
Select Case operatorToken.
Kind
()
31177
Select Case operatorToken.
Kind
()
31438
Select Case operatorToken.
Kind
()
31699
Select Case operatorToken.
Kind
()
31960
Select Case operatorToken.
Kind
()
32221
Select Case operatorToken.
Kind
()
32482
Select Case operatorToken.
Kind
()
32743
Select Case operatorToken.
Kind
()
33004
Select Case operatorToken.
Kind
()
33265
Select Case operatorToken.
Kind
()
33526
Select Case operatorToken.
Kind
()
33787
Select Case operatorToken.
Kind
()
34245
Select Case operatorToken.
Kind
()
34390
Select Case operatorToken.
Kind
()
34532
Select Case operatorToken.
Kind
()
34674
Select Case operatorToken.
Kind
()
34980
Select Case ifKeyword.
Kind
()
34985
Select Case openParenToken.
Kind
()
35102
Select Case commaToken.
Kind
()
35219
Select Case closeParenToken.
Kind
()
35272
Select Case ifKeyword.
Kind
()
35277
Select Case openParenToken.
Kind
()
35394
Select Case firstCommaToken.
Kind
()
35511
Select Case secondCommaToken.
Kind
()
35628
Select Case closeParenToken.
Kind
()
36748
Select Case subOrFunctionKeyword.
Kind
()
36817
Select Case subOrFunctionKeyword.
Kind
()
36938
Select Case openParenToken.
Kind
()
36943
Select Case closeParenToken.
Kind
()
36980
Select Case empty.
Kind
()
37155
Select Case colonEqualsToken.
Kind
()
37301
Select Case toKeyword.
Kind
()
37490
Select Case inKeyword.
Kind
()
37847
Select Case equalsToken.
Kind
()
37898
Select Case functionName.
Kind
()
37955
Select Case groupKeyword.
Kind
()
37986
Select Case fromKeyword.
Kind
()
38031
Select Case letKeyword.
Kind
()
38081
Select Case aggregateKeyword.
Kind
()
38086
Select Case intoKeyword.
Kind
()
38133
Select Case distinctKeyword.
Kind
()
38160
Select Case whereKeyword.
Kind
()
38306
Select Case skipOrTakeKeyword.
Kind
()
38312
Select Case whileKeyword.
Kind
()
38459
Select Case skipOrTakeKeyword.
Kind
()
38464
Select Case whileKeyword.
Kind
()
38621
Select Case whileKeyword.
Kind
()
38781
Select Case skipOrTakeKeyword.
Kind
()
38924
Select Case skipOrTakeKeyword.
Kind
()
39222
Select Case groupKeyword.
Kind
()
39227
Select Case byKeyword.
Kind
()
39232
Select Case intoKeyword.
Kind
()
39398
Select Case equalsKeyword.
Kind
()
39553
Select Case joinKeyword.
Kind
()
39558
Select Case onKeyword.
Kind
()
39629
Select Case groupKeyword.
Kind
()
39634
Select Case joinKeyword.
Kind
()
39639
Select Case onKeyword.
Kind
()
39644
Select Case intoKeyword.
Kind
()
39705
Select Case orderKeyword.
Kind
()
39710
Select Case byKeyword.
Kind
()
40193
Select Case selectKeyword.
Kind
()
40264
Select Case lessThanQuestionToken.
Kind
()
40269
Select Case xmlKeyword.
Kind
()
40282
Select Case questionGreaterThanToken.
Kind
()
40312
Select Case name.
Kind
()
40317
Select Case equals.
Kind
()
40399
Select Case lessThanToken.
Kind
()
40413
Select Case greaterThanToken.
Kind
()
40442
Select Case lessThanSlashToken.
Kind
()
40447
Select Case greaterThanToken.
Kind
()
40476
Select Case lessThanToken.
Kind
()
40490
Select Case slashGreaterThanToken.
Kind
()
40528
Select Case equalsToken.
Kind
()
40559
Select Case startQuoteToken.
Kind
()
40565
Select Case endQuoteToken.
Kind
()
40588
Select Case name.
Kind
()
40611
Select Case localName.
Kind
()
40636
Select Case lessThanToken.
Kind
()
40649
Select Case greaterThanToken.
Kind
()
40672
Select Case name.
Kind
()
40677
Select Case colonToken.
Kind
()
40699
Select Case lessThanExclamationMinusMinusToken.
Kind
()
40704
Select Case minusMinusGreaterThanToken.
Kind
()
40727
Select Case lessThanQuestionToken.
Kind
()
40732
Select Case name.
Kind
()
40737
Select Case questionGreaterThanToken.
Kind
()
40759
Select Case beginCDataToken.
Kind
()
40764
Select Case endCDataToken.
Kind
()
40786
Select Case lessThanPercentEqualsToken.
Kind
()
40903
Select Case percentGreaterThanToken.
Kind
()
40990
Select Case questionMarkToken.
Kind
()
41019
Select Case keyword.
Kind
()
41051
Select Case identifier.
Kind
()
41083
Select Case identifier.
Kind
()
41143
Select Case dotToken.
Kind
()
41184
Select Case globalKeyword.
Kind
()
41217
Select Case openParenToken.
Kind
()
41222
Select Case ofKeyword.
Kind
()
41227
Select Case closeParenToken.
Kind
()
41298
Select Case openParenToken.
Kind
()
41303
Select Case closeParenToken.
Kind
()
41341
Select Case operatorKeyword.
Kind
()
41346
Select Case operatorToken.
Kind
()
41397
Select Case dotToken.
Kind
()
41429
Select Case yieldKeyword.
Kind
()
41571
Select Case awaitKeyword.
Kind
()
42035
Select Case equalsToken.
Kind
()
42040
Select Case startQuoteToken.
Kind
()
42054
Select Case endQuoteToken.
Kind
()
42088
Select Case equalsToken.
Kind
()
42093
Select Case startQuoteToken.
Kind
()
42107
Select Case endQuoteToken.
Kind
()
42141
Select Case questionMarkToken.
Kind
()
42207
Select Case nameOfKeyword.
Kind
()
42212
Select Case openParenToken.
Kind
()
42329
Select Case closeParenToken.
Kind
()
42362
Select Case dollarSignDoubleQuoteToken.
Kind
()
42367
Select Case doubleQuoteToken.
Kind
()
42405
Select Case textToken.
Kind
()
42443
Select Case openBraceToken.
Kind
()
42560
Select Case closeBraceToken.
Kind
()
42609
Select Case commaToken.
Kind
()
42753
Select Case colonToken.
Kind
()
42758
Select Case formatStringToken.
Kind
()
42949
Select Case hashToken.
Kind
()
42954
Select Case constKeyword.
Kind
()
42959
Select Case name.
Kind
()
42964
Select Case equalsToken.
Kind
()
43123
Select Case hashToken.
Kind
()
43128
Select Case ifOrElseIfKeyword.
Kind
()
43267
Select Case hashToken.
Kind
()
43272
Select Case ifOrElseIfKeyword.
Kind
()
43418
Select Case hashToken.
Kind
()
43423
Select Case ifOrElseIfKeyword.
Kind
()
43565
Select Case hashToken.
Kind
()
43570
Select Case elseKeyword.
Kind
()
43594
Select Case hashToken.
Kind
()
43599
Select Case endKeyword.
Kind
()
43604
Select Case ifKeyword.
Kind
()
43634
Select Case hashToken.
Kind
()
43639
Select Case regionKeyword.
Kind
()
43644
Select Case name.
Kind
()
43674
Select Case hashToken.
Kind
()
43679
Select Case endKeyword.
Kind
()
43684
Select Case regionKeyword.
Kind
()
43709
Select Case hashToken.
Kind
()
43714
Select Case externalSourceKeyword.
Kind
()
43719
Select Case openParenToken.
Kind
()
43724
Select Case externalSource.
Kind
()
43729
Select Case commaToken.
Kind
()
43734
Select Case lineStart.
Kind
()
43739
Select Case closeParenToken.
Kind
()
43764
Select Case hashToken.
Kind
()
43769
Select Case endKeyword.
Kind
()
43774
Select Case externalSourceKeyword.
Kind
()
43798
Select Case hashToken.
Kind
()
43803
Select Case externalChecksumKeyword.
Kind
()
43808
Select Case openParenToken.
Kind
()
43813
Select Case externalSource.
Kind
()
43818
Select Case firstCommaToken.
Kind
()
43823
Select Case guid.
Kind
()
43828
Select Case secondCommaToken.
Kind
()
43833
Select Case checksum.
Kind
()
43838
Select Case closeParenToken.
Kind
()
43862
Select Case hashToken.
Kind
()
43867
Select Case enableKeyword.
Kind
()
43872
Select Case warningKeyword.
Kind
()
43904
Select Case hashToken.
Kind
()
43909
Select Case disableKeyword.
Kind
()
43914
Select Case warningKeyword.
Kind
()
43946
Select Case hashToken.
Kind
()
43951
Select Case referenceKeyword.
Kind
()
43956
Select Case file.
Kind
()
43983
Select Case hashToken.
Kind
()
Scanner\Blender.vb (1)
163
If node.
Kind
= SyntaxKind.None Then
SymbolDisplay\SymbolDisplayVisitor_Minimal.vb (1)
195
If token.
Kind
= SyntaxKind.IdentifierToken Then
Symbols\Source\LocalSymbol.vb (1)
496
Debug.Assert(identifierToken.
Kind
<> SyntaxKind.None)
Symbols\Source\SourceLabelSymbol.vb (2)
27
Debug.Assert(labelNameToken.
Kind
= SyntaxKind.IdentifierToken OrElse labelNameToken.
Kind
= SyntaxKind.IntegerLiteralToken)
Symbols\Source\SourceMethodSymbol.vb (5)
153
Select Case token.
Kind
165
SyntaxFacts.GetText(token.
Kind
))
185
token.
Kind
.GetText() & " " & nextToken.
Kind
.GetText())
209
Debug.Assert(partialToken.
Kind
= SyntaxKind.PartialKeyword)
Symbols\Source\UnboundLambdaParameterSymbol.vb (1)
103
If keywordSyntax.
Kind
= tokenKind Then
Symbols\Symbol.vb (1)
374
If token.
Kind
<> SyntaxKind.None Then
Syntax\SyntaxExtensions.vb (1)
126
Return If(nameToken.
Kind
() = SyntaxKind.IdentifierToken, nameToken.ValueText, Nothing)
Syntax\SyntaxFacts.vb (5)
291
If beginTerminator.
Kind
<> SyntaxKind.None AndAlso beginTerminator.Width > 0 Then
615
Select Case token.
Kind
805
Dim kind = token.
Kind
890
Return token.GetNextToken.
Kind
<> SyntaxKind.DotToken
1044
Dim kind = token.
Kind
Syntax\SyntaxNodePartials.vb (2)
31
Do While (token.
Kind
<> SyntaxKind.None)
56
Do While (token.
Kind
<> SyntaxKind.None)
Syntax\SyntaxNodeRemover.vb (1)
130
If result.
Kind
<> SyntaxKind.None AndAlso Me._residualTrivia IsNot Nothing AndAlso Me._residualTrivia.Count > 0 Then
Syntax\SyntaxNormalizer.vb (57)
109
If token.
Kind
= SyntaxKind.None Then
116
newToken = SyntaxFactory.Token(token.
Kind
)
163
If newToken.
Kind
= SyntaxKind.DocumentationCommentLineBreakToken Then
166
ElseIf newToken.
Kind
= SyntaxKind.XmlTextLiteralToken Then
309
If currentToken.
Kind
= SyntaxKind.None OrElse nextToken.
Kind
= SyntaxKind.None Then
415
If token.
Kind
= SyntaxKind.EndOfFileToken Then
419
If token.Parent Is Nothing OrElse nextToken.
Kind
= SyntaxKind.None Then
427
If nextToken.
Kind
= SyntaxKind.EndOfFileToken Then
434
token.
Kind
<> SyntaxKind.NotKeyword AndAlso
435
token.
Kind
<> SyntaxKind.AddressOfKeyword Then
446
If token.
Kind
= SyntaxKind.OpenParenToken Then
451
If nextToken.
Kind
= SyntaxKind.CloseParenToken Then
456
If token.
Kind
<> SyntaxKind.CommaToken AndAlso nextToken.
Kind
= SyntaxKind.OpenParenToken Then
462
If (token.
Kind
= SyntaxKind.CommaToken AndAlso (nextToken.
Kind
= SyntaxKind.EmptyToken OrElse token.Parent.Kind = SyntaxKind.InterpolationAlignmentClause)) OrElse
463
nextToken.
Kind
= SyntaxKind.CommaToken Then
468
If token.
Kind
= SyntaxKind.DotToken Then
470
ElseIf nextToken.
Kind
= SyntaxKind.DotToken AndAlso nextToken.Parent.Kind <> SyntaxKind.NamedFieldInitializer Then
474
If nextToken.
Kind
= SyntaxKind.ColonToken Then
487
If token.
Kind
= SyntaxKind.OpenBraceToken OrElse nextToken.
Kind
= SyntaxKind.CloseBraceToken Then
492
If token.
Kind
= SyntaxKind.ColonEqualsToken OrElse nextToken.
Kind
= SyntaxKind.ColonEqualsToken Then
505
If (token.
Kind
= SyntaxKind.GreaterThanToken AndAlso
512
If (token.
Kind
= SyntaxKind.LessThanToken OrElse
513
nextToken.
Kind
= SyntaxKind.GreaterThanToken OrElse
514
token.
Kind
= SyntaxKind.LessThanSlashToken OrElse
515
token.
Kind
= SyntaxKind.GreaterThanToken OrElse
516
nextToken.
Kind
= SyntaxKind.LessThanSlashToken) Then
521
If token.
Kind
= SyntaxKind.ColonToken AndAlso token.Parent.Kind = SyntaxKind.XmlPrefix OrElse
522
nextToken.
Kind
= SyntaxKind.ColonToken AndAlso nextToken.Parent.Kind = SyntaxKind.XmlPrefix Then
527
If nextToken.
Kind
= SyntaxKind.SlashGreaterThanToken Then
532
If token.
Kind
= SyntaxKind.LessThanExclamationMinusMinusToken OrElse
533
nextToken.
Kind
= SyntaxKind.MinusMinusGreaterThanToken Then
538
If token.
Kind
= SyntaxKind.LessThanQuestionToken Then
543
If token.
Kind
= SyntaxKind.BeginCDataToken OrElse
544
nextToken.
Kind
= SyntaxKind.EndCDataToken Then
549
If token.
Kind
= SyntaxKind.ColonToken AndAlso token.Parent.Kind = SyntaxKind.AttributeTarget OrElse
550
nextToken.
Kind
= SyntaxKind.ColonToken AndAlso nextToken.Parent.Kind = SyntaxKind.AttributeTarget Then
555
If (token.
Kind
= SyntaxKind.EqualsToken AndAlso
560
(nextToken.
Kind
= SyntaxKind.EqualsToken AndAlso
570
If token.
Kind
= SyntaxKind.DoubleQuoteToken OrElse
571
nextToken.
Kind
= SyntaxKind.DoubleQuoteToken Then
576
If token.
Kind
= SyntaxKind.AtToken AndAlso token.Parent.Kind = SyntaxKind.XmlAttributeAccessExpression Then
581
If token.
Kind
= SyntaxKind.SingleQuoteToken OrElse
582
nextToken.
Kind
= SyntaxKind.SingleQuoteToken Then
587
If nextToken.
Kind
= SyntaxKind.QuestionToken Then
592
If token.
Kind
= SyntaxKind.HashToken AndAlso TypeOf token.Parent Is DirectiveTriviaSyntax Then
598
nextToken.
Kind
= SyntaxKind.StringLiteralToken AndAlso
603
If token.
Kind
= SyntaxKind.XmlTextLiteralToken OrElse token.
Kind
= SyntaxKind.DocumentationCommentLineBreakToken Then
607
If token.
Kind
= SyntaxKind.DollarSignDoubleQuoteToken Then
611
If token.
Kind
= SyntaxKind.InterpolatedStringTextToken OrElse nextToken.
Kind
= SyntaxKind.InterpolatedStringTextToken Then
671
Return t.
Kind
<> SyntaxKind.None
Syntax\VisualBasicSyntaxRewriter.vb (1)
116
If alternate IsNot Nothing AndAlso visited.
Kind
<> SyntaxKind.None Then ' skip the null check since SyntaxToken is a value type
VisualBasicExtensions.vb (5)
305
Select Case token.
Kind
()
347
Return SyntaxFacts.IsKeywordKind(token.
Kind
())
357
Return SyntaxFacts.IsReservedKeyword(token.
Kind
())
366
Return SyntaxFacts.IsContextualKeyword(token.
Kind
())
376
Return SyntaxFacts.IsPreprocessorKeyword(token.
Kind
())