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