1550 references to Kind
Microsoft.CodeAnalysis.VisualBasic (1242)
Analysis\FlowAnalysis\DataFlowPass.vb (1)
2032If declarator.AsClause IsNot Nothing AndAlso declarator.AsClause.Kind = SyntaxKind.AsNewClause Then
Binding\Binder_AnonymousTypes.vb (3)
154If fieldSyntax.Kind = SyntaxKind.InferredFieldInitializer Then 235If initializer.Kind = SyntaxKind.InferredFieldInitializer Then 406If nameSyntax.Kind = SyntaxKind.GenericName Then
Binding\Binder_Attributes.vb (1)
398Select Case argumentSyntax.Kind
Binding\Binder_Constraints.vb (4)
26Select Case clause.Kind 36Throw ExceptionUtilities.UnexpectedValue(clause.Kind) 50Select Case syntax.Kind 96Throw ExceptionUtilities.UnexpectedValue(syntax.Kind)
Binding\Binder_Delegates.vb (1)
110If expressionSyntax.Kind = SyntaxKind.AddressOfExpression Then
Binding\Binder_Expressions.vb (28)
65Select Case node.Kind 279Debug.Assert(IsSemanticModelBinder OrElse node.ContainsDiagnostics, String.Format("Unexpected {0} syntax does not have diagnostics", node.Kind)) 622If (node.Kind = SyntaxKind.PredefinedType) OrElse 623(((TypeOf node Is NameSyntax) OrElse node.Kind = SyntaxKind.ArrayType OrElse node.Kind = SyntaxKind.TupleType) AndAlso SyntaxFacts.IsInNamespaceOrTypeContext(node)) Then 628node.Parent.Kind = SyntaxKind.QualifiedName AndAlso 709Select Case node.Argument.Kind 732If(node.Argument.Kind = SyntaxKind.SimpleMemberAccessExpression, 751If(node.Argument.Kind = SyntaxKind.SimpleMemberAccessExpression, 773Dim operatorIsIsNot = (node.Kind = SyntaxKind.TypeOfIsNotExpression) 2394If nameSyntax.Kind <> SyntaxKind.IdentifierName Then 2401Select Case parent.Kind 2420(leaf.Kind = SyntaxKind.SimpleMemberAccessExpression OrElse leaf.Kind = SyntaxKind.InvocationExpression) Then 2455If node.Kind = SyntaxKind.GenericName Then 2460Debug.Assert(node.Kind = SyntaxKind.IdentifierName) 2482If node.Kind = SyntaxKind.IdentifierName AndAlso DirectCast(node, IdentifierNameSyntax).Identifier.IsBracketed AndAlso 2516If node.Kind = SyntaxKind.IdentifierName Then 2705If leftOpt.Kind = SyntaxKind.IdentifierName Then 2779If leftOpt.Kind = SyntaxKind.SimpleMemberAccessExpression Then 2803If leftTypeSymbol IsNot Nothing AndAlso (right.Kind = SyntaxKind.IdentifierName OrElse right.Kind = SyntaxKind.GenericName) Then 2806Dim identifier = If(right.Kind = SyntaxKind.IdentifierName, 2847If Not hasErrors AndAlso right.Kind = SyntaxKind.GenericName Then 2867If right.Kind = SyntaxKind.GenericName Then 2872Debug.Assert(right.Kind = SyntaxKind.IdentifierName) 2893If right.Kind = SyntaxKind.IdentifierName AndAlso node.Kind = SyntaxKind.SimpleMemberAccessExpression Then
Binding\Binder_Imports.vb (1)
58Select Case importClauseSyntax.Kind
Binding\Binder_Initializers.vb (9)
139If initializerNode.Kind = SyntaxKind.ModifiedIdentifier Then 175fieldSymbol.Syntax.Kind = SyntaxKind.ModifiedIdentifier Then 179identifier.Parent.Kind = SyntaxKind.VariableDeclarator AndAlso 232Debug.Assert(fieldSymbol.Syntax.Kind = SyntaxKind.ModifiedIdentifier) 403Select Case asNew.NewExpression.Kind 418Throw ExceptionUtilities.UnexpectedValue(asNew.NewExpression.Kind) 502If equalsValueOrAsNewSyntax.Kind = SyntaxKind.EqualsValue Then 512Select Case asNewSyntax.NewExpression.Kind 526Throw ExceptionUtilities.UnexpectedValue(asNewSyntax.NewExpression.Kind)
Binding\Binder_Invocation.vb (8)
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 3026Select Case argumentSyntax.Kind 3077Throw ExceptionUtilities.UnexpectedValue(argumentSyntax.Kind) 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_Lambda.vb (4)
42If node.Kind = SyntaxKind.MultiLineFunctionLambdaExpression AndAlso 70ElseIf node.Kind = SyntaxKind.MultiLineSubLambdaExpression OrElse 71node.Kind = SyntaxKind.SingleLineSubLambdaExpression Then 478If statement.Kind = SyntaxKind.LocalDeclarationStatement Then
Binding\Binder_ObjectInitializer.vb (5)
65If type.Kind = SyntaxKind.TupleType Then 629If syntaxNode.Initializer.Kind = SyntaxKind.ObjectMemberInitializer Then 632ElseIf syntaxNode.Initializer.Kind = SyntaxKind.ObjectCollectionInitializer Then 636Throw ExceptionUtilities.UnexpectedValue(syntaxNode.Initializer.Kind) 959If topLevelInitializer.Kind = SyntaxKind.CollectionInitializer Then
Binding\Binder_Operators.vb (7)
21Debug.Assert(node.Kind = SyntaxKind.IsExpression OrElse node.Kind = SyntaxKind.IsNotExpression) 22Dim [isNot] As Boolean = (node.Kind = SyntaxKind.IsNotExpression) 160Dim preliminaryOperatorKind As BinaryOperatorKind = OverloadResolution.MapBinaryOperatorKind(node.Kind) 171Select Case child.Kind 216OverloadResolution.MapBinaryOperatorKind(binary.Kind), 1137Dim preliminaryOperatorKind As UnaryOperatorKind = OverloadResolution.MapUnaryOperatorKind(node.Kind)
Binding\Binder_Query.vb (38)
71Select Case current.Kind 106Select Case current.Kind 152Throw ExceptionUtilities.UnexpectedValue(current.Kind) 899Select Case groupOrInnerJoin.Parent.Kind 1196Select Case clauseSyntax.Kind 1207Throw ExceptionUtilities.UnexpectedValue(clauseSyntax.Kind) 1213Select Case absorbNextOperator.Kind 1230Throw ExceptionUtilities.UnexpectedValue(absorbNextOperator.Kind) 1245Select Case nextOperator.Kind 1287Select Case absorbNextOperator.Kind 1328Throw ExceptionUtilities.UnexpectedValue(absorbNextOperator.Kind) 1379Debug.Assert(join.Kind = SyntaxKind.SimpleJoinClause) 1380Debug.Assert((declaredNames IsNot Nothing) = (join.Parent.Kind = SyntaxKind.SimpleJoinClause OrElse join.Parent.Kind = SyntaxKind.GroupJoinClause)) 1414Select Case additionalJoin.Kind 1611Debug.Assert((declaredNames IsNot Nothing) = (groupJoin.Parent.Kind = SyntaxKind.SimpleJoinClause OrElse groupJoin.Parent.Kind = SyntaxKind.GroupJoinClause)) 1660Select Case additionalJoin.Kind 2104Debug.Assert(clauseSyntax.Kind = SyntaxKind.GroupByClause OrElse clauseSyntax.Kind = SyntaxKind.GroupJoinClause) 2105Debug.Assert(mustProduceFlatCompoundVariable OrElse clauseSyntax.Kind = SyntaxKind.GroupJoinClause) 2106Debug.Assert((declaredNames IsNot Nothing) = (clauseSyntax.Kind = SyntaxKind.GroupJoinClause)) 2585If ordering.Kind = SyntaxKind.AscendingOrdering Then 2588Debug.Assert(ordering.Kind = SyntaxKind.DescendingOrdering) 2594If ordering.Kind = SyntaxKind.AscendingOrdering Then 2597Debug.Assert(ordering.Kind = SyntaxKind.DescendingOrdering) 2894Debug.Assert(item.Parent.Kind = SyntaxKind.SelectClause OrElse item.Parent.Kind = SyntaxKind.GroupByClause) 2900If item.Parent.Kind = SyntaxKind.LetClause AndAlso ShadowsRangeVariableInTheChildScope(shadowingCheckBinder, rangeVar) Then 3126Select Case absorbNextOperator.Kind 3157Throw ExceptionUtilities.UnexpectedValue(absorbNextOperator.Kind) 4028Select Case item.Aggregation.Kind 4031If item.Parent.Kind <> SyntaxKind.AggregateClause Then 4039Throw ExceptionUtilities.UnexpectedValue(item.Aggregation.Kind) 4126Debug.Assert(declaredNames Is Nothing OrElse syntax.Parent.Kind = SyntaxKind.SimpleJoinClause OrElse syntax.Parent.Kind = SyntaxKind.GroupJoinClause) 4214Debug.Assert(syntax.Parent.Kind = SyntaxKind.FromClause OrElse syntax.Parent.Kind = SyntaxKind.AggregateClause)
Binding\Binder_SelectCase.vb (7)
71Select Case node.Kind 148If node.Kind = SyntaxKind.CaseStatement Then 158Debug.Assert(node.Kind = SyntaxKind.CaseElseStatement) 171Select Case node.Kind 185Throw ExceptionUtilities.UnexpectedValue(node.Kind) 211Select Case node.Kind 219Throw ExceptionUtilities.UnexpectedValue(node.Kind)
Binding\Binder_Statements.vb (69)
24Select Case node.Kind 197(node.Parent.Kind = SyntaxKind.MultiLineSubLambdaExpression OrElse 198node.Parent.Kind = SyntaxKind.MultiLineFunctionLambdaExpression OrElse 199node.Parent.Kind = SyntaxKind.AddHandlerAccessorBlock OrElse 200node.Parent.Kind = SyntaxKind.RemoveHandlerAccessorBlock OrElse 201node.Parent.Kind = SyntaxKind.RaiseEventAccessorBlock OrElse 202node.Parent.Kind = SyntaxKind.MultiLineIfBlock OrElse 203node.Parent.Kind = SyntaxKind.ElseIfBlock OrElse 204node.Parent.Kind = SyntaxKind.ElseBlock OrElse 205node.Parent.Kind = SyntaxKind.SimpleDoLoopBlock OrElse 206node.Parent.Kind = SyntaxKind.DoWhileLoopBlock OrElse 207node.Parent.Kind = SyntaxKind.DoUntilLoopBlock OrElse 208node.Parent.Kind = SyntaxKind.WhileBlock OrElse 209node.Parent.Kind = SyntaxKind.WithBlock OrElse 210node.Parent.Kind = SyntaxKind.ForBlock OrElse 211node.Parent.Kind = SyntaxKind.ForEachBlock OrElse 212node.Parent.Kind = SyntaxKind.SyncLockBlock OrElse 213node.Parent.Kind = SyntaxKind.SelectBlock OrElse 214node.Parent.Kind = SyntaxKind.TryBlock OrElse 215node.Parent.Kind = SyntaxKind.UsingBlock))) 224If Not SyntaxFacts.IsDoLoopBlock(node.Parent.Kind) Then 235If Not node.Parent.Kind = SyntaxKind.CatchBlock Then 704Dim hasPreserveClause = node.Kind = SyntaxKind.ReDimPreserveStatement 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) 1154Dim isInitializedByAsNew As Boolean = asClauseOpt IsNot Nothing AndAlso asClauseOpt.Kind = SyntaxKind.AsNewClause 1207Select Case asNew.NewExpression.Kind 1233Throw ExceptionUtilities.UnexpectedValue(asNew.NewExpression.Kind) 1328If asClauseOpt IsNot Nothing AndAlso asClauseOpt.Kind = SyntaxKind.AsNewClause Then 1333If newExpression.Kind = SyntaxKind.AnonymousObjectCreationExpression Then 2141If Not op1.HasErrors AndAlso node.Kind = SyntaxKind.SimpleAssignmentStatement Then 2153ElseIf node.Kind = SyntaxKind.SimpleAssignmentStatement Then 2159Select Case node.Kind 2188Throw ExceptionUtilities.UnexpectedValue(node.Kind) 2198Debug.Assert(node IsNot Nothing AndAlso node.Kind = SyntaxKind.MidAssignmentStatement AndAlso node.Left.Kind = SyntaxKind.MidExpression) 2275Dim isRemoveHandler As Boolean = node.Kind = SyntaxKind.RemoveHandlerStatement 2293Dim method = If(node.Kind = SyntaxKind.AddHandlerStatement, eventSymbol.AddMethod, eventSymbol.RemoveMethod) 2307node.DelegateExpression.Kind = SyntaxKind.AddressOfExpression Then 2361If node.Kind = SyntaxKind.AddHandlerStatement Then 2385If node.Kind = SyntaxKind.AddHandlerStatement Then 2400While notParenthesizedSyntax.Kind = SyntaxKind.ParenthesizedExpression 2405If notQualifiedSyntax.Kind = SyntaxKind.SimpleMemberAccessExpression Then 2409If notQualifiedSyntax.Kind <> SyntaxKind.IdentifierName Then 2423If notParenthesizedSyntax.Kind = SyntaxKind.IdentifierName Then 2614Select Case expression.Kind 2826isTopUntil = (topConditionSyntax.Kind = SyntaxKind.UntilClause) 2839isBottomUntil = (bottomConditionSyntax.Kind = SyntaxKind.UntilClause) 2953If controlVariableSyntax.Kind = SyntaxKind.VariableDeclarator Then 2984If controlVariableSyntax.Kind = SyntaxKind.IdentifierName Then 3593Debug.Assert(controlVariableSyntax.Kind <> SyntaxKind.VariableDeclarator) 4904Dim targetLabel As LabelSymbol = GetExitLabel(node.Kind) 4908Select Case node.Kind 4917Case Else : ExceptionUtilities.UnexpectedValue(node.Kind) 4930Dim targetLabel As LabelSymbol = GetContinueLabel(node.Kind) 4934Select Case node.Kind 4938Case Else : ExceptionUtilities.UnexpectedValue(node.Kind) 5180Select Case curSyntax.Kind 5251Select Case node.Kind 5274Throw ExceptionUtilities.UnexpectedValue(node.Kind) 5286Select Case node.Kind 5313Throw ExceptionUtilities.UnexpectedValue(node.Kind)
Binding\Binder_Symbols.vb (13)
140Select Case syntaxWhole.Kind 368Dim typeIsQualifiedName = currTypeSyntax.Kind = SyntaxKind.QualifiedName 375If rightPart.Kind = SyntaxKind.GenericName Then 448If p IsNot Nothing AndAlso p.Kind = SyntaxKind.SimpleAsClause Then 450If p.Kind = SyntaxKind.Parameter Then 452If p.Kind = SyntaxKind.ParameterList Then 454Return p.Kind = SyntaxKind.DeclareFunctionStatement OrElse p.Kind = SyntaxKind.DeclareSubStatement 506If typeSyntax.Parent?.Kind = SyntaxKind.SimpleImportsClause Then 561Select Case typeSyntax.Kind 595Throw ExceptionUtilities.UnexpectedValue(typeSyntax.Kind) 1135Select Case typeSyntax.Kind 1160Throw ExceptionUtilities.UnexpectedValue(typeSyntax.Kind)
Binding\Binder_Utils.vb (6)
496If asClauseSyntaxOpt.Type.Kind = SyntaxKind.NullableType Then 503ElseIf asClauseSyntaxOpt.Kind = SyntaxKind.AsNewClause Then 546If asClauseSyntaxOpt.Type.Kind = SyntaxKind.ArrayType Then 548ElseIf asClauseSyntaxOpt.Type.Kind = SyntaxKind.NullableType Then 585Debug.Assert(asClauseOpt.Kind <> SyntaxKind.AsNewClause OrElse 586DirectCast(asClauseOpt, AsNewClauseSyntax).NewExpression.Kind <> SyntaxKind.AnonymousObjectCreationExpression)
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\Binder_XmlLiterals.vb (12)
156If nameSyntax.Kind = SyntaxKind.XmlEmbeddedExpression Then 200If syntax.Kind <> SyntaxKind.XmlEmptyElement Then 449If nameSyntax.Kind = SyntaxKind.XmlEmbeddedExpression Then 479If valueSyntax.Kind = SyntaxKind.XmlEmbeddedExpression Then 498matchesImport = (nameSyntax.Kind = SyntaxKind.XmlName) AndAlso MatchesXmlnsImport(DirectCast(nameSyntax, XmlNameSyntax), str) 608Select Case syntax.Kind 631Throw ExceptionUtilities.UnexpectedValue(syntax.Kind) 639Dim nameSyntax = If(syntax.Name.Kind = SyntaxKind.XmlName, 1182If syntax.Name.Kind = SyntaxKind.XmlEmbeddedExpression Then 1186Debug.Assert(syntax.Name.Kind = SyntaxKind.XmlName) 1196If valueSyntax.Kind <> SyntaxKind.XmlString Then 1197Debug.Assert(valueSyntax.Kind = SyntaxKind.XmlEmbeddedExpression)
Binding\BinderFactory.BinderFactoryVisitor.vb (6)
29If trivia IsNot Nothing AndAlso trivia.Kind = SyntaxKind.DocumentationCommentTrivia Then 39If trivia IsNot Nothing AndAlso trivia.Kind = SyntaxKind.DocumentationCommentTrivia Then 51If node.Name.Kind = SyntaxKind.XmlName Then 56If trivia IsNot Nothing AndAlso trivia.Kind = SyntaxKind.DocumentationCommentTrivia Then 62If trivia IsNot Nothing AndAlso trivia.Kind = SyntaxKind.DocumentationCommentTrivia Then 178If node.ContainsDiagnostics AndAlso node.Parent.Kind = SyntaxKind.SingleLineSubLambdaExpression Then
Binding\BinderFactory.vb (18)
165If node.Kind <> SyntaxKind.CompilationUnit OrElse _tree.Options.Kind = SourceCodeKind.Regular Then 201Return BuildNamespaceBinder(containingNamespaceBinder, nsBlockSyntax.NamespaceStatement.Name, nsBlockSyntax.Parent.Kind = SyntaxKind.CompilationUnit) 270Select Case methodBase.Kind 291Select Case node.Kind 340Throw ExceptionUtilities.UnexpectedValue(node.Kind) 376Select Case methodSyntax.Kind 430Throw ExceptionUtilities.UnexpectedValue(methodSyntax.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 607Select Case childName.Kind 622Throw ExceptionUtilities.UnexpectedValue(childName.Kind) 669Debug.Assert(node.Kind = SyntaxKind.Attribute) 679Select Case attributeBlock.Parent.Kind
Binding\DocumentationCommentBinder.vb (3)
115Select Case parent.Kind 118If element.Name.Kind <> SyntaxKind.XmlName Then 125If element.Name.Kind <> SyntaxKind.XmlName Then
Binding\DocumentationCommentCrefBinder_Compat.vb (11)
18Select Case nameFromCref.Kind 43While name IsNot Nothing And name.Kind <> SyntaxKind.CrefReference 44If name.Kind <> SyntaxKind.QualifiedName Then 65Select Case nameFromCref.Kind 77Throw ExceptionUtilities.UnexpectedValue(nameFromCref.Kind) 89Select Case left.Kind 102Throw ExceptionUtilities.UnexpectedValue(left.Kind) 119If right.Kind = SyntaxKind.GenericName Then 139Debug.Assert(right.Kind = SyntaxKind.IdentifierName) 295If node.Kind = SyntaxKind.GenericName Then 315Debug.Assert(node.Kind = SyntaxKind.IdentifierName)
Binding\DocumentationCommentCrefBinder.vb (27)
49If name.Kind = SyntaxKind.IdentifierName Then 57ElseIf name.Kind = SyntaxKind.PredefinedType Then 248Select Case crefName.Kind 257If qName.Right.Kind = SyntaxKind.GenericName Then 271Throw ExceptionUtilities.UnexpectedValue(crefName.Kind) 282Select Case typeSyntax.Kind 309If parent IsNot Nothing AndAlso parent.Kind = SyntaxKind.TypeArgumentList Then 312If name.Kind = SyntaxKind.IdentifierName Then 328Select Case name.Kind 332If parent IsNot Nothing AndAlso parent.Kind = SyntaxKind.QualifiedName Then 343If name.Kind = SyntaxKind.IdentifierName Then 356If parent IsNot Nothing AndAlso parent.Kind = SyntaxKind.QualifiedCrefOperatorReference Then 371Throw ExceptionUtilities.UnexpectedValue(name.Kind) 421Select Case node.Kind 489Select Case nameFromCref.Kind 512Throw ExceptionUtilities.UnexpectedValue(nameFromCref.Kind) 532If node.Kind = SyntaxKind.GenericName Then 548Debug.Assert(node.Kind = SyntaxKind.IdentifierName) 577Select Case left.Kind 592Throw ExceptionUtilities.UnexpectedValue(left.Kind) 609If right.Kind = SyntaxKind.GenericName Then 626Debug.Assert(right.Kind = SyntaxKind.IdentifierName) 655Select Case left.Kind 667Throw ExceptionUtilities.UnexpectedValue(left.Kind) 831Select Case typeSyntax.Kind 1090Select Case name.Kind 1115Throw ExceptionUtilities.UnexpectedValue(name.Kind)
Binding\EarlyWellKnownAttributeBinder.vb (1)
87Select Case node.Kind
Binding\ForOrForEachBlockBinder.vb (3)
46If _syntax.Kind = SyntaxKind.ForBlock Then 67If(_syntax.Kind = SyntaxKind.ForEachBlock, 108If _syntax.Kind = SyntaxKind.ForBlock 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\LocalBinderBuilder.vb (7)
113Select Case methodBlock.BlockStatement.Kind 136Throw ExceptionUtilities.UnexpectedValue(methodBlock.BlockStatement.Kind) 150Select Case node.Kind 156Throw ExceptionUtilities.UnexpectedValue(node.Kind) 163If node.Kind = SyntaxKind.SingleLineSubLambdaExpression Then 182Select Case node.Kind 188Throw ExceptionUtilities.UnexpectedValue(node.Kind)
Binding\MemberSemanticModel.vb (16)
259Select Case node.Kind 399Throw ExceptionUtilities.UnexpectedValue(node.Kind) 513If parent IsNot Nothing AndAlso parent.Kind = SyntaxKind.ParameterList Then 578Select Case parent.Kind 587Select Case parent.Kind 928Dim nodeKind As SyntaxKind = node.Kind 935node.Parent IsNot Nothing AndAlso node.Parent.Kind = SyntaxKind.QueryExpression Then 975Debug.Assert(node.Parent IsNot Nothing AndAlso node.Parent.Kind = SyntaxKind.LetClause) 1531(item.Parent.Kind <> SyntaxKind.AggregateClause AndAlso 1533Not (item.Parent.Parent.Kind = SyntaxKind.QueryExpression AndAlso 1655Debug.Assert(TypeOf node Is QueryClauseSyntax OrElse node.Kind = SyntaxKind.FunctionAggregation OrElse 1656(node.Kind = SyntaxKind.ExpressionRangeVariable AndAlso node.Parent.Kind = SyntaxKind.LetClause) OrElse 1657node.Kind = SyntaxKind.CollectionRangeVariable) 1754If parent IsNot Nothing AndAlso parent.Kind = SyntaxKind.WithStatement Then 1756Return parent IsNot Nothing AndAlso parent.Kind = SyntaxKind.WithBlock AndAlso parent.Parent IsNot Nothing
Binding\MethodBodyBinder.vb (3)
58Select Case methodBlock.Kind 68methodBlock.Parent.Kind = SyntaxKind.PropertyBlock Then 85methodBlock.Parent.Kind = SyntaxKind.EventBlock Then
Binding\StatementListBinder.vb (1)
68(declarator.AsClause Is Nothing OrElse declarator.AsClause.Kind <> SyntaxKind.AsNewClause)
Compilation\DocumentationComments\DocumentationCommentCompiler.Common.vb (6)
310If xmlAttr.Name.Kind <> SyntaxKind.XmlName OrElse xmlAttr.Value.Kind <> SyntaxKind.XmlString Then 354If nameAttrName.Kind = SyntaxKind.XmlName AndAlso 616Select Case element.Kind 647If nameAttrName.Kind = SyntaxKind.XmlName AndAlso 657If(value.Kind = SyntaxKind.XmlString,
Compilation\DocumentationComments\DocumentationCommentCompiler.Includes.vb (4)
618Select Case attr.Kind 708Throw ExceptionUtilities.UnexpectedValue(attr.Kind) 756Select Case attr.Kind 782Throw ExceptionUtilities.UnexpectedValue(attr.Kind)
Compilation\DocumentationComments\DocumentationCommentWalker.vb (1)
66If name.Kind <> SyntaxKind.XmlName Then
Compilation\DocumentationComments\UnprocessedDocumentationCommentFinder.vb (1)
143Select Case parent.Kind
Compilation\QuerySymbolInfo.vb (3)
102(aggregateSyntax.Parent.Kind = SyntaxKind.QueryExpression AndAlso 146Select Case clauseSyntax.Kind 173If variableSyntax.Parent Is Nothing OrElse variableSyntax.Parent.Kind <> SyntaxKind.LetClause Then
Compilation\SemanticModel.vb (15)
120If node.Kind = SyntaxKind.XmlName Then 184If expression.Parent IsNot Nothing AndAlso expression.Parent.Kind = SyntaxKind.CollectionInitializer AndAlso 185expression.Parent.Parent IsNot Nothing AndAlso expression.Parent.Parent.Kind = SyntaxKind.ObjectCollectionInitializer AndAlso 187expression.Parent.Parent.Parent IsNot Nothing AndAlso expression.Parent.Parent.Parent.Kind = SyntaxKind.ObjectCreationExpression AndAlso 664Select Case node.Kind 684Select Case parent.Kind 2768If identifierNameSyntax.Parent.Parent.Parent.Parent.Kind = SyntaxKind.RaiseEventStatement Then 2877If node.Parent IsNot Nothing AndAlso node.Parent.Kind = SyntaxKind.ForEachBlock Then 2889If node.Kind = SyntaxKind.ForEachBlock Then 3248Select Case node.Kind 3588Return String.Format("{0}: {1} ({2})", Me.SyntaxTree.FilePath, node.Kind.ToString(), node.Position) 3593Return String.Format("{0}: {1} ({2}) at {3}", Me.SyntaxTree.FilePath, node.Kind.ToString(), node.Position, position) 3603Return String.Format("{0}: {1} ({2}) -> {3} {4}", Me.SyntaxTree.FilePath, expression.Kind.ToString(), expression.Position, type.TypeKind.ToString(), type.Name) 3608Return String.Format("{0}: {1} ({2}) -> {3} {4} at {5}", Me.SyntaxTree.FilePath, expression.Kind.ToString(), expression.Position, type.TypeKind.ToString(), type.Name, position) 3613Return String.Format("{0}: {1} ({2}) at {3} ({4})", Me.SyntaxTree.FilePath, expression.Kind.ToString(), expression.Position, position, [option].ToString())
Compilation\SyntaxTreeSemanticModel.vb (40)
239If parent.Kind <> SyntaxKind.HandlesClauseItem Then 310If parent.Kind <> SyntaxKind.HandlesClauseItem Then 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 584Dim isCrefAttribute As Boolean = attributeNode.Kind = SyntaxKind.XmlCrefAttribute 585Debug.Assert(isCrefAttribute OrElse attributeNode.Kind = SyntaxKind.XmlNameAttribute) 603If node.Kind = SyntaxKind.CrefReference Then 607isTopLevel = node.Parent IsNot Nothing AndAlso node.Parent.Kind = SyntaxKind.CrefReference 648expression.Parent.Kind = SyntaxKind.QualifiedName AndAlso 967If declarationSyntax.Kind = SyntaxKind.DelegateFunctionStatement OrElse 968declarationSyntax.Kind = SyntaxKind.DelegateSubStatement Then 977Select Case statementSyntax.Kind 987Select Case statementSyntax.Parent.Kind 1026Debug.Assert(statementSyntax.Kind = SyntaxKind.NamespaceBlock AndAlso 1557If expression.Kind = SyntaxKind.IdentifierName AndAlso 1558expressionParent IsNot Nothing AndAlso expressionParent.Kind = SyntaxKind.SimpleMemberAccessExpression AndAlso 1570If expression.Kind = SyntaxKind.NumericLiteralExpression 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 1719If expression.Kind = SyntaxKind.PredefinedType OrElse SyntaxFacts.IsInNamespaceOrTypeContext(expression) Then 1728Select Case expression.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 (6)
132Debug.Assert(parent.Kind = SyntaxKind.CompilationUnit AndAlso _syntaxTree.Options.Kind <> SourceCodeKind.Regular) 354If name.Kind = SyntaxKind.GlobalName Then 355If nsBlockSyntax.Parent.Kind = SyntaxKind.CompilationUnit Then 491Select Case typeBlockSyntax.Kind 509kind:=GetKind(declarationSyntax.Kind), 559kind:=GetKind(declarationSyntax.Kind),
Generated\Syntax.xml.Main.Generated.vb (556)
1493Return New EmptyStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newEmpty) 1508Return New EndBlockStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newEndKeyword, newBlockKeyword) 1529Return New CompilationUnitSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOptions.Node, newImports.Node, newAttributes.Node, newMembers.Node, newEndOfFileToken) 1546Return New OptionStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOptionKeyword, newNameKeyword, newValueKeyword) 1561Return New ImportsStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newImportsKeyword, newImportsClauses.Node) 1576Return New SimpleImportsClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAlias, newName) 1591Return New ImportAliasClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newIdentifier, newEqualsToken) 1608Return New XmlNamespaceImportsClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLessThanToken, newXmlNamespace, newGreaterThanToken) 1625Return New NamespaceBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newNamespaceStatement, newMembers.Node, newEndNamespaceStatement) 1640Return New NamespaceStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newNamespaceKeyword, newName) 1661Return New ModuleBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newModuleStatement, newInherits.Node, newImplements.Node, newMembers.Node, newEndModuleStatement) 1682Return New StructureBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newStructureStatement, newInherits.Node, newImplements.Node, newMembers.Node, newEndStructureStatement) 1703Return New InterfaceBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newInterfaceStatement, newInherits.Node, newImplements.Node, newMembers.Node, newEndInterfaceStatement) 1724Return New ClassBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newClassStatement, newInherits.Node, newImplements.Node, newMembers.Node, newEndClassStatement) 1741Return New EnumBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newEnumStatement, newMembers.Node, newEndEnumStatement) 1756Return New InheritsStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newInheritsKeyword, newTypes.Node) 1771Return New ImplementsStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newImplementsKeyword, newTypes.Node) 1792Return New ModuleStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newModuleKeyword, newIdentifier, newTypeParameterList) 1813Return New StructureStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newStructureKeyword, newIdentifier, newTypeParameterList) 1834Return New InterfaceStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newInterfaceKeyword, newIdentifier, newTypeParameterList) 1855Return New ClassStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newClassKeyword, newIdentifier, newTypeParameterList) 1876Return New EnumStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newEnumKeyword, newIdentifier, newUnderlyingType) 1895Return New TypeParameterListSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOpenParenToken, newOfKeyword, newParameters.Node, newCloseParenToken) 1912Return New TypeParameterSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newVarianceKeyword, newIdentifier, newTypeParameterConstraintClause) 1927Return New TypeParameterSingleConstraintClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAsKeyword, newConstraint) 1946Return New TypeParameterMultipleConstraintClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAsKeyword, newOpenBraceToken, newConstraints.Node, newCloseBraceToken) 1959Return New SpecialConstraintSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newConstraintKeyword) 1972Return New TypeConstraintSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newType) 1989Return New EnumMemberDeclarationSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newIdentifier, newInitializer) 2006Return New MethodBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newSubOrFunctionStatement, newStatements.Node, newEndSubOrFunctionStatement) 2023Return New ConstructorBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newSubNewStatement, newStatements.Node, newEndSubStatement) 2040Return New OperatorBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOperatorStatement, newStatements.Node, newEndOperatorStatement) 2057Return New AccessorBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAccessorStatement, newStatements.Node, newEndAccessorStatement) 2074Return New PropertyBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newPropertyStatement, newAccessors.Node, newEndPropertyStatement) 2091Return New EventBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newEventStatement, newAccessors.Node, newEndEventStatement) 2108Return New ParameterListSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOpenParenToken, newParameters.Node, newCloseParenToken) 2137Return New MethodStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newSubOrFunctionKeyword, newIdentifier, newTypeParameterList, newParameterList, newAsClause, newHandlesClause, newImplementsClause) 2158Return New SubNewStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newSubKeyword, newNewKeyword, newParameterList) 2193Return New DeclareStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newDeclareKeyword, newCharsetKeyword, newSubOrFunctionKeyword, newIdentifier, newLibKeyword, newLibraryName, newAliasKeyword, newAliasName, newParameterList, newAsClause) 2220Return New DelegateStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newDelegateKeyword, newSubOrFunctionKeyword, newIdentifier, newTypeParameterList, newParameterList, newAsClause) 2247Return New EventStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newCustomKeyword, newEventKeyword, newIdentifier, newParameterList, newAsClause, newImplementsClause) 2270Return New OperatorStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newOperatorKeyword, newOperatorToken, newParameterList, newAsClause) 2297Return New PropertyStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newPropertyKeyword, newIdentifier, newParameterList, newAsClause, newInitializer, newImplementsClause) 2316Return New AccessorStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newAccessorKeyword, newParameterList) 2331Return New ImplementsClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newImplementsKeyword, newInterfaceMembers.Node) 2346Return New HandlesClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newHandlesKeyword, newEvents.Node) 2359Return New KeywordEventContainerSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newKeyword) 2372Return New WithEventsEventContainerSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newIdentifier) 2389Return New WithEventsPropertyEventContainerSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newWithEventsContainer, newDotToken, newProperty) 2406Return New HandlesClauseItemSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newEventContainer, newDotToken, newEventMember) 2423Return New IncompleteMemberSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newMissingIdentifier) 2440Return New FieldDeclarationSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newDeclarators.Node) 2457Return New VariableDeclaratorSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newNames.Node, newAsClause, newInitializer) 2474Return New SimpleAsClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAsKeyword, newAttributeLists.Node, newType) 2489Return New AsNewClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAsKeyword, newNewExpression) 2508Return New ObjectMemberInitializerSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newWithKeyword, newOpenBraceToken, newInitializers.Node, newCloseBraceToken) 2523Return New ObjectCollectionInitializerSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newFromKeyword, newInitializer) 2538Return New InferredFieldInitializerSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newKeyKeyword, newExpression) 2559Return New NamedFieldInitializerSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newKeyKeyword, newDotToken, newName, newEqualsToken, newExpression) 2574Return New EqualsValueSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newEqualsToken, newValue) 2595Return New ParameterSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newIdentifier, newAsClause, newDefault) 2614Return New ModifiedIdentifierSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newIdentifier, newNullable, newArrayBounds, newArrayRankSpecifiers.Node) 2631Return New ArrayRankSpecifierSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOpenParenToken, newCommaTokens.Node, newCloseParenToken) 2648Return New AttributeListSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLessThanToken, newAttributes.Node, newGreaterThanToken) 2665Return New AttributeSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newTarget, newName, newArgumentList) 2680Return New AttributeTargetSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeModifier, newColonToken) 2693Return New AttributesStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node) 2706Return New ExpressionStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newExpression) 2721Return New PrintStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newQuestionToken, newExpression) 2738Return New WhileBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newWhileStatement, newStatements.Node, newEndWhileStatement) 2755Return New UsingBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newUsingStatement, newStatements.Node, newEndUsingStatement) 2772Return New SyncLockBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newSyncLockStatement, newStatements.Node, newEndSyncLockStatement) 2789Return New WithBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newWithStatement, newStatements.Node, newEndWithStatement) 2804Return New LocalDeclarationStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newModifiers.Node, newDeclarators.Node) 2819Return New LabelStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLabelToken, newColonToken) 2834Return New GoToStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newGoToKeyword, newLabel) 2847Return New LabelSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLabelToken) 2860Return New StopOrEndStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newStopOrEndKeyword) 2875Return New ExitStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newExitKeyword, newBlockKeyword) 2890Return New ContinueStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newContinueKeyword, newBlockKeyword) 2905Return New ReturnStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newReturnKeyword, newExpression) 2926Return New SingleLineIfStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newIfKeyword, newCondition, newThenKeyword, newStatements.Node, newElseClause) 2941Return New SingleLineElseClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newElseKeyword, newStatements.Node) 2962Return New MultiLineIfBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newIfStatement, newStatements.Node, newElseIfBlocks.Node, newElseBlock, newEndIfStatement) 2979Return New IfStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newIfKeyword, newCondition, newThenKeyword) 2994Return New ElseIfBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newElseIfStatement, newStatements.Node) 3011Return New ElseIfStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newElseIfKeyword, newCondition, newThenKeyword) 3026Return New ElseBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newElseStatement, newStatements.Node) 3039Return New ElseStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newElseKeyword) 3060Return New TryBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newTryStatement, newStatements.Node, newCatchBlocks.Node, newFinallyBlock, newEndTryStatement) 3073Return New TryStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newTryKeyword) 3088Return New CatchBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newCatchStatement, newStatements.Node) 3107Return New CatchStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newCatchKeyword, newIdentifierName, newAsClause, newWhenClause) 3122Return New CatchFilterClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newWhenKeyword, newFilter) 3137Return New FinallyBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newFinallyStatement, newStatements.Node) 3150Return New FinallyStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newFinallyKeyword) 3165Return New ErrorStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newErrorKeyword, newErrorNumber) 3186Return New OnErrorGoToStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOnKeyword, newErrorKeyword, newGoToKeyword, newMinus, newLabel) 3205Return New OnErrorResumeNextStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOnKeyword, newErrorKeyword, newResumeKeyword, newNextKeyword) 3220Return New ResumeStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newResumeKeyword, newLabel) 3237Return New SelectBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newSelectStatement, newCaseBlocks.Node, newEndSelectStatement) 3254Return New SelectStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newSelectKeyword, newCaseKeyword, newExpression) 3269Return New CaseBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newCaseStatement, newStatements.Node) 3284Return New CaseStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newCaseKeyword, newCases.Node) 3297Return New ElseCaseClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newElseKeyword) 3310Return New SimpleCaseClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newValue) 3327Return New RangeCaseClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLowerBound, newToKeyword, newUpperBound) 3344Return New RelationalCaseClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newIsKeyword, newOperatorToken, newValue) 3359Return New SyncLockStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newSyncLockKeyword, newExpression) 3376Return New DoLoopBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newDoStatement, newStatements.Node, newLoopStatement) 3391Return New DoStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newDoKeyword, newWhileOrUntilClause) 3406Return New LoopStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLoopKeyword, newWhileOrUntilClause) 3421Return New WhileOrUntilClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newWhileOrUntilKeyword, newCondition) 3436Return New WhileStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newWhileKeyword, newCondition) 3453Return New ForBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newForStatement, newStatements.Node, newNextStatement) 3470Return New ForEachBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newForEachStatement, newStatements.Node, newNextStatement) 3495Return New ForStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newForKeyword, newControlVariable, newEqualsToken, newFromValue, newToKeyword, newToValue, newStepClause) 3510Return New ForStepClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newStepKeyword, newStepValue) 3531Return New ForEachStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newForKeyword, newEachKeyword, newControlVariable, newInKeyword, newExpression) 3546Return New NextStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newNextKeyword, newControlVariables.Node) 3563Return New UsingStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newUsingKeyword, newExpression, newVariables.Node) 3578Return New ThrowStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newThrowKeyword, newExpression) 3595Return New AssignmentStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLeft, newOperatorToken, newRight) 3610Return New MidExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newMid, newArgumentList) 3625Return New CallStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newCallKeyword, newInvocation) 3644Return New AddRemoveHandlerStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAddHandlerOrRemoveHandlerKeyword, newEventExpression, newCommaToken, newDelegateExpression) 3661Return New RaiseEventStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newRaiseEventKeyword, newName, newArgumentList) 3676Return New WithStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newWithKeyword, newExpression) 3693Return New ReDimStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newReDimKeyword, newPreserveKeyword, newClauses.Node) 3708Return New RedimClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newExpression, newArrayBounds) 3723Return New EraseStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newEraseKeyword, newExpressions.Node) 3736Return New LiteralExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newToken) 3753Return New ParenthesizedExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOpenParenToken, newExpression, newCloseParenToken) 3770Return New TupleExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOpenParenToken, newArguments.Node, newCloseParenToken) 3787Return New TupleTypeSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOpenParenToken, newElements.Node, newCloseParenToken) 3800Return New TypedTupleElementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newType) 3815Return New NamedTupleElementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newIdentifier, newAsClause) 3828Return New MeExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newKeyword) 3841Return New MyBaseExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newKeyword) 3854Return New MyClassExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newKeyword) 3873Return New GetTypeExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newGetTypeKeyword, newOpenParenToken, newType, newCloseParenToken) 3892Return New TypeOfExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newTypeOfKeyword, newExpression, newOperatorToken, newType) 3911Return New GetXmlNamespaceExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newGetXmlNamespaceKeyword, newOpenParenToken, newName, newCloseParenToken) 3928Return New MemberAccessExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newExpression, newOperatorToken, newName) 3949Return New XmlMemberAccessExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newBase, newToken1, newToken2, newToken3, newName) 3964Return New InvocationExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newExpression, newArgumentList) 3985Return New ObjectCreationExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newNewKeyword, newAttributeLists.Node, newType, newArgumentList, newInitializer) 4002Return New AnonymousObjectCreationExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newNewKeyword, newAttributeLists.Node, newInitializer) 4025Return New ArrayCreationExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newNewKeyword, newAttributeLists.Node, newType, newArrayBounds, newRankSpecifiers.Node, newInitializer) 4042Return New CollectionInitializerSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOpenBraceToken, newInitializers.Node, newCloseBraceToken) 4065Return New CTypeExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newKeyword, newOpenParenToken, newExpression, newCommaToken, newType, newCloseParenToken) 4088Return New DirectCastExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newKeyword, newOpenParenToken, newExpression, newCommaToken, newType, newCloseParenToken) 4111Return New TryCastExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newKeyword, newOpenParenToken, newExpression, newCommaToken, newType, newCloseParenToken) 4130Return New PredefinedCastExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newKeyword, newOpenParenToken, newExpression, newCloseParenToken) 4147Return New BinaryExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLeft, newOperatorToken, newRight) 4162Return New UnaryExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOperatorToken, newOperand) 4185Return New BinaryConditionalExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newIfKeyword, newOpenParenToken, newFirstExpression, newCommaToken, newSecondExpression, newCloseParenToken) 4212Return New TernaryConditionalExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newIfKeyword, newOpenParenToken, newCondition, newFirstCommaToken, newWhenTrue, newSecondCommaToken, newWhenFalse, newCloseParenToken) 4227Return New SingleLineLambdaExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newSubOrFunctionHeader, newBody) 4244Return New MultiLineLambdaExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newSubOrFunctionHeader, newStatements.Node, newEndSubOrFunctionStatement) 4265Return New LambdaHeaderSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newSubOrFunctionKeyword, newParameterList, newAsClause) 4282Return New ArgumentListSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOpenParenToken, newArguments.Node, newCloseParenToken) 4295Return New OmittedArgumentSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newEmpty) 4310Return New SimpleArgumentSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newNameColonEquals, newExpression) 4325Return New NameColonEqualsSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newName, newColonEqualsToken) 4342Return New RangeArgumentSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLowerBound, newToKeyword, newUpperBound) 4355Return New QueryExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newClauses.Node) 4374Return New CollectionRangeVariableSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newIdentifier, newAsClause, newInKeyword, newExpression) 4389Return New ExpressionRangeVariableSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newNameEquals, newExpression) 4404Return New AggregationRangeVariableSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newNameEquals, newAggregation) 4421Return New VariableNameEqualsSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newIdentifier, newAsClause, newEqualsToken) 4440Return New FunctionAggregationSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newFunctionName, newOpenParenToken, newArgument, newCloseParenToken) 4453Return New GroupAggregationSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newGroupKeyword) 4468Return New FromClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newFromKeyword, newVariables.Node) 4483Return New LetClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLetKeyword, newVariables.Node) 4504Return New AggregateClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAggregateKeyword, newVariables.Node, newAdditionalQueryOperators.Node, newIntoKeyword, newAggregationVariables.Node) 4517Return New DistinctClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newDistinctKeyword) 4532Return New WhereClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newWhereKeyword, newCondition) 4549Return New PartitionWhileClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newSkipOrTakeKeyword, newWhileKeyword, newCondition) 4564Return New PartitionClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newSkipOrTakeKeyword, newCount) 4587Return New GroupByClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newGroupKeyword, newItems.Node, newByKeyword, newKeys.Node, newIntoKeyword, newAggregationVariables.Node) 4604Return New JoinConditionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLeft, newEqualsKeyword, newRight) 4625Return New SimpleJoinClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newJoinKeyword, newJoinedVariables.Node, newAdditionalJoins.Node, newOnKeyword, newJoinConditions.Node) 4652Return New GroupJoinClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newGroupKeyword, newJoinKeyword, newJoinedVariables.Node, newAdditionalJoins.Node, newOnKeyword, newJoinConditions.Node, newIntoKeyword, newAggregationVariables.Node) 4669Return New OrderByClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOrderKeyword, newByKeyword, newOrderings.Node) 4684Return New OrderingSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newExpression, newAscendingOrDescendingKeyword) 4699Return New SelectClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newSelectKeyword, newVariables.Node) 4718Return New XmlDocumentSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newDeclaration, newPrecedingMisc.Node, newRoot, newFollowingMisc.Node) 4741Return New XmlDeclarationSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLessThanQuestionToken, newXmlKeyword, newVersion, newEncoding, newStandalone, newQuestionGreaterThanToken) 4758Return New XmlDeclarationOptionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newName, newEquals, newValue) 4775Return New XmlElementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newStartTag, newContent.Node, newEndTag) 4788Return New XmlTextSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newTextTokens.Node) 4807Return New XmlElementStartTagSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLessThanToken, newName, newAttributes.Node, newGreaterThanToken) 4824Return New XmlElementEndTagSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLessThanSlashToken, newName, newGreaterThanToken) 4843Return New XmlEmptyElementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLessThanToken, newName, newAttributes.Node, newSlashGreaterThanToken) 4860Return New XmlAttributeSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newName, newEqualsToken, newValue) 4877Return New XmlStringSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newStartQuoteToken, newTextTokens.Node, newEndQuoteToken) 4890Return New XmlPrefixNameSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newName) 4905Return New XmlNameSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newPrefix, newLocalName) 4922Return New XmlBracketedNameSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLessThanToken, newName, newGreaterThanToken) 4937Return New XmlPrefixSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newName, newColonToken) 4954Return New XmlCommentSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLessThanExclamationMinusMinusToken, newTextTokens.Node, newMinusMinusGreaterThanToken) 4973Return New XmlProcessingInstructionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLessThanQuestionToken, newName, newTextTokens.Node, newQuestionGreaterThanToken) 4990Return New XmlCDataSectionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newBeginCDataToken, newTextTokens.Node, newEndCDataToken) 5007Return New XmlEmbeddedExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLessThanPercentEqualsToken, newExpression, newPercentGreaterThanToken) 5022Return New ArrayTypeSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newElementType, newRankSpecifiers.Node) 5037Return New NullableTypeSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newElementType, newQuestionMarkToken) 5050Return New PredefinedTypeSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newKeyword) 5063Return New IdentifierNameSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newIdentifier) 5078Return New GenericNameSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newIdentifier, newTypeArgumentList) 5095Return New QualifiedNameSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLeft, newDotToken, newRight) 5108Return New GlobalNameSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newGlobalKeyword) 5127Return New TypeArgumentListSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOpenParenToken, newOfKeyword, newArguments.Node, newCloseParenToken) 5144Return New CrefReferenceSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newName, newSignature, newAsClause) 5161Return New CrefSignatureSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOpenParenToken, newArgumentTypes.Node, newCloseParenToken) 5176Return New CrefSignaturePartSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newModifier, newType) 5191Return New CrefOperatorReferenceSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOperatorKeyword, newOperatorToken) 5208Return New QualifiedCrefOperatorReferenceSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLeft, newDotToken, newRight) 5223Return New YieldStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newYieldKeyword, newExpression) 5238Return New AwaitExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAwaitKeyword, newExpression) 5251Return New SkippedTokensTriviaSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newTokens.Node) 5264Return New DocumentationCommentTriviaSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newContent.Node) 5285Return New XmlCrefAttributeSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newName, newEqualsToken, newStartQuoteToken, newReference, newEndQuoteToken) 5306Return New XmlNameAttributeSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newName, newEqualsToken, newStartQuoteToken, newReference, newEndQuoteToken) 5323Return New ConditionalAccessExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newExpression, newQuestionMarkToken, newWhenNotNull) 5342Return New NameOfExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newNameOfKeyword, newOpenParenToken, newArgument, newCloseParenToken) 5359Return New InterpolatedStringExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newDollarSignDoubleQuoteToken, newContents.Node, newDoubleQuoteToken) 5372Return New InterpolatedStringTextSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newTextToken) 5393Return New InterpolationSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOpenBraceToken, newExpression, newAlignmentClause, newFormatClause, newCloseBraceToken) 5408Return New InterpolationAlignmentClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newCommaToken, newValue) 5423Return New InterpolationFormatClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newColonToken, newFormatStringToken) 5444Return New ConstDirectiveTriviaSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newHashToken, newConstKeyword, newName, newEqualsToken, newValue) 5465Return New IfDirectiveTriviaSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newHashToken, newElseKeyword, newIfOrElseIfKeyword, newCondition, newThenKeyword) 5480Return New ElseDirectiveTriviaSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newHashToken, newElseKeyword) 5497Return New EndIfDirectiveTriviaSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newHashToken, newEndKeyword, newIfKeyword) 5514Return New RegionDirectiveTriviaSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newHashToken, newRegionKeyword, newName) 5531Return New EndRegionDirectiveTriviaSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newHashToken, newEndKeyword, newRegionKeyword) 5556Return New ExternalSourceDirectiveTriviaSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newHashToken, newExternalSourceKeyword, newOpenParenToken, newExternalSource, newCommaToken, newLineStart, newCloseParenToken) 5573Return New EndExternalSourceDirectiveTriviaSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newHashToken, newEndKeyword, newExternalSourceKeyword) 5602Return New ExternalChecksumDirectiveTriviaSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newHashToken, newExternalChecksumKeyword, newOpenParenToken, newExternalSource, newFirstCommaToken, newGuid, newSecondCommaToken, newChecksum, newCloseParenToken) 5621Return New EnableWarningDirectiveTriviaSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newHashToken, newEnableKeyword, newWarningKeyword, newErrorCodes.Node) 5640Return New DisableWarningDirectiveTriviaSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newHashToken, newDisableKeyword, newWarningKeyword, newErrorCodes.Node) 5657Return New ReferenceDirectiveTriviaSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newHashToken, newReferenceKeyword, newFile) 5670Return New BadDirectiveTriviaSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newHashToken) 6829Select Case name.Kind() 6916Select Case xmlNamespace.Kind() 6957Select Case namespaceStatement.Kind() 6965Select Case endNamespaceStatement.Kind() 7018Select Case name.Kind() 7067Select Case moduleStatement.Kind() 7075Select Case endModuleStatement.Kind() 7140Select Case structureStatement.Kind() 7148Select Case endStructureStatement.Kind() 7213Select Case interfaceStatement.Kind() 7221Select Case endInterfaceStatement.Kind() 7286Select Case classStatement.Kind() 7294Select Case endClassStatement.Kind() 7353Select Case enumStatement.Kind() 7361Select Case endEnumStatement.Kind() 8031Select Case constraint.Kind() 8221Select Case type.Kind() 8288Select Case subOrFunctionStatement.Kind() 8297Select Case endSubOrFunctionStatement.Kind() 8351Select Case subOrFunctionStatement.Kind() 8359Select Case endSubOrFunctionStatement.Kind() 8488Select Case subNewStatement.Kind() 8496Select Case endSubStatement.Kind() 8549Select Case operatorStatement.Kind() 8557Select Case endOperatorStatement.Kind() 8613Select Case accessorStatement.Kind() 8625Select Case endAccessorStatement.Kind() 8689Select Case accessorStatement.Kind() 8697Select Case endAccessorStatement.Kind() 8757Select Case accessorStatement.Kind() 8765Select Case endAccessorStatement.Kind() 8825Select Case accessorStatement.Kind() 8833Select Case endAccessorStatement.Kind() 8893Select Case accessorStatement.Kind() 8901Select Case endAccessorStatement.Kind() 9055Select Case propertyStatement.Kind() 9063Select Case endPropertyStatement.Kind() 9106Select Case eventStatement.Kind() 9114Select Case endEventStatement.Kind() 9700Select Case libraryName.Kind() 9852Select Case libraryName.Kind() 10009Select Case libraryName.Kind() 11423Select Case withEventsContainer.Kind() 11436Select Case [property].Kind() 11478Select Case eventContainer.Kind() 11492Select Case eventMember.Kind() 11673Select Case type.Kind() 11742Select Case newExpression.Kind() 11843Select Case initializer.Kind() 11878Select Case expression.Kind() 11929Select Case name.Kind() 11942Select Case expression.Kind() 12089Select Case value.Kind() 12240Select Case identifier.Kind() 12426Select Case name.Kind() 12525Select Case expression.Kind() 12656Select Case expression.Kind() 12797Select Case whileStatement.Kind() 12805Select Case endWhileStatement.Kind() 12859Select Case usingStatement.Kind() 12867Select Case endUsingStatement.Kind() 12922Select Case syncLockStatement.Kind() 12930Select Case endSyncLockStatement.Kind() 12985Select Case withStatement.Kind() 12993Select Case endWithStatement.Kind() 13115Select Case label.Kind() 13963Select Case condition.Kind() 14176Select Case ifStatement.Kind() 14184Select Case endIfStatement.Kind() 14250Select Case condition.Kind() 14388Select Case elseIfStatement.Kind() 14429Select Case condition.Kind() 14566Select Case elseStatement.Kind() 14641Select Case tryStatement.Kind() 14649Select Case endTryStatement.Kind() 14722Select Case catchStatement.Kind() 14812Select Case filter.Kind() 14949Select Case finallyStatement.Kind() 15019Select Case errorNumber.Kind() 15181Select Case label.Kind() 15242Select Case label.Kind() 15303Select Case label.Kind() 15372Select Case label.Kind() 15663Select Case selectStatement.Kind() 15671Select Case endSelectStatement.Kind() 15729Select Case expression.Kind() 15867Select Case caseStatement.Kind() 15901Select Case caseStatement.Kind() 15942Select Case caseStatement.Kind() 16166Select Case value.Kind() 16295Select Case lowerBound.Kind() 16412Select Case upperBound.Kind() 16566Select Case value.Kind() 16712Select Case value.Kind() 16858Select Case value.Kind() 17004Select Case value.Kind() 17150Select Case value.Kind() 17296Select Case value.Kind() 17449Select Case value.Kind() 17620Select Case expression.Kind() 17762Select Case doStatement.Kind() 17772Select Case loopStatement.Kind() 17815Select Case doStatement.Kind() 17823Select Case loopStatement.Kind() 17864Select Case doStatement.Kind() 17872Select Case loopStatement.Kind() 17913Select Case doStatement.Kind() 17921Select Case loopStatement.Kind() 17962Select Case doStatement.Kind() 17970Select Case loopStatement.Kind() 18477Select Case condition.Kind() 18623Select Case condition.Kind() 18774Select Case condition.Kind() 18916Select Case condition.Kind() 19061Select Case forStatement.Kind() 19103Select Case forEachStatement.Kind() 19166Select Case controlVariable.Kind() 19284Select Case fromValue.Kind() 19401Select Case toValue.Kind() 19585Select Case stepValue.Kind() 19750Select Case controlVariable.Kind() 19868Select Case expression.Kind() 20161Select Case left.Kind() 20287Select Case right.Kind() 20433Select Case left.Kind() 20550Select Case right.Kind() 20696Select Case left.Kind() 20813Select Case right.Kind() 20959Select Case left.Kind() 21076Select Case right.Kind() 21222Select Case left.Kind() 21339Select Case right.Kind() 21485Select Case left.Kind() 21602Select Case right.Kind() 21748Select Case left.Kind() 21865Select Case right.Kind() 22011Select Case left.Kind() 22128Select Case right.Kind() 22274Select Case left.Kind() 22391Select Case right.Kind() 22537Select Case left.Kind() 22654Select Case right.Kind() 22800Select Case left.Kind() 22917Select Case right.Kind() 23075Select Case left.Kind() 23190Select Case right.Kind() 23349Select Case argumentList.Kind() 23391Select Case invocation.Kind() 23439Select Case eventExpression.Kind() 23556Select Case delegateExpression.Kind() 23709Select Case eventExpression.Kind() 23826Select Case delegateExpression.Kind() 23985Select Case eventExpression.Kind() 24102Select Case delegateExpression.Kind() 24269Select Case name.Kind() 24323Select Case expression.Kind() 24612Select Case expression.Kind() 24724Select Case arrayBounds.Kind() 25092Select Case expression.Kind() 25329Select Case type.Kind() 25494Select Case type.Kind() 25552Select Case expression.Kind() 25670Select Case type.Kind() 25726Select Case expression.Kind() 25843Select Case type.Kind() 25906Select Case expression.Kind() 26021Select Case type.Kind() 26136Select Case name.Kind() 26195Select Case name.Kind() 26260Select Case name.Kind() 26329Select Case name.Kind() 26400Select Case name.Kind() 26471Select Case name.Kind() 26550Select Case name.Kind() 26658Select Case type.Kind() 26732Select Case initializer.Kind() 26799Select Case type.Kind() 26815Select Case initializer.Kind() 26942Select Case expression.Kind() 27059Select Case type.Kind() 27125Select Case expression.Kind() 27242Select Case type.Kind() 27308Select Case expression.Kind() 27425Select Case type.Kind() 27504Select Case expression.Kind() 27652Select Case left.Kind() 27792Select Case right.Kind() 27936Select Case left.Kind() 28053Select Case right.Kind() 28197Select Case left.Kind() 28314Select Case right.Kind() 28458Select Case left.Kind() 28575Select Case right.Kind() 28719Select Case left.Kind() 28836Select Case right.Kind() 28980Select Case left.Kind() 29097Select Case right.Kind() 29241Select Case left.Kind() 29358Select Case right.Kind() 29502Select Case left.Kind() 29619Select Case right.Kind() 29763Select Case left.Kind() 29880Select Case right.Kind() 30024Select Case left.Kind() 30141Select Case right.Kind() 30285Select Case left.Kind() 30402Select Case right.Kind() 30546Select Case left.Kind() 30663Select Case right.Kind() 30807Select Case left.Kind() 30924Select Case right.Kind() 31068Select Case left.Kind() 31185Select Case right.Kind() 31329Select Case left.Kind() 31446Select Case right.Kind() 31590Select Case left.Kind() 31707Select Case right.Kind() 31851Select Case left.Kind() 31968Select Case right.Kind() 32112Select Case left.Kind() 32229Select Case right.Kind() 32373Select Case left.Kind() 32490Select Case right.Kind() 32634Select Case left.Kind() 32751Select Case right.Kind() 32895Select Case left.Kind() 33012Select Case right.Kind() 33156Select Case left.Kind() 33273Select Case right.Kind() 33417Select Case left.Kind() 33534Select Case right.Kind() 33678Select Case left.Kind() 33795Select Case right.Kind() 33953Select Case left.Kind() 34068Select Case right.Kind() 34256Select Case operand.Kind() 34398Select Case operand.Kind() 34540Select Case operand.Kind() 34682Select Case operand.Kind() 34830Select Case operand.Kind() 34993Select Case firstExpression.Kind() 35110Select Case secondExpression.Kind() 35285Select Case condition.Kind() 35402Select Case whenTrue.Kind() 35519Select Case whenFalse.Kind() 35670Select Case subOrFunctionHeader.Kind() 35679Select Case body.Kind() 35964Select Case subOrFunctionHeader.Kind() 35973Select Case body.Kind() 36266Select Case subOrFunctionHeader.Kind() 36275Select Case body.Kind() 36565Select Case subOrFunctionHeader.Kind() 36574Select Case endSubOrFunctionStatement.Kind() 36620Select Case subOrFunctionHeader.Kind() 36629Select Case endSubOrFunctionStatement.Kind() 36683Select Case subOrFunctionHeader.Kind() 36692Select Case endSubOrFunctionStatement.Kind() 37012Select Case expression.Kind() 37150Select Case name.Kind() 37192Select Case lowerBound.Kind() 37309Select Case upperBound.Kind() 37485Select Case identifier.Kind() 37498Select Case expression.Kind() 37659Select Case expression.Kind() 37802Select Case aggregation.Kind() 37842Select Case identifier.Kind() 38168Select Case condition.Kind() 38320Select Case condition.Kind() 38472Select Case condition.Kind() 38629Select Case condition.Kind() 38790Select Case count.Kind() 38932Select Case count.Kind() 39079Select Case count.Kind() 39289Select Case left.Kind() 39406Select Case right.Kind() 39756Select Case expression.Kind() 39896Select Case expression.Kind() 40043Select Case expression.Kind() 40233Select Case declaration.Kind() 40241Select Case root.Kind() 40277Select Case version.Kind() 40325Select Case value.Kind() 40350Select Case startTag.Kind() 40358Select Case endTag.Kind() 40407Select Case name.Kind() 40484Select Case name.Kind() 40522Select Case name.Kind() 40536Select Case value.Kind() 40644Select Case name.Kind() 40794Select Case expression.Kind() 40935Select Case elementType.Kind() 40978Select Case elementType.Kind() 41091Select Case typeArgumentList.Kind() 41133Select Case left.Kind() 41151Select Case right.Kind() 41266Select Case name.Kind() 41387Select Case left.Kind() 41405Select Case right.Kind() 41437Select Case expression.Kind() 41579Select Case expression.Kind() 42030Select Case name.Kind() 42049Select Case reference.Kind() 42083Select Case name.Kind() 42102Select Case reference.Kind() 42149Select Case whenNotNull.Kind() 42220Select Case argument.Kind() 42451Select Case expression.Kind() 42617Select Case value.Kind() 42972Select Case value.Kind() 43137Select Case condition.Kind() 43281Select Case condition.Kind() 43432Select Case condition.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
src\roslyn\src\Compilers\VisualBasic\BasicAnalyzerDriver\VisualBasicDeclarationComputer.vb (3)
67While (name.Kind() = SyntaxKind.QualifiedName) 253Select Case methodBase.Kind 284Throw ExceptionUtilities.UnexpectedValue(methodBase.Kind)
Symbols\LabelSymbol.vb (3)
169Debug.Assert(resumeStmt.Kind = SyntaxKind.OnErrorResumeNextStatement OrElse 170resumeStmt.Kind = SyntaxKind.ResumeNextStatement OrElse 171resumeStmt.Kind = SyntaxKind.ResumeStatement)
Symbols\NamespaceSymbol.vb (1)
410Select Case name.Kind
Symbols\Source\QuickAttributeChecker.vb (1)
114Select Case node.Kind
Symbols\Source\SourceDelegateMethodSymbol.vb (1)
110If syntax.Kind = SyntaxKind.DelegateFunctionStatement Then
Symbols\Source\SourceEventSymbol.vb (2)
352Select Case blockSyntax.Kind 363Throw ExceptionUtilities.UnexpectedValue(blockSyntax.Kind)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (7)
1437Dim childDeclKind As DeclarationKind = DeclarationTreeBuilder.GetKind(declarationSyntax.Kind) 1450Dim childDeclKind As DeclarationKind = DeclarationTreeBuilder.GetKind(declarationSyntax.Kind) 2548Select Case memberSyntax.Kind 2626If memberSyntax.Kind = SyntaxKind.EmptyStatement OrElse TypeOf memberSyntax Is ExecutableStatementSyntax Then 2657If asClauseOpt IsNot Nothing AndAlso asClauseOpt.Kind = SyntaxKind.AsNewClause Then 2699Select Case methodBaseSyntax.Kind 2709Throw ExceptionUtilities.UnexpectedValue(methodBaseSyntax.Kind)
Symbols\Source\SourceMemberFieldSymbol.vb (8)
169If (asClauseOpt.Kind <> SyntaxKind.AsNewClause OrElse (DirectCast(asClauseOpt, AsNewClauseSyntax).NewExpression.Kind <> SyntaxKind.AnonymousObjectCreationExpression)) Then 172If asClauseOpt.Kind = SyntaxKind.AsNewClause Then 180If (asClauseOpt IsNot Nothing AndAlso asClauseOpt.Kind = SyntaxKind.AsNewClause AndAlso 181(DirectCast(asClauseOpt, AsNewClauseSyntax).NewExpression.Kind = SyntaxKind.AnonymousObjectCreationExpression)) Then 519If asClauseOpt IsNot Nothing AndAlso asClauseOpt.Kind = SyntaxKind.AsNewClause Then 537ElseIf asClauseOpt IsNot Nothing AndAlso asClauseOpt.Kind = SyntaxKind.AsNewClause Then 566(simpleAsClauseSyntax.Type.Kind = SyntaxKind.PredefinedType AndAlso DirectCast(simpleAsClauseSyntax.Type, PredefinedTypeSyntax).Keyword.Kind = SyntaxKind.ObjectKeyword) Then
Symbols\Source\SourceMemberMethodSymbol.vb (3)
326If Me.DeclarationSyntax.Kind = SyntaxKind.FunctionStatement AndAlso CaseInsensitiveComparison.Equals(Me.Name, ident.ValueText) Then 612If Me.ContainingType.IsModuleType AndAlso singleHandleClause.EventContainer.Kind <> SyntaxKind.WithEventsEventContainer Then 617Dim eventContainerKind = singleHandleClause.EventContainer.Kind
Symbols\Source\SourceMethodSymbol.vb (19)
84If syntax.Kind = SyntaxKind.SubStatement Then 137If methodSyntax.Kind = SyntaxKind.SubStatement OrElse methodSyntax.Kind = SyntaxKind.FunctionStatement Then 255If syntax.Kind = SyntaxKind.DeclareSubStatement Then 862Select Case node.Kind 882Throw ExceptionUtilities.UnexpectedValue(node.Kind) 911Select Case node.Kind 1032If node.Parent.Kind = SyntaxKind.ModuleBlock OrElse 1033(node.Parent.Parent IsNot Nothing AndAlso node.Parent.Parent.Kind = SyntaxKind.ModuleBlock) Then 1041Throw ExceptionUtilities.UnexpectedValue(node.Kind) 1052Select Case syntax.Kind 1069Dim accessor = If(syntax.Kind = SyntaxKind.GetAccessorStatement, propertySymbol.GetMethod, propertySymbol.SetMethod) 1101Select Case syntax.Kind 2090Select Case decl.Kind 2245Select Case decl.Kind 2255Throw ExceptionUtilities.UnexpectedValue(decl.Kind) 2269Select Case methodStatement.Kind 2277Throw ExceptionUtilities.UnexpectedValue(methodStatement.Kind) 2308Select Case methodStatement.Kind
Symbols\Source\SourceModuleSymbol.vb (1)
337If globalImport.Clause.Kind = SyntaxKind.SimpleImportsClause Then
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (2)
157Select Case argumentSyntax.Kind 165Throw ExceptionUtilities.UnexpectedValue(argumentSyntax.Kind)
Symbols\Source\SourceNamedTypeSymbol.vb (10)
136Select Case node.Kind 147Throw ExceptionUtilities.UnexpectedValue(node.Kind) 417Select Case node.Kind 459Throw ExceptionUtilities.UnexpectedValue(node.Kind) 658Select Case node.Kind 667Throw ExceptionUtilities.UnexpectedValue(node.Kind) 948Select Case syntax.Kind 1011Select Case syntaxNode.Kind 1040Select Case syntaxNode.Kind 1885If globalImport.Clause.Kind = SyntaxKind.SimpleImportsClause Then
Symbols\Source\SourceNamespaceSymbol.vb (3)
381Select Case node.Kind 391Throw ExceptionUtilities.UnexpectedValue(node.Kind) 440If ancestorNode.Kind = SyntaxKind.NamespaceBlock Then
Symbols\Source\SourcePropertySymbol.vb (3)
358asClause.Kind = SyntaxKind.AsNewClause AndAlso 359(DirectCast(asClause, AsNewClauseSyntax).NewExpression.Kind = SyntaxKind.AnonymousObjectCreationExpression) Then 863If decl.Kind = SyntaxKind.PropertyStatement Then
Symbols\Source\SourceSymbolHelpers.vb (2)
14(asClauseOpt.Kind <> SyntaxKind.AsNewClause OrElse 15(DirectCast(asClauseOpt, AsNewClauseSyntax).NewExpression.Kind <> SyntaxKind.AnonymousObjectCreationExpression)) Then
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\LambdaUtilities.vb (2)
272Select Case clause.Kind 299Throw ExceptionUtilities.UnexpectedValue(clause.Kind)
Syntax\SyntaxExtensions.vb (7)
53Select Case newExpressionSyntax.Kind 61Throw ExceptionUtilities.UnexpectedValue(newExpressionSyntax.Kind) 70Select Case asClauseSyntax.Kind 76Throw ExceptionUtilities.UnexpectedValue(asClauseSyntax.Kind) 85Select Case asClauseSyntax.Kind 91Throw ExceptionUtilities.UnexpectedValue(asClauseSyntax.Kind) 104Return If(simpleName.Kind = SyntaxKind.IdentifierName,
Syntax\SyntaxFactory.vb (4)
139Select Case node.Kind 141Select Case parent.Kind 153Select Case parent.Kind 161If parent.Kind = SyntaxKind.XmlElement Then
Syntax\SyntaxFacts.vb (5)
59Return parent IsNot Nothing AndAlso parent.Kind = SyntaxKind.AddressOfExpression 81Select Case parent.Kind 110If parentQualName.Parent IsNot Nothing AndAlso parentQualName.Parent.Kind = SyntaxKind.ImplementsClause Then 174If Not (parentQualName.Parent IsNot Nothing AndAlso parentQualName.Parent.Kind = SyntaxKind.ImplementsClause) Then 687Select Case parent3.Kind
Syntax\SyntaxNodeExtensions.vb (8)
36Select Case node.Kind 107Select Case input.Kind 131If input.Kind = SyntaxKind.SimpleMemberAccessExpression Then 136Select Case receiver.Kind 176Select Case target.Kind 208Select Case parent.Kind 255Select Case access.Kind 306Return Not arguments.Any(Function(arg) Not (arg.Kind = kind AndAlso DirectCast(arg, IdentifierNameSyntax).IsMissing))
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)
350Select Case directive.Kind
Syntax\SyntaxNormalizer.vb (7)
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.ConditionalSymbolsMap.vb (1)
111Select Case directive.Kind
Syntax\VisualBasicSyntaxTree.ParsedSyntaxTree.vb (1)
57_hasCompilationUnitRoot = (syntaxRoot.Kind = SyntaxKind.CompilationUnit)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (52)
src\709edbd02add87b6\VisualBasicUseCoalesceExpressionForIfNullStatementCheckDiagnosticAnalyzer.vb (3)
44If binary.Right.Kind() <> SyntaxKind.NothingLiteralExpression Then 48If binary.Kind() <> SyntaxKind.IsExpression AndAlso binary.Kind() <> SyntaxKind.EqualsExpression Then
src\roslyn\src\Analyzers\VisualBasic\Analyzers\AddAccessibilityModifiers\VisualBasicAddAccessibilityModifiersDiagnosticAnalyzer.vb (1)
47If member.Kind() = SyntaxKind.NamespaceBlock Then
src\roslyn\src\Analyzers\VisualBasic\Analyzers\RemoveUnnecessaryCast\VisualBasicRemoveUnnecessaryCastDiagnosticAnalyzer.vb (2)
25Select Case node.Kind 31Throw ExceptionUtilities.UnexpectedValue(node.Kind)
src\roslyn\src\Analyzers\VisualBasic\Analyzers\UseAutoProperty\VisualBasicUseAutoPropertyAnalyzer.vb (3)
77Return memberAccessExpression.Expression.Kind() = SyntaxKind.MeExpression AndAlso 78memberAccessExpression.Name.Kind() = SyntaxKind.IdentifierName 125If assignmentStatement.Right.Kind() = SyntaxKind.IdentifierName Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\DirectiveSyntaxExtensions.vb (2)
54If directive.Kind = SyntaxKind.ElseIfDirectiveTrivia OrElse directive.Kind = SyntaxKind.ElseDirectiveTrivia Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (4)
131If unary IsNot Nothing AndAlso unary.Kind() = SyntaxKind.AddressOfExpression Then 158unaryParent.Kind() <> SyntaxKind.AddressOfExpression AndAlso 221Select Case expression.Kind 422Select Case expression.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ParenthesizedExpressionSyntaxExtensions.vb (9)
399If IsAssociative(parentBinaryExpression.Kind) AndAlso 400expression.Kind = parentExpression.Kind Then 455If (node.Parent.Kind = SyntaxKind.InvocationExpression OrElse 456node.Parent.Kind = SyntaxKind.IsExpression OrElse 457node.Parent.Kind = SyntaxKind.TypeOfIsExpression OrElse 458node.Parent.Kind = SyntaxKind.TypeOfIsNotExpression) Then 468node.Parent.Kind = SyntaxKind.XmlEmbeddedExpression Then 557If expression.Kind = SyntaxKind.DictionaryAccessExpression AndAlso
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SemanticModelExtensions.vb (1)
201If current.Kind = SyntaxKind.IdentifierName Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\StatementSyntaxExtensions.vb (13)
16Select Case member.Kind 76Select Case member.Kind 306Select Case member.Kind 356Select Case member.Kind 396Select Case member.Kind 423Select Case member.Kind 465Select Case member.Kind 509Select Case statement.Kind 540Select Case statement.Kind 569Select Case statement.Kind 599Select Case statement.Kind 629Select Case statement.Kind 657Select Case statement.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (1)
613If node.Kind = SyntaxKind.SingleLineSubLambdaExpression Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Formatting\FormattingHelpers.vb (3)
275Return memberAccess.Kind = SyntaxKind.DictionaryAccessExpression AndAlso memberAccess.OperatorToken = token 288Return memberAccess.Kind = SyntaxKind.DictionaryAccessExpression AndAlso memberAccess.OperatorToken = token 351If memberAccess?.Kind = SyntaxKind.DictionaryAccessExpression Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (1)
972If qualified.Left.Kind() = SyntaxKind.GlobalName Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\CastAnalyzer.vb (3)
92If parentAssignmentStatement IsNot Nothing AndAlso parent.Kind = SyntaxKind.SimpleAssignmentStatement Then 208If _castExpressionNode.Kind = SyntaxKind.CollectionInitializer Then 290(_castExpressionNode.Kind = SyntaxKind.CollectionInitializer AndAlso expressionToOuterType.IsWidening AndAlso speculatedExpressionOuterType.IsArrayType())) AndAlso
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\NameSyntaxComparer.vb (1)
97Select Case name.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\SpeculationAnalyzer.vb (4)
253Select Case originalLambda.Kind 274Throw ExceptionUtilities.UnexpectedValue(originalLambda.Kind) 457Select Case expression.Kind 492Select Case expression.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\TypeSyntaxComparer.vb (1)
50Select Case type.Kind
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (22)
src\f736901a33c2b55b\VisualBasicTypeInferenceService.TypeInferrer.vb (1)
839Select Case unaryExpressionSyntax.Kind
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\AddExplicitCast\ArgumentFixer.vb (1)
18Select Case oldArgument.Kind
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\Iterator\VisualBasicConvertToIteratorCodeFixProvider.vb (1)
56If identifier.Parent.Kind <> SyntaxKind.InvocationExpression Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\EnumMemberGenerator.vb (1)
91If binaryExpression.Left.Kind = SyntaxKind.NumericLiteralExpression Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\EventGenerator.vb (3)
17If eventDeclaration.Kind = SyntaxKind.EventStatement Then 24If eventDeclaration.Kind = SyntaxKind.EventBlock Then 39If eventDeclaration.Kind = SyntaxKind.FieldDeclaration Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\NamedTypeGenerator.vb (1)
80Select Case declaration.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (7)
218Select Case methodStatement.Kind 258Select Case methodBlock.Kind 470Select Case methodBlock.Kind 675Select Case asClause.Kind 682Select Case newExpression.Kind 701Select Case syntaxNode.Kind 760Select Case syntaxNode.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb (1)
930If singleLineLambda IsNot Nothing AndAlso singleLineLambda.Kind = SyntaxKind.SingleLineFunctionLambdaExpression Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (5)
185Return expression.Kind = SyntaxKind.MeExpression OrElse 186expression.Kind = SyntaxKind.MyBaseExpression OrElse 187expression.Kind = SyntaxKind.MyClassExpression 283If simplifiedNode.Kind = SyntaxKind.IdentifierName Then 285ElseIf simplifiedNode.Kind = SyntaxKind.QualifiedName Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeBlockSyntaxExtensions.vb (1)
92Select Case destinationType.Kind
Microsoft.CodeAnalysis.VisualBasic.Features (59)
CodeFixes\CorrectNextControlVariable\CorrectNextControlVariableCodeFixProvider.vb (1)
92Select Case forBlock.Kind()
Completion\KeywordRecommenders\Expressions\BinaryOperatorKeywordRecommender.vb (1)
105If u.Kind = SyntaxKind.AddressOfExpression Then
Completion\KeywordRecommenders\PreprocessorDirectives\PreprocessorHelpers.vb (5)
62If node.Kind = SyntaxKind.IfDirectiveTrivia Then 63_kindStack.Push(node.Kind) 64ElseIf node.Kind = SyntaxKind.ElseIfDirectiveTrivia Then 70_kindStack.Push(node.Kind) 79_kindStack.Push(node.Kind)
ConvertForToForEach\VisualBasicConvertForToForEachCodeRefactoringProvider.vb (1)
60If subtraction?.Kind() = SyntaxKind.SubtractExpression Then
Debugging\LocationInfoGetter.vb (1)
25If memberDeclaration?.Kind = SyntaxKind.FieldDeclaration Then
Debugging\ProximityExpressionsGetter.Worker.vb (1)
57Select Case (previousStatement.Kind)
Diagnostics\Analyzers\VisualBasicSimplifyTypeNamesDiagnosticAnalyzer.vb (2)
104ElseIf expression.Kind = SyntaxKind.SimpleMemberAccessExpression Then 108If (symbol.IsOverrides Or symbol.IsOverridable) And memberAccess.Expression.Kind = SyntaxKind.MyClassExpression Then
DocumentationComments\VisualBasicDocumentationCommentSnippetService.vb (2)
35Select Case member.Kind 83Select Case member.Kind
EditAndContinue\BreakpointSpans.vb (2)
377If collectionRangeVariable.Parent.Kind = SyntaxKind.FromClause Then 445Select Case expression.Parent.Kind
EditAndContinue\SyntaxUtilities.vb (4)
128Select Case argument.Kind 140Throw ExceptionUtilities.UnexpectedValue(argument.Kind) 191Select Case node.Kind 197Throw ExceptionUtilities.UnexpectedValue(node.Kind)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (3)
1333Select Case header.Kind 1350Select Case header.Kind 1383Throw ExceptionUtilities.UnexpectedValue(header.Kind)
ExtractMethod\Extensions.vb (1)
193Select Case directive.Kind
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.ExpressionCodeGenerator.vb (2)
80If expression.Kind <> SyntaxKind.InvocationExpression AndAlso 81expression.Kind <> SyntaxKind.SimpleMemberAccessExpression Then
ExtractMethod\VisualBasicSelectionResult.vb (3)
163If expression.Kind = SyntaxKind.AddressOfExpression Then 329If TryCast(container, MethodBlockBaseSyntax)?.BlockStatement.Kind = SyntaxKind.SubStatement Then 331ElseIf TryCast(container, MultiLineLambdaExpressionSyntax)?.SubOrFunctionHeader.Kind = SyntaxKind.SubLambdaHeader Then
GenerateMember\GenerateVariable\VisualBasicGenerateVariableService.vb (1)
77If memberAccess.Kind = SyntaxKind.DictionaryAccessExpression Then
Highlighting\KeywordHighlighters\EnumBlockHighlighter.vb (1)
25If endBlockStatement.Kind <> SyntaxKind.EndEnumStatement Then
Highlighting\KeywordHighlightingHelpers.vb (2)
61Return continueStatement.Kind <> expectedKind 71Return exitStatement.Kind <> expectedKind
IntroduceVariable\VisualBasicIntroduceVariableService_IntroduceField.vb (1)
208MakeFieldModifiers(matches, isConstant, inScript:=oldTypeDeclaration Is Nothing, inModule:=oldTypeDeclaration.Kind = SyntaxKind.ModuleBlock),
MetadataAsSource\VisualBasicMetadataAsSourceService.vb (1)
127Select Case node.Kind
Organizing\Organizers\MemberDeclarationsOrganizer.Comparer.vb (3)
109If x.Kind = SyntaxKind.FieldDeclaration Then 118Select Case x.Kind 146Select Case x.Kind
ReplaceMethodWithProperty\VisualBasicReplaceMethodWithPropertyService.vb (2)
195Dim name = If(expression.Kind() = SyntaxKind.SimpleMemberAccessExpression, 197If(expression.Kind() = SyntaxKind.IdentifierName, DirectCast(expression, IdentifierNameSyntax), Nothing))
SignatureHelp\AddRemoveHandlerSignatureHelpProvider.vb (1)
25Select Case node.Kind
SignatureHelp\CastExpressionSignatureHelpProvider.vb (1)
25Select Case node.Kind
SpellCheck\VisualBasicSpellCheckCodeFixProvider.vb (1)
66Return nameNode.Kind() = SyntaxKind.GenericName
src\709edbd02add87b6\VisualBasicUseCoalesceExpressionForIfNullStatementCheckDiagnosticAnalyzer.vb (3)
44If binary.Right.Kind() <> SyntaxKind.NothingLiteralExpression Then 48If binary.Kind() <> SyntaxKind.IsExpression AndAlso binary.Kind() <> SyntaxKind.EqualsExpression Then
src\roslyn\src\Analyzers\VisualBasic\Analyzers\AddAccessibilityModifiers\VisualBasicAddAccessibilityModifiersDiagnosticAnalyzer.vb (1)
47If member.Kind() = SyntaxKind.NamespaceBlock Then
src\roslyn\src\Analyzers\VisualBasic\Analyzers\RemoveUnnecessaryCast\VisualBasicRemoveUnnecessaryCastDiagnosticAnalyzer.vb (2)
25Select Case node.Kind 31Throw ExceptionUtilities.UnexpectedValue(node.Kind)
src\roslyn\src\Analyzers\VisualBasic\Analyzers\UseAutoProperty\VisualBasicUseAutoPropertyAnalyzer.vb (3)
77Return memberAccessExpression.Expression.Kind() = SyntaxKind.MeExpression AndAlso 78memberAccessExpression.Name.Kind() = SyntaxKind.IdentifierName 125If assignmentStatement.Right.Kind() = SyntaxKind.IdentifierName Then
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\AddExplicitCast\ArgumentFixer.vb (1)
18Select Case oldArgument.Kind
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\Iterator\VisualBasicConvertToIteratorCodeFixProvider.vb (1)
56If identifier.Parent.Kind <> SyntaxKind.InvocationExpression Then
src\roslyn\src\Compilers\VisualBasic\BasicAnalyzerDriver\VisualBasicDeclarationComputer.vb (3)
67While (name.Kind() = SyntaxKind.QualifiedName) 253Select Case methodBase.Kind 284Throw ExceptionUtilities.UnexpectedValue(methodBase.Kind)
src\roslyn\src\Compilers\VisualBasic\Portable\Syntax\LambdaUtilities.vb (2)
272Select Case clause.Kind 299Throw ExceptionUtilities.UnexpectedValue(clause.Kind)
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Performance\BasicPreferDictionaryTryMethodsOverContainsKeyGuardFixer.vb (1)
95If memberAccess.Kind() <> SyntaxKind.DictionaryAccessExpression Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces (111)
Classification\SyntaxClassification\NameSyntaxClassifier.vb (1)
265Select Case node.Kind
Classification\Worker.DocumentationCommentClassifier.vb (2)
40Select Case node.Kind 211Select Case attribute.Kind
Classification\Worker.XmlClassifier.vb (2)
53Select Case node.Kind 237element.Parent.Kind = SyntaxKind.XmlAttributeAccessExpression AndAlso
CodeCleanup\AsyncOrIteratorFunctionReturnTypeFixer.vb (3)
25Return func.Update(func.Kind, func.AttributeLists, func.Modifiers, func.DeclarationKeyword, func.Identifier, 45Return lambdaHeader.Update(lambdaHeader.Kind, lambdaHeader.AttributeLists, lambdaHeader.Modifiers, lambdaHeader.DeclarationKeyword, parameterList, asClause) 193If newTypeSyntax.Kind = SyntaxKind.QualifiedName Then
CodeCleanup\Providers\FixIncorrectTokensCodeCleanupProvider.vb (1)
235If structuredTrivia.Kind = SyntaxKind.SkippedTokensTrivia Then
CodeGeneration\VisualBasicSyntaxGenerator.vb (2)
2096Select Case asClause.Kind 2101Select Case asNew.NewExpression.Kind
FindSymbols\FindSymbolsUtilities.vb (3)
10Select Case typeBlock.Kind() 45If node.Kind() = SyntaxKind.FieldDeclaration Then 49If node.Kind() = SyntaxKind.SubNewStatement AndAlso
FindSymbols\VisualBasicDeclaredSymbolInfoFactoryService.vb (3)
206If node.Kind() = SyntaxKind.PropertyBlock Then 208ElseIf node.Kind() = SyntaxKind.EventBlock Then 214Dim kind = node.Kind()
Rename\LocalConflictVisitor.vb (1)
140If node.ForOrForEachStatement.Kind = SyntaxKind.ForEachStatement Then
Rename\VisualBasicRenameRewriterLanguageService.vb (2)
461Select Case expressionOfInvocation.Kind 1009If name.Kind = SyntaxKind.IdentifierName Then
Simplification\Reducers\VisualBasicExtensionMethodReducer.vb (1)
35If invocationExpression.Expression?.Kind = SyntaxKind.SimpleMemberAccessExpression Then
Simplification\Reducers\VisualBasicVariableDeclaratorReducer.vb (1)
91If declaredSymbolType.IsArrayType() AndAlso variableDeclarator.Initializer.Value.Kind() = SyntaxKind.CollectionInitializer Then
Simplification\Simplifiers\AbstractVisualBasicSimplifier.vb (4)
94If node.Kind = SyntaxKind.IdentifierName AndAlso semanticModel.GetAliasInfo(DirectCast(node, IdentifierNameSyntax)) IsNot Nothing Then 133If expression.Kind = SyntaxKind.IdentifierName OrElse 134expression.Kind = SyntaxKind.QualifiedName Then 138If expression.Kind = SyntaxKind.SimpleMemberAccessExpression Then
Simplification\Simplifiers\ExpressionSimplifier.vb (4)
32If memberAccessExpression?.Expression?.Kind() = SyntaxKind.MeExpression Then 61If expression.Kind = SyntaxKind.SimpleMemberAccessExpression Then 180Select Case expression.Kind 187replacementNode = memberAccess.Update(memberAccess.Kind, newLeft, memberAccess.OperatorToken, memberAccess.Name).WithAdditionalAnnotations(Simplifier.Annotation)
Simplification\Simplifiers\NameSimplifier.vb (6)
45If symbol.Kind = SymbolKind.Method AndAlso name.Kind = SyntaxKind.GenericName Then 107If name.Kind = SyntaxKind.QualifiedName Then 200If name.Kind = SyntaxKind.QualifiedName Then 218Select Case name.Kind 320simplifiedNode.Kind = SyntaxKind.NullableType 368If name.Parent.Kind = SyntaxKind.Attribute OrElse name.IsRightSideOfDot() Then
Simplification\VisualBasicSimplificationService.Expander.vb (10)
332If newSimpleArgument.Expression.Kind = SyntaxKind.AddressOfExpression Then 497If originalSimpleName.Kind = SyntaxKind.IdentifierName Then 602Select Case newNode.Kind 617(TypeOf (parent) Is MemberAccessExpressionSyntax AndAlso parent.Kind <> SyntaxKind.SimpleMemberAccessExpression) OrElse 618(parent.Kind = SyntaxKind.SimpleMemberAccessExpression AndAlso originalSimpleName.IsRightSideOfDot()) OrElse 619(parent.Kind = SyntaxKind.QualifiedName AndAlso originalSimpleName.IsRightSideOfQualifiedName()) Then 629If symbol.IsConstructor() AndAlso parent.Kind = SyntaxKind.ObjectCreationExpression Then 685If newNode.Kind = SyntaxKind.IdentifierName AndAlso symbol.Kind = SymbolKind.Method Then 710Debug.Assert(Not replaceNode OrElse rewrittenNode.Kind = SyntaxKind.IdentifierName) 754Select Case parent.Kind
Simplification\VisualBasicSimplificationService.NodesAndTokensToReduceComputer.vb (2)
123Return DirectCast(n, MethodBlockSyntax).Update(node.Kind, DirectCast(b, MethodStatementSyntax), s, e) 144Return DirectCast(n, AccessorBlockSyntax).Update(node.Kind, DirectCast(b, AccessorStatementSyntax), s, e)
src\f736901a33c2b55b\VisualBasicTypeInferenceService.TypeInferrer.vb (1)
839Select Case unaryExpressionSyntax.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\DirectiveSyntaxExtensions.vb (2)
54If directive.Kind = SyntaxKind.ElseIfDirectiveTrivia OrElse directive.Kind = SyntaxKind.ElseDirectiveTrivia Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (4)
131If unary IsNot Nothing AndAlso unary.Kind() = SyntaxKind.AddressOfExpression Then 158unaryParent.Kind() <> SyntaxKind.AddressOfExpression AndAlso 221Select Case expression.Kind 422Select Case expression.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ParenthesizedExpressionSyntaxExtensions.vb (9)
399If IsAssociative(parentBinaryExpression.Kind) AndAlso 400expression.Kind = parentExpression.Kind Then 455If (node.Parent.Kind = SyntaxKind.InvocationExpression OrElse 456node.Parent.Kind = SyntaxKind.IsExpression OrElse 457node.Parent.Kind = SyntaxKind.TypeOfIsExpression OrElse 458node.Parent.Kind = SyntaxKind.TypeOfIsNotExpression) Then 468node.Parent.Kind = SyntaxKind.XmlEmbeddedExpression Then 557If expression.Kind = SyntaxKind.DictionaryAccessExpression AndAlso
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SemanticModelExtensions.vb (1)
201If current.Kind = SyntaxKind.IdentifierName Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\StatementSyntaxExtensions.vb (13)
16Select Case member.Kind 76Select Case member.Kind 306Select Case member.Kind 356Select Case member.Kind 396Select Case member.Kind 423Select Case member.Kind 465Select Case member.Kind 509Select Case statement.Kind 540Select Case statement.Kind 569Select Case statement.Kind 599Select Case statement.Kind 629Select Case statement.Kind 657Select Case statement.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (1)
613If node.Kind = SyntaxKind.SingleLineSubLambdaExpression Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Formatting\FormattingHelpers.vb (3)
275Return memberAccess.Kind = SyntaxKind.DictionaryAccessExpression AndAlso memberAccess.OperatorToken = token 288Return memberAccess.Kind = SyntaxKind.DictionaryAccessExpression AndAlso memberAccess.OperatorToken = token 351If memberAccess?.Kind = SyntaxKind.DictionaryAccessExpression Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (1)
972If qualified.Left.Kind() = SyntaxKind.GlobalName Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\CastAnalyzer.vb (3)
92If parentAssignmentStatement IsNot Nothing AndAlso parent.Kind = SyntaxKind.SimpleAssignmentStatement Then 208If _castExpressionNode.Kind = SyntaxKind.CollectionInitializer Then 290(_castExpressionNode.Kind = SyntaxKind.CollectionInitializer AndAlso expressionToOuterType.IsWidening AndAlso speculatedExpressionOuterType.IsArrayType())) AndAlso
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\NameSyntaxComparer.vb (1)
97Select Case name.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\SpeculationAnalyzer.vb (4)
253Select Case originalLambda.Kind 274Throw ExceptionUtilities.UnexpectedValue(originalLambda.Kind) 457Select Case expression.Kind 492Select Case expression.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\TypeSyntaxComparer.vb (1)
50Select Case type.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\EnumMemberGenerator.vb (1)
91If binaryExpression.Left.Kind = SyntaxKind.NumericLiteralExpression Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\EventGenerator.vb (3)
17If eventDeclaration.Kind = SyntaxKind.EventStatement Then 24If eventDeclaration.Kind = SyntaxKind.EventBlock Then 39If eventDeclaration.Kind = SyntaxKind.FieldDeclaration Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\NamedTypeGenerator.vb (1)
80Select Case declaration.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (7)
218Select Case methodStatement.Kind 258Select Case methodBlock.Kind 470Select Case methodBlock.Kind 675Select Case asClause.Kind 682Select Case newExpression.Kind 701Select Case syntaxNode.Kind 760Select Case syntaxNode.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb (1)
930If singleLineLambda IsNot Nothing AndAlso singleLineLambda.Kind = SyntaxKind.SingleLineFunctionLambdaExpression Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (5)
185Return expression.Kind = SyntaxKind.MeExpression OrElse 186expression.Kind = SyntaxKind.MyBaseExpression OrElse 187expression.Kind = SyntaxKind.MyClassExpression 283If simplifiedNode.Kind = SyntaxKind.IdentifierName Then 285ElseIf simplifiedNode.Kind = SyntaxKind.QualifiedName Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeBlockSyntaxExtensions.vb (1)
92Select Case destinationType.Kind
Roslyn.Diagnostics.VisualBasic.Analyzers (63)
src\f736901a33c2b55b\VisualBasicTypeInferenceService.TypeInferrer.vb (1)
839Select Case unaryExpressionSyntax.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\DirectiveSyntaxExtensions.vb (2)
54If directive.Kind = SyntaxKind.ElseIfDirectiveTrivia OrElse directive.Kind = SyntaxKind.ElseDirectiveTrivia Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (4)
131If unary IsNot Nothing AndAlso unary.Kind() = SyntaxKind.AddressOfExpression Then 158unaryParent.Kind() <> SyntaxKind.AddressOfExpression AndAlso 221Select Case expression.Kind 422Select Case expression.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ParenthesizedExpressionSyntaxExtensions.vb (9)
399If IsAssociative(parentBinaryExpression.Kind) AndAlso 400expression.Kind = parentExpression.Kind Then 455If (node.Parent.Kind = SyntaxKind.InvocationExpression OrElse 456node.Parent.Kind = SyntaxKind.IsExpression OrElse 457node.Parent.Kind = SyntaxKind.TypeOfIsExpression OrElse 458node.Parent.Kind = SyntaxKind.TypeOfIsNotExpression) Then 468node.Parent.Kind = SyntaxKind.XmlEmbeddedExpression Then 557If expression.Kind = SyntaxKind.DictionaryAccessExpression AndAlso
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SemanticModelExtensions.vb (1)
201If current.Kind = SyntaxKind.IdentifierName Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\StatementSyntaxExtensions.vb (13)
16Select Case member.Kind 76Select Case member.Kind 306Select Case member.Kind 356Select Case member.Kind 396Select Case member.Kind 423Select Case member.Kind 465Select Case member.Kind 509Select Case statement.Kind 540Select Case statement.Kind 569Select Case statement.Kind 599Select Case statement.Kind 629Select Case statement.Kind 657Select Case statement.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (1)
613If node.Kind = SyntaxKind.SingleLineSubLambdaExpression Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Formatting\FormattingHelpers.vb (3)
275Return memberAccess.Kind = SyntaxKind.DictionaryAccessExpression AndAlso memberAccess.OperatorToken = token 288Return memberAccess.Kind = SyntaxKind.DictionaryAccessExpression AndAlso memberAccess.OperatorToken = token 351If memberAccess?.Kind = SyntaxKind.DictionaryAccessExpression Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (1)
972If qualified.Left.Kind() = SyntaxKind.GlobalName Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\CastAnalyzer.vb (3)
92If parentAssignmentStatement IsNot Nothing AndAlso parent.Kind = SyntaxKind.SimpleAssignmentStatement Then 208If _castExpressionNode.Kind = SyntaxKind.CollectionInitializer Then 290(_castExpressionNode.Kind = SyntaxKind.CollectionInitializer AndAlso expressionToOuterType.IsWidening AndAlso speculatedExpressionOuterType.IsArrayType())) AndAlso
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\NameSyntaxComparer.vb (1)
97Select Case name.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\SpeculationAnalyzer.vb (4)
253Select Case originalLambda.Kind 274Throw ExceptionUtilities.UnexpectedValue(originalLambda.Kind) 457Select Case expression.Kind 492Select Case expression.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\TypeSyntaxComparer.vb (1)
50Select Case type.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\EnumMemberGenerator.vb (1)
91If binaryExpression.Left.Kind = SyntaxKind.NumericLiteralExpression Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\EventGenerator.vb (3)
17If eventDeclaration.Kind = SyntaxKind.EventStatement Then 24If eventDeclaration.Kind = SyntaxKind.EventBlock Then 39If eventDeclaration.Kind = SyntaxKind.FieldDeclaration Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\NamedTypeGenerator.vb (1)
80Select Case declaration.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationService.vb (7)
218Select Case methodStatement.Kind 258Select Case methodBlock.Kind 470Select Case methodBlock.Kind 675Select Case asClause.Kind 682Select Case newExpression.Kind 701Select Case syntaxNode.Kind 760Select Case syntaxNode.Kind
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb (1)
930If singleLineLambda IsNot Nothing AndAlso singleLineLambda.Kind = SyntaxKind.SingleLineFunctionLambdaExpression Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (5)
185Return expression.Kind = SyntaxKind.MeExpression OrElse 186expression.Kind = SyntaxKind.MyBaseExpression OrElse 187expression.Kind = SyntaxKind.MyClassExpression 283If simplifiedNode.Kind = SyntaxKind.IdentifierName Then 285ElseIf simplifiedNode.Kind = SyntaxKind.QualifiedName Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeBlockSyntaxExtensions.vb (1)
92Select Case destinationType.Kind