319 references to Kind
Microsoft.CodeAnalysis.VisualBasic (319)
Binding\Binder_Expressions.vb (2)
2401
Select Case parent.
Kind
2889
If right.Kind = SyntaxKind.IdentifierName AndAlso node.
Kind
= SyntaxKind.SimpleMemberAccessExpression Then
Binding\Binder_Initializers.vb (2)
139
If initializerNode.
Kind
= SyntaxKind.ModifiedIdentifier Then
502
If equalsValueOrAsNewSyntax.
Kind
= SyntaxKind.EqualsValue Then
Binding\Binder_Invocation.vb (6)
62
If node Is Nothing OrElse (node.
Kind
<> SyntaxKind.CallStatement AndAlso node.
Kind
<> SyntaxKind.ExpressionStatement) Then
67
If nodeParent Is Nothing OrElse nodeParent.
Kind
<> SyntaxKind.ConstructorBlock Then
3300
If parent IsNot Nothing AndAlso parent.
Kind
= SyntaxKind.ConditionalAccessExpression Then
3308
Return parent IsNot Nothing AndAlso (parent.
Kind
= SyntaxKind.CallStatement OrElse parent.
Kind
= SyntaxKind.ExpressionStatement)
Binding\Binder_Statements.vb (13)
863
Select Case labelParent.
Kind
905
Debug.Assert(block.
Kind
= SyntaxKind.TryBlock OrElse
906
block.
Kind
= SyntaxKind.CatchBlock OrElse
907
block.
Kind
= SyntaxKind.FinallyBlock OrElse
908
block.
Kind
= SyntaxKind.UsingBlock OrElse
909
block.
Kind
= SyntaxKind.SyncLockBlock OrElse
910
block.
Kind
= SyntaxKind.WithBlock OrElse
911
block.
Kind
= SyntaxKind.ForBlock OrElse
912
block.
Kind
= SyntaxKind.ForEachBlock)
2953
If controlVariableSyntax.
Kind
= SyntaxKind.VariableDeclarator Then
2984
If controlVariableSyntax.
Kind
= SyntaxKind.IdentifierName Then
3593
Debug.Assert(controlVariableSyntax.
Kind
<> SyntaxKind.VariableDeclarator)
5180
Select Case curSyntax.
Kind
Binding\Binder_Symbols.vb (1)
140
Select Case syntaxWhole.
Kind
Binding\Binder_WithBlock.vb (6)
362
Debug.Assert((node.
Kind
= SyntaxKind.SimpleMemberAccessExpression) OrElse
363
(node.
Kind
= SyntaxKind.DictionaryAccessExpression) OrElse
364
(node.
Kind
= SyntaxKind.XmlAttributeAccessExpression) OrElse
365
(node.
Kind
= SyntaxKind.XmlElementAccessExpression) OrElse
366
(node.
Kind
= SyntaxKind.XmlDescendantAccessExpression) OrElse
367
(node.
Kind
= SyntaxKind.ConditionalAccessExpression))
Binding\BinderFactory.vb (12)
165
If node.
Kind
<> SyntaxKind.CompilationUnit OrElse _tree.Options.Kind = SourceCodeKind.Regular Then
291
Select Case node.
Kind
340
Throw ExceptionUtilities.UnexpectedValue(node.
Kind
)
461
Select Case parent.
Kind
492
If nodeForOuterBinder IsNot Nothing AndAlso nodeForOuterBinder.
Kind
= SyntaxKind.PropertyBlock Then
498
If nodeForOuterBinder IsNot Nothing AndAlso nodeForOuterBinder.
Kind
= SyntaxKind.EventStatement Then
524
Select Case parent.
Kind
564
Throw ExceptionUtilities.UnexpectedValue(parent.
Kind
)
577
If node IsNot Nothing AndAlso (node.
Kind
= SyntaxKind.NamespaceBlock OrElse node.
Kind
= SyntaxKind.CompilationUnit) Then
669
Debug.Assert(node.
Kind
= SyntaxKind.Attribute)
679
Select Case attributeBlock.Parent.
Kind
Binding\DocumentationCommentBinder.vb (1)
115
Select Case parent.
Kind
Binding\DocumentationCommentCrefBinder.vb (4)
309
If parent IsNot Nothing AndAlso parent.
Kind
= SyntaxKind.TypeArgumentList Then
332
If parent IsNot Nothing AndAlso parent.
Kind
= SyntaxKind.QualifiedName Then
356
If parent IsNot Nothing AndAlso parent.
Kind
= SyntaxKind.QualifiedCrefOperatorReference Then
421
Select Case node.
Kind
Binding\DocumentationCommentCrefBinder_Compat.vb (2)
43
While name IsNot Nothing And name.
Kind
<> SyntaxKind.CrefReference
44
If name.
Kind
<> SyntaxKind.QualifiedName Then
Binding\InitializerSemanticModel.vb (4)
54
If initSyntax Is Nothing OrElse initSyntax.
Kind
<> SyntaxKind.AsNewClause Then
66
If initSyntax Is Nothing OrElse initSyntax.
Kind
<> SyntaxKind.AsNewClause Then
182
If initSyntax Is Nothing OrElse initSyntax.
Kind
<> SyntaxKind.AsNewClause Then
192
If initSyntax Is Nothing OrElse initSyntax.
Kind
<> SyntaxKind.AsNewClause Then
Binding\MemberSemanticModel.vb (11)
514
If parent IsNot Nothing AndAlso parent.
Kind
= SyntaxKind.ParameterList Then
579
Select Case parent.
Kind
588
Select Case parent.
Kind
1656
Debug.Assert(TypeOf node Is QueryClauseSyntax OrElse node.
Kind
= SyntaxKind.FunctionAggregation OrElse
1657
(node.
Kind
= SyntaxKind.ExpressionRangeVariable AndAlso node.Parent.
Kind
= SyntaxKind.LetClause) OrElse
1658
node.
Kind
= SyntaxKind.CollectionRangeVariable)
1755
If parent IsNot Nothing AndAlso parent.
Kind
= SyntaxKind.WithStatement Then
1757
Return parent IsNot Nothing AndAlso parent.
Kind
= SyntaxKind.WithBlock AndAlso parent.Parent IsNot Nothing
1804
Select Case parent.
Kind
1811
If parent.Parent IsNot Nothing AndAlso parent.Parent.
Kind
= SyntaxKind.Parameter Then
Compilation\DocumentationComments\UnprocessedDocumentationCommentFinder.vb (1)
143
Select Case parent.
Kind
Compilation\SemanticModel.vb (6)
120
If node.
Kind
= SyntaxKind.XmlName Then
664
Select Case node.
Kind
684
Select Case parent.
Kind
3253
Select Case node.
Kind
3593
Return String.Format("{0}: {1} ({2})", Me.SyntaxTree.FilePath, node.
Kind
.ToString(), node.Position)
3598
Return String.Format("{0}: {1} ({2}) at {3}", Me.SyntaxTree.FilePath, node.
Kind
.ToString(), node.Position, position)
Compilation\SyntaxTreeSemanticModel.vb (26)
549
If node.
Kind
= SyntaxKind.XmlString Then
552
Debug.Assert(node.
Kind
= SyntaxKind.IdentifierName OrElse
553
node.
Kind
= SyntaxKind.GenericName OrElse
554
node.
Kind
= SyntaxKind.PredefinedType OrElse
555
node.
Kind
= SyntaxKind.QualifiedName OrElse
556
node.
Kind
= SyntaxKind.GlobalName OrElse
557
node.
Kind
= SyntaxKind.QualifiedCrefOperatorReference OrElse
558
node.
Kind
= SyntaxKind.CrefOperatorReference OrElse
559
node.
Kind
= SyntaxKind.CrefReference)
568
Select Case parent.
Kind
603
If node.
Kind
= SyntaxKind.CrefReference Then
607
isTopLevel = node.Parent IsNot Nothing AndAlso node.Parent.
Kind
= SyntaxKind.CrefReference
1558
expressionParent IsNot Nothing AndAlso expressionParent.
Kind
= SyntaxKind.SimpleMemberAccessExpression AndAlso
1571
expressionParent IsNot Nothing AndAlso (expressionParent.
Kind
= SyntaxKind.SimpleArgument AndAlso Not DirectCast(expressionParent, SimpleArgumentSyntax).IsNamed) Then
1584
If argList IsNot Nothing AndAlso argList.
Kind
= SyntaxKind.ArgumentList Then
1586
If modIdentifier IsNot Nothing AndAlso modIdentifier.
Kind
= SyntaxKind.ModifiedIdentifier Then
1588
If varDeclarator IsNot Nothing AndAlso varDeclarator.
Kind
= SyntaxKind.VariableDeclarator AndAlso
1604
If node.
Kind
= SyntaxKind.Attribute Then
1626
Select Case parent.
Kind
1638
Select Case parent.
Kind
1694
Select Case parent.
Kind
1733
Select Case parent.
Kind
1751
If parent IsNot Nothing AndAlso parent.
Kind
= SyntaxKind.CollectionInitializer Then
1755
If parent IsNot Nothing AndAlso parent.
Kind
= SyntaxKind.ObjectCollectionInitializer AndAlso
1817
Debug.Assert(forBlockOrStatement.
Kind
<> SyntaxKind.ForStatement)
1818
Debug.Assert(forBlockOrStatement.
Kind
<> SyntaxKind.ForEachStatement)
Declarations\DeclarationTreeBuilder.vb (1)
132
Debug.Assert(parent.
Kind
= SyntaxKind.CompilationUnit AndAlso _syntaxTree.Options.Kind <> SourceCodeKind.Regular)
Generated\Syntax.xml.Main.Generated.vb (5)
19166
Select Case controlVariable.
Kind
()
19750
Select Case controlVariable.
Kind
()
35679
Select Case body.
Kind
()
35973
Select Case body.
Kind
()
36275
Select Case body.
Kind
()
Generated\Syntax.xml.Syntax.Generated.vb (158)
305
return Update(Me.
Kind
, endKeyword, Me.BlockKeyword)
326
return Update(Me.
Kind
, Me.EndKeyword, blockKeyword)
366
If kind <> Me.
Kind
OrElse endKeyword <> Me.EndKeyword OrElse blockKeyword <> Me.BlockKeyword Then
5026
return Update(Me.
Kind
, constraintKeyword)
5061
If kind <> Me.
Kind
OrElse constraintKeyword <> Me.ConstraintKeyword Then
5395
return Update(Me.
Kind
, subOrFunctionStatement, Me.Statements, Me.EndSubOrFunctionStatement)
5425
return Update(Me.
Kind
, Me.SubOrFunctionStatement, statements, Me.EndSubOrFunctionStatement)
5451
return Update(Me.
Kind
, Me.SubOrFunctionStatement, Me.Statements, endSubOrFunctionStatement)
5506
If kind <> Me.
Kind
OrElse subOrFunctionStatement IsNot Me.SubOrFunctionStatement OrElse statements <> Me.Statements OrElse endSubOrFunctionStatement IsNot Me.EndSubOrFunctionStatement Then
5890
return Update(Me.
Kind
, accessorStatement, Me.Statements, Me.EndAccessorStatement)
5920
return Update(Me.
Kind
, Me.AccessorStatement, statements, Me.EndAccessorStatement)
5947
return Update(Me.
Kind
, Me.AccessorStatement, Me.Statements, endAccessorStatement)
6002
If kind <> Me.
Kind
OrElse accessorStatement IsNot Me.AccessorStatement OrElse statements <> Me.Statements OrElse endAccessorStatement IsNot Me.EndAccessorStatement Then
6638
return Update(Me.
Kind
, attributeLists, Me.Modifiers, Me.SubOrFunctionKeyword, Me.Identifier, Me.TypeParameterList, Me.ParameterList, Me.AsClause, Me.HandlesClause, Me.ImplementsClause)
6682
return Update(Me.
Kind
, Me.AttributeLists, modifiers, Me.SubOrFunctionKeyword, Me.Identifier, Me.TypeParameterList, Me.ParameterList, Me.AsClause, Me.HandlesClause, Me.ImplementsClause)
6708
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, subOrFunctionKeyword, Me.Identifier, Me.TypeParameterList, Me.ParameterList, Me.AsClause, Me.HandlesClause, Me.ImplementsClause)
6726
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.SubOrFunctionKeyword, identifier, Me.TypeParameterList, Me.ParameterList, Me.AsClause, Me.HandlesClause, Me.ImplementsClause)
6748
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.SubOrFunctionKeyword, Me.Identifier, typeParameterList, Me.ParameterList, Me.AsClause, Me.HandlesClause, Me.ImplementsClause)
6783
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.SubOrFunctionKeyword, Me.Identifier, Me.TypeParameterList, parameterList, Me.AsClause, Me.HandlesClause, Me.ImplementsClause)
6814
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.SubOrFunctionKeyword, Me.Identifier, Me.TypeParameterList, Me.ParameterList, asClause, Me.HandlesClause, Me.ImplementsClause)
6835
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.SubOrFunctionKeyword, Me.Identifier, Me.TypeParameterList, Me.ParameterList, Me.AsClause, handlesClause, Me.ImplementsClause)
6862
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.SubOrFunctionKeyword, Me.Identifier, Me.TypeParameterList, Me.ParameterList, Me.AsClause, Me.HandlesClause, implementsClause)
6952
If kind <> Me.
Kind
OrElse attributeLists <> Me.AttributeLists OrElse modifiers <> Me.Modifiers OrElse subOrFunctionKeyword <> Me.SubOrFunctionKeyword OrElse identifier <> Me.Identifier OrElse typeParameterList IsNot Me.TypeParameterList OrElse parameterList IsNot Me.ParameterList OrElse asClause IsNot Me.AsClause OrElse handlesClause IsNot Me.HandlesClause OrElse implementsClause IsNot Me.ImplementsClause Then
7267
return Update(Me.
Kind
, attributeLists, Me.Modifiers, Me.DeclareKeyword, Me.CharsetKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.LibKeyword, Me.LibraryName, Me.AliasKeyword, Me.AliasName, Me.ParameterList, Me.AsClause)
7311
return Update(Me.
Kind
, Me.AttributeLists, modifiers, Me.DeclareKeyword, Me.CharsetKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.LibKeyword, Me.LibraryName, Me.AliasKeyword, Me.AliasName, Me.ParameterList, Me.AsClause)
7337
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, declareKeyword, Me.CharsetKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.LibKeyword, Me.LibraryName, Me.AliasKeyword, Me.AliasName, Me.ParameterList, Me.AsClause)
7363
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.DeclareKeyword, charsetKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.LibKeyword, Me.LibraryName, Me.AliasKeyword, Me.AliasName, Me.ParameterList, Me.AsClause)
7381
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.DeclareKeyword, Me.CharsetKeyword, subOrFunctionKeyword, Me.Identifier, Me.LibKeyword, Me.LibraryName, Me.AliasKeyword, Me.AliasName, Me.ParameterList, Me.AsClause)
7399
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.DeclareKeyword, Me.CharsetKeyword, Me.SubOrFunctionKeyword, identifier, Me.LibKeyword, Me.LibraryName, Me.AliasKeyword, Me.AliasName, Me.ParameterList, Me.AsClause)
7417
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.DeclareKeyword, Me.CharsetKeyword, Me.SubOrFunctionKeyword, Me.Identifier, libKeyword, Me.LibraryName, Me.AliasKeyword, Me.AliasName, Me.ParameterList, Me.AsClause)
7435
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.DeclareKeyword, Me.CharsetKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.LibKeyword, libraryName, Me.AliasKeyword, Me.AliasName, Me.ParameterList, Me.AsClause)
7460
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.DeclareKeyword, Me.CharsetKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.LibKeyword, Me.LibraryName, aliasKeyword, Me.AliasName, Me.ParameterList, Me.AsClause)
7481
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.DeclareKeyword, Me.CharsetKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.LibKeyword, Me.LibraryName, Me.AliasKeyword, aliasName, Me.ParameterList, Me.AsClause)
7511
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.DeclareKeyword, Me.CharsetKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.LibKeyword, Me.LibraryName, Me.AliasKeyword, Me.AliasName, parameterList, Me.AsClause)
7542
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.DeclareKeyword, Me.CharsetKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.LibKeyword, Me.LibraryName, Me.AliasKeyword, Me.AliasName, Me.ParameterList, asClause)
7632
If kind <> Me.
Kind
OrElse attributeLists <> Me.AttributeLists OrElse modifiers <> Me.Modifiers OrElse declareKeyword <> Me.DeclareKeyword OrElse charsetKeyword <> Me.CharsetKeyword OrElse subOrFunctionKeyword <> Me.SubOrFunctionKeyword OrElse identifier <> Me.Identifier OrElse libKeyword <> Me.LibKeyword OrElse libraryName IsNot Me.LibraryName OrElse aliasKeyword <> Me.AliasKeyword OrElse aliasName IsNot Me.AliasName OrElse parameterList IsNot Me.ParameterList OrElse asClause IsNot Me.AsClause Then
7699
return Update(Me.
Kind
, attributeLists, Me.Modifiers, Me.DelegateKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.TypeParameterList, Me.ParameterList, Me.AsClause)
7743
return Update(Me.
Kind
, Me.AttributeLists, modifiers, Me.DelegateKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.TypeParameterList, Me.ParameterList, Me.AsClause)
7769
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, delegateKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.TypeParameterList, Me.ParameterList, Me.AsClause)
7787
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.DelegateKeyword, subOrFunctionKeyword, Me.Identifier, Me.TypeParameterList, Me.ParameterList, Me.AsClause)
7805
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.DelegateKeyword, Me.SubOrFunctionKeyword, identifier, Me.TypeParameterList, Me.ParameterList, Me.AsClause)
7827
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.DelegateKeyword, Me.SubOrFunctionKeyword, Me.Identifier, typeParameterList, Me.ParameterList, Me.AsClause)
7862
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.DelegateKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.TypeParameterList, parameterList, Me.AsClause)
7893
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.DelegateKeyword, Me.SubOrFunctionKeyword, Me.Identifier, Me.TypeParameterList, Me.ParameterList, asClause)
7967
If kind <> Me.
Kind
OrElse attributeLists <> Me.AttributeLists OrElse modifiers <> Me.Modifiers OrElse delegateKeyword <> Me.DelegateKeyword OrElse subOrFunctionKeyword <> Me.SubOrFunctionKeyword OrElse identifier <> Me.Identifier OrElse typeParameterList IsNot Me.TypeParameterList OrElse parameterList IsNot Me.ParameterList OrElse asClause IsNot Me.AsClause Then
8999
return Update(Me.
Kind
, attributeLists, Me.Modifiers, Me.AccessorKeyword, Me.ParameterList)
9043
return Update(Me.
Kind
, Me.AttributeLists, modifiers, Me.AccessorKeyword, Me.ParameterList)
9070
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, accessorKeyword, Me.ParameterList)
9100
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.AccessorKeyword, parameterList)
9163
If kind <> Me.
Kind
OrElse attributeLists <> Me.AttributeLists OrElse modifiers <> Me.Modifiers OrElse accessorKeyword <> Me.AccessorKeyword OrElse parameterList IsNot Me.ParameterList Then
13695
return Update(Me.
Kind
, labelToken)
13730
If kind <> Me.
Kind
OrElse labelToken <> Me.LabelToken Then
13783
return Update(Me.
Kind
, stopOrEndKeyword)
13818
If kind <> Me.
Kind
OrElse stopOrEndKeyword <> Me.StopOrEndKeyword Then
13878
return Update(Me.
Kind
, exitKeyword, Me.BlockKeyword)
13896
return Update(Me.
Kind
, Me.ExitKeyword, blockKeyword)
13936
If kind <> Me.
Kind
OrElse exitKeyword <> Me.ExitKeyword OrElse blockKeyword <> Me.BlockKeyword Then
13990
return Update(Me.
Kind
, continueKeyword, Me.BlockKeyword)
14009
return Update(Me.
Kind
, Me.ContinueKeyword, blockKeyword)
14049
If kind <> Me.
Kind
OrElse continueKeyword <> Me.ContinueKeyword OrElse blockKeyword <> Me.BlockKeyword Then
16398
return Update(Me.
Kind
, onKeyword, Me.ErrorKeyword, Me.GoToKeyword, Me.Minus, Me.Label)
16416
return Update(Me.
Kind
, Me.OnKeyword, errorKeyword, Me.GoToKeyword, Me.Minus, Me.Label)
16434
return Update(Me.
Kind
, Me.OnKeyword, Me.ErrorKeyword, goToKeyword, Me.Minus, Me.Label)
16458
return Update(Me.
Kind
, Me.OnKeyword, Me.ErrorKeyword, Me.GoToKeyword, minus, Me.Label)
16476
return Update(Me.
Kind
, Me.OnKeyword, Me.ErrorKeyword, Me.GoToKeyword, Me.Minus, label)
16529
If kind <> Me.
Kind
OrElse onKeyword <> Me.OnKeyword OrElse errorKeyword <> Me.ErrorKeyword OrElse goToKeyword <> Me.GoToKeyword OrElse minus <> Me.Minus OrElse label IsNot Me.Label Then
16732
return Update(Me.
Kind
, resumeKeyword, Me.Label)
16754
return Update(Me.
Kind
, Me.ResumeKeyword, label)
16798
If kind <> Me.
Kind
OrElse resumeKeyword <> Me.ResumeKeyword OrElse label IsNot Me.Label Then
17143
return Update(Me.
Kind
, caseStatement, Me.Statements)
17170
return Update(Me.
Kind
, Me.CaseStatement, statements)
17222
If kind <> Me.
Kind
OrElse caseStatement IsNot Me.CaseStatement OrElse statements <> Me.Statements Then
17277
return Update(Me.
Kind
, caseKeyword, Me.Cases)
17299
return Update(Me.
Kind
, Me.CaseKeyword, cases)
17347
If kind <> Me.
Kind
OrElse caseKeyword <> Me.CaseKeyword OrElse cases <> Me.Cases Then
17734
return Update(Me.
Kind
, isKeyword, Me.OperatorToken, Me.Value)
17753
return Update(Me.
Kind
, Me.IsKeyword, operatorToken, Me.Value)
17770
return Update(Me.
Kind
, Me.IsKeyword, Me.OperatorToken, value)
17817
If kind <> Me.
Kind
OrElse isKeyword <> Me.IsKeyword OrElse operatorToken <> Me.OperatorToken OrElse value IsNot Me.Value Then
17988
return Update(Me.
Kind
, doStatement, Me.Statements, Me.LoopStatement)
18010
return Update(Me.
Kind
, Me.DoStatement, statements, Me.LoopStatement)
18032
return Update(Me.
Kind
, Me.DoStatement, Me.Statements, loopStatement)
18087
If kind <> Me.
Kind
OrElse doStatement IsNot Me.DoStatement OrElse statements <> Me.Statements OrElse loopStatement IsNot Me.LoopStatement Then
18141
return Update(Me.
Kind
, doKeyword, Me.WhileOrUntilClause)
18163
return Update(Me.
Kind
, Me.DoKeyword, whileOrUntilClause)
18207
If kind <> Me.
Kind
OrElse doKeyword <> Me.DoKeyword OrElse whileOrUntilClause IsNot Me.WhileOrUntilClause Then
18261
return Update(Me.
Kind
, loopKeyword, Me.WhileOrUntilClause)
18283
return Update(Me.
Kind
, Me.LoopKeyword, whileOrUntilClause)
18327
If kind <> Me.
Kind
OrElse loopKeyword <> Me.LoopKeyword OrElse whileOrUntilClause IsNot Me.WhileOrUntilClause Then
18382
return Update(Me.
Kind
, whileOrUntilKeyword, Me.Condition)
18400
return Update(Me.
Kind
, Me.WhileOrUntilKeyword, condition)
18444
If kind <> Me.
Kind
OrElse whileOrUntilKeyword <> Me.WhileOrUntilKeyword OrElse condition IsNot Me.Condition Then
20098
return Update(Me.
Kind
, left, Me.OperatorToken, Me.Right)
20117
return Update(Me.
Kind
, Me.Left, operatorToken, Me.Right)
20134
return Update(Me.
Kind
, Me.Left, Me.OperatorToken, right)
20185
If kind <> Me.
Kind
OrElse left IsNot Me.Left OrElse operatorToken <> Me.OperatorToken OrElse right IsNot Me.Right Then
20467
return Update(Me.
Kind
, addHandlerOrRemoveHandlerKeyword, Me.EventExpression, Me.CommaToken, Me.DelegateExpression)
20485
return Update(Me.
Kind
, Me.AddHandlerOrRemoveHandlerKeyword, eventExpression, Me.CommaToken, Me.DelegateExpression)
20503
return Update(Me.
Kind
, Me.AddHandlerOrRemoveHandlerKeyword, Me.EventExpression, commaToken, Me.DelegateExpression)
20521
return Update(Me.
Kind
, Me.AddHandlerOrRemoveHandlerKeyword, Me.EventExpression, Me.CommaToken, delegateExpression)
20575
If kind <> Me.
Kind
OrElse addHandlerOrRemoveHandlerKeyword <> Me.AddHandlerOrRemoveHandlerKeyword OrElse eventExpression IsNot Me.EventExpression OrElse commaToken <> Me.CommaToken OrElse delegateExpression IsNot Me.DelegateExpression Then
20885
return Update(Me.
Kind
, reDimKeyword, Me.PreserveKeyword, Me.Clauses)
20911
return Update(Me.
Kind
, Me.ReDimKeyword, preserveKeyword, Me.Clauses)
20933
return Update(Me.
Kind
, Me.ReDimKeyword, Me.PreserveKeyword, clauses)
20984
If kind <> Me.
Kind
OrElse reDimKeyword <> Me.ReDimKeyword OrElse preserveKeyword <> Me.PreserveKeyword OrElse clauses <> Me.Clauses Then
21307
return Update(Me.
Kind
, token)
21342
If kind <> Me.
Kind
OrElse token <> Me.Token Then
22489
return Update(Me.
Kind
, typeOfKeyword, Me.Expression, Me.OperatorToken, Me.Type)
22507
return Update(Me.
Kind
, Me.TypeOfKeyword, expression, Me.OperatorToken, Me.Type)
22525
return Update(Me.
Kind
, Me.TypeOfKeyword, Me.Expression, operatorToken, Me.Type)
22542
return Update(Me.
Kind
, Me.TypeOfKeyword, Me.Expression, Me.OperatorToken, type)
22596
If kind <> Me.
Kind
OrElse typeOfKeyword <> Me.TypeOfKeyword OrElse expression IsNot Me.Expression OrElse operatorToken <> Me.OperatorToken OrElse type IsNot Me.Type Then
22809
return Update(Me.
Kind
, expression, Me.OperatorToken, Me.Name)
22827
return Update(Me.
Kind
, Me.Expression, operatorToken, Me.Name)
22844
return Update(Me.
Kind
, Me.Expression, Me.OperatorToken, name)
22895
If kind <> Me.
Kind
OrElse expression IsNot Me.Expression OrElse operatorToken <> Me.OperatorToken OrElse name IsNot Me.Name Then
22954
return Update(Me.
Kind
, base, Me.Token1, Me.Token2, Me.Token3, Me.Name)
22971
return Update(Me.
Kind
, Me.Base, token1, Me.Token2, Me.Token3, Me.Name)
22995
return Update(Me.
Kind
, Me.Base, Me.Token1, token2, Me.Token3, Me.Name)
23019
return Update(Me.
Kind
, Me.Base, Me.Token1, Me.Token2, token3, Me.Name)
23036
return Update(Me.
Kind
, Me.Base, Me.Token1, Me.Token2, Me.Token3, name)
23093
If kind <> Me.
Kind
OrElse base IsNot Me.Base OrElse token1 <> Me.Token1 OrElse token2 <> Me.Token2 OrElse token3 <> Me.Token3 OrElse name IsNot Me.Name Then
25212
return Update(Me.
Kind
, left, Me.OperatorToken, Me.Right)
25227
return Update(Me.
Kind
, Me.Left, operatorToken, Me.Right)
25244
return Update(Me.
Kind
, Me.Left, Me.OperatorToken, right)
25295
If kind <> Me.
Kind
OrElse left IsNot Me.Left OrElse operatorToken <> Me.OperatorToken OrElse right IsNot Me.Right Then
25350
return Update(Me.
Kind
, operatorToken, Me.Operand)
25368
return Update(Me.
Kind
, Me.OperatorToken, operand)
25412
If kind <> Me.
Kind
OrElse operatorToken <> Me.OperatorToken OrElse operand IsNot Me.Operand Then
25963
return Update(Me.
Kind
, subOrFunctionHeader, Me.Body)
25981
return Update(Me.
Kind
, Me.SubOrFunctionHeader, body)
26029
If kind <> Me.
Kind
OrElse subOrFunctionHeader IsNot Me.SubOrFunctionHeader OrElse body IsNot Me.Body Then
26092
return Update(Me.
Kind
, subOrFunctionHeader, Me.Statements, Me.EndSubOrFunctionStatement)
26116
return Update(Me.
Kind
, Me.SubOrFunctionHeader, statements, Me.EndSubOrFunctionStatement)
26139
return Update(Me.
Kind
, Me.SubOrFunctionHeader, Me.Statements, endSubOrFunctionStatement)
26194
If kind <> Me.
Kind
OrElse subOrFunctionHeader IsNot Me.SubOrFunctionHeader OrElse statements <> Me.Statements OrElse endSubOrFunctionStatement IsNot Me.EndSubOrFunctionStatement Then
26260
return Update(Me.
Kind
, attributeLists, Me.Modifiers, Me.SubOrFunctionKeyword, Me.ParameterList, Me.AsClause)
26304
return Update(Me.
Kind
, Me.AttributeLists, modifiers, Me.SubOrFunctionKeyword, Me.ParameterList, Me.AsClause)
26330
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, subOrFunctionKeyword, Me.ParameterList, Me.AsClause)
26360
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.SubOrFunctionKeyword, parameterList, Me.AsClause)
26391
return Update(Me.
Kind
, Me.AttributeLists, Me.Modifiers, Me.SubOrFunctionKeyword, Me.ParameterList, asClause)
26452
If kind <> Me.
Kind
OrElse attributeLists <> Me.AttributeLists OrElse modifiers <> Me.Modifiers OrElse subOrFunctionKeyword <> Me.SubOrFunctionKeyword OrElse parameterList IsNot Me.ParameterList OrElse asClause IsNot Me.AsClause Then
28694
return Update(Me.
Kind
, skipOrTakeKeyword, Me.WhileKeyword, Me.Condition)
28712
return Update(Me.
Kind
, Me.SkipOrTakeKeyword, whileKeyword, Me.Condition)
28730
return Update(Me.
Kind
, Me.SkipOrTakeKeyword, Me.WhileKeyword, condition)
28777
If kind <> Me.
Kind
OrElse skipOrTakeKeyword <> Me.SkipOrTakeKeyword OrElse whileKeyword <> Me.WhileKeyword OrElse condition IsNot Me.Condition Then
28830
return Update(Me.
Kind
, skipOrTakeKeyword, Me.Count)
28847
return Update(Me.
Kind
, Me.SkipOrTakeKeyword, count)
28891
If kind <> Me.
Kind
OrElse skipOrTakeKeyword <> Me.SkipOrTakeKeyword OrElse count IsNot Me.Count Then
30174
return Update(Me.
Kind
, expression, Me.AscendingOrDescendingKeyword)
30200
return Update(Me.
Kind
, Me.Expression, ascendingOrDescendingKeyword)
30244
If kind <> Me.
Kind
OrElse expression IsNot Me.Expression OrElse ascendingOrDescendingKeyword <> Me.AscendingOrDescendingKeyword Then
36295
return Update(Me.
Kind
, hashToken, Me.ElseKeyword, Me.IfOrElseIfKeyword, Me.Condition, Me.ThenKeyword)
36317
return Update(Me.
Kind
, Me.HashToken, elseKeyword, Me.IfOrElseIfKeyword, Me.Condition, Me.ThenKeyword)
36332
return Update(Me.
Kind
, Me.HashToken, Me.ElseKeyword, ifOrElseIfKeyword, Me.Condition, Me.ThenKeyword)
36347
return Update(Me.
Kind
, Me.HashToken, Me.ElseKeyword, Me.IfOrElseIfKeyword, condition, Me.ThenKeyword)
36369
return Update(Me.
Kind
, Me.HashToken, Me.ElseKeyword, Me.IfOrElseIfKeyword, Me.Condition, thenKeyword)
36422
If kind <> Me.
Kind
OrElse hashToken <> Me.HashToken OrElse elseKeyword <> Me.ElseKeyword OrElse ifOrElseIfKeyword <> Me.IfOrElseIfKeyword OrElse condition IsNot Me.Condition OrElse thenKeyword <> Me.ThenKeyword Then
Symbols\Source\ImplicitNamedTypeSymbol.vb (1)
187
Dim nodeMembers = If(node.
Kind
= SyntaxKind.CompilationUnit, DirectCast(node, CompilationUnitSyntax).Members, DirectCast(node, NamespaceBlockSyntax).Members)
Symbols\Source\QuickAttributeChecker.vb (1)
114
Select Case node.
Kind
Symbols\Source\SourceDelegateMethodSymbol.vb (1)
109
If syntax.
Kind
= SyntaxKind.DelegateFunctionStatement Then
Symbols\Source\SourceMethodSymbol.vb (2)
861
Select Case node.
Kind
881
Throw ExceptionUtilities.UnexpectedValue(node.
Kind
)
Symbols\Source\SourceNamedTypeSymbol.vb (12)
129
Select Case node.
Kind
140
Throw ExceptionUtilities.UnexpectedValue(node.
Kind
)
410
Select Case node.
Kind
452
Throw ExceptionUtilities.UnexpectedValue(node.
Kind
)
651
Select Case node.
Kind
660
Throw ExceptionUtilities.UnexpectedValue(node.
Kind
)
800
Select Case syntaxNode.
Kind
941
Select Case syntax.
Kind
1004
Select Case syntaxNode.
Kind
1033
Select Case syntaxNode.
Kind
1711
Select Case syntaxNode.
Kind
1729
Select Case syntaxNode.
Kind
Symbols\Source\SourceNamespaceSymbol.vb (2)
381
Select Case node.
Kind
391
Throw ExceptionUtilities.UnexpectedValue(node.
Kind
)
Symbols\Source\SourcePropertySymbol.vb (2)
311
If syntax.
Kind
= SyntaxKind.PropertyStatement Then
314
Debug.Assert(syntax.
Kind
= SyntaxKind.ModifiedIdentifier)
Syntax\ArgumentSyntax.vb (1)
25
Return
Kind
= SyntaxKind.OmittedArgument
Syntax\DirectiveTriviaSyntax.vb (16)
38
Select Case d.
Kind
41
Select Case d.
Kind
51
Select Case d.
Kind
61
If d.
Kind
= SyntaxKind.EndIfDirectiveTrivia Then
70
If d.
Kind
= SyntaxKind.EndRegionDirectiveTrivia Then
87
Select Case d.
Kind
89
While d IsNot Nothing AndAlso d.
Kind
<> SyntaxKind.EndIfDirectiveTrivia
95
While d IsNot Nothing AndAlso d.
Kind
<> SyntaxKind.EndRegionDirectiveTrivia
111
Select Case d.
Kind
114
Select Case d.
Kind
124
If d.
Kind
= SyntaxKind.IfDirectiveTrivia Then
133
Select Case d.
Kind
143
If d.
Kind
= SyntaxKind.RegionDirectiveTrivia Then
160
Select Case d.
Kind
162
While d IsNot Nothing AndAlso d.
Kind
<> SyntaxKind.IfDirectiveTrivia
168
While d IsNot Nothing AndAlso d.
Kind
<> SyntaxKind.RegionDirectiveTrivia
Syntax\SyntaxFacts.vb (1)
81
Select Case parent.
Kind
Syntax\SyntaxNodeExtensions.vb (2)
36
Select Case node.
Kind
208
Select Case parent.
Kind
Syntax\SyntaxNodePartials.vb (3)
84
Debug.Assert(
Kind
= SyntaxKind.SingleLineSubLambdaExpression, "Only SingleLineSubLambdas have statements.")
96
Select Case Me.
Kind
127
Throw ExceptionUtilities.UnexpectedValue(Me.
Kind
)
Syntax\SyntaxNodeRemover.vb (1)
334
Select Case directive.
Kind
Syntax\SyntaxNormalizer.vb (8)
768
If node.Members(0).
Kind
<> SyntaxKind.NamespaceBlock Then
848
If node.
Kind
= SyntaxKind.InterfaceBlock Then
1227
(node.Parent.
Kind
<> SyntaxKind.Parameter AndAlso node.Parent.
Kind
<> SyntaxKind.SimpleAsClause) Then
1403
(node.Parent.
Kind
= SyntaxKind.SubBlock OrElse node.Parent.
Kind
= SyntaxKind.FunctionBlock) Then
1435
If node.Parent IsNot Nothing AndAlso node.Parent.
Kind
= SyntaxKind.EventBlock Then
1446
If node.Parent IsNot Nothing AndAlso node.Parent.
Kind
= SyntaxKind.PropertyBlock Then
Syntax\VisualBasicLineDirectiveMap.vb (4)
24
Return directive.
Kind
= SyntaxKind.ExternalSourceDirectiveTrivia OrElse directive.
Kind
= SyntaxKind.EndExternalSourceDirectiveTrivia
43
If directive.
Kind
= SyntaxKind.ExternalSourceDirectiveTrivia Then
92
ElseIf directive.
Kind
= SyntaxKind.EndExternalSourceDirectiveTrivia Then
Syntax\VisualBasicSyntaxTree.ParsedSyntaxTree.vb (1)
57
_hasCompilationUnitRoot = (syntaxRoot.
Kind
= SyntaxKind.CompilationUnit)