33615 references to SyntaxKind
Microsoft.CodeAnalysis.VisualBasic (33615)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
1829hasCaseElse = hasCaseElse OrElse caseBlock.Syntax.Kind = SyntaxKind.CaseElseBlock
Analysis\FlowAnalysis\ControlFlowAnalysis.vb (5)
108Return s.IsKind(SyntaxKind.ReturnStatement) Or 109s.IsKind(SyntaxKind.ExitSubStatement) Or 110s.IsKind(SyntaxKind.ExitFunctionStatement) Or 111s.IsKind(SyntaxKind.ExitOperatorStatement) Or 112s.IsKind(SyntaxKind.ExitPropertyStatement)
Analysis\FlowAnalysis\ControlFlowPass.vb (1)
169If syntax.Kind = SyntaxKind.GoToStatement Then
Analysis\FlowAnalysis\DataFlowPass.vb (2)
2029If syntax IsNot Nothing AndAlso syntax.Kind = SyntaxKind.VariableDeclarator Then 2032If declarator.AsClause IsNot Nothing AndAlso declarator.AsClause.Kind = SyntaxKind.AsNewClause Then
Binding\AttributeSemanticModel.vb (3)
58Case SyntaxKind.Attribute 62Case SyntaxKind.IdentifierName, SyntaxKind.QualifiedName
Binding\BackstopBinder.vb (2)
207Public Overrides Function GetContinueLabel(continueSyntaxKind As SyntaxKind) As LabelSymbol 211Public Overrides Function GetExitLabel(exitSyntaxKind As SyntaxKind) As LabelSymbol
Binding\Binder.vb (3)
835Public Overridable Function GetExitLabel(exitSyntaxKind As SyntaxKind) As LabelSymbol 844Public Overridable Function GetContinueLabel(continueSyntaxKind As SyntaxKind) As LabelSymbol 852''' <see cref="SyntaxKind"/>.
Binding\Binder_AnonymousTypes.vb (6)
153If fieldSyntax.Kind = SyntaxKind.InferredFieldInitializer Then 158If fieldNameToken.Kind = SyntaxKind.None Then 169fieldIsKey = inferredFieldInitializer.KeyKeyword.Kind = SyntaxKind.KeyKeyword 176fieldIsKey = namedFieldInitializer.KeyKeyword.Kind = SyntaxKind.KeyKeyword 234If initializer.Kind = SyntaxKind.InferredFieldInitializer Then 404If nameSyntax.Kind = SyntaxKind.GenericName Then
Binding\Binder_Attributes.vb (4)
399Case SyntaxKind.SimpleArgument 416Case SyntaxKind.OmittedArgument 802If node.Syntax.Kind = SyntaxKind.PredefinedCastExpression Then 805If cast.Keyword.Kind = SyntaxKind.CObjKeyword Then
Binding\Binder_Constraints.vb (6)
27Case SyntaxKind.TypeParameterSingleConstraintClause 30Case SyntaxKind.TypeParameterMultipleConstraintClause 51Case SyntaxKind.NewConstraint 61Case SyntaxKind.ClassConstraint 71Case SyntaxKind.StructureConstraint 83Case SyntaxKind.TypeConstraint
Binding\Binder_Conversions.vb (51)
28Case SyntaxKind.CTypeKeyword 31Case SyntaxKind.DirectCastKeyword 34Case SyntaxKind.TryCastKeyword 49Debug.Assert(node.Keyword.Kind = SyntaxKind.CTypeKeyword) 62Debug.Assert(node.Keyword.Kind = SyntaxKind.DirectCastKeyword) 94If ReclassifyExpression(argument, SyntaxKind.DirectCastKeyword, node, conv, True, targetType, diagnostics) Then 173Debug.Assert(node.Keyword.Kind = SyntaxKind.TryCastKeyword) 211If ReclassifyExpression(argument, SyntaxKind.TryCastKeyword, node, conv, True, targetType, diagnostics) Then 279Case SyntaxKind.CBoolKeyword : targetType = SpecialType.System_Boolean 280Case SyntaxKind.CByteKeyword : targetType = SpecialType.System_Byte 281Case SyntaxKind.CCharKeyword : targetType = SpecialType.System_Char 282Case SyntaxKind.CDateKeyword : targetType = SpecialType.System_DateTime 283Case SyntaxKind.CDecKeyword : targetType = SpecialType.System_Decimal 284Case SyntaxKind.CDblKeyword : targetType = SpecialType.System_Double 285Case SyntaxKind.CIntKeyword : targetType = SpecialType.System_Int32 286Case SyntaxKind.CLngKeyword : targetType = SpecialType.System_Int64 287Case SyntaxKind.CObjKeyword : targetType = SpecialType.System_Object 288Case SyntaxKind.CSByteKeyword : targetType = SpecialType.System_SByte 289Case SyntaxKind.CShortKeyword : targetType = SpecialType.System_Int16 290Case SyntaxKind.CSngKeyword : targetType = SpecialType.System_Single 291Case SyntaxKind.CStrKeyword : targetType = SpecialType.System_String 292Case SyntaxKind.CUIntKeyword : targetType = SpecialType.System_UInt32 293Case SyntaxKind.CULngKeyword : targetType = SpecialType.System_UInt64 294Case SyntaxKind.CUShortKeyword : targetType = SpecialType.System_UInt16 448ReclassifyExpression(argument, SyntaxKind.CTypeKeyword, tree, convKind.Key, isExplicit, targetType, diagnostics) Then 468(TypeOf argument.Syntax.Parent Is AssignmentStatementSyntax AndAlso argument.Syntax.Parent.Kind <> SyntaxKind.SimpleAssignmentStatement), 1119argument = arrayLiteralBinder.ReclassifyArrayLiteralExpression(SyntaxKind.CTypeKeyword, tree, 1194conversionSemantics As SyntaxKind, 1260warnIfResultOfAsyncMethodIsDroppedDueToRelaxation:=Not isExplicit AndAlso tree.Kind <> SyntaxKind.ObjectCreationExpression) 1267If conversionSemantics = SyntaxKind.CTypeKeyword Then 1269ElseIf conversionSemantics = SyntaxKind.DirectCastKeyword Then 1271ElseIf conversionSemantics = SyntaxKind.TryCastKeyword Then 1303conversionSemantics As SyntaxKind, 1332If conversionSemantics = SyntaxKind.CTypeKeyword Then 1334ElseIf conversionSemantics = SyntaxKind.DirectCastKeyword Then 1336ElseIf conversionSemantics = SyntaxKind.TryCastKeyword Then 1394If conversionSemantics = SyntaxKind.CTypeKeyword Then 1396ElseIf conversionSemantics = SyntaxKind.DirectCastKeyword Then 1398ElseIf conversionSemantics = SyntaxKind.TryCastKeyword Then 1484warnIfResultOfAsyncMethodIsDroppedDueToRelaxation:=Not isExplicit AndAlso tree.Kind <> SyntaxKind.ObjectCreationExpression, 1488If conversionSemantics = SyntaxKind.CTypeKeyword Then 1494ElseIf conversionSemantics = SyntaxKind.DirectCastKeyword Then 1496ElseIf conversionSemantics = SyntaxKind.TryCastKeyword Then 1505conversionSemantics As SyntaxKind, 1555If conversionSemantics = SyntaxKind.CTypeKeyword Then 1557ElseIf conversionSemantics = SyntaxKind.DirectCastKeyword Then 1559ElseIf conversionSemantics = SyntaxKind.TryCastKeyword Then 1606If conversionSemantics = SyntaxKind.CTypeKeyword Then 1608ElseIf conversionSemantics = SyntaxKind.DirectCastKeyword Then 1610ElseIf conversionSemantics = SyntaxKind.TryCastKeyword Then 1617Private Function ReclassifyInterpolatedStringExpression(conversionSemantics As SyntaxKind, tree As SyntaxNode, convKind As ConversionKind, isExplicit As Boolean, node As BoundInterpolatedStringExpression, targetType As TypeSymbol, diagnostics As BindingDiagnosticBag) As BoundExpression
Binding\Binder_Delegates.vb (11)
104If argumentSyntax.Kind = SyntaxKind.SimpleArgument Then 110If expressionSyntax.Kind = SyntaxKind.AddressOfExpression Then 176If argumentSyntax.Kind = SyntaxKind.SimpleArgument Then 313SyntaxFacts.GetText(SyntaxKind.AddressOfKeyword)) 573If addressOfOperandSyntax.Kind = SyntaxKind.AddressOfExpression Then 630If addressOfOperandSyntax.Kind = SyntaxKind.AddressOfExpression Then 942Dim keyword As SyntaxKind 944keyword = SyntaxKind.EventKeyword 946keyword = SyntaxKind.EventKeyword 948keyword = SyntaxKind.DelegateKeyword 996If addressOfOperandSyntax.Kind = SyntaxKind.AddressOfExpression Then
Binding\Binder_Expressions.vb (139)
66Case SyntaxKind.MeExpression 69Case SyntaxKind.MyBaseExpression 72Case SyntaxKind.MyClassExpression 75Case SyntaxKind.IdentifierName, SyntaxKind.GenericName 78Case SyntaxKind.PredefinedType, SyntaxKind.NullableType 81Case SyntaxKind.SimpleMemberAccessExpression 84Case SyntaxKind.DictionaryAccessExpression 87Case SyntaxKind.InvocationExpression 90Case SyntaxKind.CollectionInitializer 93Case SyntaxKind.AnonymousObjectCreationExpression 96Case SyntaxKind.ArrayCreationExpression 99Case SyntaxKind.ObjectCreationExpression 102Case SyntaxKind.NumericLiteralExpression, 103SyntaxKind.StringLiteralExpression, 104SyntaxKind.CharacterLiteralExpression, 105SyntaxKind.TrueLiteralExpression, 106SyntaxKind.FalseLiteralExpression, 107SyntaxKind.NothingLiteralExpression, 108SyntaxKind.DateLiteralExpression 111Case SyntaxKind.ParenthesizedExpression 130Dim reclassified = ReclassifyArrayLiteralExpression(SyntaxKind.CTypeKeyword, arrayLiteral.Syntax, ConversionKind.Widening, False, arrayLiteral, arrayLiteral.InferredType, diagnostics) 136Case SyntaxKind.UnaryPlusExpression, 137SyntaxKind.UnaryMinusExpression, 138SyntaxKind.NotExpression 141Case SyntaxKind.AddExpression, 142SyntaxKind.ConcatenateExpression, 143SyntaxKind.LikeExpression, 144SyntaxKind.EqualsExpression, 145SyntaxKind.NotEqualsExpression, 146SyntaxKind.LessThanOrEqualExpression, 147SyntaxKind.GreaterThanOrEqualExpression, 148SyntaxKind.LessThanExpression, 149SyntaxKind.GreaterThanExpression, 150SyntaxKind.SubtractExpression, 151SyntaxKind.MultiplyExpression, 152SyntaxKind.ExponentiateExpression, 153SyntaxKind.DivideExpression, 154SyntaxKind.ModuloExpression, 155SyntaxKind.IntegerDivideExpression, 156SyntaxKind.LeftShiftExpression, 157SyntaxKind.RightShiftExpression, 158SyntaxKind.ExclusiveOrExpression, 159SyntaxKind.OrExpression, 160SyntaxKind.OrElseExpression, 161SyntaxKind.AndExpression, 162SyntaxKind.AndAlsoExpression 166Case SyntaxKind.IsExpression, 167SyntaxKind.IsNotExpression 171Case SyntaxKind.GetTypeExpression 174Case SyntaxKind.NameOfExpression 177Case SyntaxKind.AddressOfExpression 180Case SyntaxKind.CTypeExpression, 181SyntaxKind.TryCastExpression, 182SyntaxKind.DirectCastExpression 185Case SyntaxKind.PredefinedCastExpression 188Case SyntaxKind.TypeOfIsExpression, 189SyntaxKind.TypeOfIsNotExpression 193Case SyntaxKind.BinaryConditionalExpression 196Case SyntaxKind.TernaryConditionalExpression 199Case SyntaxKind.SingleLineFunctionLambdaExpression, 200SyntaxKind.SingleLineSubLambdaExpression, 201SyntaxKind.MultiLineFunctionLambdaExpression, 202SyntaxKind.MultiLineSubLambdaExpression 205Case SyntaxKind.GlobalName 208Case SyntaxKind.QueryExpression 211Case SyntaxKind.GroupAggregation 214Case SyntaxKind.FunctionAggregation 217Case SyntaxKind.NextLabel, 218SyntaxKind.NumericLabel, 219SyntaxKind.IdentifierLabel 222Case SyntaxKind.QualifiedName 226Case SyntaxKind.GetXmlNamespaceExpression 229Case SyntaxKind.XmlComment 232Case SyntaxKind.XmlDocument 235Case SyntaxKind.XmlProcessingInstruction 238Case SyntaxKind.XmlEmptyElement 241Case SyntaxKind.XmlElement 244Case SyntaxKind.XmlEmbeddedExpression 251Case SyntaxKind.XmlCDataSection 254Case SyntaxKind.XmlElementAccessExpression 257Case SyntaxKind.XmlAttributeAccessExpression 260Case SyntaxKind.XmlDescendantAccessExpression 263Case SyntaxKind.AwaitExpression 266Case SyntaxKind.ConditionalAccessExpression 269Case SyntaxKind.InterpolatedStringExpression 272Case SyntaxKind.TupleExpression 513If nameToken.Kind() = SyntaxKind.IdentifierToken Then 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 710Case SyntaxKind.SimpleMemberAccessExpression 713Case SyntaxKind.IdentifierName, 714SyntaxKind.GenericName 732If(node.Argument.Kind = SyntaxKind.SimpleMemberAccessExpression, 751If(node.Argument.Kind = SyntaxKind.SimpleMemberAccessExpression, 773Dim operatorIsIsNot = (node.Kind = SyntaxKind.TypeOfIsNotExpression) 1488Private Function ReclassifyArrayLiteralExpression(conversionSemantics As SyntaxKind, 1513If conversionSemantics = SyntaxKind.CTypeKeyword Then 1515ElseIf conversionSemantics = SyntaxKind.DirectCastKeyword Then 1517ElseIf conversionSemantics = SyntaxKind.TryCastKeyword Then 1574If conversionSemantics = SyntaxKind.CTypeKeyword Then 1586If conversionSemantics = SyntaxKind.DirectCastKeyword Then 1588ElseIf conversionSemantics = SyntaxKind.TryCastKeyword Then 2394If nameSyntax.Kind <> SyntaxKind.IdentifierName Then 2402Case SyntaxKind.SimpleMemberAccessExpression ' intentionally NOT SyntaxKind.DictionaryAccess 2407Case SyntaxKind.InvocationExpression 2413Case SyntaxKind.ConditionalAccessExpression 2420(leaf.Kind = SyntaxKind.SimpleMemberAccessExpression OrElse leaf.Kind = SyntaxKind.InvocationExpression) Then 2425Case SyntaxKind.CatchStatement 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 2518Case SyntaxKind.AwaitKeyword 2705If leftOpt.Kind = SyntaxKind.IdentifierName Then 2775If leftOpt.Kind = SyntaxKind.SimpleMemberAccessExpression Then 2799If leftTypeSymbol IsNot Nothing AndAlso (right.Kind = SyntaxKind.IdentifierName OrElse right.Kind = SyntaxKind.GenericName) Then 2802Dim identifier = If(right.Kind = SyntaxKind.IdentifierName, 2807CaseInsensitiveComparison.Equals(identifier.ValueText, SyntaxFacts.GetText(SyntaxKind.NewKeyword)) Then 2843If Not hasErrors AndAlso right.Kind = SyntaxKind.GenericName Then 2863If right.Kind = SyntaxKind.GenericName Then 2868Debug.Assert(right.Kind = SyntaxKind.IdentifierName) 2889If right.Kind = SyntaxKind.IdentifierName AndAlso node.Kind = SyntaxKind.SimpleMemberAccessExpression Then 3653node.Parent.Kind <> SyntaxKind.NamedFieldInitializer Then 3698parent.Kind = SyntaxKind.SimpleMemberAccessExpression AndAlso 3705syntax.Parent.Kind = SyntaxKind.NameOfExpression AndAlso 4260If expressionSyntax.Kind <> SyntaxKind.CollectionInitializer Then 4282If expr.Kind = SyntaxKind.CollectionInitializer Then 4352Case SyntaxKind.SimpleArgument, SyntaxKind.RangeArgument 4366Case SyntaxKind.SimpleArgument 4376Case SyntaxKind.RangeArgument 4381Case SyntaxKind.OmittedArgument
Binding\Binder_Imports.vb (2)
59Case SyntaxKind.SimpleImportsClause 69Case SyntaxKind.XmlNamespaceImportsClause
Binding\Binder_Initializers.vb (12)
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) 295If equalsValueOrAsNewSyntax.Kind() = SyntaxKind.AsNewClause Then 317If equalsValueOrAsNewSyntax.Kind = SyntaxKind.AsNewClause Then 401If equalsValueOrAsNewSyntax.Kind = SyntaxKind.AsNewClause Then 404Case SyntaxKind.ObjectCreationExpression 414Case SyntaxKind.AnonymousObjectCreationExpression 502If equalsValueOrAsNewSyntax.Kind = SyntaxKind.EqualsValue Then 513Case SyntaxKind.ObjectCreationExpression 522Case SyntaxKind.AnonymousObjectCreationExpression
Binding\Binder_InterpolatedString.vb (2)
23Case SyntaxKind.InterpolatedStringText 25Case SyntaxKind.Interpolation
Binding\Binder_Invocation.vb (21)
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 1310ElseIf node.IsKind(SyntaxKind.InvocationExpression) Then 1317Case SyntaxKind.QualifiedName 1320Case SyntaxKind.SimpleMemberAccessExpression 1321If result.Parent IsNot Nothing AndAlso result.Parent.IsKind(SyntaxKind.AddressOfExpression) Then 1327Case SyntaxKind.XmlElementAccessExpression, 1328SyntaxKind.XmlDescendantAccessExpression, 1329SyntaxKind.XmlAttributeAccessExpression 1332Case SyntaxKind.HandlesClauseItem 1487If node.Kind = SyntaxKind.IdentifierName AndAlso 1489node.Parent.Kind = SyntaxKind.NamedFieldInitializer AndAlso 3027Case SyntaxKind.SimpleArgument 3056Case SyntaxKind.OmittedArgument 3063Case SyntaxKind.RangeArgument 3284Case SyntaxKind.SimpleMemberAccessExpression 3286Case SyntaxKind.DictionaryAccessExpression 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 (16)
42If node.Kind = SyntaxKind.MultiLineFunctionLambdaExpression AndAlso 70ElseIf node.Kind = SyntaxKind.MultiLineSubLambdaExpression OrElse 71node.Kind = SyntaxKind.SingleLineSubLambdaExpression Then 433Case SyntaxKind.SingleLineFunctionLambdaExpression 472Case SyntaxKind.SingleLineSubLambdaExpression 478If statement.Kind = SyntaxKind.LocalDeclarationStatement Then 492Case SyntaxKind.MultiLineFunctionLambdaExpression, 493SyntaxKind.MultiLineSubLambdaExpression 515Case SyntaxKind.SingleLineFunctionLambdaExpression, 516SyntaxKind.MultiLineFunctionLambdaExpression 525If lambdaSyntax.Kind = SyntaxKind.SingleLineFunctionLambdaExpression OrElse endSyntax Is lambdaSyntax Then 533Case SyntaxKind.SingleLineSubLambdaExpression, 534SyntaxKind.MultiLineSubLambdaExpression 539If lambdaSyntax.Kind = SyntaxKind.SingleLineSubLambdaExpression OrElse endSyntax Is lambdaSyntax Then 1110Public Overrides Function GetContinueLabel(continueSyntaxKind As SyntaxKind) As LabelSymbol 1114Public Overrides Function GetExitLabel(exitSyntaxKind As SyntaxKind) As LabelSymbol
Binding\Binder_Lookup.vb (8)
449Dim aliasAsKeyword As SyntaxKind = SyntaxFacts.GetKeywordKind(possibleAlias) 452Case SyntaxKind.DateKeyword 454Case SyntaxKind.UShortKeyword 456Case SyntaxKind.ShortKeyword 458Case SyntaxKind.UIntegerKeyword 460Case SyntaxKind.IntegerKeyword 462Case SyntaxKind.ULongKeyword 464Case SyntaxKind.LongKeyword
Binding\Binder_ObjectInitializer.vb (6)
65If type.Kind = SyntaxKind.TupleType Then 379ReportDiagnostic(diagnostics, If(typeNode.IsKind(SyntaxKind.QualifiedName), DirectCast(typeNode, QualifiedNameSyntax).Right, typeNode), ErrorFactory.ErrorInfo(ERRID.ERR_NoViableOverloadCandidates1, "New")) 629If syntaxNode.Initializer.Kind = SyntaxKind.ObjectMemberInitializer Then 632ElseIf syntaxNode.Initializer.Kind = SyntaxKind.ObjectCollectionInitializer Then 713Debug.Assert(fieldInitializer.KeyKeyword.Kind <> SyntaxKind.KeyKeyword) 959If topLevelInitializer.Kind = SyntaxKind.CollectionInitializer Then
Binding\Binder_Operators.vb (36)
21Debug.Assert(node.Kind = SyntaxKind.IsExpression OrElse node.Kind = SyntaxKind.IsNotExpression) 22Dim [isNot] As Boolean = (node.Kind = SyntaxKind.IsNotExpression) 172Case SyntaxKind.AddExpression, 173SyntaxKind.ConcatenateExpression, 174SyntaxKind.LikeExpression, 175SyntaxKind.EqualsExpression, 176SyntaxKind.NotEqualsExpression, 177SyntaxKind.LessThanOrEqualExpression, 178SyntaxKind.GreaterThanOrEqualExpression, 179SyntaxKind.LessThanExpression, 180SyntaxKind.GreaterThanExpression, 181SyntaxKind.SubtractExpression, 182SyntaxKind.MultiplyExpression, 183SyntaxKind.ExponentiateExpression, 184SyntaxKind.DivideExpression, 185SyntaxKind.ModuloExpression, 186SyntaxKind.IntegerDivideExpression, 187SyntaxKind.LeftShiftExpression, 188SyntaxKind.RightShiftExpression, 189SyntaxKind.ExclusiveOrExpression, 190SyntaxKind.OrExpression, 191SyntaxKind.AndExpression 197Case SyntaxKind.OrElseExpression, 198SyntaxKind.AndAlsoExpression 230operatorTokenKind As SyntaxKind, 693SyntaxKind.AndAlsoKeyword, SyntaxKind.OrElseKeyword))) 722SyntaxFacts.GetText(If(opKind = BinaryOperatorKind.AndAlso, SyntaxKind.IsFalseKeyword, SyntaxKind.IsTrueKeyword)), 723SyntaxFacts.GetText(If(opKind = BinaryOperatorKind.AndAlso, SyntaxKind.AndAlsoKeyword, SyntaxKind.OrElseKeyword))) 737SyntaxFacts.GetText(If(opKind = BinaryOperatorKind.AndAlso, SyntaxKind.AndAlsoKeyword, SyntaxKind.OrElseKeyword)), 796operatorTokenKind As SyntaxKind, 963operatorTokenKind As SyntaxKind,
Binding\Binder_Query.vb (77)
73Case SyntaxKind.FromClause 76Case SyntaxKind.AggregateClause 108Case SyntaxKind.FromClause 112Case SyntaxKind.SelectClause 115Case SyntaxKind.LetClause 118Case SyntaxKind.WhereClause 121Case SyntaxKind.SkipWhileClause 124Case SyntaxKind.TakeWhileClause 127Case SyntaxKind.DistinctClause 130Case SyntaxKind.SkipClause 133Case SyntaxKind.TakeClause 136Case SyntaxKind.OrderByClause 139Case SyntaxKind.SimpleJoinClause 143Case SyntaxKind.GroupJoinClause 146Case SyntaxKind.GroupByClause 149Case SyntaxKind.AggregateClause 870Case SyntaxKind.SimpleJoinClause, 871SyntaxKind.GroupJoinClause, 872SyntaxKind.SelectClause, 873SyntaxKind.LetClause, 874SyntaxKind.FromClause, 875SyntaxKind.AggregateClause 878Case SyntaxKind.GroupByClause 901Case SyntaxKind.SimpleJoinClause 906Case SyntaxKind.GroupJoinClause 975Debug.Assert(clauseSyntax.IsKind(SyntaxKind.AggregateClause) OrElse clauseSyntax.IsKind(SyntaxKind.FromClause)) 1198Case SyntaxKind.SimpleJoinClause 1201Case SyntaxKind.FromClause 1204Case SyntaxKind.AggregateClause 1215Case SyntaxKind.AggregateClause 1220Case SyntaxKind.LetClause 1225Case SyntaxKind.SelectClause 1247Case SyntaxKind.LetClause 1257Case SyntaxKind.SelectClause 1262Case SyntaxKind.AggregateClause 1289Case SyntaxKind.SelectClause 1297Case SyntaxKind.LetClause 1314Case SyntaxKind.AggregateClause 1380Debug.Assert(join.Kind = SyntaxKind.SimpleJoinClause) 1381Debug.Assert((declaredNames IsNot Nothing) = (join.Parent.Kind = SyntaxKind.SimpleJoinClause OrElse join.Parent.Kind = SyntaxKind.GroupJoinClause)) 1416Case SyntaxKind.SimpleJoinClause 1418Case SyntaxKind.GroupJoinClause 1612Debug.Assert((declaredNames IsNot Nothing) = (groupJoin.Parent.Kind = SyntaxKind.SimpleJoinClause OrElse groupJoin.Parent.Kind = SyntaxKind.GroupJoinClause)) 1662Case SyntaxKind.SimpleJoinClause 1664Case SyntaxKind.GroupJoinClause 2105Debug.Assert(clauseSyntax.Kind = SyntaxKind.GroupByClause OrElse clauseSyntax.Kind = SyntaxKind.GroupJoinClause) 2106Debug.Assert(mustProduceFlatCompoundVariable OrElse clauseSyntax.Kind = SyntaxKind.GroupJoinClause) 2107Debug.Assert((declaredNames IsNot Nothing) = (clauseSyntax.Kind = SyntaxKind.GroupJoinClause)) 2586If ordering.Kind = SyntaxKind.AscendingOrdering Then 2589Debug.Assert(ordering.Kind = SyntaxKind.DescendingOrdering) 2595If ordering.Kind = SyntaxKind.AscendingOrdering Then 2598Debug.Assert(ordering.Kind = SyntaxKind.DescendingOrdering) 2703Case SyntaxKind.SimpleJoinClause, SyntaxKind.GroupJoinClause 2707Case SyntaxKind.SelectClause, SyntaxKind.LetClause, SyntaxKind.FromClause 2710Case SyntaxKind.AggregateClause 2713Case SyntaxKind.GroupByClause 2847If nameToken.Kind <> SyntaxKind.None Then 2895Debug.Assert(item.Parent.Kind = SyntaxKind.SelectClause OrElse item.Parent.Kind = SyntaxKind.GroupByClause) 2901If item.Parent.Kind = SyntaxKind.LetClause AndAlso ShadowsRangeVariableInTheChildScope(shadowingCheckBinder, rangeVar) Then 3128Case SyntaxKind.SelectClause 3136Case SyntaxKind.LetClause 3146Case SyntaxKind.AggregateClause 4030Case SyntaxKind.GroupAggregation 4032If item.Parent.Kind <> SyntaxKind.AggregateClause Then 4036Case SyntaxKind.FunctionAggregation 4127Debug.Assert(declaredNames Is Nothing OrElse syntax.Parent.Kind = SyntaxKind.SimpleJoinClause OrElse syntax.Parent.Kind = SyntaxKind.GroupJoinClause) 4215Debug.Assert(syntax.Parent.Kind = SyntaxKind.FromClause OrElse syntax.Parent.Kind = SyntaxKind.AggregateClause)
Binding\Binder_SelectCase.vb (33)
53exitLabel:=selectBinder.GetExitLabel(SyntaxKind.ExitSelectStatement)) 72Case SyntaxKind.ParenthesizedExpression 77Case SyntaxKind.AddressOfExpression 80Case SyntaxKind.MultiLineFunctionLambdaExpression, SyntaxKind.MultiLineSubLambdaExpression, 81SyntaxKind.SingleLineFunctionLambdaExpression, SyntaxKind.SingleLineSubLambdaExpression 148If node.Kind = SyntaxKind.CaseStatement Then 158Debug.Assert(node.Kind = SyntaxKind.CaseElseStatement) 172Case SyntaxKind.CaseEqualsClause, SyntaxKind.CaseNotEqualsClause, 173SyntaxKind.CaseGreaterThanClause, SyntaxKind.CaseGreaterThanOrEqualClause, 174SyntaxKind.CaseLessThanClause, SyntaxKind.CaseLessThanOrEqualClause 178Case SyntaxKind.SimpleCaseClause 181Case SyntaxKind.RangeCaseClause 212Case SyntaxKind.CaseEqualsClause : operatorKind = BinaryOperatorKind.Equals 213Case SyntaxKind.CaseNotEqualsClause : operatorKind = BinaryOperatorKind.NotEquals 214Case SyntaxKind.CaseLessThanOrEqualClause : operatorKind = BinaryOperatorKind.LessThanOrEqual 215Case SyntaxKind.CaseGreaterThanOrEqualClause : operatorKind = BinaryOperatorKind.GreaterThanOrEqual 216Case SyntaxKind.CaseLessThanClause : operatorKind = BinaryOperatorKind.LessThan 217Case SyntaxKind.CaseGreaterThanClause : operatorKind = BinaryOperatorKind.GreaterThan 259operatorTokenKind:=SyntaxKind.EqualsToken, 291operatorTokenKind:=SyntaxKind.GreaterThanEqualsToken, 303operatorTokenKind:=SyntaxKind.LessThanEqualsToken, 316operatorTokenKind As SyntaxKind, 395If caseBlock.Syntax.Kind <> SyntaxKind.CaseElseBlock AndAlso 425operatorTokenKind:=SyntaxKind.OrElseKeyword, 495operatorTokenKind:=SyntaxKind.EqualsToken, 516operatorTokenKind:=SyntaxKind.GreaterThanEqualsToken, 532operatorTokenKind:=SyntaxKind.LessThanEqualsToken, 543operatorTokenKind:=SyntaxKind.AndAlsoKeyword,
Binding\Binder_Statements.vb (229)
25Case SyntaxKind.SimpleAssignmentStatement, 26SyntaxKind.AddAssignmentStatement, 27SyntaxKind.SubtractAssignmentStatement, 28SyntaxKind.MultiplyAssignmentStatement, 29SyntaxKind.DivideAssignmentStatement, 30SyntaxKind.IntegerDivideAssignmentStatement, 31SyntaxKind.ExponentiateAssignmentStatement, 32SyntaxKind.LeftShiftAssignmentStatement, 33SyntaxKind.RightShiftAssignmentStatement, 34SyntaxKind.ConcatenateAssignmentStatement 37Case SyntaxKind.MidAssignmentStatement 40Case SyntaxKind.AddHandlerStatement, 41SyntaxKind.RemoveHandlerStatement 44Case SyntaxKind.RaiseEventStatement 47Case SyntaxKind.PrintStatement 50Case SyntaxKind.ExpressionStatement 53Case SyntaxKind.CallStatement 56Case SyntaxKind.GoToStatement 59Case SyntaxKind.LabelStatement 62Case SyntaxKind.SingleLineIfStatement 65Case SyntaxKind.MultiLineIfBlock 68Case SyntaxKind.ElseIfStatement 74Case SyntaxKind.SelectBlock 77Case SyntaxKind.CaseStatement 80Case SyntaxKind.LocalDeclarationStatement 83Case SyntaxKind.SimpleDoLoopBlock, 84SyntaxKind.DoWhileLoopBlock, 85SyntaxKind.DoUntilLoopBlock, 86SyntaxKind.DoLoopWhileBlock, 87SyntaxKind.DoLoopUntilBlock 90Case SyntaxKind.WhileBlock 93Case SyntaxKind.ForBlock 96Case SyntaxKind.ForEachBlock 99Case SyntaxKind.WithBlock 102Case SyntaxKind.UsingBlock 105Case SyntaxKind.SyncLockBlock 108Case SyntaxKind.TryBlock 111Case SyntaxKind.ExitDoStatement, 112SyntaxKind.ExitForStatement, 113SyntaxKind.ExitSelectStatement, 114SyntaxKind.ExitTryStatement, 115SyntaxKind.ExitWhileStatement, 116SyntaxKind.ExitFunctionStatement, 117SyntaxKind.ExitSubStatement, 118SyntaxKind.ExitPropertyStatement 121Case SyntaxKind.ContinueDoStatement, SyntaxKind.ContinueForStatement, SyntaxKind.ContinueWhileStatement 124Case SyntaxKind.ReturnStatement 127Case SyntaxKind.YieldStatement 130Case SyntaxKind.ThrowStatement 133Case SyntaxKind.ErrorStatement 136Case SyntaxKind.EmptyStatement 139Case SyntaxKind.SubBlock, 140SyntaxKind.FunctionBlock, 141SyntaxKind.ConstructorBlock, 142SyntaxKind.GetAccessorBlock, 143SyntaxKind.SetAccessorBlock, 144SyntaxKind.AddHandlerAccessorBlock, 145SyntaxKind.RemoveHandlerAccessorBlock, 146SyntaxKind.RaiseEventAccessorBlock, 147SyntaxKind.OperatorBlock 150Case SyntaxKind.ReDimStatement, SyntaxKind.ReDimPreserveStatement 153Case SyntaxKind.EraseStatement 156Case SyntaxKind.NextStatement, 157SyntaxKind.EndIfStatement, 158SyntaxKind.EndSelectStatement, 159SyntaxKind.EndTryStatement, 160SyntaxKind.EndUsingStatement, 161SyntaxKind.EndWhileStatement, 162SyntaxKind.EndWithStatement, 163SyntaxKind.EndSyncLockStatement, 164SyntaxKind.EndNamespaceStatement, 165SyntaxKind.EndModuleStatement, 166SyntaxKind.EndClassStatement, 167SyntaxKind.EndStructureStatement, 168SyntaxKind.EndInterfaceStatement, 169SyntaxKind.EndEnumStatement, 170SyntaxKind.EndSubStatement, 171SyntaxKind.EndFunctionStatement, 172SyntaxKind.EndOperatorStatement, 173SyntaxKind.EndPropertyStatement, 174SyntaxKind.EndGetStatement, 175SyntaxKind.EndSetStatement, 176SyntaxKind.EndEventStatement, 177SyntaxKind.EndAddHandlerStatement, 178SyntaxKind.EndRemoveHandlerStatement, 179SyntaxKind.EndRaiseEventStatement, 180SyntaxKind.FinallyStatement, 181SyntaxKind.IncompleteMember 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))) 219Case SyntaxKind.SimpleLoopStatement, 220SyntaxKind.LoopWhileStatement, 221SyntaxKind.LoopUntilStatement 233Case SyntaxKind.CatchStatement 235If Not node.Parent.Kind = SyntaxKind.CatchBlock Then 244Case SyntaxKind.ResumeStatement, SyntaxKind.ResumeNextStatement, SyntaxKind.ResumeLabelStatement 247Case SyntaxKind.OnErrorGoToZeroStatement, SyntaxKind.OnErrorGoToMinusOneStatement, 248SyntaxKind.OnErrorGoToLabelStatement, SyntaxKind.OnErrorResumeNextStatement 251Case SyntaxKind.StopStatement 254Case SyntaxKind.EndStatement 628If Not node.WasCompilerGenerated AndAlso node.Syntax.Kind = SyntaxKind.LabelStatement AndAlso 629DirectCast(node.Syntax, LabelStatementSyntax).LabelToken.Kind = SyntaxKind.IntegerLiteralToken Then 704Dim hasPreserveClause = node.Kind = SyntaxKind.ReDimPreserveStatement 864Case SyntaxKind.SubBlock, 865SyntaxKind.FunctionBlock, 866SyntaxKind.MultiLineFunctionLambdaExpression, 867SyntaxKind.MultiLineSubLambdaExpression 870Case SyntaxKind.TryBlock, 871SyntaxKind.CatchBlock, 872SyntaxKind.FinallyBlock 875Case SyntaxKind.UsingBlock 878Case SyntaxKind.SyncLockBlock 881Case SyntaxKind.WithBlock 884Case SyntaxKind.ForBlock, 885SyntaxKind.ForEachBlock 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) 1051ElseIf asClauseOpt Is Nothing OrElse asClauseOpt.Kind <> SyntaxKind.AsNewClause Then 1154Dim isInitializedByAsNew As Boolean = asClauseOpt IsNot Nothing AndAlso asClauseOpt.Kind = SyntaxKind.AsNewClause 1208Case SyntaxKind.ObjectCreationExpression 1228Case SyntaxKind.AnonymousObjectCreationExpression 1328If asClauseOpt IsNot Nothing AndAlso asClauseOpt.Kind = SyntaxKind.AsNewClause Then 1333If newExpression.Kind = SyntaxKind.AnonymousObjectCreationExpression Then 2027operatorTokenKind As SyntaxKind, 2141If Not op1.HasErrors AndAlso node.Kind = SyntaxKind.SimpleAssignmentStatement Then 2153ElseIf node.Kind = SyntaxKind.SimpleAssignmentStatement Then 2157Dim binaryTokenKind As SyntaxKind 2160Case SyntaxKind.AddAssignmentStatement 2162binaryTokenKind = SyntaxKind.PlusToken 2163Case SyntaxKind.SubtractAssignmentStatement 2165binaryTokenKind = SyntaxKind.MinusToken 2166Case SyntaxKind.MultiplyAssignmentStatement 2168binaryTokenKind = SyntaxKind.AsteriskToken 2169Case SyntaxKind.DivideAssignmentStatement 2171binaryTokenKind = SyntaxKind.SlashToken 2172Case SyntaxKind.IntegerDivideAssignmentStatement 2174binaryTokenKind = SyntaxKind.BackslashToken 2175Case SyntaxKind.ExponentiateAssignmentStatement 2177binaryTokenKind = SyntaxKind.CaretToken 2178Case SyntaxKind.LeftShiftAssignmentStatement 2180binaryTokenKind = SyntaxKind.LessThanLessThanToken 2181Case SyntaxKind.RightShiftAssignmentStatement 2183binaryTokenKind = SyntaxKind.GreaterThanGreaterThanToken 2184Case SyntaxKind.ConcatenateAssignmentStatement 2186binaryTokenKind = SyntaxKind.AmpersandToken 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 2615Case SyntaxKind.InvocationExpression, 2616SyntaxKind.ConditionalAccessExpression 2619Case SyntaxKind.AwaitExpression 2826isTopUntil = (topConditionSyntax.Kind = SyntaxKind.UntilClause) 2839isBottomUntil = (bottomConditionSyntax.Kind = SyntaxKind.UntilClause) 2844continueLabel:=loopBodyBinder.GetContinueLabel(SyntaxKind.ContinueDoStatement), 2845exitLabel:=loopBodyBinder.GetExitLabel(SyntaxKind.ExitDoStatement), 2863continueLabel:=loopBodyBinder.GetContinueLabel(SyntaxKind.ContinueWhileStatement), 2864exitLabel:=loopBodyBinder.GetExitLabel(SyntaxKind.ExitWhileStatement)) 2953If controlVariableSyntax.Kind = SyntaxKind.VariableDeclarator Then 2984If controlVariableSyntax.Kind = SyntaxKind.IdentifierName Then 3261continueLabel:=GetContinueLabel(SyntaxKind.ContinueForStatement), 3262exitLabel:=GetExitLabel(SyntaxKind.ExitForStatement), 3548continueLabel:=GetContinueLabel(SyntaxKind.ContinueForStatement), 3549exitLabel:=GetExitLabel(SyntaxKind.ExitForStatement)) 3593Debug.Assert(controlVariableSyntax.Kind <> SyntaxKind.VariableDeclarator) 4762Return New BoundTryStatement(node, tryBlock, catchBlocks, finallyBlockOpt, tryBinder.GetExitLabel(SyntaxKind.ExitTryStatement)) 4909Case SyntaxKind.ExitWhileStatement : id = ERRID.ERR_ExitWhileNotWithinWhile 4910Case SyntaxKind.ExitTryStatement : id = ERRID.ERR_ExitTryNotWithinTry 4911Case SyntaxKind.ExitDoStatement : id = ERRID.ERR_ExitDoNotWithinDo 4912Case SyntaxKind.ExitForStatement : id = ERRID.ERR_ExitForNotWithinFor 4913Case SyntaxKind.ExitSelectStatement : id = ERRID.ERR_ExitSelectNotWithinSelect 4914Case SyntaxKind.ExitSubStatement : id = ERRID.ERR_ExitSubOfFunc 4915Case SyntaxKind.ExitFunctionStatement : id = ERRID.ERR_ExitFuncOfSub 4916Case SyntaxKind.ExitPropertyStatement : id = ERRID.ERR_ExitPropNot 4935Case SyntaxKind.ContinueWhileStatement : id = ERRID.ERR_ContinueWhileNotWithinWhile 4936Case SyntaxKind.ContinueDoStatement : id = ERRID.ERR_ContinueDoNotWithinDo 4937Case SyntaxKind.ContinueForStatement : id = ERRID.ERR_ContinueForNotWithinFor 5013ReportDiagnostic(diagnostics, originalSyntax, ERRID.ERR_KeywordNotAllowedInScript, SyntaxFacts.GetText(SyntaxKind.ReturnKeyword)) 5140ReportDiagnostic(diagnostics, originalSyntax, ERRID.ERR_KeywordNotAllowedInScript, SyntaxFacts.GetText(SyntaxKind.YieldKeyword)) 5181Case SyntaxKind.CatchBlock 5185Case SyntaxKind.FinallyBlock 5192Case SyntaxKind.SingleLineFunctionLambdaExpression 5193Case SyntaxKind.MultiLineFunctionLambdaExpression 5194Case SyntaxKind.SingleLineSubLambdaExpression 5195Case SyntaxKind.MultiLineSubLambdaExpression 5252Case SyntaxKind.ResumeStatement 5255Case SyntaxKind.ResumeNextStatement 5258Case SyntaxKind.ResumeLabelStatement 5287Case SyntaxKind.OnErrorGoToMinusOneStatement 5290Case SyntaxKind.OnErrorGoToZeroStatement 5293Case SyntaxKind.OnErrorResumeNextStatement 5296Case SyntaxKind.OnErrorGoToLabelStatement
Binding\Binder_Symbols.vb (45)
141Case SyntaxKind.GenericName 144Case SyntaxKind.QualifiedName 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 562Case SyntaxKind.IdentifierName 573Case SyntaxKind.GenericName 576Case SyntaxKind.QualifiedName 579Case SyntaxKind.GlobalName 582Case SyntaxKind.PredefinedType 585Case SyntaxKind.ArrayType 588Case SyntaxKind.NullableType 591Case SyntaxKind.TupleType 627If argumentSyntax.Kind = SyntaxKind.TypedTupleElement Then 641If nameSyntax.Kind() = SyntaxKind.IdentifierToken Then 760predefinedType As SyntaxKind, 767Case SyntaxKind.ObjectKeyword 769Case SyntaxKind.BooleanKeyword 771Case SyntaxKind.DateKeyword 773Case SyntaxKind.CharKeyword 775Case SyntaxKind.StringKeyword 777Case SyntaxKind.DecimalKeyword 779Case SyntaxKind.ByteKeyword 781Case SyntaxKind.SByteKeyword 783Case SyntaxKind.UShortKeyword 785Case SyntaxKind.ShortKeyword 787Case SyntaxKind.UIntegerKeyword 789Case SyntaxKind.IntegerKeyword 791Case SyntaxKind.ULongKeyword 793Case SyntaxKind.LongKeyword 795Case SyntaxKind.SingleKeyword 797Case SyntaxKind.DoubleKeyword 1136Case SyntaxKind.IdentifierName 1139Case SyntaxKind.TupleType 1142Case SyntaxKind.GenericName 1145Case SyntaxKind.QualifiedName 1150Case SyntaxKind.ArrayType 1153Case SyntaxKind.NullableType 1156Case SyntaxKind.GlobalName, SyntaxKind.PredefinedType
Binding\Binder_Utils.vb (109)
30Case SyntaxKind.None 32Case SyntaxKind.InKeyword 34Case SyntaxKind.OutKeyword 46ParamArray keywordKinds As SyntaxKind()) As SyntaxToken 57Private Shared ReadOnly s_friendKeyword As SyntaxKind() = {SyntaxKind.FriendKeyword} 63ParamArray keywordKinds As SyntaxKind()) 67If badKeyword.Kind = SyntaxKind.ProtectedKeyword Then 69If friendToken.Kind <> SyntaxKind.None Then 87Case SyntaxKind.PrivateKeyword : Return SourceMemberFlags.Private 88Case SyntaxKind.FriendKeyword : Return SourceMemberFlags.Friend 89Case SyntaxKind.ProtectedKeyword : Return SourceMemberFlags.Protected 90Case SyntaxKind.PublicKeyword : Return SourceMemberFlags.Public 91Case SyntaxKind.SharedKeyword : Return SourceMemberFlags.Shared 92Case SyntaxKind.ReadOnlyKeyword : Return SourceMemberFlags.ReadOnly 93Case SyntaxKind.WriteOnlyKeyword : Return SourceMemberFlags.WriteOnly 94Case SyntaxKind.OverloadsKeyword : Return SourceMemberFlags.Overloads 95Case SyntaxKind.OverridableKeyword : Return SourceMemberFlags.Overridable 96Case SyntaxKind.MustOverrideKeyword : Return SourceMemberFlags.MustOverride 97Case SyntaxKind.NotOverridableKeyword : Return SourceMemberFlags.NotOverridable 98Case SyntaxKind.OverridesKeyword : Return SourceMemberFlags.Overrides 99Case SyntaxKind.ShadowsKeyword : Return SourceMemberFlags.Shadows 100Case SyntaxKind.ConstKeyword : Return SourceMemberFlags.Const 101Case SyntaxKind.StaticKeyword : Return SourceMemberFlags.Static 102Case SyntaxKind.DefaultKeyword : Return SourceMemberFlags.Default 103Case SyntaxKind.WithEventsKeyword : Return SourceMemberFlags.WithEvents 104Case SyntaxKind.WideningKeyword : Return SourceMemberFlags.Widening 105Case SyntaxKind.NarrowingKeyword : Return SourceMemberFlags.Narrowing 106Case SyntaxKind.PartialKeyword : Return SourceMemberFlags.Partial 107Case SyntaxKind.DimKeyword : Return SourceMemberFlags.Dim 108Case SyntaxKind.MustInheritKeyword : Return SourceMemberFlags.MustInherit 109Case SyntaxKind.NotInheritableKeyword : Return SourceMemberFlags.NotInheritable 110Case SyntaxKind.AsyncKeyword : Return SourceMemberFlags.Async 111Case SyntaxKind.IteratorKeyword : Return SourceMemberFlags.Iterator 269Case SyntaxKind.ByRefKeyword : foundFlag = SourceParameterFlags.ByRef 270Case SyntaxKind.ByValKeyword : foundFlag = SourceParameterFlags.ByVal 271Case SyntaxKind.OptionalKeyword : foundFlag = SourceParameterFlags.Optional 272Case SyntaxKind.ParamArrayKeyword : foundFlag = SourceParameterFlags.ParamArray 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) 762Case SyntaxKind.IdentifierName 765Case SyntaxKind.GenericName 768Case SyntaxKind.SimpleMemberAccessExpression, SyntaxKind.DictionaryAccessExpression 784Case SyntaxKind.OnKeyword 786Case SyntaxKind.OffKeyword 803Case SyntaxKind.TextKeyword 805Case SyntaxKind.BinaryKeyword 1142Private Shared ReadOnly s_notInheritableKeyword As SyntaxKind() = {SyntaxKind.NotInheritableKeyword} 1164ReportModifierError(modifierList, ERRID.ERR_OverloadsModifierInModule, diagBag, SyntaxKind.OverloadsKeyword) 1191ReportModifierError(modifierList, If(isProperty, ERRID.ERR_StructCantUseVarSpecifier1, ERRID.ERR_StructureCantUseProtected), diagBag, SyntaxKind.ProtectedKeyword) 1199SyntaxKind.OverridableKeyword, SyntaxKind.NotOverridableKeyword, SyntaxKind.MustOverrideKeyword) 1214If containingTypeBLock IsNot Nothing AndAlso FindFirstKeyword(containingTypeBLock.BlockStatement.Modifiers, s_notInheritableKeyword).Kind = SyntaxKind.None Then 1264ReportModifierError(modifierList, ERRID.ERR_StructureCantUseProtected, diagBag, SyntaxKind.ProtectedKeyword) 1671Public InvalidModifiersInNotInheritableClass() As SyntaxKind = 1673SyntaxKind.OverridableKeyword, 1674SyntaxKind.NotOverridableKeyword, 1675SyntaxKind.MustOverrideKeyword 1678Public InvalidModifiersInNotInheritableOtherPartialClass() As SyntaxKind = 1680SyntaxKind.MustOverrideKeyword 1683Public InvalidModifiersInModule() As SyntaxKind = 1685SyntaxKind.SharedKeyword, 1686SyntaxKind.ProtectedKeyword, 1687SyntaxKind.DefaultKeyword, 1688SyntaxKind.MustOverrideKeyword, 1689SyntaxKind.OverridableKeyword, 1690SyntaxKind.ShadowsKeyword, 1691SyntaxKind.OverridesKeyword, 1692SyntaxKind.NotOverridableKeyword 1695Public InvalidModifiersInInterface() As SyntaxKind = 1697SyntaxKind.PublicKeyword, 1698SyntaxKind.PrivateKeyword, 1699SyntaxKind.ProtectedKeyword, 1700SyntaxKind.FriendKeyword, 1701SyntaxKind.StaticKeyword, 1702SyntaxKind.SharedKeyword, 1703SyntaxKind.MustInheritKeyword, 1704SyntaxKind.NotInheritableKeyword, 1705SyntaxKind.OverridesKeyword, 1706SyntaxKind.PartialKeyword, 1707SyntaxKind.NotOverridableKeyword, 1708SyntaxKind.OverridableKeyword, 1709SyntaxKind.MustOverrideKeyword, 1710SyntaxKind.DimKeyword, 1711SyntaxKind.ConstKeyword, 1712SyntaxKind.WithEventsKeyword, 1713SyntaxKind.WideningKeyword, 1714SyntaxKind.NarrowingKeyword, 1715SyntaxKind.CustomKeyword, 1716SyntaxKind.AsyncKeyword, 1717SyntaxKind.IteratorKeyword 1720Public InvalidModifiersIfShared() As SyntaxKind = 1722SyntaxKind.OverridesKeyword, 1723SyntaxKind.OverridableKeyword, 1724SyntaxKind.MustOverrideKeyword, 1725SyntaxKind.NotOverridableKeyword, 1726SyntaxKind.DefaultKeyword 1729Public InvalidModifiersIfDefault() As SyntaxKind = 1731SyntaxKind.PrivateKeyword 1734Public InvalidAsyncIterator() As SyntaxKind = 1736SyntaxKind.AsyncKeyword, 1737SyntaxKind.IteratorKeyword
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 (23)
156If nameSyntax.Kind = SyntaxKind.XmlEmbeddedExpression Then 197Debug.Assert(otherAttributes.All(Function(a) (a.Kind = SyntaxKind.XmlAttribute) OrElse (a.Kind = SyntaxKind.XmlEmbeddedExpression))) 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) 555If childSyntax.Kind = SyntaxKind.XmlAttribute Then 609Case SyntaxKind.XmlProcessingInstruction 612Case SyntaxKind.XmlComment 615Case SyntaxKind.XmlElement 618Case SyntaxKind.XmlEmptyElement 621Case SyntaxKind.XmlEmbeddedExpression 624Case SyntaxKind.XmlCDataSection 627Case SyntaxKind.XmlText 639Dim nameSyntax = If(syntax.Name.Kind = SyntaxKind.XmlName, 948Case SyntaxKind.XmlTextLiteralToken, SyntaxKind.XmlEntityLiteralToken 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) 1300Case SyntaxKind.XmlNameToken
Binding\BinderFactory.BinderFactoryVisitor.vb (7)
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 85If _factory.InScript AndAlso node.Parent.Kind = SyntaxKind.CompilationUnit Then 178If node.ContainsDiagnostics AndAlso node.Parent.Kind = SyntaxKind.SingleLineSubLambdaExpression Then
Binding\BinderFactory.vb (81)
49node.Kind = SyntaxKind.CompilationUnit Then 113If node.Kind = SyntaxKind.DocumentationCommentTrivia Then 165If node.Kind <> SyntaxKind.CompilationUnit OrElse _tree.Options.Kind = SourceCodeKind.Regular Then 201Return BuildNamespaceBinder(containingNamespaceBinder, nsBlockSyntax.NamespaceStatement.Name, nsBlockSyntax.Parent.Kind = SyntaxKind.CompilationUnit) 271Case SyntaxKind.FunctionStatement, 272SyntaxKind.SubStatement, 273SyntaxKind.SubNewStatement, 274SyntaxKind.GetAccessorStatement, 275SyntaxKind.SetAccessorStatement, 276SyntaxKind.AddHandlerAccessorStatement, 277SyntaxKind.RemoveHandlerAccessorStatement, 278SyntaxKind.RaiseEventAccessorStatement, 279SyntaxKind.OperatorStatement 292Case SyntaxKind.VariableDeclarator 318Case SyntaxKind.EnumMemberDeclaration 327Case SyntaxKind.PropertyStatement 377Case SyntaxKind.SubNewStatement, 378SyntaxKind.FunctionStatement, 379SyntaxKind.OperatorStatement, 380SyntaxKind.SubStatement, 381SyntaxKind.DeclareFunctionStatement, 382SyntaxKind.DeclareSubStatement 391Case SyntaxKind.DelegateFunctionStatement, 392SyntaxKind.DelegateSubStatement 401Case SyntaxKind.EventStatement 410Case SyntaxKind.PropertyStatement 419Case SyntaxKind.FunctionLambdaHeader, 420SyntaxKind.SubLambdaHeader, 421SyntaxKind.SetAccessorStatement, 422SyntaxKind.GetAccessorStatement, 423SyntaxKind.AddHandlerAccessorStatement, 424SyntaxKind.RemoveHandlerAccessorStatement, 425SyntaxKind.RaiseEventAccessorStatement 462Case SyntaxKind.ClassStatement, 463SyntaxKind.EnumStatement, 464SyntaxKind.InterfaceStatement, 465SyntaxKind.StructureStatement, 466SyntaxKind.ModuleStatement 473Case SyntaxKind.SubStatement, 474SyntaxKind.SubNewStatement, 475SyntaxKind.FunctionStatement, 476SyntaxKind.DelegateSubStatement, 477SyntaxKind.DelegateFunctionStatement, 478SyntaxKind.DeclareSubStatement, 479SyntaxKind.DeclareFunctionStatement, 480SyntaxKind.OperatorStatement 490Case SyntaxKind.PropertyStatement 492If nodeForOuterBinder IsNot Nothing AndAlso nodeForOuterBinder.Kind = SyntaxKind.PropertyBlock Then 496Case SyntaxKind.EventStatement 498If nodeForOuterBinder IsNot Nothing AndAlso nodeForOuterBinder.Kind = SyntaxKind.EventStatement Then 502Case SyntaxKind.FieldDeclaration, 503SyntaxKind.EnumMemberDeclaration 507Case SyntaxKind.AttributeList 525Case SyntaxKind.ClassStatement, 526SyntaxKind.InterfaceStatement, 527SyntaxKind.StructureStatement 531Case SyntaxKind.SubStatement, 532SyntaxKind.SubNewStatement, 533SyntaxKind.FunctionStatement, 534SyntaxKind.DeclareSubStatement, 535SyntaxKind.DeclareFunctionStatement, 536SyntaxKind.OperatorStatement, 537SyntaxKind.PropertyStatement, 538SyntaxKind.EventStatement 545Case SyntaxKind.DelegateSubStatement, 546SyntaxKind.DelegateFunctionStatement 556Case SyntaxKind.FieldDeclaration, 557SyntaxKind.EnumStatement, 558SyntaxKind.EnumMemberDeclaration, 559SyntaxKind.ModuleStatement 577If node IsNot Nothing AndAlso (node.Kind = SyntaxKind.NamespaceBlock OrElse node.Kind = SyntaxKind.CompilationUnit) Then 608Case SyntaxKind.GlobalName 615Case SyntaxKind.QualifiedName 619Case SyntaxKind.IdentifierName 669Debug.Assert(node.Kind = SyntaxKind.Attribute) 680Case SyntaxKind.ClassStatement, SyntaxKind.ModuleStatement, SyntaxKind.StructureStatement, SyntaxKind.InterfaceStatement, SyntaxKind.EnumStatement
Binding\BlockStatementBinders.vb (13)
18Private ReadOnly _continueKind As SyntaxKind ' the kind of continue to go there 20Private ReadOnly _exitKind As SyntaxKind ' the kind of exit to go there 23continueKind As SyntaxKind, 24exitKind As SyntaxKind) 28If continueKind <> SyntaxKind.None Then 33If exitKind <> SyntaxKind.None Then 44Public Overrides Function GetContinueLabel(continueSyntaxKind As SyntaxKind) As LabelSymbol 52Public Overrides Function GetExitLabel(exitSyntaxKind As SyntaxKind) As LabelSymbol 62Case SyntaxKind.ExitSubStatement, 63SyntaxKind.ExitPropertyStatement, 64SyntaxKind.ExitFunctionStatement, 65SyntaxKind.EventStatement, 66SyntaxKind.OperatorStatement
Binding\DocumentationCommentBinder.vb (20)
64Public Shared Function IsIntrinsicTypeForDocumentationComment(kind As SyntaxKind) As Boolean 66Case SyntaxKind.ShortKeyword, 67SyntaxKind.UShortKeyword, 68SyntaxKind.IntegerKeyword, 69SyntaxKind.UIntegerKeyword, 70SyntaxKind.LongKeyword, 71SyntaxKind.ULongKeyword, 72SyntaxKind.DecimalKeyword, 73SyntaxKind.SingleKeyword, 74SyntaxKind.DoubleKeyword, 75SyntaxKind.SByteKeyword, 76SyntaxKind.ByteKeyword, 77SyntaxKind.BooleanKeyword, 78SyntaxKind.CharKeyword, 79SyntaxKind.DateKeyword, 80SyntaxKind.StringKeyword 116Case SyntaxKind.XmlEmptyElement 118If element.Name.Kind <> SyntaxKind.XmlName Then 123Case SyntaxKind.XmlElementStartTag 125If element.Name.Kind <> SyntaxKind.XmlName Then
Binding\DocumentationCommentCrefBinder.vb (78)
46If trivia.Kind = SyntaxKind.SkippedTokensTrivia Then 49If name.Kind = SyntaxKind.IdentifierName Then 57ElseIf name.Kind = SyntaxKind.PredefinedType Then 249Case SyntaxKind.GenericName 253Case SyntaxKind.QualifiedName 257If qName.Right.Kind = SyntaxKind.GenericName Then 261Case SyntaxKind.IdentifierName, 262SyntaxKind.CrefOperatorReference, 263SyntaxKind.GlobalName, 264SyntaxKind.PredefinedType 267Case SyntaxKind.QualifiedCrefOperatorReference 283Case SyntaxKind.IdentifierName 309If parent IsNot Nothing AndAlso parent.Kind = SyntaxKind.TypeArgumentList Then 312If name.Kind = SyntaxKind.IdentifierName Then 329Case SyntaxKind.IdentifierName, 330SyntaxKind.GenericName 332If parent IsNot Nothing AndAlso parent.Kind = SyntaxKind.QualifiedName Then 343If name.Kind = SyntaxKind.IdentifierName Then 355Case SyntaxKind.CrefOperatorReference 356If parent IsNot Nothing AndAlso parent.Kind = SyntaxKind.QualifiedCrefOperatorReference Then 363Case SyntaxKind.QualifiedName, 364SyntaxKind.QualifiedCrefOperatorReference 367Case SyntaxKind.GlobalName 422Case SyntaxKind.CrefReference 425Case SyntaxKind.SimpleAsClause 428Case SyntaxKind.CrefSignature 470part.Modifier.Kind = SyntaxKind.ByRefKeyword)) 490Case SyntaxKind.QualifiedCrefOperatorReference 495Case SyntaxKind.CrefOperatorReference 500Case SyntaxKind.IdentifierName, 501SyntaxKind.GenericName 506Case SyntaxKind.QualifiedName 532If node.Kind = SyntaxKind.GenericName Then 548Debug.Assert(node.Kind = SyntaxKind.IdentifierName) 553If IdentifierComparison.Equals(identifier.Identifier.ValueText, SyntaxFacts.GetText(SyntaxKind.NewKeyword)) AndAlso Not token.IsBracketed Then 578Case SyntaxKind.IdentifierName 581Case SyntaxKind.GenericName 584Case SyntaxKind.QualifiedName 588Case SyntaxKind.GlobalName 609If right.Kind = SyntaxKind.GenericName Then 626Debug.Assert(right.Kind = SyntaxKind.IdentifierName) 631If IdentifierComparison.Equals(identifier.Identifier.ValueText, SyntaxFacts.GetText(SyntaxKind.NewKeyword)) AndAlso Not token.IsBracketed Then 656Case SyntaxKind.IdentifierName 659Case SyntaxKind.GenericName 662Case SyntaxKind.QualifiedName 832Case SyntaxKind.IdentifierName 901Case SyntaxKind.IsTrueKeyword 907Case SyntaxKind.IsFalseKeyword 913Case SyntaxKind.NotKeyword 922Case SyntaxKind.PlusToken 931Case SyntaxKind.MinusToken 940Case SyntaxKind.AsteriskToken 946Case SyntaxKind.SlashToken 952Case SyntaxKind.BackslashToken 958Case SyntaxKind.ModKeyword 964Case SyntaxKind.CaretToken 970Case SyntaxKind.EqualsToken 976Case SyntaxKind.LessThanGreaterThanToken 982Case SyntaxKind.LessThanToken 988Case SyntaxKind.GreaterThanToken 994Case SyntaxKind.LessThanEqualsToken 1000Case SyntaxKind.GreaterThanEqualsToken 1006Case SyntaxKind.LikeKeyword 1012Case SyntaxKind.AmpersandToken 1018Case SyntaxKind.AndKeyword 1027Case SyntaxKind.OrKeyword 1036Case SyntaxKind.XorKeyword 1042Case SyntaxKind.LessThanLessThanToken 1051Case SyntaxKind.GreaterThanGreaterThanToken 1060Case SyntaxKind.CTypeKeyword 1091Case SyntaxKind.IdentifierName, 1092SyntaxKind.CrefOperatorReference, 1093SyntaxKind.GlobalName, 1094SyntaxKind.PredefinedType 1097Case SyntaxKind.QualifiedCrefOperatorReference 1100Case SyntaxKind.QualifiedName 1105Case SyntaxKind.GenericName 1108If genericArguments(i).Kind <> SyntaxKind.IdentifierName Then
Binding\DocumentationCommentCrefBinder_Compat.vb (34)
19Case SyntaxKind.QualifiedName, 20SyntaxKind.IdentifierName, 21SyntaxKind.GenericName, 22SyntaxKind.PredefinedType 43While name IsNot Nothing And name.Kind <> SyntaxKind.CrefReference 44If name.Kind <> SyntaxKind.QualifiedName Then 66Case SyntaxKind.IdentifierName, 67SyntaxKind.GenericName 70Case SyntaxKind.PredefinedType 73Case SyntaxKind.QualifiedName 90Case SyntaxKind.IdentifierName, 91SyntaxKind.GenericName 94Case SyntaxKind.QualifiedName 98Case SyntaxKind.GlobalName 119If right.Kind = SyntaxKind.GenericName Then 139Debug.Assert(right.Kind = SyntaxKind.IdentifierName) 295If node.Kind = SyntaxKind.GenericName Then 315Debug.Assert(node.Kind = SyntaxKind.IdentifierName) 353Case SyntaxKind.ObjectKeyword 355Case SyntaxKind.BooleanKeyword 357Case SyntaxKind.DateKeyword 359Case SyntaxKind.CharKeyword 361Case SyntaxKind.StringKeyword 363Case SyntaxKind.DecimalKeyword 365Case SyntaxKind.ByteKeyword 367Case SyntaxKind.SByteKeyword 369Case SyntaxKind.UShortKeyword 371Case SyntaxKind.ShortKeyword 373Case SyntaxKind.UIntegerKeyword 375Case SyntaxKind.IntegerKeyword 377Case SyntaxKind.ULongKeyword 379Case SyntaxKind.LongKeyword 381Case SyntaxKind.SingleKeyword 383Case SyntaxKind.DoubleKeyword
Binding\EarlyWellKnownAttributeBinder.vb (47)
90SyntaxKind.NumericLiteralExpression, 91SyntaxKind.StringLiteralExpression, 92SyntaxKind.CharacterLiteralExpression, 93SyntaxKind.TrueLiteralExpression, 94SyntaxKind.FalseLiteralExpression, 95SyntaxKind.NothingLiteralExpression, 96SyntaxKind.DateLiteralExpression 101SyntaxKind.SimpleMemberAccessExpression, 102SyntaxKind.GlobalName, 103SyntaxKind.IdentifierName, 104SyntaxKind.PredefinedType 109Case SyntaxKind.ParenthesizedExpression 114SyntaxKind.CTypeExpression, 115SyntaxKind.TryCastExpression, 116SyntaxKind.DirectCastExpression, 117SyntaxKind.PredefinedCastExpression 125SyntaxKind.UnaryPlusExpression, 126SyntaxKind.UnaryMinusExpression, 127SyntaxKind.NotExpression 132SyntaxKind.AddExpression, 133SyntaxKind.SubtractExpression, 134SyntaxKind.MultiplyExpression, 135SyntaxKind.ExponentiateExpression, 136SyntaxKind.DivideExpression, 137SyntaxKind.ModuloExpression, 138SyntaxKind.IntegerDivideExpression, 139SyntaxKind.LeftShiftExpression, 140SyntaxKind.RightShiftExpression, 141SyntaxKind.ConcatenateExpression, 142SyntaxKind.AndExpression, 143SyntaxKind.OrExpression, 144SyntaxKind.ExclusiveOrExpression, 145SyntaxKind.AndAlsoExpression, 146SyntaxKind.OrElseExpression, 147SyntaxKind.EqualsExpression, 148SyntaxKind.NotEqualsExpression, 149SyntaxKind.LessThanOrEqualExpression, 150SyntaxKind.GreaterThanOrEqualExpression, 151SyntaxKind.LessThanExpression, 152SyntaxKind.GreaterThanExpression 158SyntaxKind.BinaryConditionalExpression, 159SyntaxKind.TernaryConditionalExpression 163Case SyntaxKind.InvocationExpression 195Case SyntaxKind.CollectionInitializer, 196SyntaxKind.ArrayCreationExpression, 197SyntaxKind.GetTypeExpression 204Case SyntaxKind.NameOfExpression
Binding\ExecutableCodeBinder.vb (4)
56Case SyntaxKind.SingleLineFunctionLambdaExpression, 57SyntaxKind.SingleLineSubLambdaExpression 60Case SyntaxKind.MultiLineFunctionLambdaExpression, 61SyntaxKind.MultiLineSubLambdaExpression
Binding\FinallyBlockBinder.vb (4)
19MyBase.New(enclosing, continueKind:=SyntaxKind.None, exitKind:=SyntaxKind.None) 22Public Overrides Function GetExitLabel(exitSyntaxKind As SyntaxKind) As LabelSymbol 23If exitSyntaxKind = SyntaxKind.ExitTryStatement Then
Binding\ForOrForEachBlockBinder.vb (5)
24MyBase.New(enclosing, SyntaxKind.ContinueForStatement, SyntaxKind.ExitForStatement) 46If _syntax.Kind = SyntaxKind.ForBlock Then 67If(_syntax.Kind = SyntaxKind.ForEachBlock, 108If _syntax.Kind = SyntaxKind.ForBlock Then
Binding\InitializerSemanticModel.vb (14)
43Case SyntaxKind.FieldDeclaration 54If initSyntax Is Nothing OrElse initSyntax.Kind <> SyntaxKind.AsNewClause Then 61Case SyntaxKind.PropertyStatement 66If initSyntax Is Nothing OrElse initSyntax.Kind <> SyntaxKind.AsNewClause Then 71Case SyntaxKind.Parameter 75Case SyntaxKind.EnumMemberDeclaration 79Case SyntaxKind.EqualsValue, SyntaxKind.AsNewClause 107If initializer.Kind = SyntaxKind.EqualsValue Then 147If initializer.Kind = SyntaxKind.EqualsValue Then 169If rootSyntax.Kind = SyntaxKind.FieldDeclaration Then 182If initSyntax Is Nothing OrElse initSyntax.Kind <> SyntaxKind.AsNewClause Then 189ElseIf rootSyntax.Kind = SyntaxKind.PropertyStatement Then 192If initSyntax Is Nothing OrElse initSyntax.Kind <> SyntaxKind.AsNewClause Then
Binding\LocalBinderBuilder.vb (37)
112Dim exitKind As SyntaxKind 114Case SyntaxKind.SubStatement, SyntaxKind.SubNewStatement 115exitKind = SyntaxKind.ExitSubStatement 117Case SyntaxKind.FunctionStatement 118exitKind = SyntaxKind.ExitFunctionStatement 120Case SyntaxKind.GetAccessorStatement, SyntaxKind.SetAccessorStatement 121exitKind = SyntaxKind.ExitPropertyStatement 123Case SyntaxKind.AddHandlerAccessorStatement, SyntaxKind.RemoveHandlerAccessorStatement, 124SyntaxKind.RaiseEventAccessorStatement 128exitKind = SyntaxKind.EventStatement 130Case SyntaxKind.OperatorStatement 133exitKind = SyntaxKind.OperatorStatement 140continueKind:=SyntaxKind.None, exitKind:=exitKind) 148Dim exitKind As SyntaxKind 151Case SyntaxKind.SingleLineSubLambdaExpression 152exitKind = SyntaxKind.ExitSubStatement 153Case SyntaxKind.SingleLineFunctionLambdaExpression 154exitKind = SyntaxKind.ExitFunctionStatement 160continueKind:=SyntaxKind.None, exitKind:=exitKind) 163If node.Kind = SyntaxKind.SingleLineSubLambdaExpression Then 180Dim exitKind As SyntaxKind 183Case SyntaxKind.MultiLineSubLambdaExpression 184exitKind = SyntaxKind.ExitSubStatement 185Case SyntaxKind.MultiLineFunctionLambdaExpression 186exitKind = SyntaxKind.ExitFunctionStatement 192continueKind:=SyntaxKind.None, exitKind:=exitKind) 205continueKind:=SyntaxKind.ContinueWhileStatement, exitKind:=SyntaxKind.ExitWhileStatement) 260continueKind:=SyntaxKind.None, exitKind:=SyntaxKind.ExitTryStatement) 288continueKind:=SyntaxKind.None, exitKind:=SyntaxKind.ExitSelectStatement) 302continueKind:=SyntaxKind.ContinueDoStatement, exitKind:=SyntaxKind.ExitDoStatement)
Binding\MemberSemanticModel.vb (206)
261Case SyntaxKind.EmptyStatement, 262SyntaxKind.SimpleAssignmentStatement, 263SyntaxKind.AddAssignmentStatement, 264SyntaxKind.SubtractAssignmentStatement, 265SyntaxKind.MultiplyAssignmentStatement, 266SyntaxKind.DivideAssignmentStatement, 267SyntaxKind.IntegerDivideAssignmentStatement, 268SyntaxKind.ExponentiateAssignmentStatement, 269SyntaxKind.LeftShiftAssignmentStatement, 270SyntaxKind.RightShiftAssignmentStatement, 271SyntaxKind.ConcatenateAssignmentStatement, 272SyntaxKind.CallStatement, 273SyntaxKind.GoToStatement, 274SyntaxKind.LabelStatement, 275SyntaxKind.SingleLineIfStatement, 276SyntaxKind.MidAssignmentStatement, 277SyntaxKind.MultiLineIfBlock, 278SyntaxKind.SelectBlock, 279SyntaxKind.UsingBlock, 280SyntaxKind.SyncLockBlock, 281SyntaxKind.LocalDeclarationStatement, 282SyntaxKind.SimpleDoLoopBlock, 283SyntaxKind.DoWhileLoopBlock, 284SyntaxKind.DoUntilLoopBlock, 285SyntaxKind.DoLoopWhileBlock, 286SyntaxKind.DoLoopUntilBlock, 287SyntaxKind.WhileBlock, 288SyntaxKind.ForBlock, 289SyntaxKind.ForEachBlock, 290SyntaxKind.TryBlock, 291SyntaxKind.WithBlock, 292SyntaxKind.ExitDoStatement, 293SyntaxKind.ExitForStatement, 294SyntaxKind.ExitSelectStatement, 295SyntaxKind.ExitTryStatement, 296SyntaxKind.ExitWhileStatement, 297SyntaxKind.ExitFunctionStatement, 298SyntaxKind.ExitSubStatement, 299SyntaxKind.ExitOperatorStatement, 300SyntaxKind.ExitPropertyStatement, 301SyntaxKind.ContinueDoStatement, 302SyntaxKind.ContinueForStatement, 303SyntaxKind.ContinueWhileStatement, 304SyntaxKind.ReturnStatement, 305SyntaxKind.ThrowStatement, 306SyntaxKind.SubBlock, 307SyntaxKind.FunctionBlock, 308SyntaxKind.ConstructorBlock, 309SyntaxKind.GetAccessorBlock, 310SyntaxKind.SetAccessorBlock, 311SyntaxKind.OperatorBlock, 312SyntaxKind.AddHandlerAccessorBlock, SyntaxKind.RemoveHandlerAccessorBlock, SyntaxKind.RaiseEventAccessorBlock, 313SyntaxKind.ReDimStatement, 314SyntaxKind.ReDimPreserveStatement, 315SyntaxKind.EraseStatement, 316SyntaxKind.ErrorStatement, 317SyntaxKind.OnErrorGoToZeroStatement, 318SyntaxKind.OnErrorGoToMinusOneStatement, 319SyntaxKind.OnErrorGoToLabelStatement, 320SyntaxKind.OnErrorResumeNextStatement, 321SyntaxKind.ResumeStatement, 322SyntaxKind.ResumeLabelStatement, 323SyntaxKind.ResumeNextStatement, 324SyntaxKind.EndStatement, 325SyntaxKind.StopStatement, 326SyntaxKind.AddHandlerStatement, 327SyntaxKind.RemoveHandlerStatement, 328SyntaxKind.RaiseEventStatement, 329SyntaxKind.ExpressionStatement, 330SyntaxKind.YieldStatement, 331SyntaxKind.PrintStatement, 332SyntaxKind.OptionStatement 335Case SyntaxKind.IfStatement, 336SyntaxKind.ElseStatement, 337SyntaxKind.ElseIfStatement, 338SyntaxKind.EndIfStatement, 339SyntaxKind.WithStatement, 340SyntaxKind.EndWithStatement, 341SyntaxKind.SelectStatement, 342SyntaxKind.CaseElseStatement, 343SyntaxKind.CaseStatement, 344SyntaxKind.EndSelectStatement, 345SyntaxKind.EndSubStatement, 346SyntaxKind.EndFunctionStatement, 347SyntaxKind.EndOperatorStatement, 348SyntaxKind.WhileStatement, 349SyntaxKind.EndWhileStatement, 350SyntaxKind.TryStatement, 351SyntaxKind.CatchStatement, 352SyntaxKind.FinallyStatement, 353SyntaxKind.EndTryStatement, 354SyntaxKind.SyncLockStatement, 355SyntaxKind.EndSyncLockStatement, 356SyntaxKind.ForStatement, 357SyntaxKind.ForEachStatement, 358SyntaxKind.NextStatement, 359SyntaxKind.SimpleDoStatement, SyntaxKind.DoWhileStatement, SyntaxKind.DoUntilStatement, 360SyntaxKind.SimpleLoopStatement, SyntaxKind.LoopWhileStatement, SyntaxKind.LoopUntilStatement, 361SyntaxKind.UsingStatement, 362SyntaxKind.EndUsingStatement, 363SyntaxKind.SubLambdaHeader, 364SyntaxKind.FunctionLambdaHeader, 365SyntaxKind.SubStatement, SyntaxKind.FunctionStatement, 366SyntaxKind.FieldDeclaration, 367SyntaxKind.SubNewStatement, 368SyntaxKind.DeclareSubStatement, SyntaxKind.DeclareFunctionStatement, 369SyntaxKind.DelegateFunctionStatement, SyntaxKind.DelegateSubStatement, 370SyntaxKind.EventStatement, 371SyntaxKind.OperatorStatement, 372SyntaxKind.PropertyStatement, 373SyntaxKind.GetAccessorStatement, SyntaxKind.SetAccessorStatement, 374SyntaxKind.AddHandlerAccessorStatement, SyntaxKind.RemoveHandlerAccessorStatement, SyntaxKind.RaiseEventAccessorStatement, 375SyntaxKind.EndNamespaceStatement, 376SyntaxKind.EndModuleStatement, 377SyntaxKind.EndClassStatement, 378SyntaxKind.EndStructureStatement, 379SyntaxKind.EndInterfaceStatement, 380SyntaxKind.EndEnumStatement, 381SyntaxKind.EndSubStatement, 382SyntaxKind.EndFunctionStatement, 383SyntaxKind.EndOperatorStatement, 384SyntaxKind.EndPropertyStatement, 385SyntaxKind.EndGetStatement, 386SyntaxKind.EndSetStatement, 387SyntaxKind.EndEventStatement, 388SyntaxKind.EndAddHandlerStatement, 389SyntaxKind.EndRemoveHandlerStatement, 390SyntaxKind.EndRaiseEventStatement, 391SyntaxKind.IncompleteMember, 392SyntaxKind.InheritsStatement, 393SyntaxKind.ImplementsStatement, 394SyntaxKind.ImportsStatement, 395SyntaxKind.EnumMemberDeclaration 514If parent IsNot Nothing AndAlso parent.Kind = SyntaxKind.ParameterList Then 580Case SyntaxKind.CollectionRangeVariable 584Case SyntaxKind.VariableNameEquals 589Case SyntaxKind.ExpressionRangeVariable 592Case SyntaxKind.AggregationRangeVariable 929Dim nodeKind As SyntaxKind = node.Kind 930Debug.Assert(nodeKind <> SyntaxKind.LetClause AndAlso nodeKind <> SyntaxKind.OrderByClause AndAlso nodeKind <> SyntaxKind.AggregateClause) 934If nodeKind = SyntaxKind.FromClause Then 936node.Parent IsNot Nothing AndAlso node.Parent.Kind = SyntaxKind.QueryExpression Then 963If nodeKind = SyntaxKind.SelectClause AndAlso 976Debug.Assert(node.Parent IsNot Nothing AndAlso node.Parent.Kind = SyntaxKind.LetClause) 1270If current.Kind = SyntaxKind.DocumentationCommentTrivia Then 1272Debug.Assert(trivia.Kind <> SyntaxKind.None) 1273Debug.Assert(trivia.Token.Kind <> SyntaxKind.None) 1291If current.Kind = SyntaxKind.MultiLineFunctionLambdaExpression OrElse current.Kind = SyntaxKind.MultiLineSubLambdaExpression Then 1306ElseIf current.Kind = SyntaxKind.MultiLineFunctionLambdaExpression OrElse current.Kind = SyntaxKind.MultiLineSubLambdaExpression Then 1312ElseIf current.Kind = SyntaxKind.SingleLineSubLambdaExpression Then 1335Debug.Assert(current.Parent.Kind = SyntaxKind.WithStatement) 1336Debug.Assert(current.Parent.Parent.Kind = SyntaxKind.WithBlock) 1375Case SyntaxKind.WhereClause 1379Case SyntaxKind.SkipWhileClause, SyntaxKind.TakeWhileClause 1383Case SyntaxKind.SelectClause 1387Case SyntaxKind.LetClause 1390Case SyntaxKind.FromClause 1393Case SyntaxKind.GroupByClause 1396Case SyntaxKind.OrderByClause 1400Case SyntaxKind.SimpleJoinClause 1403Case SyntaxKind.GroupJoinClause 1406Case SyntaxKind.AggregateClause 1409Case SyntaxKind.FunctionAggregation 1532(item.Parent.Kind <> SyntaxKind.AggregateClause AndAlso 1534Not (item.Parent.Parent.Kind = SyntaxKind.QueryExpression AndAlso 1656Debug.Assert(TypeOf node Is QueryClauseSyntax OrElse node.Kind = SyntaxKind.FunctionAggregation OrElse 1657(node.Kind = SyntaxKind.ExpressionRangeVariable AndAlso node.Parent.Kind = SyntaxKind.LetClause) OrElse 1658node.Kind = SyntaxKind.CollectionRangeVariable) 1705If (node.Kind = SyntaxKind.InferredFieldInitializer OrElse node.Kind = SyntaxKind.NamedFieldInitializer) AndAlso 1706node.Parent IsNot Nothing AndAlso node.Parent.Kind = SyntaxKind.ObjectMemberInitializer AndAlso 1707node.Parent.Parent IsNot Nothing AndAlso node.Parent.Parent.Kind = SyntaxKind.AnonymousObjectCreationExpression Then 1755If parent IsNot Nothing AndAlso parent.Kind = SyntaxKind.WithStatement Then 1757Return parent IsNot Nothing AndAlso parent.Kind = SyntaxKind.WithBlock AndAlso parent.Parent IsNot Nothing 1805Case SyntaxKind.RangeArgument 1810Case SyntaxKind.ModifiedIdentifier 1811If parent.Parent IsNot Nothing AndAlso parent.Parent.Kind = SyntaxKind.Parameter Then 1912If syntax.Kind = SyntaxKind.CollectionInitializer AndAlso parent IsNot Nothing Then 1913If parent.Kind = SyntaxKind.ObjectCollectionInitializer Then 1915ElseIf parent.Kind = SyntaxKind.CollectionInitializer Then 1917Return parent IsNot Nothing AndAlso parent.Kind = SyntaxKind.ObjectCollectionInitializer 1953Debug.Assert(bindingRoot.Kind = SyntaxKind.FieldDeclaration OrElse 1954bindingRoot.Kind = SyntaxKind.PropertyStatement OrElse 1955bindingRoot.Kind = SyntaxKind.Parameter OrElse 1956bindingRoot.Kind = SyntaxKind.EnumMemberDeclaration OrElse 1982If node.Kind = SyntaxKind.DocumentationCommentTrivia Then 1984Debug.Assert(trivia.Kind <> SyntaxKind.None) 1985Debug.Assert(trivia.Token.Kind <> SyntaxKind.None)
Binding\MethodBodyBinder.vb (6)
59Case SyntaxKind.FunctionBlock 66Case SyntaxKind.GetAccessorBlock 68methodBlock.Parent.Kind = SyntaxKind.PropertyBlock Then 77Case SyntaxKind.OperatorBlock 82Case SyntaxKind.AddHandlerAccessorBlock 85methodBlock.Parent.Kind = SyntaxKind.EventBlock Then
Binding\StatementListBinder.vb (4)
45If statement.Kind = SyntaxKind.LocalDeclarationStatement Then 56Case SyntaxKind.ConstKeyword 60Case SyntaxKind.StaticKeyword 68(declarator.AsClause Is Nothing OrElse declarator.AsClause.Kind <> SyntaxKind.AsNewClause)
Binding\UsingBlockBinder.vb (1)
50(variableDeclarator.AsClause Is Nothing OrElse variableDeclarator.AsClause.Kind <> SyntaxKind.AsNewClause)
BoundTree\BoundAssignmentOperator.vb (1)
93(Type.IsVoidType() AndAlso Syntax.Kind = SyntaxKind.MidAssignmentStatement) OrElse
BoundTree\BoundLambda.vb (4)
22Dim kind As SyntaxKind = Me.Syntax.Kind 24Return kind = SyntaxKind.SingleLineFunctionLambdaExpression OrElse 25kind = SyntaxKind.SingleLineSubLambdaExpression 42Syntax.IsKind(SyntaxKind.AddressOfExpression) OrElse
BoundTree\BoundUnstructuredExceptionHandlingStatement.vb (3)
19Debug.Assert(Me.ResumeWithoutLabelOpt.Kind = SyntaxKind.OnErrorResumeNextStatement OrElse 20Me.ResumeWithoutLabelOpt.Kind = SyntaxKind.ResumeNextStatement OrElse 21Me.ResumeWithoutLabelOpt.Kind = SyntaxKind.ResumeStatement)
BoundTree\UnboundLambda.vb (6)
30Dim kind As SyntaxKind = Me.Syntax.Kind 32Return kind = SyntaxKind.SingleLineFunctionLambdaExpression OrElse 33kind = SyntaxKind.SingleLineSubLambdaExpression 43Dim kind As SyntaxKind = Me.Syntax.Kind 45Return kind = SyntaxKind.SingleLineFunctionLambdaExpression OrElse 46kind = SyntaxKind.MultiLineFunctionLambdaExpression
CodeGen\EmitStatement.vb (1)
1029Debug.Assert(caseBlock.Syntax.Kind = SyntaxKind.CaseElseBlock)
CommandLine\VisualBasicCommandLineParser.vb (20)
1900While tokens.Current.Kind = SyntaxKind.CommaToken OrElse tokens.Current.Kind = SyntaxKind.ColonToken 1902If lastSeparatorToken.Kind = SyntaxKind.None Then 1921If tokens.Current.Kind <> SyntaxKind.EndOfFileToken Then 1930If tokens.Current.Kind = SyntaxKind.EndOfFileToken Then 1935If Not eof.LeadingTrivia.All(Function(t) t.Kind = SyntaxKind.WhitespaceTrivia) Then 1953If Not tokens.Current.Kind = SyntaxKind.IdentifierToken Then 1971If tokens.Current.Kind = SyntaxKind.EqualsToken Then 1988While tokens.Current.Kind <> SyntaxKind.EndOfFileToken AndAlso tokens.Current.Span.End <= parsedEnd 2053ElseIf tokens.Current.Kind = SyntaxKind.CommaToken OrElse 2054tokens.Current.Kind = SyntaxKind.ColonToken OrElse 2055tokens.Current.Kind = SyntaxKind.EndOfFileToken Then 2060ElseIf tokens.Current.Kind = SyntaxKind.BadToken Then 2113Return token.Kind = SyntaxKind.EndOfFileToken OrElse token.Kind = SyntaxKind.ColonToken OrElse token.Kind = SyntaxKind.CommaToken 2120Optional stopTokenKind As SyntaxKind = SyntaxKind.CommaToken 2125If tokens.Current.Kind = SyntaxKind.ColonToken AndAlso tokens.Current.FullWidth = 0 Then 2126remainderErrorLine.Append(SyntaxFacts.GetText(SyntaxKind.ColonToken))
CommandLine\VisualBasicCompiler.vb (1)
274Function(d) d.Kind() = SyntaxKind.ExternalSourceDirectiveTrivia)
Compilation\DocumentationComments\DocumentationCommentCompiler.Common.vb (17)
308Case SyntaxKind.XmlAttribute 310If xmlAttr.Name.Kind <> SyntaxKind.XmlName OrElse xmlAttr.Value.Kind <> SyntaxKind.XmlString Then 317Case SyntaxKind.XmlCrefAttribute 322Case SyntaxKind.XmlNameAttribute 348Case SyntaxKind.XmlCrefAttribute 352Case SyntaxKind.XmlAttribute 354If nameAttrName.Kind = SyntaxKind.XmlName AndAlso 617Case SyntaxKind.XmlEmptyElement 620Case SyntaxKind.XmlElement 623Case SyntaxKind.XmlElementStartTag 640If attr.Kind = SyntaxKind.XmlNameAttribute Then 643ElseIf attr.Kind = SyntaxKind.XmlAttribute Then 647If nameAttrName.Kind = SyntaxKind.XmlName AndAlso 657If(value.Kind = SyntaxKind.XmlString, 683Case SyntaxKind.DocumentationCommentTrivia 692Case SyntaxKind.CommentTrivia
Compilation\DocumentationComments\DocumentationCommentCompiler.Includes.vb (4)
620Case SyntaxKind.XmlCrefAttribute 689Case SyntaxKind.XmlAttribute 758Case SyntaxKind.XmlNameAttribute 777Case SyntaxKind.XmlAttribute
Compilation\DocumentationComments\DocumentationCommentWalker.vb (4)
66If name.Kind <> SyntaxKind.XmlName Then 137Dim kind As SyntaxKind = node.Kind() 139If kind = SyntaxKind.XmlCrefAttribute Then 221ElseIf kind = SyntaxKind.XmlAttribute Then
Compilation\DocumentationComments\UnprocessedDocumentationCommentFinder.vb (19)
135If trivia.Kind = SyntaxKind.DocumentationCommentTrivia Then 144Case SyntaxKind.ClassStatement, 145SyntaxKind.EnumStatement, 146SyntaxKind.InterfaceStatement, 147SyntaxKind.StructureStatement, 148SyntaxKind.ModuleStatement, 149SyntaxKind.SubStatement, 150SyntaxKind.SubNewStatement, 151SyntaxKind.FunctionStatement, 152SyntaxKind.DelegateSubStatement, 153SyntaxKind.DelegateFunctionStatement, 154SyntaxKind.DeclareSubStatement, 155SyntaxKind.DeclareFunctionStatement, 156SyntaxKind.OperatorStatement, 157SyntaxKind.PropertyStatement, 158SyntaxKind.EventStatement, 159SyntaxKind.FieldDeclaration, 160SyntaxKind.EnumMemberDeclaration 163Case SyntaxKind.AttributeList
Compilation\QuerySymbolInfo.vb (5)
102(aggregateSyntax.Parent.Kind = SyntaxKind.QueryExpression AndAlso 147Case SyntaxKind.LetClause, SyntaxKind.OrderByClause 150Case SyntaxKind.AggregateClause 173If variableSyntax.Parent Is Nothing OrElse variableSyntax.Parent.Kind <> SyntaxKind.LetClause Then
Compilation\SemanticModel.vb (78)
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 665Case SyntaxKind.IdentifierName, 666SyntaxKind.GenericName, 667SyntaxKind.PredefinedType, 668SyntaxKind.QualifiedName, 669SyntaxKind.GlobalName, 670SyntaxKind.QualifiedCrefOperatorReference, 671SyntaxKind.CrefOperatorReference, 672SyntaxKind.CrefReference, 673SyntaxKind.XmlString 685Case SyntaxKind.XmlCrefAttribute, 686SyntaxKind.XmlNameAttribute 689Case SyntaxKind.XmlAttribute 693Case SyntaxKind.DocumentationCommentTrivia 932boundNodes.LowestBoundNodeOfSyntacticParent.Syntax.Kind = SyntaxKind.ObjectCreationExpression AndAlso 999((parentSyntax.Kind = SyntaxKind.ObjectCreationExpression AndAlso (DirectCast(parentSyntax, ObjectCreationExpressionSyntax).Type Is boundNodes.LowestBoundNode.Syntax))) Then 1038boundNodes.LowestBoundNodeOfSyntacticParent.Syntax.Kind = SyntaxKind.ObjectCreationExpression AndAlso 1146If lowestExpr.Kind = BoundKind.BadExpression AndAlso lowestExpr.Syntax.Kind = SyntaxKind.ObjectCreationExpression Then 1430parentSyntax.Kind = SyntaxKind.Attribute AndAlso 2773If identifierNameSyntax.Parent.Parent.Parent.Parent.Kind = SyntaxKind.RaiseEventStatement Then 2882If node.Parent IsNot Nothing AndAlso node.Parent.Kind = SyntaxKind.ForEachBlock Then 2894If node.Kind = SyntaxKind.ForEachBlock Then 3254Case SyntaxKind.SimpleImportsClause 3257Case SyntaxKind.TypedTupleElement, 3258SyntaxKind.NamedTupleElement 3261Case SyntaxKind.ModifiedIdentifier 3264Case SyntaxKind.EnumMemberDeclaration 3267Case SyntaxKind.Parameter 3270Case SyntaxKind.TypeParameter 3273Case SyntaxKind.LabelStatement 3276Case SyntaxKind.NamespaceStatement 3279Case SyntaxKind.ClassStatement, SyntaxKind.StructureStatement, SyntaxKind.InterfaceStatement, SyntaxKind.ModuleStatement 3282Case SyntaxKind.EnumStatement 3285Case SyntaxKind.DelegateSubStatement, SyntaxKind.DelegateFunctionStatement 3288Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement 3291Case SyntaxKind.PropertyStatement 3294Case SyntaxKind.EventStatement 3297Case SyntaxKind.SubNewStatement 3300Case SyntaxKind.GetAccessorStatement, SyntaxKind.SetAccessorStatement, 3301SyntaxKind.AddHandlerAccessorStatement, SyntaxKind.RemoveHandlerAccessorStatement, SyntaxKind.RaiseEventAccessorStatement 3304Case SyntaxKind.OperatorStatement, 3305SyntaxKind.DeclareSubStatement, SyntaxKind.DeclareFunctionStatement 3308Case SyntaxKind.NamespaceBlock 3311Case SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ModuleBlock 3314Case SyntaxKind.EnumBlock 3317Case SyntaxKind.SubBlock, SyntaxKind.FunctionBlock, SyntaxKind.ConstructorBlock, SyntaxKind.OperatorBlock, 3318SyntaxKind.GetAccessorBlock, SyntaxKind.SetAccessorBlock, 3319SyntaxKind.AddHandlerAccessorBlock, SyntaxKind.RemoveHandlerAccessorBlock, SyntaxKind.RaiseEventAccessorBlock 3322Case SyntaxKind.PropertyBlock 3325Case SyntaxKind.EventBlock 3328Case SyntaxKind.CollectionRangeVariable 3331Case SyntaxKind.ExpressionRangeVariable 3334Case SyntaxKind.AggregationRangeVariable 3337Case SyntaxKind.CatchStatement 3340Case SyntaxKind.InferredFieldInitializer, SyntaxKind.NamedFieldInitializer 3343Case SyntaxKind.AnonymousObjectCreationExpression
Compilation\SyntaxTreeSemanticModel.vb (80)
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) 569Case SyntaxKind.XmlCrefAttribute, 570SyntaxKind.XmlNameAttribute 573Case SyntaxKind.DocumentationCommentTrivia 584Dim isCrefAttribute As Boolean = attributeNode.Kind = SyntaxKind.XmlCrefAttribute 585Debug.Assert(isCrefAttribute OrElse attributeNode.Kind = SyntaxKind.XmlNameAttribute) 588If trivia.Kind = SyntaxKind.None Then 593If token.Kind = SyntaxKind.None Then 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 978Case SyntaxKind.ClassBlock, SyntaxKind.EnumBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ModuleBlock 981Case SyntaxKind.SubBlock, SyntaxKind.FunctionBlock, SyntaxKind.ConstructorBlock, SyntaxKind.OperatorBlock, SyntaxKind.PropertyBlock, SyntaxKind.EventBlock 988Case SyntaxKind.CompilationUnit 990Case SyntaxKind.NamespaceBlock 1002Case SyntaxKind.GetAccessorBlock, SyntaxKind.SetAccessorBlock, SyntaxKind.AddHandlerAccessorBlock, SyntaxKind.RemoveHandlerAccessorBlock, SyntaxKind.RaiseEventAccessorBlock 1008Case SyntaxKind.AddHandlerAccessorBlock, SyntaxKind.RemoveHandlerAccessorBlock 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 1628Case SyntaxKind.NextStatement 1631Case SyntaxKind.EqualsValue 1639Case SyntaxKind.EnumMemberDeclaration, 1640SyntaxKind.Parameter 1643Case SyntaxKind.VariableDeclarator 1648Case SyntaxKind.ConstKeyword 1659Case SyntaxKind.RaiseEventStatement 1662Case SyntaxKind.NamedFieldInitializer 1668Case SyntaxKind.NameColonEquals 1671Case SyntaxKind.RangeArgument 1677Case SyntaxKind.ArgumentList, 1678SyntaxKind.SimpleArgument, 1679SyntaxKind.ObjectMemberInitializer 1682Case SyntaxKind.GoToStatement 1685Case SyntaxKind.XmlDeclarationOption 1695Case SyntaxKind.XmlElementEndTag 1719If expression.Kind = SyntaxKind.PredefinedType OrElse SyntaxFacts.IsInNamespaceOrTypeContext(expression) Then 1729Case SyntaxKind.CollectionInitializer 1734Case SyntaxKind.ObjectCollectionInitializer 1739Case SyntaxKind.ArrayCreationExpression 1744Case SyntaxKind.CollectionInitializer 1751If parent IsNot Nothing AndAlso parent.Kind = SyntaxKind.CollectionInitializer Then 1755If parent IsNot Nothing AndAlso parent.Kind = SyntaxKind.ObjectCollectionInitializer AndAlso 1765Case SyntaxKind.NumericLabel, 1766SyntaxKind.IdentifierLabel, 1767SyntaxKind.NextLabel 1817Debug.Assert(forBlockOrStatement.Kind <> SyntaxKind.ForStatement) 1818Debug.Assert(forBlockOrStatement.Kind <> SyntaxKind.ForEachStatement)
Compilation\VisualBasicCompilation.vb (7)
838Case SyntaxKind.PrintStatement 844Case SyntaxKind.ExpressionStatement 849Case SyntaxKind.CallStatement 2322Dim getKind As Func(Of SyntaxNode, SyntaxKind) = Function(node As SyntaxNode) node.Kind 2323Dim isComment As Func(Of SyntaxTrivia, Boolean) = Function(trivia As SyntaxTrivia) trivia.Kind() = SyntaxKind.CommentTrivia 2324Return New AnalyzerDriver(Of SyntaxKind)(analyzers, getKind, analyzerManager, severityFilter, isComment) 2621Dim checksumDirectives = tree.GetRoot().GetDirectives(Function(d) d.Kind = SyntaxKind.ExternalChecksumDirectiveTrivia AndAlso
Declarations\DeclarationTreeBuilder.vb (71)
78requiresImplicitClass = member.Kind <> SyntaxKind.IncompleteMember AndAlso member.Kind <> SyntaxKind.EmptyStatement 132Debug.Assert(parent.Kind = SyntaxKind.CompilationUnit AndAlso _syntaxTree.Options.Kind <> SourceCodeKind.Regular) 238If clause.Kind <> SyntaxKind.SimpleImportsClause Then 354If name.Kind = SyntaxKind.GlobalName Then 355If nsBlockSyntax.Parent.Kind = SyntaxKind.CompilationUnit Then 424Case SyntaxKind.ModuleBlock, 425SyntaxKind.ClassBlock, 426SyntaxKind.StructureBlock, 427SyntaxKind.InterfaceBlock 460Case SyntaxKind.ModuleBlock, 461SyntaxKind.ClassBlock, 462SyntaxKind.StructureBlock, 463SyntaxKind.InterfaceBlock 492Case SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock 623Case SyntaxKind.FieldDeclaration 636Case SyntaxKind.SubBlock, SyntaxKind.FunctionBlock, SyntaxKind.ConstructorBlock, SyntaxKind.OperatorBlock 644Case SyntaxKind.PropertyBlock 658Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement, 659SyntaxKind.SubNewStatement, SyntaxKind.DeclareSubStatement, 660SyntaxKind.DeclareFunctionStatement, SyntaxKind.OperatorStatement, 661SyntaxKind.PropertyStatement 670Case SyntaxKind.EventBlock 685Case SyntaxKind.EventStatement 719If member.Kind = SyntaxKind.EnumMemberDeclaration Then 789Public Shared Function GetKind(kind As SyntaxKind) As DeclarationKind 791Case SyntaxKind.ClassStatement : Return DeclarationKind.Class 792Case SyntaxKind.InterfaceStatement : Return DeclarationKind.Interface 793Case SyntaxKind.StructureStatement : Return DeclarationKind.Structure 794Case SyntaxKind.NamespaceStatement : Return DeclarationKind.Namespace 795Case SyntaxKind.ModuleStatement : Return DeclarationKind.Module 796Case SyntaxKind.EnumStatement : Return DeclarationKind.Enum 797Case SyntaxKind.DelegateFunctionStatement, 798SyntaxKind.DelegateSubStatement : Return DeclarationKind.Delegate 819Case SyntaxKind.MustInheritKeyword : bit = DeclarationModifiers.MustInherit 820Case SyntaxKind.NotInheritableKeyword : bit = DeclarationModifiers.NotInheritable 821Case SyntaxKind.PartialKeyword : bit = DeclarationModifiers.Partial 822Case SyntaxKind.ShadowsKeyword : bit = DeclarationModifiers.Shadows 823Case SyntaxKind.PublicKeyword : bit = DeclarationModifiers.Public 824Case SyntaxKind.ProtectedKeyword : bit = DeclarationModifiers.Protected 825Case SyntaxKind.FriendKeyword : bit = DeclarationModifiers.Friend 826Case SyntaxKind.PrivateKeyword : bit = DeclarationModifiers.Private 827Case SyntaxKind.ShadowsKeyword : bit = DeclarationModifiers.Shadows 828Case SyntaxKind.MustInheritKeyword : bit = DeclarationModifiers.MustInherit 829Case SyntaxKind.NotInheritableKeyword : bit = DeclarationModifiers.NotInheritable 830Case SyntaxKind.PartialKeyword : bit = DeclarationModifiers.Partial 831Case SyntaxKind.SharedKeyword : bit = DeclarationModifiers.Shared 832Case SyntaxKind.ReadOnlyKeyword : bit = DeclarationModifiers.ReadOnly 833Case SyntaxKind.WriteOnlyKeyword : bit = DeclarationModifiers.WriteOnly 834Case SyntaxKind.OverridesKeyword : bit = DeclarationModifiers.Overrides 835Case SyntaxKind.OverridableKeyword : bit = DeclarationModifiers.Overridable 836Case SyntaxKind.MustOverrideKeyword : bit = DeclarationModifiers.MustOverride 837Case SyntaxKind.NotOverridableKeyword : bit = DeclarationModifiers.NotOverridable 838Case SyntaxKind.OverloadsKeyword : bit = DeclarationModifiers.Overloads 839Case SyntaxKind.WithEventsKeyword : bit = DeclarationModifiers.WithEvents 840Case SyntaxKind.DimKeyword : bit = DeclarationModifiers.Dim 841Case SyntaxKind.ConstKeyword : bit = DeclarationModifiers.Const 842Case SyntaxKind.DefaultKeyword : bit = DeclarationModifiers.Default 843Case SyntaxKind.StaticKeyword : bit = DeclarationModifiers.Static 844Case SyntaxKind.WideningKeyword : bit = DeclarationModifiers.Widening 845Case SyntaxKind.NarrowingKeyword : bit = DeclarationModifiers.Narrowing 846Case SyntaxKind.AsyncKeyword : bit = DeclarationModifiers.Async 847Case SyntaxKind.IteratorKeyword : bit = DeclarationModifiers.Iterator
Declarations\MergedTypeDeclaration.vb (7)
87Case SyntaxKind.ClassBlock, 88SyntaxKind.ModuleBlock, 89SyntaxKind.StructureBlock, 90SyntaxKind.InterfaceBlock 93Case SyntaxKind.DelegateFunctionStatement, 94SyntaxKind.DelegateSubStatement 97Case SyntaxKind.EnumBlock
Errors\ErrorFactories.vb (1)
74Public Shared Function ErrorInfo(id As ERRID, ByRef syntaxTokenKind As SyntaxKind) As DiagnosticInfo
Generated\Syntax.xml.Internal.Generated.vb (3277)
35Friend Sub New(ByVal kind As SyntaxKind) 39Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 44Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 57Friend Sub New(ByVal kind As SyntaxKind) 61Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 66Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 80Friend Sub New(ByVal kind As SyntaxKind) 84Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 89Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 104Friend Sub New(ByVal kind As SyntaxKind, empty As InternalSyntax.PunctuationSyntax) 113Friend Sub New(ByVal kind As SyntaxKind, empty As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 123Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), empty As InternalSyntax.PunctuationSyntax) 178Friend Sub New(ByVal kind As SyntaxKind, endKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax) 189Friend Sub New(ByVal kind As SyntaxKind, endKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 201Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), endKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax) 276Friend Sub New(ByVal kind As SyntaxKind, options As GreenNode, [imports] As GreenNode, attributes As GreenNode, members As GreenNode, endOfFileToken As InternalSyntax.PunctuationSyntax) 301Friend Sub New(ByVal kind As SyntaxKind, options As GreenNode, [imports] As GreenNode, attributes As GreenNode, members As GreenNode, endOfFileToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 327Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), options As GreenNode, [imports] As GreenNode, attributes As GreenNode, members As GreenNode, endOfFileToken As InternalSyntax.PunctuationSyntax) 460Friend Sub New(ByVal kind As SyntaxKind, optionKeyword As InternalSyntax.KeywordSyntax, nameKeyword As InternalSyntax.KeywordSyntax, valueKeyword As InternalSyntax.KeywordSyntax) 475Friend Sub New(ByVal kind As SyntaxKind, optionKeyword As InternalSyntax.KeywordSyntax, nameKeyword As InternalSyntax.KeywordSyntax, valueKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 491Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), optionKeyword As InternalSyntax.KeywordSyntax, nameKeyword As InternalSyntax.KeywordSyntax, valueKeyword As InternalSyntax.KeywordSyntax) 580Friend Sub New(ByVal kind As SyntaxKind, importsKeyword As InternalSyntax.KeywordSyntax, importsClauses As GreenNode) 593Friend Sub New(ByVal kind As SyntaxKind, importsKeyword As InternalSyntax.KeywordSyntax, importsClauses As GreenNode, context As ISyntaxFactoryContext) 607Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), importsKeyword As InternalSyntax.KeywordSyntax, importsClauses As GreenNode) 680Friend Sub New(ByVal kind As SyntaxKind) 684Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 689Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 705Friend Sub New(ByVal kind As SyntaxKind, [alias] As ImportAliasClauseSyntax, name As NameSyntax) 718Friend Sub New(ByVal kind As SyntaxKind, [alias] As ImportAliasClauseSyntax, name As NameSyntax, context As ISyntaxFactoryContext) 732Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), [alias] As ImportAliasClauseSyntax, name As NameSyntax) 806Friend Sub New(ByVal kind As SyntaxKind, identifier As InternalSyntax.IdentifierTokenSyntax, equalsToken As InternalSyntax.PunctuationSyntax) 817Friend Sub New(ByVal kind As SyntaxKind, identifier As InternalSyntax.IdentifierTokenSyntax, equalsToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 829Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax, equalsToken As InternalSyntax.PunctuationSyntax) 899Friend Sub New(ByVal kind As SyntaxKind, lessThanToken As InternalSyntax.PunctuationSyntax, xmlNamespace As XmlAttributeSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax) 912Friend Sub New(ByVal kind As SyntaxKind, lessThanToken As InternalSyntax.PunctuationSyntax, xmlNamespace As XmlAttributeSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 926Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, xmlNamespace As XmlAttributeSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax) 1003Friend Sub New(ByVal kind As SyntaxKind, namespaceStatement As NamespaceStatementSyntax, members As GreenNode, endNamespaceStatement As EndBlockStatementSyntax) 1018Friend Sub New(ByVal kind As SyntaxKind, namespaceStatement As NamespaceStatementSyntax, members As GreenNode, endNamespaceStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 1034Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), namespaceStatement As NamespaceStatementSyntax, members As GreenNode, endNamespaceStatement As EndBlockStatementSyntax) 1122Friend Sub New(ByVal kind As SyntaxKind, namespaceKeyword As InternalSyntax.KeywordSyntax, name As NameSyntax) 1133Friend Sub New(ByVal kind As SyntaxKind, namespaceKeyword As InternalSyntax.KeywordSyntax, name As NameSyntax, context As ISyntaxFactoryContext) 1145Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), namespaceKeyword As InternalSyntax.KeywordSyntax, name As NameSyntax) 1216Friend Sub New(ByVal kind As SyntaxKind, [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode) 1234Friend Sub New(ByVal kind As SyntaxKind, [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode, context As ISyntaxFactoryContext) 1253Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode) 1319Friend Sub New(ByVal kind As SyntaxKind, moduleStatement As ModuleStatementSyntax, [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode, endModuleStatement As EndBlockStatementSyntax) 1330Friend Sub New(ByVal kind As SyntaxKind, moduleStatement As ModuleStatementSyntax, [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode, endModuleStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 1342Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), moduleStatement As ModuleStatementSyntax, [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode, endModuleStatement As EndBlockStatementSyntax) 1418Friend Sub New(ByVal kind As SyntaxKind, structureStatement As StructureStatementSyntax, [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode, endStructureStatement As EndBlockStatementSyntax) 1429Friend Sub New(ByVal kind As SyntaxKind, structureStatement As StructureStatementSyntax, [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode, endStructureStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 1441Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), structureStatement As StructureStatementSyntax, [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode, endStructureStatement As EndBlockStatementSyntax) 1517Friend Sub New(ByVal kind As SyntaxKind, interfaceStatement As InterfaceStatementSyntax, [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode, endInterfaceStatement As EndBlockStatementSyntax) 1528Friend Sub New(ByVal kind As SyntaxKind, interfaceStatement As InterfaceStatementSyntax, [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode, endInterfaceStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 1540Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), interfaceStatement As InterfaceStatementSyntax, [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode, endInterfaceStatement As EndBlockStatementSyntax) 1616Friend Sub New(ByVal kind As SyntaxKind, classStatement As ClassStatementSyntax, [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode, endClassStatement As EndBlockStatementSyntax) 1627Friend Sub New(ByVal kind As SyntaxKind, classStatement As ClassStatementSyntax, [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode, endClassStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 1639Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), classStatement As ClassStatementSyntax, [inherits] As GreenNode, [implements] As GreenNode, members As GreenNode, endClassStatement As EndBlockStatementSyntax) 1716Friend Sub New(ByVal kind As SyntaxKind, enumStatement As EnumStatementSyntax, members As GreenNode, endEnumStatement As EndBlockStatementSyntax) 1731Friend Sub New(ByVal kind As SyntaxKind, enumStatement As EnumStatementSyntax, members As GreenNode, endEnumStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 1747Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), enumStatement As EnumStatementSyntax, members As GreenNode, endEnumStatement As EndBlockStatementSyntax) 1833Friend Sub New(ByVal kind As SyntaxKind) 1837Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 1842Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 1857Friend Sub New(ByVal kind As SyntaxKind, inheritsKeyword As InternalSyntax.KeywordSyntax, types As GreenNode) 1870Friend Sub New(ByVal kind As SyntaxKind, inheritsKeyword As InternalSyntax.KeywordSyntax, types As GreenNode, context As ISyntaxFactoryContext) 1884Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), inheritsKeyword As InternalSyntax.KeywordSyntax, types As GreenNode) 1955Friend Sub New(ByVal kind As SyntaxKind, implementsKeyword As InternalSyntax.KeywordSyntax, types As GreenNode) 1968Friend Sub New(ByVal kind As SyntaxKind, implementsKeyword As InternalSyntax.KeywordSyntax, types As GreenNode, context As ISyntaxFactoryContext) 1982Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), implementsKeyword As InternalSyntax.KeywordSyntax, types As GreenNode) 2058Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 2078Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, context As ISyntaxFactoryContext) 2099Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 2178Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, moduleKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 2187Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, moduleKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, context As ISyntaxFactoryContext) 2197Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, moduleKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 2261Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, structureKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 2270Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, structureKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, context As ISyntaxFactoryContext) 2280Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, structureKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 2344Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, interfaceKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 2353Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, interfaceKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, context As ISyntaxFactoryContext) 2363Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, interfaceKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 2427Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, classKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 2436Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, classKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, context As ISyntaxFactoryContext) 2446Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, classKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 2514Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, enumKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, underlyingType As AsClauseSyntax) 2537Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, enumKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, underlyingType As AsClauseSyntax, context As ISyntaxFactoryContext) 2561Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, enumKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, underlyingType As AsClauseSyntax) 2689Friend Sub New(ByVal kind As SyntaxKind, openParenToken As InternalSyntax.PunctuationSyntax, ofKeyword As InternalSyntax.KeywordSyntax, parameters As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 2706Friend Sub New(ByVal kind As SyntaxKind, openParenToken As InternalSyntax.PunctuationSyntax, ofKeyword As InternalSyntax.KeywordSyntax, parameters As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 2724Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, ofKeyword As InternalSyntax.KeywordSyntax, parameters As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 2823Friend Sub New(ByVal kind As SyntaxKind, varianceKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterConstraintClause As TypeParameterConstraintClauseSyntax) 2840Friend Sub New(ByVal kind As SyntaxKind, varianceKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterConstraintClause As TypeParameterConstraintClauseSyntax, context As ISyntaxFactoryContext) 2858Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), varianceKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterConstraintClause As TypeParameterConstraintClauseSyntax) 2951Friend Sub New(ByVal kind As SyntaxKind) 2955Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 2960Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 2976Friend Sub New(ByVal kind As SyntaxKind, asKeyword As InternalSyntax.KeywordSyntax, constraint As ConstraintSyntax) 2987Friend Sub New(ByVal kind As SyntaxKind, asKeyword As InternalSyntax.KeywordSyntax, constraint As ConstraintSyntax, context As ISyntaxFactoryContext) 2999Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax, constraint As ConstraintSyntax) 3073Friend Sub New(ByVal kind As SyntaxKind, asKeyword As InternalSyntax.KeywordSyntax, openBraceToken As InternalSyntax.PunctuationSyntax, constraints As GreenNode, closeBraceToken As InternalSyntax.PunctuationSyntax) 3090Friend Sub New(ByVal kind As SyntaxKind, asKeyword As InternalSyntax.KeywordSyntax, openBraceToken As InternalSyntax.PunctuationSyntax, constraints As GreenNode, closeBraceToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 3108Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax, openBraceToken As InternalSyntax.PunctuationSyntax, constraints As GreenNode, closeBraceToken As InternalSyntax.PunctuationSyntax) 3205Friend Sub New(ByVal kind As SyntaxKind) 3209Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 3214Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 3230Friend Sub New(ByVal kind As SyntaxKind, constraintKeyword As InternalSyntax.KeywordSyntax) 3239Friend Sub New(ByVal kind As SyntaxKind, constraintKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 3249Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), constraintKeyword As InternalSyntax.KeywordSyntax) 3304Friend Sub New(ByVal kind As SyntaxKind, type As TypeSyntax) 3313Friend Sub New(ByVal kind As SyntaxKind, type As TypeSyntax, context As ISyntaxFactoryContext) 3323Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), type As TypeSyntax) 3379Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, identifier As InternalSyntax.IdentifierTokenSyntax, initializer As EqualsValueSyntax) 3396Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, identifier As InternalSyntax.IdentifierTokenSyntax, initializer As EqualsValueSyntax, context As ISyntaxFactoryContext) 3414Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, identifier As InternalSyntax.IdentifierTokenSyntax, initializer As EqualsValueSyntax) 3502Friend Sub New(ByVal kind As SyntaxKind, statements As GreenNode) 3512Friend Sub New(ByVal kind As SyntaxKind, statements As GreenNode, context As ISyntaxFactoryContext) 3523Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), statements As GreenNode) 3557Friend Sub New(ByVal kind As SyntaxKind, subOrFunctionStatement As MethodStatementSyntax, statements As GreenNode, endSubOrFunctionStatement As EndBlockStatementSyntax) 3568Friend Sub New(ByVal kind As SyntaxKind, subOrFunctionStatement As MethodStatementSyntax, statements As GreenNode, endSubOrFunctionStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 3580Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionStatement As MethodStatementSyntax, statements As GreenNode, endSubOrFunctionStatement As EndBlockStatementSyntax) 3652Friend Sub New(ByVal kind As SyntaxKind, subNewStatement As SubNewStatementSyntax, statements As GreenNode, endSubStatement As EndBlockStatementSyntax) 3663Friend Sub New(ByVal kind As SyntaxKind, subNewStatement As SubNewStatementSyntax, statements As GreenNode, endSubStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 3675Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subNewStatement As SubNewStatementSyntax, statements As GreenNode, endSubStatement As EndBlockStatementSyntax) 3747Friend Sub New(ByVal kind As SyntaxKind, operatorStatement As OperatorStatementSyntax, statements As GreenNode, endOperatorStatement As EndBlockStatementSyntax) 3758Friend Sub New(ByVal kind As SyntaxKind, operatorStatement As OperatorStatementSyntax, statements As GreenNode, endOperatorStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 3770Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), operatorStatement As OperatorStatementSyntax, statements As GreenNode, endOperatorStatement As EndBlockStatementSyntax) 3843Friend Sub New(ByVal kind As SyntaxKind, accessorStatement As AccessorStatementSyntax, statements As GreenNode, endAccessorStatement As EndBlockStatementSyntax) 3854Friend Sub New(ByVal kind As SyntaxKind, accessorStatement As AccessorStatementSyntax, statements As GreenNode, endAccessorStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 3866Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), accessorStatement As AccessorStatementSyntax, statements As GreenNode, endAccessorStatement As EndBlockStatementSyntax) 3941Friend Sub New(ByVal kind As SyntaxKind, propertyStatement As PropertyStatementSyntax, accessors As GreenNode, endPropertyStatement As EndBlockStatementSyntax) 3956Friend Sub New(ByVal kind As SyntaxKind, propertyStatement As PropertyStatementSyntax, accessors As GreenNode, endPropertyStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 3972Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), propertyStatement As PropertyStatementSyntax, accessors As GreenNode, endPropertyStatement As EndBlockStatementSyntax) 4059Friend Sub New(ByVal kind As SyntaxKind, eventStatement As EventStatementSyntax, accessors As GreenNode, endEventStatement As EndBlockStatementSyntax) 4074Friend Sub New(ByVal kind As SyntaxKind, eventStatement As EventStatementSyntax, accessors As GreenNode, endEventStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 4090Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), eventStatement As EventStatementSyntax, accessors As GreenNode, endEventStatement As EndBlockStatementSyntax) 4179Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, parameterList As ParameterListSyntax) 4197Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, parameterList As ParameterListSyntax, context As ISyntaxFactoryContext) 4216Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, parameterList As ParameterListSyntax) 4287Friend Sub New(ByVal kind As SyntaxKind, openParenToken As InternalSyntax.PunctuationSyntax, parameters As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 4302Friend Sub New(ByVal kind As SyntaxKind, openParenToken As InternalSyntax.PunctuationSyntax, parameters As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 4318Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, parameters As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 4414Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) 4441Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax, context As ISyntaxFactoryContext) 4469Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) 4621Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, subKeyword As InternalSyntax.KeywordSyntax, newKeyword As InternalSyntax.KeywordSyntax, parameterList As ParameterListSyntax) 4632Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, subKeyword As InternalSyntax.KeywordSyntax, newKeyword As InternalSyntax.KeywordSyntax, parameterList As ParameterListSyntax, context As ISyntaxFactoryContext) 4644Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, subKeyword As InternalSyntax.KeywordSyntax, newKeyword As InternalSyntax.KeywordSyntax, parameterList As ParameterListSyntax) 4726Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, declareKeyword As InternalSyntax.KeywordSyntax, charsetKeyword As InternalSyntax.KeywordSyntax, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, libKeyword As InternalSyntax.KeywordSyntax, libraryName As LiteralExpressionSyntax, aliasKeyword As InternalSyntax.KeywordSyntax, aliasName As LiteralExpressionSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 4759Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, declareKeyword As InternalSyntax.KeywordSyntax, charsetKeyword As InternalSyntax.KeywordSyntax, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, libKeyword As InternalSyntax.KeywordSyntax, libraryName As LiteralExpressionSyntax, aliasKeyword As InternalSyntax.KeywordSyntax, aliasName As LiteralExpressionSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, context As ISyntaxFactoryContext) 4793Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, declareKeyword As InternalSyntax.KeywordSyntax, charsetKeyword As InternalSyntax.KeywordSyntax, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, libKeyword As InternalSyntax.KeywordSyntax, libraryName As LiteralExpressionSyntax, aliasKeyword As InternalSyntax.KeywordSyntax, aliasName As LiteralExpressionSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 4984Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, delegateKeyword As InternalSyntax.KeywordSyntax, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 5005Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, delegateKeyword As InternalSyntax.KeywordSyntax, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, context As ISyntaxFactoryContext) 5027Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, delegateKeyword As InternalSyntax.KeywordSyntax, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 5158Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, customKeyword As InternalSyntax.KeywordSyntax, eventKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, implementsClause As ImplementsClauseSyntax) 5181Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, customKeyword As InternalSyntax.KeywordSyntax, eventKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, implementsClause As ImplementsClauseSyntax, context As ISyntaxFactoryContext) 5205Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, customKeyword As InternalSyntax.KeywordSyntax, eventKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, implementsClause As ImplementsClauseSyntax) 5340Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, operatorKeyword As InternalSyntax.KeywordSyntax, operatorToken As InternalSyntax.SyntaxToken, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 5355Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, operatorKeyword As InternalSyntax.KeywordSyntax, operatorToken As InternalSyntax.SyntaxToken, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, context As ISyntaxFactoryContext) 5371Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, operatorKeyword As InternalSyntax.KeywordSyntax, operatorToken As InternalSyntax.SyntaxToken, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 5471Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, propertyKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, parameterList As ParameterListSyntax, asClause As AsClauseSyntax, initializer As EqualsValueSyntax, implementsClause As ImplementsClauseSyntax) 5494Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, propertyKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, parameterList As ParameterListSyntax, asClause As AsClauseSyntax, initializer As EqualsValueSyntax, implementsClause As ImplementsClauseSyntax, context As ISyntaxFactoryContext) 5518Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, propertyKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, parameterList As ParameterListSyntax, asClause As AsClauseSyntax, initializer As EqualsValueSyntax, implementsClause As ImplementsClauseSyntax) 5652Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, accessorKeyword As InternalSyntax.KeywordSyntax, parameterList As ParameterListSyntax) 5661Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, accessorKeyword As InternalSyntax.KeywordSyntax, parameterList As ParameterListSyntax, context As ISyntaxFactoryContext) 5671Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, accessorKeyword As InternalSyntax.KeywordSyntax, parameterList As ParameterListSyntax) 5735Friend Sub New(ByVal kind As SyntaxKind, implementsKeyword As InternalSyntax.KeywordSyntax, interfaceMembers As GreenNode) 5748Friend Sub New(ByVal kind As SyntaxKind, implementsKeyword As InternalSyntax.KeywordSyntax, interfaceMembers As GreenNode, context As ISyntaxFactoryContext) 5762Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), implementsKeyword As InternalSyntax.KeywordSyntax, interfaceMembers As GreenNode) 5834Friend Sub New(ByVal kind As SyntaxKind, handlesKeyword As InternalSyntax.KeywordSyntax, events As GreenNode) 5847Friend Sub New(ByVal kind As SyntaxKind, handlesKeyword As InternalSyntax.KeywordSyntax, events As GreenNode, context As ISyntaxFactoryContext) 5861Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), handlesKeyword As InternalSyntax.KeywordSyntax, events As GreenNode) 5930Friend Sub New(ByVal kind As SyntaxKind) 5934Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 5939Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 5954Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax) 5963Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 5973Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 6028Friend Sub New(ByVal kind As SyntaxKind, identifier As InternalSyntax.IdentifierTokenSyntax) 6037Friend Sub New(ByVal kind As SyntaxKind, identifier As InternalSyntax.IdentifierTokenSyntax, context As ISyntaxFactoryContext) 6047Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax) 6104Friend Sub New(ByVal kind As SyntaxKind, withEventsContainer As WithEventsEventContainerSyntax, dotToken As InternalSyntax.PunctuationSyntax, [property] As IdentifierNameSyntax) 6117Friend Sub New(ByVal kind As SyntaxKind, withEventsContainer As WithEventsEventContainerSyntax, dotToken As InternalSyntax.PunctuationSyntax, [property] As IdentifierNameSyntax, context As ISyntaxFactoryContext) 6131Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withEventsContainer As WithEventsEventContainerSyntax, dotToken As InternalSyntax.PunctuationSyntax, [property] As IdentifierNameSyntax) 6215Friend Sub New(ByVal kind As SyntaxKind, eventContainer As EventContainerSyntax, dotToken As InternalSyntax.PunctuationSyntax, eventMember As IdentifierNameSyntax) 6228Friend Sub New(ByVal kind As SyntaxKind, eventContainer As EventContainerSyntax, dotToken As InternalSyntax.PunctuationSyntax, eventMember As IdentifierNameSyntax, context As ISyntaxFactoryContext) 6242Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), eventContainer As EventContainerSyntax, dotToken As InternalSyntax.PunctuationSyntax, eventMember As IdentifierNameSyntax) 6329Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, missingIdentifier As InternalSyntax.IdentifierTokenSyntax) 6348Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, missingIdentifier As InternalSyntax.IdentifierTokenSyntax, context As ISyntaxFactoryContext) 6368Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, missingIdentifier As InternalSyntax.IdentifierTokenSyntax) 6472Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, declarators As GreenNode) 6491Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, declarators As GreenNode, context As ISyntaxFactoryContext) 6511Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, declarators As GreenNode) 6610Friend Sub New(ByVal kind As SyntaxKind, names As GreenNode, asClause As AsClauseSyntax, initializer As EqualsValueSyntax) 6629Friend Sub New(ByVal kind As SyntaxKind, names As GreenNode, asClause As AsClauseSyntax, initializer As EqualsValueSyntax, context As ISyntaxFactoryContext) 6649Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), names As GreenNode, asClause As AsClauseSyntax, initializer As EqualsValueSyntax) 6748Friend Sub New(ByVal kind As SyntaxKind, asKeyword As InternalSyntax.KeywordSyntax) 6756Friend Sub New(ByVal kind As SyntaxKind, asKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 6765Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax) 6795Friend Sub New(ByVal kind As SyntaxKind, asKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode, type As TypeSyntax) 6808Friend Sub New(ByVal kind As SyntaxKind, asKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode, type As TypeSyntax, context As ISyntaxFactoryContext) 6822Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode, type As TypeSyntax) 6901Friend Sub New(ByVal kind As SyntaxKind, asKeyword As InternalSyntax.KeywordSyntax, newExpression As NewExpressionSyntax) 6910Friend Sub New(ByVal kind As SyntaxKind, asKeyword As InternalSyntax.KeywordSyntax, newExpression As NewExpressionSyntax, context As ISyntaxFactoryContext) 6920Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax, newExpression As NewExpressionSyntax) 6977Friend Sub New(ByVal kind As SyntaxKind) 6981Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 6986Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 7003Friend Sub New(ByVal kind As SyntaxKind, withKeyword As InternalSyntax.KeywordSyntax, openBraceToken As InternalSyntax.PunctuationSyntax, initializers As GreenNode, closeBraceToken As InternalSyntax.PunctuationSyntax) 7020Friend Sub New(ByVal kind As SyntaxKind, withKeyword As InternalSyntax.KeywordSyntax, openBraceToken As InternalSyntax.PunctuationSyntax, initializers As GreenNode, closeBraceToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 7038Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withKeyword As InternalSyntax.KeywordSyntax, openBraceToken As InternalSyntax.PunctuationSyntax, initializers As GreenNode, closeBraceToken As InternalSyntax.PunctuationSyntax) 7136Friend Sub New(ByVal kind As SyntaxKind, fromKeyword As InternalSyntax.KeywordSyntax, initializer As CollectionInitializerSyntax) 7147Friend Sub New(ByVal kind As SyntaxKind, fromKeyword As InternalSyntax.KeywordSyntax, initializer As CollectionInitializerSyntax, context As ISyntaxFactoryContext) 7159Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), fromKeyword As InternalSyntax.KeywordSyntax, initializer As CollectionInitializerSyntax) 7228Friend Sub New(ByVal kind As SyntaxKind, keyKeyword As InternalSyntax.KeywordSyntax) 7238Friend Sub New(ByVal kind As SyntaxKind, keyKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 7249Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyKeyword As InternalSyntax.KeywordSyntax) 7282Friend Sub New(ByVal kind As SyntaxKind, keyKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 7291Friend Sub New(ByVal kind As SyntaxKind, keyKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, context As ISyntaxFactoryContext) 7301Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 7362Friend Sub New(ByVal kind As SyntaxKind, keyKeyword As InternalSyntax.KeywordSyntax, dotToken As InternalSyntax.PunctuationSyntax, name As IdentifierNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax) 7377Friend Sub New(ByVal kind As SyntaxKind, keyKeyword As InternalSyntax.KeywordSyntax, dotToken As InternalSyntax.PunctuationSyntax, name As IdentifierNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, context As ISyntaxFactoryContext) 7393Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyKeyword As InternalSyntax.KeywordSyntax, dotToken As InternalSyntax.PunctuationSyntax, name As IdentifierNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax) 7491Friend Sub New(ByVal kind As SyntaxKind, equalsToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 7502Friend Sub New(ByVal kind As SyntaxKind, equalsToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax, context As ISyntaxFactoryContext) 7514Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), equalsToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 7586Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, [default] As EqualsValueSyntax) 7611Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, [default] As EqualsValueSyntax, context As ISyntaxFactoryContext) 7637Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, [default] As EqualsValueSyntax) 7772Friend Sub New(ByVal kind As SyntaxKind, identifier As InternalSyntax.IdentifierTokenSyntax, nullable As InternalSyntax.PunctuationSyntax, arrayBounds As ArgumentListSyntax, arrayRankSpecifiers As GreenNode) 7793Friend Sub New(ByVal kind As SyntaxKind, identifier As InternalSyntax.IdentifierTokenSyntax, nullable As InternalSyntax.PunctuationSyntax, arrayBounds As ArgumentListSyntax, arrayRankSpecifiers As GreenNode, context As ISyntaxFactoryContext) 7815Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax, nullable As InternalSyntax.PunctuationSyntax, arrayBounds As ArgumentListSyntax, arrayRankSpecifiers As GreenNode) 7928Friend Sub New(ByVal kind As SyntaxKind, openParenToken As InternalSyntax.PunctuationSyntax, commaTokens As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 7943Friend Sub New(ByVal kind As SyntaxKind, openParenToken As InternalSyntax.PunctuationSyntax, commaTokens As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 7959Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, commaTokens As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 8047Friend Sub New(ByVal kind As SyntaxKind, lessThanToken As InternalSyntax.PunctuationSyntax, attributes As GreenNode, greaterThanToken As InternalSyntax.PunctuationSyntax) 8062Friend Sub New(ByVal kind As SyntaxKind, lessThanToken As InternalSyntax.PunctuationSyntax, attributes As GreenNode, greaterThanToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 8078Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, attributes As GreenNode, greaterThanToken As InternalSyntax.PunctuationSyntax) 8166Friend Sub New(ByVal kind As SyntaxKind, target As AttributeTargetSyntax, name As TypeSyntax, argumentList As ArgumentListSyntax) 8184Friend Sub New(ByVal kind As SyntaxKind, target As AttributeTargetSyntax, name As TypeSyntax, argumentList As ArgumentListSyntax, context As ISyntaxFactoryContext) 8203Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), target As AttributeTargetSyntax, name As TypeSyntax, argumentList As ArgumentListSyntax) 8297Friend Sub New(ByVal kind As SyntaxKind, attributeModifier As InternalSyntax.KeywordSyntax, colonToken As InternalSyntax.PunctuationSyntax) 8308Friend Sub New(ByVal kind As SyntaxKind, attributeModifier As InternalSyntax.KeywordSyntax, colonToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 8320Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeModifier As InternalSyntax.KeywordSyntax, colonToken As InternalSyntax.PunctuationSyntax) 8391Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode) 8402Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, context As ISyntaxFactoryContext) 8414Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode) 8475Friend Sub New(ByVal kind As SyntaxKind, expression As ExpressionSyntax) 8484Friend Sub New(ByVal kind As SyntaxKind, expression As ExpressionSyntax, context As ISyntaxFactoryContext) 8494Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax) 8549Friend Sub New(ByVal kind As SyntaxKind, questionToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax) 8560Friend Sub New(ByVal kind As SyntaxKind, questionToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, context As ISyntaxFactoryContext) 8572Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), questionToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax) 8643Friend Sub New(ByVal kind As SyntaxKind, whileStatement As WhileStatementSyntax, statements As GreenNode, endWhileStatement As EndBlockStatementSyntax) 8658Friend Sub New(ByVal kind As SyntaxKind, whileStatement As WhileStatementSyntax, statements As GreenNode, endWhileStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 8674Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whileStatement As WhileStatementSyntax, statements As GreenNode, endWhileStatement As EndBlockStatementSyntax) 8763Friend Sub New(ByVal kind As SyntaxKind, usingStatement As UsingStatementSyntax, statements As GreenNode, endUsingStatement As EndBlockStatementSyntax) 8778Friend Sub New(ByVal kind As SyntaxKind, usingStatement As UsingStatementSyntax, statements As GreenNode, endUsingStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 8794Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), usingStatement As UsingStatementSyntax, statements As GreenNode, endUsingStatement As EndBlockStatementSyntax) 8884Friend Sub New(ByVal kind As SyntaxKind, syncLockStatement As SyncLockStatementSyntax, statements As GreenNode, endSyncLockStatement As EndBlockStatementSyntax) 8899Friend Sub New(ByVal kind As SyntaxKind, syncLockStatement As SyncLockStatementSyntax, statements As GreenNode, endSyncLockStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 8915Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), syncLockStatement As SyncLockStatementSyntax, statements As GreenNode, endSyncLockStatement As EndBlockStatementSyntax) 9005Friend Sub New(ByVal kind As SyntaxKind, withStatement As WithStatementSyntax, statements As GreenNode, endWithStatement As EndBlockStatementSyntax) 9020Friend Sub New(ByVal kind As SyntaxKind, withStatement As WithStatementSyntax, statements As GreenNode, endWithStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 9036Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withStatement As WithStatementSyntax, statements As GreenNode, endWithStatement As EndBlockStatementSyntax) 9124Friend Sub New(ByVal kind As SyntaxKind, modifiers As GreenNode, declarators As GreenNode) 9139Friend Sub New(ByVal kind As SyntaxKind, modifiers As GreenNode, declarators As GreenNode, context As ISyntaxFactoryContext) 9155Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), modifiers As GreenNode, declarators As GreenNode) 9230Friend Sub New(ByVal kind As SyntaxKind, labelToken As InternalSyntax.SyntaxToken, colonToken As InternalSyntax.PunctuationSyntax) 9241Friend Sub New(ByVal kind As SyntaxKind, labelToken As InternalSyntax.SyntaxToken, colonToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 9253Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), labelToken As InternalSyntax.SyntaxToken, colonToken As InternalSyntax.PunctuationSyntax) 9323Friend Sub New(ByVal kind As SyntaxKind, goToKeyword As InternalSyntax.KeywordSyntax, label As LabelSyntax) 9334Friend Sub New(ByVal kind As SyntaxKind, goToKeyword As InternalSyntax.KeywordSyntax, label As LabelSyntax, context As ISyntaxFactoryContext) 9346Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), goToKeyword As InternalSyntax.KeywordSyntax, label As LabelSyntax) 9416Friend Sub New(ByVal kind As SyntaxKind, labelToken As InternalSyntax.SyntaxToken) 9425Friend Sub New(ByVal kind As SyntaxKind, labelToken As InternalSyntax.SyntaxToken, context As ISyntaxFactoryContext) 9435Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), labelToken As InternalSyntax.SyntaxToken) 9491Friend Sub New(ByVal kind As SyntaxKind, stopOrEndKeyword As InternalSyntax.KeywordSyntax) 9500Friend Sub New(ByVal kind As SyntaxKind, stopOrEndKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 9510Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), stopOrEndKeyword As InternalSyntax.KeywordSyntax) 9566Friend Sub New(ByVal kind As SyntaxKind, exitKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax) 9577Friend Sub New(ByVal kind As SyntaxKind, exitKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 9589Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), exitKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax) 9659Friend Sub New(ByVal kind As SyntaxKind, continueKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax) 9670Friend Sub New(ByVal kind As SyntaxKind, continueKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 9682Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), continueKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax) 9752Friend Sub New(ByVal kind As SyntaxKind, returnKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 9765Friend Sub New(ByVal kind As SyntaxKind, returnKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, context As ISyntaxFactoryContext) 9779Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), returnKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 9856Friend Sub New(ByVal kind As SyntaxKind, ifKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax, statements As GreenNode, elseClause As SingleLineElseClauseSyntax) 9877Friend Sub New(ByVal kind As SyntaxKind, ifKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax, statements As GreenNode, elseClause As SingleLineElseClauseSyntax, context As ISyntaxFactoryContext) 9899Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax, statements As GreenNode, elseClause As SingleLineElseClauseSyntax) 10018Friend Sub New(ByVal kind As SyntaxKind, elseKeyword As InternalSyntax.KeywordSyntax, statements As GreenNode) 10031Friend Sub New(ByVal kind As SyntaxKind, elseKeyword As InternalSyntax.KeywordSyntax, statements As GreenNode, context As ISyntaxFactoryContext) 10045Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseKeyword As InternalSyntax.KeywordSyntax, statements As GreenNode) 10124Friend Sub New(ByVal kind As SyntaxKind, ifStatement As IfStatementSyntax, statements As GreenNode, elseIfBlocks As GreenNode, elseBlock As ElseBlockSyntax, endIfStatement As EndBlockStatementSyntax) 10147Friend Sub New(ByVal kind As SyntaxKind, ifStatement As IfStatementSyntax, statements As GreenNode, elseIfBlocks As GreenNode, elseBlock As ElseBlockSyntax, endIfStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 10171Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifStatement As IfStatementSyntax, statements As GreenNode, elseIfBlocks As GreenNode, elseBlock As ElseBlockSyntax, endIfStatement As EndBlockStatementSyntax) 10298Friend Sub New(ByVal kind As SyntaxKind, ifKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax) 10313Friend Sub New(ByVal kind As SyntaxKind, ifKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 10329Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax) 10416Friend Sub New(ByVal kind As SyntaxKind, elseIfStatement As ElseIfStatementSyntax, statements As GreenNode) 10429Friend Sub New(ByVal kind As SyntaxKind, elseIfStatement As ElseIfStatementSyntax, statements As GreenNode, context As ISyntaxFactoryContext) 10443Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseIfStatement As ElseIfStatementSyntax, statements As GreenNode) 10519Friend Sub New(ByVal kind As SyntaxKind, elseIfKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax) 10534Friend Sub New(ByVal kind As SyntaxKind, elseIfKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 10550Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseIfKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax) 10637Friend Sub New(ByVal kind As SyntaxKind, elseStatement As ElseStatementSyntax, statements As GreenNode) 10650Friend Sub New(ByVal kind As SyntaxKind, elseStatement As ElseStatementSyntax, statements As GreenNode, context As ISyntaxFactoryContext) 10664Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseStatement As ElseStatementSyntax, statements As GreenNode) 10737Friend Sub New(ByVal kind As SyntaxKind, elseKeyword As InternalSyntax.KeywordSyntax) 10746Friend Sub New(ByVal kind As SyntaxKind, elseKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 10756Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseKeyword As InternalSyntax.KeywordSyntax) 10814Friend Sub New(ByVal kind As SyntaxKind, tryStatement As TryStatementSyntax, statements As GreenNode, catchBlocks As GreenNode, finallyBlock As FinallyBlockSyntax, endTryStatement As EndBlockStatementSyntax) 10837Friend Sub New(ByVal kind As SyntaxKind, tryStatement As TryStatementSyntax, statements As GreenNode, catchBlocks As GreenNode, finallyBlock As FinallyBlockSyntax, endTryStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 10861Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), tryStatement As TryStatementSyntax, statements As GreenNode, catchBlocks As GreenNode, finallyBlock As FinallyBlockSyntax, endTryStatement As EndBlockStatementSyntax) 10984Friend Sub New(ByVal kind As SyntaxKind, tryKeyword As InternalSyntax.KeywordSyntax) 10993Friend Sub New(ByVal kind As SyntaxKind, tryKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 11003Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), tryKeyword As InternalSyntax.KeywordSyntax) 11058Friend Sub New(ByVal kind As SyntaxKind, catchStatement As CatchStatementSyntax, statements As GreenNode) 11071Friend Sub New(ByVal kind As SyntaxKind, catchStatement As CatchStatementSyntax, statements As GreenNode, context As ISyntaxFactoryContext) 11085Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), catchStatement As CatchStatementSyntax, statements As GreenNode) 11162Friend Sub New(ByVal kind As SyntaxKind, catchKeyword As InternalSyntax.KeywordSyntax, identifierName As IdentifierNameSyntax, asClause As SimpleAsClauseSyntax, whenClause As CatchFilterClauseSyntax) 11183Friend Sub New(ByVal kind As SyntaxKind, catchKeyword As InternalSyntax.KeywordSyntax, identifierName As IdentifierNameSyntax, asClause As SimpleAsClauseSyntax, whenClause As CatchFilterClauseSyntax, context As ISyntaxFactoryContext) 11205Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), catchKeyword As InternalSyntax.KeywordSyntax, identifierName As IdentifierNameSyntax, asClause As SimpleAsClauseSyntax, whenClause As CatchFilterClauseSyntax) 11316Friend Sub New(ByVal kind As SyntaxKind, whenKeyword As InternalSyntax.KeywordSyntax, filter As ExpressionSyntax) 11327Friend Sub New(ByVal kind As SyntaxKind, whenKeyword As InternalSyntax.KeywordSyntax, filter As ExpressionSyntax, context As ISyntaxFactoryContext) 11339Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whenKeyword As InternalSyntax.KeywordSyntax, filter As ExpressionSyntax) 11408Friend Sub New(ByVal kind As SyntaxKind, finallyStatement As FinallyStatementSyntax, statements As GreenNode) 11421Friend Sub New(ByVal kind As SyntaxKind, finallyStatement As FinallyStatementSyntax, statements As GreenNode, context As ISyntaxFactoryContext) 11435Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), finallyStatement As FinallyStatementSyntax, statements As GreenNode) 11508Friend Sub New(ByVal kind As SyntaxKind, finallyKeyword As InternalSyntax.KeywordSyntax) 11517Friend Sub New(ByVal kind As SyntaxKind, finallyKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 11527Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), finallyKeyword As InternalSyntax.KeywordSyntax) 11582Friend Sub New(ByVal kind As SyntaxKind, errorKeyword As InternalSyntax.KeywordSyntax, errorNumber As ExpressionSyntax) 11593Friend Sub New(ByVal kind As SyntaxKind, errorKeyword As InternalSyntax.KeywordSyntax, errorNumber As ExpressionSyntax, context As ISyntaxFactoryContext) 11605Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), errorKeyword As InternalSyntax.KeywordSyntax, errorNumber As ExpressionSyntax) 11677Friend Sub New(ByVal kind As SyntaxKind, onKeyword As InternalSyntax.KeywordSyntax, errorKeyword As InternalSyntax.KeywordSyntax, goToKeyword As InternalSyntax.KeywordSyntax, minus As InternalSyntax.PunctuationSyntax, label As LabelSyntax) 11696Friend Sub New(ByVal kind As SyntaxKind, onKeyword As InternalSyntax.KeywordSyntax, errorKeyword As InternalSyntax.KeywordSyntax, goToKeyword As InternalSyntax.KeywordSyntax, minus As InternalSyntax.PunctuationSyntax, label As LabelSyntax, context As ISyntaxFactoryContext) 11716Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), onKeyword As InternalSyntax.KeywordSyntax, errorKeyword As InternalSyntax.KeywordSyntax, goToKeyword As InternalSyntax.KeywordSyntax, minus As InternalSyntax.PunctuationSyntax, label As LabelSyntax) 11832Friend Sub New(ByVal kind As SyntaxKind, onKeyword As InternalSyntax.KeywordSyntax, errorKeyword As InternalSyntax.KeywordSyntax, resumeKeyword As InternalSyntax.KeywordSyntax, nextKeyword As InternalSyntax.KeywordSyntax) 11847Friend Sub New(ByVal kind As SyntaxKind, onKeyword As InternalSyntax.KeywordSyntax, errorKeyword As InternalSyntax.KeywordSyntax, resumeKeyword As InternalSyntax.KeywordSyntax, nextKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 11863Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), onKeyword As InternalSyntax.KeywordSyntax, errorKeyword As InternalSyntax.KeywordSyntax, resumeKeyword As InternalSyntax.KeywordSyntax, nextKeyword As InternalSyntax.KeywordSyntax) 11959Friend Sub New(ByVal kind As SyntaxKind, resumeKeyword As InternalSyntax.KeywordSyntax, label As LabelSyntax) 11972Friend Sub New(ByVal kind As SyntaxKind, resumeKeyword As InternalSyntax.KeywordSyntax, label As LabelSyntax, context As ISyntaxFactoryContext) 11986Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), resumeKeyword As InternalSyntax.KeywordSyntax, label As LabelSyntax) 12064Friend Sub New(ByVal kind As SyntaxKind, selectStatement As SelectStatementSyntax, caseBlocks As GreenNode, endSelectStatement As EndBlockStatementSyntax) 12079Friend Sub New(ByVal kind As SyntaxKind, selectStatement As SelectStatementSyntax, caseBlocks As GreenNode, endSelectStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 12095Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), selectStatement As SelectStatementSyntax, caseBlocks As GreenNode, endSelectStatement As EndBlockStatementSyntax) 12184Friend Sub New(ByVal kind As SyntaxKind, selectKeyword As InternalSyntax.KeywordSyntax, caseKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 12199Friend Sub New(ByVal kind As SyntaxKind, selectKeyword As InternalSyntax.KeywordSyntax, caseKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, context As ISyntaxFactoryContext) 12215Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), selectKeyword As InternalSyntax.KeywordSyntax, caseKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 12302Friend Sub New(ByVal kind As SyntaxKind, caseStatement As CaseStatementSyntax, statements As GreenNode) 12315Friend Sub New(ByVal kind As SyntaxKind, caseStatement As CaseStatementSyntax, statements As GreenNode, context As ISyntaxFactoryContext) 12329Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), caseStatement As CaseStatementSyntax, statements As GreenNode) 12405Friend Sub New(ByVal kind As SyntaxKind, caseKeyword As InternalSyntax.KeywordSyntax, cases As GreenNode) 12418Friend Sub New(ByVal kind As SyntaxKind, caseKeyword As InternalSyntax.KeywordSyntax, cases As GreenNode, context As ISyntaxFactoryContext) 12432Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), caseKeyword As InternalSyntax.KeywordSyntax, cases As GreenNode) 12503Friend Sub New(ByVal kind As SyntaxKind) 12507Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 12512Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 12526Friend Sub New(ByVal kind As SyntaxKind, elseKeyword As InternalSyntax.KeywordSyntax) 12535Friend Sub New(ByVal kind As SyntaxKind, elseKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 12545Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseKeyword As InternalSyntax.KeywordSyntax) 12599Friend Sub New(ByVal kind As SyntaxKind, value As ExpressionSyntax) 12608Friend Sub New(ByVal kind As SyntaxKind, value As ExpressionSyntax, context As ISyntaxFactoryContext) 12618Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), value As ExpressionSyntax) 12674Friend Sub New(ByVal kind As SyntaxKind, lowerBound As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, upperBound As ExpressionSyntax) 12687Friend Sub New(ByVal kind As SyntaxKind, lowerBound As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, upperBound As ExpressionSyntax, context As ISyntaxFactoryContext) 12701Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lowerBound As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, upperBound As ExpressionSyntax) 12784Friend Sub New(ByVal kind As SyntaxKind, isKeyword As InternalSyntax.KeywordSyntax, operatorToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 12799Friend Sub New(ByVal kind As SyntaxKind, isKeyword As InternalSyntax.KeywordSyntax, operatorToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax, context As ISyntaxFactoryContext) 12815Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), isKeyword As InternalSyntax.KeywordSyntax, operatorToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 12904Friend Sub New(ByVal kind As SyntaxKind, syncLockKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 12915Friend Sub New(ByVal kind As SyntaxKind, syncLockKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, context As ISyntaxFactoryContext) 12927Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), syncLockKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 12998Friend Sub New(ByVal kind As SyntaxKind, doStatement As DoStatementSyntax, statements As GreenNode, loopStatement As LoopStatementSyntax) 13013Friend Sub New(ByVal kind As SyntaxKind, doStatement As DoStatementSyntax, statements As GreenNode, loopStatement As LoopStatementSyntax, context As ISyntaxFactoryContext) 13029Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), doStatement As DoStatementSyntax, statements As GreenNode, loopStatement As LoopStatementSyntax) 13116Friend Sub New(ByVal kind As SyntaxKind, doKeyword As InternalSyntax.KeywordSyntax, whileOrUntilClause As WhileOrUntilClauseSyntax) 13129Friend Sub New(ByVal kind As SyntaxKind, doKeyword As InternalSyntax.KeywordSyntax, whileOrUntilClause As WhileOrUntilClauseSyntax, context As ISyntaxFactoryContext) 13143Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), doKeyword As InternalSyntax.KeywordSyntax, whileOrUntilClause As WhileOrUntilClauseSyntax) 13218Friend Sub New(ByVal kind As SyntaxKind, loopKeyword As InternalSyntax.KeywordSyntax, whileOrUntilClause As WhileOrUntilClauseSyntax) 13231Friend Sub New(ByVal kind As SyntaxKind, loopKeyword As InternalSyntax.KeywordSyntax, whileOrUntilClause As WhileOrUntilClauseSyntax, context As ISyntaxFactoryContext) 13245Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), loopKeyword As InternalSyntax.KeywordSyntax, whileOrUntilClause As WhileOrUntilClauseSyntax) 13322Friend Sub New(ByVal kind As SyntaxKind, whileOrUntilKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 13333Friend Sub New(ByVal kind As SyntaxKind, whileOrUntilKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, context As ISyntaxFactoryContext) 13345Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whileOrUntilKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 13415Friend Sub New(ByVal kind As SyntaxKind, whileKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 13426Friend Sub New(ByVal kind As SyntaxKind, whileKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, context As ISyntaxFactoryContext) 13438Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whileKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 13507Friend Sub New(ByVal kind As SyntaxKind, statements As GreenNode, nextStatement As NextStatementSyntax) 13521Friend Sub New(ByVal kind As SyntaxKind, statements As GreenNode, nextStatement As NextStatementSyntax, context As ISyntaxFactoryContext) 13536Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), statements As GreenNode, nextStatement As NextStatementSyntax) 13588Friend Sub New(ByVal kind As SyntaxKind, forStatement As ForStatementSyntax, statements As GreenNode, nextStatement As NextStatementSyntax) 13597Friend Sub New(ByVal kind As SyntaxKind, forStatement As ForStatementSyntax, statements As GreenNode, nextStatement As NextStatementSyntax, context As ISyntaxFactoryContext) 13607Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forStatement As ForStatementSyntax, statements As GreenNode, nextStatement As NextStatementSyntax) 13668Friend Sub New(ByVal kind As SyntaxKind, forEachStatement As ForEachStatementSyntax, statements As GreenNode, nextStatement As NextStatementSyntax) 13677Friend Sub New(ByVal kind As SyntaxKind, forEachStatement As ForEachStatementSyntax, statements As GreenNode, nextStatement As NextStatementSyntax, context As ISyntaxFactoryContext) 13687Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forEachStatement As ForEachStatementSyntax, statements As GreenNode, nextStatement As NextStatementSyntax) 13747Friend Sub New(ByVal kind As SyntaxKind, forKeyword As InternalSyntax.KeywordSyntax, controlVariable As VisualBasicSyntaxNode) 13757Friend Sub New(ByVal kind As SyntaxKind, forKeyword As InternalSyntax.KeywordSyntax, controlVariable As VisualBasicSyntaxNode, context As ISyntaxFactoryContext) 13768Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forKeyword As InternalSyntax.KeywordSyntax, controlVariable As VisualBasicSyntaxNode) 13818Friend Sub New(ByVal kind As SyntaxKind, forKeyword As InternalSyntax.KeywordSyntax, controlVariable As VisualBasicSyntaxNode, equalsToken As InternalSyntax.PunctuationSyntax, fromValue As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, toValue As ExpressionSyntax, stepClause As ForStepClauseSyntax) 13837Friend Sub New(ByVal kind As SyntaxKind, forKeyword As InternalSyntax.KeywordSyntax, controlVariable As VisualBasicSyntaxNode, equalsToken As InternalSyntax.PunctuationSyntax, fromValue As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, toValue As ExpressionSyntax, stepClause As ForStepClauseSyntax, context As ISyntaxFactoryContext) 13857Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forKeyword As InternalSyntax.KeywordSyntax, controlVariable As VisualBasicSyntaxNode, equalsToken As InternalSyntax.PunctuationSyntax, fromValue As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, toValue As ExpressionSyntax, stepClause As ForStepClauseSyntax) 13974Friend Sub New(ByVal kind As SyntaxKind, stepKeyword As InternalSyntax.KeywordSyntax, stepValue As ExpressionSyntax) 13985Friend Sub New(ByVal kind As SyntaxKind, stepKeyword As InternalSyntax.KeywordSyntax, stepValue As ExpressionSyntax, context As ISyntaxFactoryContext) 13997Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), stepKeyword As InternalSyntax.KeywordSyntax, stepValue As ExpressionSyntax) 14073Friend Sub New(ByVal kind As SyntaxKind, forKeyword As InternalSyntax.KeywordSyntax, eachKeyword As InternalSyntax.KeywordSyntax, controlVariable As VisualBasicSyntaxNode, inKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 14086Friend Sub New(ByVal kind As SyntaxKind, forKeyword As InternalSyntax.KeywordSyntax, eachKeyword As InternalSyntax.KeywordSyntax, controlVariable As VisualBasicSyntaxNode, inKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, context As ISyntaxFactoryContext) 14100Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forKeyword As InternalSyntax.KeywordSyntax, eachKeyword As InternalSyntax.KeywordSyntax, controlVariable As VisualBasicSyntaxNode, inKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 14189Friend Sub New(ByVal kind As SyntaxKind, nextKeyword As InternalSyntax.KeywordSyntax, controlVariables As GreenNode) 14202Friend Sub New(ByVal kind As SyntaxKind, nextKeyword As InternalSyntax.KeywordSyntax, controlVariables As GreenNode, context As ISyntaxFactoryContext) 14216Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nextKeyword As InternalSyntax.KeywordSyntax, controlVariables As GreenNode) 14293Friend Sub New(ByVal kind As SyntaxKind, usingKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, variables As GreenNode) 14310Friend Sub New(ByVal kind As SyntaxKind, usingKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, variables As GreenNode, context As ISyntaxFactoryContext) 14328Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), usingKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, variables As GreenNode) 14422Friend Sub New(ByVal kind As SyntaxKind, throwKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 14435Friend Sub New(ByVal kind As SyntaxKind, throwKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, context As ISyntaxFactoryContext) 14449Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), throwKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 14525Friend Sub New(ByVal kind As SyntaxKind, left As ExpressionSyntax, operatorToken As InternalSyntax.PunctuationSyntax, right As ExpressionSyntax) 14538Friend Sub New(ByVal kind As SyntaxKind, left As ExpressionSyntax, operatorToken As InternalSyntax.PunctuationSyntax, right As ExpressionSyntax, context As ISyntaxFactoryContext) 14552Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As ExpressionSyntax, operatorToken As InternalSyntax.PunctuationSyntax, right As ExpressionSyntax) 14635Friend Sub New(ByVal kind As SyntaxKind, mid As InternalSyntax.IdentifierTokenSyntax, argumentList As ArgumentListSyntax) 14646Friend Sub New(ByVal kind As SyntaxKind, mid As InternalSyntax.IdentifierTokenSyntax, argumentList As ArgumentListSyntax, context As ISyntaxFactoryContext) 14658Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), mid As InternalSyntax.IdentifierTokenSyntax, argumentList As ArgumentListSyntax) 14727Friend Sub New(ByVal kind As SyntaxKind, callKeyword As InternalSyntax.KeywordSyntax, invocation As ExpressionSyntax) 14738Friend Sub New(ByVal kind As SyntaxKind, callKeyword As InternalSyntax.KeywordSyntax, invocation As ExpressionSyntax, context As ISyntaxFactoryContext) 14750Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), callKeyword As InternalSyntax.KeywordSyntax, invocation As ExpressionSyntax) 14823Friend Sub New(ByVal kind As SyntaxKind, addHandlerOrRemoveHandlerKeyword As InternalSyntax.KeywordSyntax, eventExpression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, delegateExpression As ExpressionSyntax) 14838Friend Sub New(ByVal kind As SyntaxKind, addHandlerOrRemoveHandlerKeyword As InternalSyntax.KeywordSyntax, eventExpression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, delegateExpression As ExpressionSyntax, context As ISyntaxFactoryContext) 14854Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), addHandlerOrRemoveHandlerKeyword As InternalSyntax.KeywordSyntax, eventExpression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, delegateExpression As ExpressionSyntax) 14950Friend Sub New(ByVal kind As SyntaxKind, raiseEventKeyword As InternalSyntax.KeywordSyntax, name As IdentifierNameSyntax, argumentList As ArgumentListSyntax) 14965Friend Sub New(ByVal kind As SyntaxKind, raiseEventKeyword As InternalSyntax.KeywordSyntax, name As IdentifierNameSyntax, argumentList As ArgumentListSyntax, context As ISyntaxFactoryContext) 14981Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), raiseEventKeyword As InternalSyntax.KeywordSyntax, name As IdentifierNameSyntax, argumentList As ArgumentListSyntax) 15070Friend Sub New(ByVal kind As SyntaxKind, withKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 15081Friend Sub New(ByVal kind As SyntaxKind, withKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, context As ISyntaxFactoryContext) 15093Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 15163Friend Sub New(ByVal kind As SyntaxKind, reDimKeyword As InternalSyntax.KeywordSyntax, preserveKeyword As InternalSyntax.KeywordSyntax, clauses As GreenNode) 15180Friend Sub New(ByVal kind As SyntaxKind, reDimKeyword As InternalSyntax.KeywordSyntax, preserveKeyword As InternalSyntax.KeywordSyntax, clauses As GreenNode, context As ISyntaxFactoryContext) 15198Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), reDimKeyword As InternalSyntax.KeywordSyntax, preserveKeyword As InternalSyntax.KeywordSyntax, clauses As GreenNode) 15288Friend Sub New(ByVal kind As SyntaxKind, expression As ExpressionSyntax, arrayBounds As ArgumentListSyntax) 15299Friend Sub New(ByVal kind As SyntaxKind, expression As ExpressionSyntax, arrayBounds As ArgumentListSyntax, context As ISyntaxFactoryContext) 15311Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, arrayBounds As ArgumentListSyntax) 15380Friend Sub New(ByVal kind As SyntaxKind, eraseKeyword As InternalSyntax.KeywordSyntax, expressions As GreenNode) 15393Friend Sub New(ByVal kind As SyntaxKind, eraseKeyword As InternalSyntax.KeywordSyntax, expressions As GreenNode, context As ISyntaxFactoryContext) 15407Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), eraseKeyword As InternalSyntax.KeywordSyntax, expressions As GreenNode) 15476Friend Sub New(ByVal kind As SyntaxKind) 15480Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 15485Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 15503Friend Sub New(ByVal kind As SyntaxKind, token As InternalSyntax.SyntaxToken) 15512Friend Sub New(ByVal kind As SyntaxKind, token As InternalSyntax.SyntaxToken, context As ISyntaxFactoryContext) 15522Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), token As InternalSyntax.SyntaxToken) 15586Friend Sub New(ByVal kind As SyntaxKind, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 15599Friend Sub New(ByVal kind As SyntaxKind, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 15613Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 15696Friend Sub New(ByVal kind As SyntaxKind, openParenToken As InternalSyntax.PunctuationSyntax, arguments As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 15711Friend Sub New(ByVal kind As SyntaxKind, openParenToken As InternalSyntax.PunctuationSyntax, arguments As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 15727Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, arguments As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 15812Friend Sub New(ByVal kind As SyntaxKind, openParenToken As InternalSyntax.PunctuationSyntax, elements As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 15827Friend Sub New(ByVal kind As SyntaxKind, openParenToken As InternalSyntax.PunctuationSyntax, elements As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 15843Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, elements As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 15925Friend Sub New(ByVal kind As SyntaxKind) 15929Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 15934Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 15948Friend Sub New(ByVal kind As SyntaxKind, type As TypeSyntax) 15957Friend Sub New(ByVal kind As SyntaxKind, type As TypeSyntax, context As ISyntaxFactoryContext) 15967Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), type As TypeSyntax) 16023Friend Sub New(ByVal kind As SyntaxKind, identifier As InternalSyntax.IdentifierTokenSyntax, asClause As SimpleAsClauseSyntax) 16036Friend Sub New(ByVal kind As SyntaxKind, identifier As InternalSyntax.IdentifierTokenSyntax, asClause As SimpleAsClauseSyntax, context As ISyntaxFactoryContext) 16050Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax, asClause As SimpleAsClauseSyntax) 16124Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax) 16132Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 16141Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 16167Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax) 16172Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 16178Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 16218Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax) 16223Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 16229Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 16269Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax) 16274Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 16280Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 16324Friend Sub New(ByVal kind As SyntaxKind, getTypeKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 16339Friend Sub New(ByVal kind As SyntaxKind, getTypeKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 16355Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), getTypeKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 16452Friend Sub New(ByVal kind As SyntaxKind, typeOfKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, operatorToken As InternalSyntax.KeywordSyntax, type As TypeSyntax) 16467Friend Sub New(ByVal kind As SyntaxKind, typeOfKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, operatorToken As InternalSyntax.KeywordSyntax, type As TypeSyntax, context As ISyntaxFactoryContext) 16483Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), typeOfKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, operatorToken As InternalSyntax.KeywordSyntax, type As TypeSyntax) 16580Friend Sub New(ByVal kind As SyntaxKind, getXmlNamespaceKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, name As XmlPrefixNameSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 16597Friend Sub New(ByVal kind As SyntaxKind, getXmlNamespaceKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, name As XmlPrefixNameSyntax, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 16615Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), getXmlNamespaceKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, name As XmlPrefixNameSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 16717Friend Sub New(ByVal kind As SyntaxKind, expression As ExpressionSyntax, operatorToken As InternalSyntax.PunctuationSyntax, name As SimpleNameSyntax) 16732Friend Sub New(ByVal kind As SyntaxKind, expression As ExpressionSyntax, operatorToken As InternalSyntax.PunctuationSyntax, name As SimpleNameSyntax, context As ISyntaxFactoryContext) 16748Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, operatorToken As InternalSyntax.PunctuationSyntax, name As SimpleNameSyntax) 16840Friend Sub New(ByVal kind As SyntaxKind, base As ExpressionSyntax, token1 As InternalSyntax.PunctuationSyntax, token2 As InternalSyntax.PunctuationSyntax, token3 As InternalSyntax.PunctuationSyntax, name As XmlNodeSyntax) 16863Friend Sub New(ByVal kind As SyntaxKind, base As ExpressionSyntax, token1 As InternalSyntax.PunctuationSyntax, token2 As InternalSyntax.PunctuationSyntax, token3 As InternalSyntax.PunctuationSyntax, name As XmlNodeSyntax, context As ISyntaxFactoryContext) 16887Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), base As ExpressionSyntax, token1 As InternalSyntax.PunctuationSyntax, token2 As InternalSyntax.PunctuationSyntax, token3 As InternalSyntax.PunctuationSyntax, name As XmlNodeSyntax) 17012Friend Sub New(ByVal kind As SyntaxKind, expression As ExpressionSyntax, argumentList As ArgumentListSyntax) 17027Friend Sub New(ByVal kind As SyntaxKind, expression As ExpressionSyntax, argumentList As ArgumentListSyntax, context As ISyntaxFactoryContext) 17043Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, argumentList As ArgumentListSyntax) 17122Friend Sub New(ByVal kind As SyntaxKind, newKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode) 17134Friend Sub New(ByVal kind As SyntaxKind, newKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode, context As ISyntaxFactoryContext) 17147Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), newKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode) 17194Friend Sub New(ByVal kind As SyntaxKind, newKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode, type As TypeSyntax, argumentList As ArgumentListSyntax, initializer As ObjectCreationInitializerSyntax) 17211Friend Sub New(ByVal kind As SyntaxKind, newKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode, type As TypeSyntax, argumentList As ArgumentListSyntax, initializer As ObjectCreationInitializerSyntax, context As ISyntaxFactoryContext) 17229Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), newKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode, type As TypeSyntax, argumentList As ArgumentListSyntax, initializer As ObjectCreationInitializerSyntax) 17325Friend Sub New(ByVal kind As SyntaxKind, newKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode, initializer As ObjectMemberInitializerSyntax) 17334Friend Sub New(ByVal kind As SyntaxKind, newKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode, initializer As ObjectMemberInitializerSyntax, context As ISyntaxFactoryContext) 17344Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), newKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode, initializer As ObjectMemberInitializerSyntax) 17406Friend Sub New(ByVal kind As SyntaxKind, newKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode, type As TypeSyntax, arrayBounds As ArgumentListSyntax, rankSpecifiers As GreenNode, initializer As CollectionInitializerSyntax) 17425Friend Sub New(ByVal kind As SyntaxKind, newKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode, type As TypeSyntax, arrayBounds As ArgumentListSyntax, rankSpecifiers As GreenNode, initializer As CollectionInitializerSyntax, context As ISyntaxFactoryContext) 17445Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), newKeyword As InternalSyntax.KeywordSyntax, attributeLists As GreenNode, type As TypeSyntax, arrayBounds As ArgumentListSyntax, rankSpecifiers As GreenNode, initializer As CollectionInitializerSyntax) 17557Friend Sub New(ByVal kind As SyntaxKind, openBraceToken As InternalSyntax.PunctuationSyntax, initializers As GreenNode, closeBraceToken As InternalSyntax.PunctuationSyntax) 17572Friend Sub New(ByVal kind As SyntaxKind, openBraceToken As InternalSyntax.PunctuationSyntax, initializers As GreenNode, closeBraceToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 17588Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openBraceToken As InternalSyntax.PunctuationSyntax, initializers As GreenNode, closeBraceToken As InternalSyntax.PunctuationSyntax) 17680Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 17698Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 17717Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 17795Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 17800Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 17806Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 17854Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 17859Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 17865Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 17913Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 17918Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 17924Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 17980Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 17995Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 18011Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 18109Friend Sub New(ByVal kind As SyntaxKind, left As ExpressionSyntax, operatorToken As InternalSyntax.SyntaxToken, right As ExpressionSyntax) 18122Friend Sub New(ByVal kind As SyntaxKind, left As ExpressionSyntax, operatorToken As InternalSyntax.SyntaxToken, right As ExpressionSyntax, context As ISyntaxFactoryContext) 18136Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As ExpressionSyntax, operatorToken As InternalSyntax.SyntaxToken, right As ExpressionSyntax) 18215Friend Sub New(ByVal kind As SyntaxKind, operatorToken As InternalSyntax.SyntaxToken, operand As ExpressionSyntax) 18226Friend Sub New(ByVal kind As SyntaxKind, operatorToken As InternalSyntax.SyntaxToken, operand As ExpressionSyntax, context As ISyntaxFactoryContext) 18238Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), operatorToken As InternalSyntax.SyntaxToken, operand As ExpressionSyntax) 18312Friend Sub New(ByVal kind As SyntaxKind, ifKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, firstExpression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, secondExpression As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 18331Friend Sub New(ByVal kind As SyntaxKind, ifKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, firstExpression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, secondExpression As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 18351Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, firstExpression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, secondExpression As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 18479Friend Sub New(ByVal kind As SyntaxKind, ifKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, condition As ExpressionSyntax, firstCommaToken As InternalSyntax.PunctuationSyntax, whenTrue As ExpressionSyntax, secondCommaToken As InternalSyntax.PunctuationSyntax, whenFalse As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 18502Friend Sub New(ByVal kind As SyntaxKind, ifKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, condition As ExpressionSyntax, firstCommaToken As InternalSyntax.PunctuationSyntax, whenTrue As ExpressionSyntax, secondCommaToken As InternalSyntax.PunctuationSyntax, whenFalse As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 18526Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, condition As ExpressionSyntax, firstCommaToken As InternalSyntax.PunctuationSyntax, whenTrue As ExpressionSyntax, secondCommaToken As InternalSyntax.PunctuationSyntax, whenFalse As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 18672Friend Sub New(ByVal kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax) 18680Friend Sub New(ByVal kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, context As ISyntaxFactoryContext) 18689Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionHeader As LambdaHeaderSyntax) 18717Friend Sub New(ByVal kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, body As VisualBasicSyntaxNode) 18726Friend Sub New(ByVal kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, body As VisualBasicSyntaxNode, context As ISyntaxFactoryContext) 18736Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionHeader As LambdaHeaderSyntax, body As VisualBasicSyntaxNode) 18795Friend Sub New(ByVal kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, statements As GreenNode, endSubOrFunctionStatement As EndBlockStatementSyntax) 18808Friend Sub New(ByVal kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, statements As GreenNode, endSubOrFunctionStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext) 18822Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionHeader As LambdaHeaderSyntax, statements As GreenNode, endSubOrFunctionStatement As EndBlockStatementSyntax) 18901Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 18914Friend Sub New(ByVal kind As SyntaxKind, attributeLists As GreenNode, modifiers As GreenNode, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, context As ISyntaxFactoryContext) 18928Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As GreenNode, modifiers As GreenNode, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 19010Friend Sub New(ByVal kind As SyntaxKind, openParenToken As InternalSyntax.PunctuationSyntax, arguments As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 19025Friend Sub New(ByVal kind As SyntaxKind, openParenToken As InternalSyntax.PunctuationSyntax, arguments As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 19041Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, arguments As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 19128Friend Sub New(ByVal kind As SyntaxKind) 19132Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 19137Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 19152Friend Sub New(ByVal kind As SyntaxKind, empty As InternalSyntax.PunctuationSyntax) 19161Friend Sub New(ByVal kind As SyntaxKind, empty As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 19171Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), empty As InternalSyntax.PunctuationSyntax) 19227Friend Sub New(ByVal kind As SyntaxKind, nameColonEquals As NameColonEqualsSyntax, expression As ExpressionSyntax) 19240Friend Sub New(ByVal kind As SyntaxKind, nameColonEquals As NameColonEqualsSyntax, expression As ExpressionSyntax, context As ISyntaxFactoryContext) 19254Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nameColonEquals As NameColonEqualsSyntax, expression As ExpressionSyntax) 19328Friend Sub New(ByVal kind As SyntaxKind, name As IdentifierNameSyntax, colonEqualsToken As InternalSyntax.PunctuationSyntax) 19339Friend Sub New(ByVal kind As SyntaxKind, name As IdentifierNameSyntax, colonEqualsToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 19351Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As IdentifierNameSyntax, colonEqualsToken As InternalSyntax.PunctuationSyntax) 19422Friend Sub New(ByVal kind As SyntaxKind, lowerBound As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, upperBound As ExpressionSyntax) 19435Friend Sub New(ByVal kind As SyntaxKind, lowerBound As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, upperBound As ExpressionSyntax, context As ISyntaxFactoryContext) 19449Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lowerBound As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, upperBound As ExpressionSyntax) 19532Friend Sub New(ByVal kind As SyntaxKind, clauses As GreenNode) 19543Friend Sub New(ByVal kind As SyntaxKind, clauses As GreenNode, context As ISyntaxFactoryContext) 19555Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), clauses As GreenNode) 19611Friend Sub New(ByVal kind As SyntaxKind) 19615Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 19620Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 19638Friend Sub New(ByVal kind As SyntaxKind, identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, inKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 19655Friend Sub New(ByVal kind As SyntaxKind, identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, inKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, context As ISyntaxFactoryContext) 19673Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, inKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 19774Friend Sub New(ByVal kind As SyntaxKind, nameEquals As VariableNameEqualsSyntax, expression As ExpressionSyntax) 19787Friend Sub New(ByVal kind As SyntaxKind, nameEquals As VariableNameEqualsSyntax, expression As ExpressionSyntax, context As ISyntaxFactoryContext) 19801Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nameEquals As VariableNameEqualsSyntax, expression As ExpressionSyntax) 19878Friend Sub New(ByVal kind As SyntaxKind, nameEquals As VariableNameEqualsSyntax, aggregation As AggregationSyntax) 19891Friend Sub New(ByVal kind As SyntaxKind, nameEquals As VariableNameEqualsSyntax, aggregation As AggregationSyntax, context As ISyntaxFactoryContext) 19905Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nameEquals As VariableNameEqualsSyntax, aggregation As AggregationSyntax) 19983Friend Sub New(ByVal kind As SyntaxKind, identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, equalsToken As InternalSyntax.PunctuationSyntax) 19998Friend Sub New(ByVal kind As SyntaxKind, identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, equalsToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 20014Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, equalsToken As InternalSyntax.PunctuationSyntax) 20100Friend Sub New(ByVal kind As SyntaxKind) 20104Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 20109Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 20127Friend Sub New(ByVal kind As SyntaxKind, functionName As InternalSyntax.IdentifierTokenSyntax, openParenToken As InternalSyntax.PunctuationSyntax, argument As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 20148Friend Sub New(ByVal kind As SyntaxKind, functionName As InternalSyntax.IdentifierTokenSyntax, openParenToken As InternalSyntax.PunctuationSyntax, argument As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 20170Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), functionName As InternalSyntax.IdentifierTokenSyntax, openParenToken As InternalSyntax.PunctuationSyntax, argument As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 20281Friend Sub New(ByVal kind As SyntaxKind, groupKeyword As InternalSyntax.KeywordSyntax) 20290Friend Sub New(ByVal kind As SyntaxKind, groupKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 20300Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), groupKeyword As InternalSyntax.KeywordSyntax) 20357Friend Sub New(ByVal kind As SyntaxKind, fromKeyword As InternalSyntax.KeywordSyntax, variables As GreenNode) 20370Friend Sub New(ByVal kind As SyntaxKind, fromKeyword As InternalSyntax.KeywordSyntax, variables As GreenNode, context As ISyntaxFactoryContext) 20384Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), fromKeyword As InternalSyntax.KeywordSyntax, variables As GreenNode) 20455Friend Sub New(ByVal kind As SyntaxKind, letKeyword As InternalSyntax.KeywordSyntax, variables As GreenNode) 20468Friend Sub New(ByVal kind As SyntaxKind, letKeyword As InternalSyntax.KeywordSyntax, variables As GreenNode, context As ISyntaxFactoryContext) 20482Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), letKeyword As InternalSyntax.KeywordSyntax, variables As GreenNode) 20556Friend Sub New(ByVal kind As SyntaxKind, aggregateKeyword As InternalSyntax.KeywordSyntax, variables As GreenNode, additionalQueryOperators As GreenNode, intoKeyword As InternalSyntax.KeywordSyntax, aggregationVariables As GreenNode) 20579Friend Sub New(ByVal kind As SyntaxKind, aggregateKeyword As InternalSyntax.KeywordSyntax, variables As GreenNode, additionalQueryOperators As GreenNode, intoKeyword As InternalSyntax.KeywordSyntax, aggregationVariables As GreenNode, context As ISyntaxFactoryContext) 20603Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), aggregateKeyword As InternalSyntax.KeywordSyntax, variables As GreenNode, additionalQueryOperators As GreenNode, intoKeyword As InternalSyntax.KeywordSyntax, aggregationVariables As GreenNode) 20719Friend Sub New(ByVal kind As SyntaxKind, distinctKeyword As InternalSyntax.KeywordSyntax) 20728Friend Sub New(ByVal kind As SyntaxKind, distinctKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 20738Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), distinctKeyword As InternalSyntax.KeywordSyntax) 20793Friend Sub New(ByVal kind As SyntaxKind, whereKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 20804Friend Sub New(ByVal kind As SyntaxKind, whereKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, context As ISyntaxFactoryContext) 20816Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whereKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 20887Friend Sub New(ByVal kind As SyntaxKind, skipOrTakeKeyword As InternalSyntax.KeywordSyntax, whileKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 20900Friend Sub New(ByVal kind As SyntaxKind, skipOrTakeKeyword As InternalSyntax.KeywordSyntax, whileKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, context As ISyntaxFactoryContext) 20914Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), skipOrTakeKeyword As InternalSyntax.KeywordSyntax, whileKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 20996Friend Sub New(ByVal kind As SyntaxKind, skipOrTakeKeyword As InternalSyntax.KeywordSyntax, count As ExpressionSyntax) 21007Friend Sub New(ByVal kind As SyntaxKind, skipOrTakeKeyword As InternalSyntax.KeywordSyntax, count As ExpressionSyntax, context As ISyntaxFactoryContext) 21019Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), skipOrTakeKeyword As InternalSyntax.KeywordSyntax, count As ExpressionSyntax) 21092Friend Sub New(ByVal kind As SyntaxKind, groupKeyword As InternalSyntax.KeywordSyntax, items As GreenNode, byKeyword As InternalSyntax.KeywordSyntax, keys As GreenNode, intoKeyword As InternalSyntax.KeywordSyntax, aggregationVariables As GreenNode) 21117Friend Sub New(ByVal kind As SyntaxKind, groupKeyword As InternalSyntax.KeywordSyntax, items As GreenNode, byKeyword As InternalSyntax.KeywordSyntax, keys As GreenNode, intoKeyword As InternalSyntax.KeywordSyntax, aggregationVariables As GreenNode, context As ISyntaxFactoryContext) 21143Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), groupKeyword As InternalSyntax.KeywordSyntax, items As GreenNode, byKeyword As InternalSyntax.KeywordSyntax, keys As GreenNode, intoKeyword As InternalSyntax.KeywordSyntax, aggregationVariables As GreenNode) 21274Friend Sub New(ByVal kind As SyntaxKind, joinKeyword As InternalSyntax.KeywordSyntax, joinedVariables As GreenNode, additionalJoins As GreenNode, onKeyword As InternalSyntax.KeywordSyntax, joinConditions As GreenNode) 21296Friend Sub New(ByVal kind As SyntaxKind, joinKeyword As InternalSyntax.KeywordSyntax, joinedVariables As GreenNode, additionalJoins As GreenNode, onKeyword As InternalSyntax.KeywordSyntax, joinConditions As GreenNode, context As ISyntaxFactoryContext) 21319Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), joinKeyword As InternalSyntax.KeywordSyntax, joinedVariables As GreenNode, additionalJoins As GreenNode, onKeyword As InternalSyntax.KeywordSyntax, joinConditions As GreenNode) 21402Friend Sub New(ByVal kind As SyntaxKind, left As ExpressionSyntax, equalsKeyword As InternalSyntax.KeywordSyntax, right As ExpressionSyntax) 21415Friend Sub New(ByVal kind As SyntaxKind, left As ExpressionSyntax, equalsKeyword As InternalSyntax.KeywordSyntax, right As ExpressionSyntax, context As ISyntaxFactoryContext) 21429Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As ExpressionSyntax, equalsKeyword As InternalSyntax.KeywordSyntax, right As ExpressionSyntax) 21509Friend Sub New(ByVal kind As SyntaxKind, joinKeyword As InternalSyntax.KeywordSyntax, joinedVariables As GreenNode, additionalJoins As GreenNode, onKeyword As InternalSyntax.KeywordSyntax, joinConditions As GreenNode) 21514Friend Sub New(ByVal kind As SyntaxKind, joinKeyword As InternalSyntax.KeywordSyntax, joinedVariables As GreenNode, additionalJoins As GreenNode, onKeyword As InternalSyntax.KeywordSyntax, joinConditions As GreenNode, context As ISyntaxFactoryContext) 21520Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), joinKeyword As InternalSyntax.KeywordSyntax, joinedVariables As GreenNode, additionalJoins As GreenNode, onKeyword As InternalSyntax.KeywordSyntax, joinConditions As GreenNode) 21572Friend Sub New(ByVal kind As SyntaxKind, groupKeyword As InternalSyntax.KeywordSyntax, joinKeyword As InternalSyntax.KeywordSyntax, joinedVariables As GreenNode, additionalJoins As GreenNode, onKeyword As InternalSyntax.KeywordSyntax, joinConditions As GreenNode, intoKeyword As InternalSyntax.KeywordSyntax, aggregationVariables As GreenNode) 21587Friend Sub New(ByVal kind As SyntaxKind, groupKeyword As InternalSyntax.KeywordSyntax, joinKeyword As InternalSyntax.KeywordSyntax, joinedVariables As GreenNode, additionalJoins As GreenNode, onKeyword As InternalSyntax.KeywordSyntax, joinConditions As GreenNode, intoKeyword As InternalSyntax.KeywordSyntax, aggregationVariables As GreenNode, context As ISyntaxFactoryContext) 21603Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), groupKeyword As InternalSyntax.KeywordSyntax, joinKeyword As InternalSyntax.KeywordSyntax, joinedVariables As GreenNode, additionalJoins As GreenNode, onKeyword As InternalSyntax.KeywordSyntax, joinConditions As GreenNode, intoKeyword As InternalSyntax.KeywordSyntax, aggregationVariables As GreenNode) 21698Friend Sub New(ByVal kind As SyntaxKind, orderKeyword As InternalSyntax.KeywordSyntax, byKeyword As InternalSyntax.KeywordSyntax, orderings As GreenNode) 21713Friend Sub New(ByVal kind As SyntaxKind, orderKeyword As InternalSyntax.KeywordSyntax, byKeyword As InternalSyntax.KeywordSyntax, orderings As GreenNode, context As ISyntaxFactoryContext) 21729Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), orderKeyword As InternalSyntax.KeywordSyntax, byKeyword As InternalSyntax.KeywordSyntax, orderings As GreenNode) 21814Friend Sub New(ByVal kind As SyntaxKind, expression As ExpressionSyntax, ascendingOrDescendingKeyword As InternalSyntax.KeywordSyntax) 21827Friend Sub New(ByVal kind As SyntaxKind, expression As ExpressionSyntax, ascendingOrDescendingKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 21841Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, ascendingOrDescendingKeyword As InternalSyntax.KeywordSyntax) 21916Friend Sub New(ByVal kind As SyntaxKind, selectKeyword As InternalSyntax.KeywordSyntax, variables As GreenNode) 21929Friend Sub New(ByVal kind As SyntaxKind, selectKeyword As InternalSyntax.KeywordSyntax, variables As GreenNode, context As ISyntaxFactoryContext) 21943Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), selectKeyword As InternalSyntax.KeywordSyntax, variables As GreenNode) 22014Friend Sub New(ByVal kind As SyntaxKind) 22018Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 22023Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 22040Friend Sub New(ByVal kind As SyntaxKind, declaration As XmlDeclarationSyntax, precedingMisc As GreenNode, root As XmlNodeSyntax, followingMisc As GreenNode) 22059Friend Sub New(ByVal kind As SyntaxKind, declaration As XmlDeclarationSyntax, precedingMisc As GreenNode, root As XmlNodeSyntax, followingMisc As GreenNode, context As ISyntaxFactoryContext) 22079Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), declaration As XmlDeclarationSyntax, precedingMisc As GreenNode, root As XmlNodeSyntax, followingMisc As GreenNode) 22176Friend Sub New(ByVal kind As SyntaxKind, lessThanQuestionToken As InternalSyntax.PunctuationSyntax, xmlKeyword As InternalSyntax.KeywordSyntax, version As XmlDeclarationOptionSyntax, encoding As XmlDeclarationOptionSyntax, standalone As XmlDeclarationOptionSyntax, questionGreaterThanToken As InternalSyntax.PunctuationSyntax) 22199Friend Sub New(ByVal kind As SyntaxKind, lessThanQuestionToken As InternalSyntax.PunctuationSyntax, xmlKeyword As InternalSyntax.KeywordSyntax, version As XmlDeclarationOptionSyntax, encoding As XmlDeclarationOptionSyntax, standalone As XmlDeclarationOptionSyntax, questionGreaterThanToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 22223Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanQuestionToken As InternalSyntax.PunctuationSyntax, xmlKeyword As InternalSyntax.KeywordSyntax, version As XmlDeclarationOptionSyntax, encoding As XmlDeclarationOptionSyntax, standalone As XmlDeclarationOptionSyntax, questionGreaterThanToken As InternalSyntax.PunctuationSyntax) 22338Friend Sub New(ByVal kind As SyntaxKind, name As InternalSyntax.XmlNameTokenSyntax, equals As InternalSyntax.PunctuationSyntax, value As XmlStringSyntax) 22351Friend Sub New(ByVal kind As SyntaxKind, name As InternalSyntax.XmlNameTokenSyntax, equals As InternalSyntax.PunctuationSyntax, value As XmlStringSyntax, context As ISyntaxFactoryContext) 22365Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As InternalSyntax.XmlNameTokenSyntax, equals As InternalSyntax.PunctuationSyntax, value As XmlStringSyntax) 22439Friend Sub New(ByVal kind As SyntaxKind, startTag As XmlElementStartTagSyntax, content As GreenNode, endTag As XmlElementEndTagSyntax) 22454Friend Sub New(ByVal kind As SyntaxKind, startTag As XmlElementStartTagSyntax, content As GreenNode, endTag As XmlElementEndTagSyntax, context As ISyntaxFactoryContext) 22470Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), startTag As XmlElementStartTagSyntax, content As GreenNode, endTag As XmlElementEndTagSyntax) 22547Friend Sub New(ByVal kind As SyntaxKind, textTokens As GreenNode) 22558Friend Sub New(ByVal kind As SyntaxKind, textTokens As GreenNode, context As ISyntaxFactoryContext) 22570Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), textTokens As GreenNode) 22630Friend Sub New(ByVal kind As SyntaxKind, lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNodeSyntax, attributes As GreenNode, greaterThanToken As InternalSyntax.PunctuationSyntax) 22647Friend Sub New(ByVal kind As SyntaxKind, lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNodeSyntax, attributes As GreenNode, greaterThanToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 22665Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNodeSyntax, attributes As GreenNode, greaterThanToken As InternalSyntax.PunctuationSyntax) 22754Friend Sub New(ByVal kind As SyntaxKind, lessThanSlashToken As InternalSyntax.PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax) 22769Friend Sub New(ByVal kind As SyntaxKind, lessThanSlashToken As InternalSyntax.PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 22785Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanSlashToken As InternalSyntax.PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax) 22865Friend Sub New(ByVal kind As SyntaxKind, lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNodeSyntax, attributes As GreenNode, slashGreaterThanToken As InternalSyntax.PunctuationSyntax) 22882Friend Sub New(ByVal kind As SyntaxKind, lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNodeSyntax, attributes As GreenNode, slashGreaterThanToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 22900Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNodeSyntax, attributes As GreenNode, slashGreaterThanToken As InternalSyntax.PunctuationSyntax) 22989Friend Sub New(ByVal kind As SyntaxKind, name As XmlNodeSyntax, equalsToken As InternalSyntax.PunctuationSyntax, value As XmlNodeSyntax) 23002Friend Sub New(ByVal kind As SyntaxKind, name As XmlNodeSyntax, equalsToken As InternalSyntax.PunctuationSyntax, value As XmlNodeSyntax, context As ISyntaxFactoryContext) 23016Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As XmlNodeSyntax, equalsToken As InternalSyntax.PunctuationSyntax, value As XmlNodeSyntax) 23087Friend Sub New(ByVal kind As SyntaxKind) 23091Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 23096Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 23113Friend Sub New(ByVal kind As SyntaxKind, startQuoteToken As InternalSyntax.PunctuationSyntax, textTokens As GreenNode, endQuoteToken As InternalSyntax.PunctuationSyntax) 23128Friend Sub New(ByVal kind As SyntaxKind, startQuoteToken As InternalSyntax.PunctuationSyntax, textTokens As GreenNode, endQuoteToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 23144Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), startQuoteToken As InternalSyntax.PunctuationSyntax, textTokens As GreenNode, endQuoteToken As InternalSyntax.PunctuationSyntax) 23221Friend Sub New(ByVal kind As SyntaxKind, name As InternalSyntax.XmlNameTokenSyntax) 23230Friend Sub New(ByVal kind As SyntaxKind, name As InternalSyntax.XmlNameTokenSyntax, context As ISyntaxFactoryContext) 23240Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As InternalSyntax.XmlNameTokenSyntax) 23294Friend Sub New(ByVal kind As SyntaxKind, prefix As XmlPrefixSyntax, localName As InternalSyntax.XmlNameTokenSyntax) 23307Friend Sub New(ByVal kind As SyntaxKind, prefix As XmlPrefixSyntax, localName As InternalSyntax.XmlNameTokenSyntax, context As ISyntaxFactoryContext) 23321Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), prefix As XmlPrefixSyntax, localName As InternalSyntax.XmlNameTokenSyntax) 23392Friend Sub New(ByVal kind As SyntaxKind, lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax) 23405Friend Sub New(ByVal kind As SyntaxKind, lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 23419Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax) 23492Friend Sub New(ByVal kind As SyntaxKind, name As InternalSyntax.XmlNameTokenSyntax, colonToken As InternalSyntax.PunctuationSyntax) 23503Friend Sub New(ByVal kind As SyntaxKind, name As InternalSyntax.XmlNameTokenSyntax, colonToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 23515Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As InternalSyntax.XmlNameTokenSyntax, colonToken As InternalSyntax.PunctuationSyntax) 23580Friend Sub New(ByVal kind As SyntaxKind, lessThanExclamationMinusMinusToken As InternalSyntax.PunctuationSyntax, textTokens As GreenNode, minusMinusGreaterThanToken As InternalSyntax.PunctuationSyntax) 23595Friend Sub New(ByVal kind As SyntaxKind, lessThanExclamationMinusMinusToken As InternalSyntax.PunctuationSyntax, textTokens As GreenNode, minusMinusGreaterThanToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 23611Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanExclamationMinusMinusToken As InternalSyntax.PunctuationSyntax, textTokens As GreenNode, minusMinusGreaterThanToken As InternalSyntax.PunctuationSyntax) 23689Friend Sub New(ByVal kind As SyntaxKind, lessThanQuestionToken As InternalSyntax.PunctuationSyntax, name As InternalSyntax.XmlNameTokenSyntax, textTokens As GreenNode, questionGreaterThanToken As InternalSyntax.PunctuationSyntax) 23706Friend Sub New(ByVal kind As SyntaxKind, lessThanQuestionToken As InternalSyntax.PunctuationSyntax, name As InternalSyntax.XmlNameTokenSyntax, textTokens As GreenNode, questionGreaterThanToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 23724Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanQuestionToken As InternalSyntax.PunctuationSyntax, name As InternalSyntax.XmlNameTokenSyntax, textTokens As GreenNode, questionGreaterThanToken As InternalSyntax.PunctuationSyntax) 23810Friend Sub New(ByVal kind As SyntaxKind, beginCDataToken As InternalSyntax.PunctuationSyntax, textTokens As GreenNode, endCDataToken As InternalSyntax.PunctuationSyntax) 23825Friend Sub New(ByVal kind As SyntaxKind, beginCDataToken As InternalSyntax.PunctuationSyntax, textTokens As GreenNode, endCDataToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 23841Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), beginCDataToken As InternalSyntax.PunctuationSyntax, textTokens As GreenNode, endCDataToken As InternalSyntax.PunctuationSyntax) 23918Friend Sub New(ByVal kind As SyntaxKind, lessThanPercentEqualsToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, percentGreaterThanToken As InternalSyntax.PunctuationSyntax) 23931Friend Sub New(ByVal kind As SyntaxKind, lessThanPercentEqualsToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, percentGreaterThanToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 23945Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanPercentEqualsToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, percentGreaterThanToken As InternalSyntax.PunctuationSyntax) 24018Friend Sub New(ByVal kind As SyntaxKind) 24022Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 24027Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 24043Friend Sub New(ByVal kind As SyntaxKind, elementType As TypeSyntax, rankSpecifiers As GreenNode) 24056Friend Sub New(ByVal kind As SyntaxKind, elementType As TypeSyntax, rankSpecifiers As GreenNode, context As ISyntaxFactoryContext) 24070Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elementType As TypeSyntax, rankSpecifiers As GreenNode) 24141Friend Sub New(ByVal kind As SyntaxKind, elementType As TypeSyntax, questionMarkToken As InternalSyntax.PunctuationSyntax) 24152Friend Sub New(ByVal kind As SyntaxKind, elementType As TypeSyntax, questionMarkToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 24164Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elementType As TypeSyntax, questionMarkToken As InternalSyntax.PunctuationSyntax) 24234Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax) 24243Friend Sub New(ByVal kind As SyntaxKind, keyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 24253Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 24307Friend Sub New(ByVal kind As SyntaxKind) 24311Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 24316Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 24330Friend Sub New(ByVal kind As SyntaxKind, identifier As InternalSyntax.IdentifierTokenSyntax) 24338Friend Sub New(ByVal kind As SyntaxKind, identifier As InternalSyntax.IdentifierTokenSyntax, context As ISyntaxFactoryContext) 24347Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax) 24374Friend Sub New(ByVal kind As SyntaxKind, identifier As InternalSyntax.IdentifierTokenSyntax) 24379Friend Sub New(ByVal kind As SyntaxKind, identifier As InternalSyntax.IdentifierTokenSyntax, context As ISyntaxFactoryContext) 24385Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax) 24427Friend Sub New(ByVal kind As SyntaxKind, identifier As InternalSyntax.IdentifierTokenSyntax, typeArgumentList As TypeArgumentListSyntax) 24436Friend Sub New(ByVal kind As SyntaxKind, identifier As InternalSyntax.IdentifierTokenSyntax, typeArgumentList As TypeArgumentListSyntax, context As ISyntaxFactoryContext) 24446Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax, typeArgumentList As TypeArgumentListSyntax) 24505Friend Sub New(ByVal kind As SyntaxKind, left As NameSyntax, dotToken As InternalSyntax.PunctuationSyntax, right As SimpleNameSyntax) 24518Friend Sub New(ByVal kind As SyntaxKind, left As NameSyntax, dotToken As InternalSyntax.PunctuationSyntax, right As SimpleNameSyntax, context As ISyntaxFactoryContext) 24532Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As NameSyntax, dotToken As InternalSyntax.PunctuationSyntax, right As SimpleNameSyntax) 24615Friend Sub New(ByVal kind As SyntaxKind, globalKeyword As InternalSyntax.KeywordSyntax) 24624Friend Sub New(ByVal kind As SyntaxKind, globalKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 24634Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), globalKeyword As InternalSyntax.KeywordSyntax) 24691Friend Sub New(ByVal kind As SyntaxKind, openParenToken As InternalSyntax.PunctuationSyntax, ofKeyword As InternalSyntax.KeywordSyntax, arguments As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 24708Friend Sub New(ByVal kind As SyntaxKind, openParenToken As InternalSyntax.PunctuationSyntax, ofKeyword As InternalSyntax.KeywordSyntax, arguments As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 24726Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, ofKeyword As InternalSyntax.KeywordSyntax, arguments As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 24825Friend Sub New(ByVal kind As SyntaxKind, name As TypeSyntax, signature As CrefSignatureSyntax, asClause As SimpleAsClauseSyntax) 24842Friend Sub New(ByVal kind As SyntaxKind, name As TypeSyntax, signature As CrefSignatureSyntax, asClause As SimpleAsClauseSyntax, context As ISyntaxFactoryContext) 24860Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As TypeSyntax, signature As CrefSignatureSyntax, asClause As SimpleAsClauseSyntax) 24945Friend Sub New(ByVal kind As SyntaxKind, openParenToken As InternalSyntax.PunctuationSyntax, argumentTypes As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 24960Friend Sub New(ByVal kind As SyntaxKind, openParenToken As InternalSyntax.PunctuationSyntax, argumentTypes As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 24976Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, argumentTypes As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 25048Friend Sub New(ByVal kind As SyntaxKind, modifier As InternalSyntax.KeywordSyntax, type As TypeSyntax) 25063Friend Sub New(ByVal kind As SyntaxKind, modifier As InternalSyntax.KeywordSyntax, type As TypeSyntax, context As ISyntaxFactoryContext) 25079Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), modifier As InternalSyntax.KeywordSyntax, type As TypeSyntax) 25149Friend Sub New(ByVal kind As SyntaxKind, operatorKeyword As InternalSyntax.KeywordSyntax, operatorToken As InternalSyntax.SyntaxToken) 25160Friend Sub New(ByVal kind As SyntaxKind, operatorKeyword As InternalSyntax.KeywordSyntax, operatorToken As InternalSyntax.SyntaxToken, context As ISyntaxFactoryContext) 25172Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), operatorKeyword As InternalSyntax.KeywordSyntax, operatorToken As InternalSyntax.SyntaxToken) 25233Friend Sub New(ByVal kind As SyntaxKind, left As NameSyntax, dotToken As InternalSyntax.PunctuationSyntax, right As CrefOperatorReferenceSyntax) 25246Friend Sub New(ByVal kind As SyntaxKind, left As NameSyntax, dotToken As InternalSyntax.PunctuationSyntax, right As CrefOperatorReferenceSyntax, context As ISyntaxFactoryContext) 25260Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As NameSyntax, dotToken As InternalSyntax.PunctuationSyntax, right As CrefOperatorReferenceSyntax) 25333Friend Sub New(ByVal kind As SyntaxKind, yieldKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 25344Friend Sub New(ByVal kind As SyntaxKind, yieldKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, context As ISyntaxFactoryContext) 25356Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), yieldKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 25425Friend Sub New(ByVal kind As SyntaxKind, awaitKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 25436Friend Sub New(ByVal kind As SyntaxKind, awaitKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, context As ISyntaxFactoryContext) 25448Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), awaitKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 25527Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode) 25531Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, context As ISyntaxFactoryContext) 25536Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode) 25566Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode) 25570Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, context As ISyntaxFactoryContext) 25575Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode) 25603Friend ReadOnly _possibleKeywordKind as SyntaxKind 25605Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, possibleKeywordKind As SyntaxKind) 25610Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, possibleKeywordKind As SyntaxKind, context As ISyntaxFactoryContext) 25616Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, possibleKeywordKind As SyntaxKind) 25621Friend ReadOnly Property PossibleKeywordKind As SyntaxKind 25655Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As String) 25660Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As String, context As ISyntaxFactoryContext) 25666Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As String) 25706Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As String) 25711Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As String, context As ISyntaxFactoryContext) 25717Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As String) 25758Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, typeSuffix As TypeCharacter, value As System.Decimal) 25764Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, typeSuffix As TypeCharacter, value As System.Decimal, context As ISyntaxFactoryContext) 25771Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, typeSuffix As TypeCharacter, value As System.Decimal) 25822Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As DateTime) 25827Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As DateTime, context As ISyntaxFactoryContext) 25833Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As DateTime) 25873Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As String) 25878Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As String, context As ISyntaxFactoryContext) 25884Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As String) 25925Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As Char) 25930Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As Char, context As ISyntaxFactoryContext) 25936Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, value As Char) 25986Friend Sub New(ByVal kind As SyntaxKind, tokens As GreenNode) 25997Friend Sub New(ByVal kind As SyntaxKind, tokens As GreenNode, context As ISyntaxFactoryContext) 26009Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), tokens As GreenNode) 26069Friend Sub New(ByVal kind As SyntaxKind, content As GreenNode) 26080Friend Sub New(ByVal kind As SyntaxKind, content As GreenNode, context As ISyntaxFactoryContext) 26092Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), content As GreenNode) 26154Friend Sub New(ByVal kind As SyntaxKind, name As XmlNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, startQuoteToken As InternalSyntax.PunctuationSyntax, reference As CrefReferenceSyntax, endQuoteToken As InternalSyntax.PunctuationSyntax) 26171Friend Sub New(ByVal kind As SyntaxKind, name As XmlNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, startQuoteToken As InternalSyntax.PunctuationSyntax, reference As CrefReferenceSyntax, endQuoteToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 26189Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As XmlNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, startQuoteToken As InternalSyntax.PunctuationSyntax, reference As CrefReferenceSyntax, endQuoteToken As InternalSyntax.PunctuationSyntax) 26287Friend Sub New(ByVal kind As SyntaxKind, name As XmlNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, startQuoteToken As InternalSyntax.PunctuationSyntax, reference As IdentifierNameSyntax, endQuoteToken As InternalSyntax.PunctuationSyntax) 26304Friend Sub New(ByVal kind As SyntaxKind, name As XmlNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, startQuoteToken As InternalSyntax.PunctuationSyntax, reference As IdentifierNameSyntax, endQuoteToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 26322Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As XmlNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, startQuoteToken As InternalSyntax.PunctuationSyntax, reference As IdentifierNameSyntax, endQuoteToken As InternalSyntax.PunctuationSyntax) 26416Friend Sub New(ByVal kind As SyntaxKind, expression As ExpressionSyntax, questionMarkToken As InternalSyntax.PunctuationSyntax, whenNotNull As ExpressionSyntax) 26431Friend Sub New(ByVal kind As SyntaxKind, expression As ExpressionSyntax, questionMarkToken As InternalSyntax.PunctuationSyntax, whenNotNull As ExpressionSyntax, context As ISyntaxFactoryContext) 26447Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, questionMarkToken As InternalSyntax.PunctuationSyntax, whenNotNull As ExpressionSyntax) 26537Friend Sub New(ByVal kind As SyntaxKind, nameOfKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, argument As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 26552Friend Sub New(ByVal kind As SyntaxKind, nameOfKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, argument As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 26568Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nameOfKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, argument As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 26664Friend Sub New(ByVal kind As SyntaxKind, dollarSignDoubleQuoteToken As InternalSyntax.PunctuationSyntax, contents As GreenNode, doubleQuoteToken As InternalSyntax.PunctuationSyntax) 26679Friend Sub New(ByVal kind As SyntaxKind, dollarSignDoubleQuoteToken As InternalSyntax.PunctuationSyntax, contents As GreenNode, doubleQuoteToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 26695Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), dollarSignDoubleQuoteToken As InternalSyntax.PunctuationSyntax, contents As GreenNode, doubleQuoteToken As InternalSyntax.PunctuationSyntax) 26777Friend Sub New(ByVal kind As SyntaxKind) 26781Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 26786Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation()) 26800Friend Sub New(ByVal kind As SyntaxKind, textToken As InternalSyntax.InterpolatedStringTextTokenSyntax) 26809Friend Sub New(ByVal kind As SyntaxKind, textToken As InternalSyntax.InterpolatedStringTextTokenSyntax, context As ISyntaxFactoryContext) 26819Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), textToken As InternalSyntax.InterpolatedStringTextTokenSyntax) 26878Friend Sub New(ByVal kind As SyntaxKind, openBraceToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, alignmentClause As InterpolationAlignmentClauseSyntax, formatClause As InterpolationFormatClauseSyntax, closeBraceToken As InternalSyntax.PunctuationSyntax) 26899Friend Sub New(ByVal kind As SyntaxKind, openBraceToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, alignmentClause As InterpolationAlignmentClauseSyntax, formatClause As InterpolationFormatClauseSyntax, closeBraceToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 26921Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openBraceToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, alignmentClause As InterpolationAlignmentClauseSyntax, formatClause As InterpolationFormatClauseSyntax, closeBraceToken As InternalSyntax.PunctuationSyntax) 27041Friend Sub New(ByVal kind As SyntaxKind, commaToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 27052Friend Sub New(ByVal kind As SyntaxKind, commaToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax, context As ISyntaxFactoryContext) 27064Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), commaToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 27134Friend Sub New(ByVal kind As SyntaxKind, colonToken As InternalSyntax.PunctuationSyntax, formatStringToken As InternalSyntax.InterpolatedStringTextTokenSyntax) 27145Friend Sub New(ByVal kind As SyntaxKind, colonToken As InternalSyntax.PunctuationSyntax, formatStringToken As InternalSyntax.InterpolatedStringTextTokenSyntax, context As ISyntaxFactoryContext) 27157Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), colonToken As InternalSyntax.PunctuationSyntax, formatStringToken As InternalSyntax.InterpolatedStringTextTokenSyntax) 27226Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax) 27235Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 27245Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax) 27295Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, constKeyword As InternalSyntax.KeywordSyntax, name As InternalSyntax.IdentifierTokenSyntax, equalsToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 27310Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, constKeyword As InternalSyntax.KeywordSyntax, name As InternalSyntax.IdentifierTokenSyntax, equalsToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax, context As ISyntaxFactoryContext) 27326Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, constKeyword As InternalSyntax.KeywordSyntax, name As InternalSyntax.IdentifierTokenSyntax, equalsToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 27427Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, elseKeyword As InternalSyntax.KeywordSyntax, ifOrElseIfKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax) 27446Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, elseKeyword As InternalSyntax.KeywordSyntax, ifOrElseIfKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 27466Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, elseKeyword As InternalSyntax.KeywordSyntax, ifOrElseIfKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax) 27560Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, elseKeyword As InternalSyntax.KeywordSyntax) 27569Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, elseKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 27579Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, elseKeyword As InternalSyntax.KeywordSyntax) 27634Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, endKeyword As InternalSyntax.KeywordSyntax, ifKeyword As InternalSyntax.KeywordSyntax) 27645Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, endKeyword As InternalSyntax.KeywordSyntax, ifKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 27657Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, endKeyword As InternalSyntax.KeywordSyntax, ifKeyword As InternalSyntax.KeywordSyntax) 27722Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, regionKeyword As InternalSyntax.KeywordSyntax, name As InternalSyntax.StringLiteralTokenSyntax) 27733Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, regionKeyword As InternalSyntax.KeywordSyntax, name As InternalSyntax.StringLiteralTokenSyntax, context As ISyntaxFactoryContext) 27745Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, regionKeyword As InternalSyntax.KeywordSyntax, name As InternalSyntax.StringLiteralTokenSyntax) 27816Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, endKeyword As InternalSyntax.KeywordSyntax, regionKeyword As InternalSyntax.KeywordSyntax) 27827Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, endKeyword As InternalSyntax.KeywordSyntax, regionKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 27839Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, endKeyword As InternalSyntax.KeywordSyntax, regionKeyword As InternalSyntax.KeywordSyntax) 27915Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, externalSourceKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, externalSource As InternalSyntax.StringLiteralTokenSyntax, commaToken As InternalSyntax.PunctuationSyntax, lineStart As InternalSyntax.IntegerLiteralTokenSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 27934Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, externalSourceKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, externalSource As InternalSyntax.StringLiteralTokenSyntax, commaToken As InternalSyntax.PunctuationSyntax, lineStart As InternalSyntax.IntegerLiteralTokenSyntax, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 27954Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, externalSourceKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, externalSource As InternalSyntax.StringLiteralTokenSyntax, commaToken As InternalSyntax.PunctuationSyntax, lineStart As InternalSyntax.IntegerLiteralTokenSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 28059Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, endKeyword As InternalSyntax.KeywordSyntax, externalSourceKeyword As InternalSyntax.KeywordSyntax) 28070Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, endKeyword As InternalSyntax.KeywordSyntax, externalSourceKeyword As InternalSyntax.KeywordSyntax, context As ISyntaxFactoryContext) 28082Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, endKeyword As InternalSyntax.KeywordSyntax, externalSourceKeyword As InternalSyntax.KeywordSyntax) 28153Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, externalChecksumKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, externalSource As InternalSyntax.StringLiteralTokenSyntax, firstCommaToken As InternalSyntax.PunctuationSyntax, guid As InternalSyntax.StringLiteralTokenSyntax, secondCommaToken As InternalSyntax.PunctuationSyntax, checksum As InternalSyntax.StringLiteralTokenSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 28176Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, externalChecksumKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, externalSource As InternalSyntax.StringLiteralTokenSyntax, firstCommaToken As InternalSyntax.PunctuationSyntax, guid As InternalSyntax.StringLiteralTokenSyntax, secondCommaToken As InternalSyntax.PunctuationSyntax, checksum As InternalSyntax.StringLiteralTokenSyntax, closeParenToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 28200Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, externalChecksumKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, externalSource As InternalSyntax.StringLiteralTokenSyntax, firstCommaToken As InternalSyntax.PunctuationSyntax, guid As InternalSyntax.StringLiteralTokenSyntax, secondCommaToken As InternalSyntax.PunctuationSyntax, checksum As InternalSyntax.StringLiteralTokenSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 28326Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, enableKeyword As InternalSyntax.KeywordSyntax, warningKeyword As InternalSyntax.KeywordSyntax, errorCodes As GreenNode) 28341Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, enableKeyword As InternalSyntax.KeywordSyntax, warningKeyword As InternalSyntax.KeywordSyntax, errorCodes As GreenNode, context As ISyntaxFactoryContext) 28357Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, enableKeyword As InternalSyntax.KeywordSyntax, warningKeyword As InternalSyntax.KeywordSyntax, errorCodes As GreenNode) 28435Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, disableKeyword As InternalSyntax.KeywordSyntax, warningKeyword As InternalSyntax.KeywordSyntax, errorCodes As GreenNode) 28450Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, disableKeyword As InternalSyntax.KeywordSyntax, warningKeyword As InternalSyntax.KeywordSyntax, errorCodes As GreenNode, context As ISyntaxFactoryContext) 28466Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, disableKeyword As InternalSyntax.KeywordSyntax, warningKeyword As InternalSyntax.KeywordSyntax, errorCodes As GreenNode) 28543Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, referenceKeyword As InternalSyntax.KeywordSyntax, file As InternalSyntax.StringLiteralTokenSyntax) 28554Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, referenceKeyword As InternalSyntax.KeywordSyntax, file As InternalSyntax.StringLiteralTokenSyntax, context As ISyntaxFactoryContext) 28566Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, referenceKeyword As InternalSyntax.KeywordSyntax, file As InternalSyntax.StringLiteralTokenSyntax) 28632Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax) 28637Friend Sub New(ByVal kind As SyntaxKind, hashToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 28643Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax) 34020Debug.Assert(empty IsNot Nothing AndAlso empty.Kind = SyntaxKind.EmptyToken) 34023Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EmptyStatement, empty, hash) 34028Dim result = New EmptyStatementSyntax(SyntaxKind.EmptyStatement, empty) 34050Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34051Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.IfKeyword) 34054Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndIfStatement, endKeyword, blockKeyword, hash) 34059Dim result = New EndBlockStatementSyntax(SyntaxKind.EndIfStatement, endKeyword, blockKeyword) 34081Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34082Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.UsingKeyword) 34085Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndUsingStatement, endKeyword, blockKeyword, hash) 34090Dim result = New EndBlockStatementSyntax(SyntaxKind.EndUsingStatement, endKeyword, blockKeyword) 34112Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34113Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.WithKeyword) 34116Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndWithStatement, endKeyword, blockKeyword, hash) 34121Dim result = New EndBlockStatementSyntax(SyntaxKind.EndWithStatement, endKeyword, blockKeyword) 34143Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34144Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.SelectKeyword) 34147Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndSelectStatement, endKeyword, blockKeyword, hash) 34152Dim result = New EndBlockStatementSyntax(SyntaxKind.EndSelectStatement, endKeyword, blockKeyword) 34174Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34175Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.StructureKeyword) 34178Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndStructureStatement, endKeyword, blockKeyword, hash) 34183Dim result = New EndBlockStatementSyntax(SyntaxKind.EndStructureStatement, endKeyword, blockKeyword) 34205Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34206Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.EnumKeyword) 34209Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndEnumStatement, endKeyword, blockKeyword, hash) 34214Dim result = New EndBlockStatementSyntax(SyntaxKind.EndEnumStatement, endKeyword, blockKeyword) 34236Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34237Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.InterfaceKeyword) 34240Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndInterfaceStatement, endKeyword, blockKeyword, hash) 34245Dim result = New EndBlockStatementSyntax(SyntaxKind.EndInterfaceStatement, endKeyword, blockKeyword) 34267Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34268Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.ClassKeyword) 34271Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndClassStatement, endKeyword, blockKeyword, hash) 34276Dim result = New EndBlockStatementSyntax(SyntaxKind.EndClassStatement, endKeyword, blockKeyword) 34298Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34299Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.ModuleKeyword) 34302Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndModuleStatement, endKeyword, blockKeyword, hash) 34307Dim result = New EndBlockStatementSyntax(SyntaxKind.EndModuleStatement, endKeyword, blockKeyword) 34329Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34330Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.NamespaceKeyword) 34333Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndNamespaceStatement, endKeyword, blockKeyword, hash) 34338Dim result = New EndBlockStatementSyntax(SyntaxKind.EndNamespaceStatement, endKeyword, blockKeyword) 34360Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34361Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.SubKeyword) 34364Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndSubStatement, endKeyword, blockKeyword, hash) 34369Dim result = New EndBlockStatementSyntax(SyntaxKind.EndSubStatement, endKeyword, blockKeyword) 34391Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34392Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.FunctionKeyword) 34395Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndFunctionStatement, endKeyword, blockKeyword, hash) 34400Dim result = New EndBlockStatementSyntax(SyntaxKind.EndFunctionStatement, endKeyword, blockKeyword) 34422Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34423Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.GetKeyword) 34426Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndGetStatement, endKeyword, blockKeyword, hash) 34431Dim result = New EndBlockStatementSyntax(SyntaxKind.EndGetStatement, endKeyword, blockKeyword) 34453Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34454Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.SetKeyword) 34457Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndSetStatement, endKeyword, blockKeyword, hash) 34462Dim result = New EndBlockStatementSyntax(SyntaxKind.EndSetStatement, endKeyword, blockKeyword) 34484Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34485Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.PropertyKeyword) 34488Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndPropertyStatement, endKeyword, blockKeyword, hash) 34493Dim result = New EndBlockStatementSyntax(SyntaxKind.EndPropertyStatement, endKeyword, blockKeyword) 34515Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34516Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.OperatorKeyword) 34519Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndOperatorStatement, endKeyword, blockKeyword, hash) 34524Dim result = New EndBlockStatementSyntax(SyntaxKind.EndOperatorStatement, endKeyword, blockKeyword) 34546Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34547Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.EventKeyword) 34550Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndEventStatement, endKeyword, blockKeyword, hash) 34555Dim result = New EndBlockStatementSyntax(SyntaxKind.EndEventStatement, endKeyword, blockKeyword) 34577Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34578Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.AddHandlerKeyword) 34581Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndAddHandlerStatement, endKeyword, blockKeyword, hash) 34586Dim result = New EndBlockStatementSyntax(SyntaxKind.EndAddHandlerStatement, endKeyword, blockKeyword) 34608Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34609Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.RemoveHandlerKeyword) 34612Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndRemoveHandlerStatement, endKeyword, blockKeyword, hash) 34617Dim result = New EndBlockStatementSyntax(SyntaxKind.EndRemoveHandlerStatement, endKeyword, blockKeyword) 34639Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34640Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.RaiseEventKeyword) 34643Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndRaiseEventStatement, endKeyword, blockKeyword, hash) 34648Dim result = New EndBlockStatementSyntax(SyntaxKind.EndRaiseEventStatement, endKeyword, blockKeyword) 34670Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34671Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.WhileKeyword) 34674Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndWhileStatement, endKeyword, blockKeyword, hash) 34679Dim result = New EndBlockStatementSyntax(SyntaxKind.EndWhileStatement, endKeyword, blockKeyword) 34701Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34702Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.TryKeyword) 34705Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndTryStatement, endKeyword, blockKeyword, hash) 34710Dim result = New EndBlockStatementSyntax(SyntaxKind.EndTryStatement, endKeyword, blockKeyword) 34732Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34733Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.SyncLockKeyword) 34736Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndSyncLockStatement, endKeyword, blockKeyword, hash) 34741Dim result = New EndBlockStatementSyntax(SyntaxKind.EndSyncLockStatement, endKeyword, blockKeyword) 34754''' A <see cref="SyntaxKind"/> representing the specific kind of 34772Friend Shared Function EndBlockStatement(kind As SyntaxKind, endKeyword As KeywordSyntax, blockKeyword As KeywordSyntax) As EndBlockStatementSyntax 34774Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 34815Debug.Assert(endOfFileToken IsNot Nothing AndAlso endOfFileToken.Kind = SyntaxKind.EndOfFileToken) 34816Return New CompilationUnitSyntax(SyntaxKind.CompilationUnit, options.Node, [imports].Node, attributes.Node, members.Node, endOfFileToken) 34835Debug.Assert(optionKeyword IsNot Nothing AndAlso optionKeyword.Kind = SyntaxKind.OptionKeyword) 34839Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.OptionStatement, optionKeyword, nameKeyword, valueKeyword, hash) 34844Dim result = New OptionStatementSyntax(SyntaxKind.OptionStatement, optionKeyword, nameKeyword, valueKeyword) 34864Debug.Assert(importsKeyword IsNot Nothing AndAlso importsKeyword.Kind = SyntaxKind.ImportsKeyword) 34867Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ImportsStatement, importsKeyword, importsClauses.Node, hash) 34872Dim result = New ImportsStatementSyntax(SyntaxKind.ImportsStatement, importsKeyword, importsClauses.Node) 34895Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SimpleImportsClause, [alias], name, hash) 34900Dim result = New SimpleImportsClauseSyntax(SyntaxKind.SimpleImportsClause, [alias], name) 34919Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 34920Debug.Assert(equalsToken IsNot Nothing AndAlso equalsToken.Kind = SyntaxKind.EqualsToken) 34923Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ImportAliasClause, identifier, equalsToken, hash) 34928Dim result = New ImportAliasClauseSyntax(SyntaxKind.ImportAliasClause, identifier, equalsToken) 34944Debug.Assert(lessThanToken IsNot Nothing AndAlso lessThanToken.Kind = SyntaxKind.LessThanToken) 34946Debug.Assert(greaterThanToken IsNot Nothing AndAlso greaterThanToken.Kind = SyntaxKind.GreaterThanToken) 34949Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.XmlNamespaceImportsClause, lessThanToken, xmlNamespace, greaterThanToken, hash) 34954Dim result = New XmlNamespaceImportsClauseSyntax(SyntaxKind.XmlNamespaceImportsClause, lessThanToken, xmlNamespace, greaterThanToken) 34980Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.NamespaceBlock, namespaceStatement, members.Node, endNamespaceStatement, hash) 34985Dim result = New NamespaceBlockSyntax(SyntaxKind.NamespaceBlock, namespaceStatement, members.Node, endNamespaceStatement) 35005Debug.Assert(namespaceKeyword IsNot Nothing AndAlso namespaceKeyword.Kind = SyntaxKind.NamespaceKeyword) 35009Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.NamespaceStatement, namespaceKeyword, name, hash) 35014Dim result = New NamespaceStatementSyntax(SyntaxKind.NamespaceStatement, namespaceKeyword, name) 35045Return New ModuleBlockSyntax(SyntaxKind.ModuleBlock, moduleStatement, [inherits].Node, [implements].Node, members.Node, endModuleStatement) 35071Return New StructureBlockSyntax(SyntaxKind.StructureBlock, structureStatement, [inherits].Node, [implements].Node, members.Node, endStructureStatement) 35097Return New InterfaceBlockSyntax(SyntaxKind.InterfaceBlock, interfaceStatement, [inherits].Node, [implements].Node, members.Node, endInterfaceStatement) 35123Return New ClassBlockSyntax(SyntaxKind.ClassBlock, classStatement, [inherits].Node, [implements].Node, members.Node, endClassStatement) 35145Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EnumBlock, enumStatement, members.Node, endEnumStatement, hash) 35150Dim result = New EnumBlockSyntax(SyntaxKind.EnumBlock, enumStatement, members.Node, endEnumStatement) 35169Debug.Assert(inheritsKeyword IsNot Nothing AndAlso inheritsKeyword.Kind = SyntaxKind.InheritsKeyword) 35172Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.InheritsStatement, inheritsKeyword, types.Node, hash) 35177Dim result = New InheritsStatementSyntax(SyntaxKind.InheritsStatement, inheritsKeyword, types.Node) 35196Debug.Assert(implementsKeyword IsNot Nothing AndAlso implementsKeyword.Kind = SyntaxKind.ImplementsKeyword) 35199Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ImplementsStatement, implementsKeyword, types.Node, hash) 35204Dim result = New ImplementsStatementSyntax(SyntaxKind.ImplementsStatement, implementsKeyword, types.Node) 35236Debug.Assert(moduleKeyword IsNot Nothing AndAlso moduleKeyword.Kind = SyntaxKind.ModuleKeyword) 35237Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 35238Return New ModuleStatementSyntax(SyntaxKind.ModuleStatement, attributeLists.Node, modifiers.Node, moduleKeyword, identifier, typeParameterList) 35265Debug.Assert(structureKeyword IsNot Nothing AndAlso structureKeyword.Kind = SyntaxKind.StructureKeyword) 35266Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 35267Return New StructureStatementSyntax(SyntaxKind.StructureStatement, attributeLists.Node, modifiers.Node, structureKeyword, identifier, typeParameterList) 35294Debug.Assert(interfaceKeyword IsNot Nothing AndAlso interfaceKeyword.Kind = SyntaxKind.InterfaceKeyword) 35295Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 35296Return New InterfaceStatementSyntax(SyntaxKind.InterfaceStatement, attributeLists.Node, modifiers.Node, interfaceKeyword, identifier, typeParameterList) 35323Debug.Assert(classKeyword IsNot Nothing AndAlso classKeyword.Kind = SyntaxKind.ClassKeyword) 35324Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 35325Return New ClassStatementSyntax(SyntaxKind.ClassStatement, attributeLists.Node, modifiers.Node, classKeyword, identifier, typeParameterList) 35352Debug.Assert(enumKeyword IsNot Nothing AndAlso enumKeyword.Kind = SyntaxKind.EnumKeyword) 35353Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 35354Return New EnumStatementSyntax(SyntaxKind.EnumStatement, attributeLists.Node, modifiers.Node, enumKeyword, identifier, underlyingType) 35375Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 35376Debug.Assert(ofKeyword IsNot Nothing AndAlso ofKeyword.Kind = SyntaxKind.OfKeyword) 35377Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 35378Return New TypeParameterListSyntax(SyntaxKind.TypeParameterList, openParenToken, ofKeyword, parameters.Node, closeParenToken) 35397Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 35400Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.TypeParameter, varianceKeyword, identifier, typeParameterConstraintClause, hash) 35405Dim result = New TypeParameterSyntax(SyntaxKind.TypeParameter, varianceKeyword, identifier, typeParameterConstraintClause) 35427Debug.Assert(asKeyword IsNot Nothing AndAlso asKeyword.Kind = SyntaxKind.AsKeyword) 35431Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.TypeParameterSingleConstraintClause, asKeyword, constraint, hash) 35436Dim result = New TypeParameterSingleConstraintClauseSyntax(SyntaxKind.TypeParameterSingleConstraintClause, asKeyword, constraint) 35463Debug.Assert(asKeyword IsNot Nothing AndAlso asKeyword.Kind = SyntaxKind.AsKeyword) 35464Debug.Assert(openBraceToken IsNot Nothing AndAlso openBraceToken.Kind = SyntaxKind.OpenBraceToken) 35465Debug.Assert(closeBraceToken IsNot Nothing AndAlso closeBraceToken.Kind = SyntaxKind.CloseBraceToken) 35466Return New TypeParameterMultipleConstraintClauseSyntax(SyntaxKind.TypeParameterMultipleConstraintClause, asKeyword, openBraceToken, constraints.Node, closeBraceToken) 35483Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.NewConstraint, constraintKeyword, hash) 35488Dim result = New SpecialConstraintSyntax(SyntaxKind.NewConstraint, constraintKeyword) 35510Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ClassConstraint, constraintKeyword, hash) 35515Dim result = New SpecialConstraintSyntax(SyntaxKind.ClassConstraint, constraintKeyword) 35537Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.StructureConstraint, constraintKeyword, hash) 35542Dim result = New SpecialConstraintSyntax(SyntaxKind.StructureConstraint, constraintKeyword) 35557''' A <see cref="SyntaxKind"/> representing the specific kind of 35565Friend Shared Function SpecialConstraint(kind As SyntaxKind, constraintKeyword As KeywordSyntax) As SpecialConstraintSyntax 35594Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.TypeConstraint, type, hash) 35599Dim result = New TypeConstraintSyntax(SyntaxKind.TypeConstraint, type) 35615Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 35618Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EnumMemberDeclaration, attributeLists.Node, identifier, initializer, hash) 35623Dim result = New EnumMemberDeclarationSyntax(SyntaxKind.EnumMemberDeclaration, attributeLists.Node, identifier, initializer) 35650Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SubBlock, subOrFunctionStatement, statements.Node, endSubOrFunctionStatement, hash) 35655Dim result = New MethodBlockSyntax(SyntaxKind.SubBlock, subOrFunctionStatement, statements.Node, endSubOrFunctionStatement) 35682Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.FunctionBlock, subOrFunctionStatement, statements.Node, endSubOrFunctionStatement, hash) 35687Dim result = New MethodBlockSyntax(SyntaxKind.FunctionBlock, subOrFunctionStatement, statements.Node, endSubOrFunctionStatement) 35701''' A <see cref="SyntaxKind"/> representing the specific kind of MethodBlockSyntax. 35713Friend Shared Function MethodBlock(kind As SyntaxKind, subOrFunctionStatement As MethodStatementSyntax, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), endSubOrFunctionStatement As EndBlockStatementSyntax) As MethodBlockSyntax 35751Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ConstructorBlock, subNewStatement, statements.Node, endSubStatement, hash) 35756Dim result = New ConstructorBlockSyntax(SyntaxKind.ConstructorBlock, subNewStatement, statements.Node, endSubStatement) 35783Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.OperatorBlock, operatorStatement, statements.Node, endOperatorStatement, hash) 35788Dim result = New OperatorBlockSyntax(SyntaxKind.OperatorBlock, operatorStatement, statements.Node, endOperatorStatement) 35818Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.GetAccessorBlock, accessorStatement, statements.Node, endAccessorStatement, hash) 35823Dim result = New AccessorBlockSyntax(SyntaxKind.GetAccessorBlock, accessorStatement, statements.Node, endAccessorStatement) 35853Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SetAccessorBlock, accessorStatement, statements.Node, endAccessorStatement, hash) 35858Dim result = New AccessorBlockSyntax(SyntaxKind.SetAccessorBlock, accessorStatement, statements.Node, endAccessorStatement) 35888Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.AddHandlerAccessorBlock, accessorStatement, statements.Node, endAccessorStatement, hash) 35893Dim result = New AccessorBlockSyntax(SyntaxKind.AddHandlerAccessorBlock, accessorStatement, statements.Node, endAccessorStatement) 35923Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.RemoveHandlerAccessorBlock, accessorStatement, statements.Node, endAccessorStatement, hash) 35928Dim result = New AccessorBlockSyntax(SyntaxKind.RemoveHandlerAccessorBlock, accessorStatement, statements.Node, endAccessorStatement) 35958Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.RaiseEventAccessorBlock, accessorStatement, statements.Node, endAccessorStatement, hash) 35963Dim result = New AccessorBlockSyntax(SyntaxKind.RaiseEventAccessorBlock, accessorStatement, statements.Node, endAccessorStatement) 35978''' A <see cref="SyntaxKind"/> representing the specific kind of 35993Friend Shared Function AccessorBlock(kind As SyntaxKind, accessorStatement As AccessorStatementSyntax, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), endAccessorStatement As EndBlockStatementSyntax) As AccessorBlockSyntax 36032Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.PropertyBlock, propertyStatement, accessors.Node, endPropertyStatement, hash) 36037Dim result = New PropertyBlockSyntax(SyntaxKind.PropertyBlock, propertyStatement, accessors.Node, endPropertyStatement) 36065Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EventBlock, eventStatement, accessors.Node, endEventStatement, hash) 36070Dim result = New EventBlockSyntax(SyntaxKind.EventBlock, eventStatement, accessors.Node, endEventStatement) 36094Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 36095Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 36098Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ParameterList, openParenToken, parameters.Node, closeParenToken, hash) 36103Dim result = New ParameterListSyntax(SyntaxKind.ParameterList, openParenToken, parameters.Node, closeParenToken) 36154Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.SubKeyword) 36155Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 36156Return New MethodStatementSyntax(SyntaxKind.SubStatement, attributeLists.Node, modifiers.Node, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause, handlesClause, implementsClause) 36202Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.FunctionKeyword) 36203Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 36204Return New MethodStatementSyntax(SyntaxKind.FunctionStatement, attributeLists.Node, modifiers.Node, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause, handlesClause, implementsClause) 36215''' A <see cref="SyntaxKind"/> representing the specific kind of 36253Friend Shared Function MethodStatement(kind As SyntaxKind, attributeLists As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), modifiers As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), subOrFunctionKeyword As KeywordSyntax, identifier As IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) As MethodStatementSyntax 36256Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 36287Debug.Assert(subKeyword IsNot Nothing AndAlso subKeyword.Kind = SyntaxKind.SubKeyword) 36288Debug.Assert(newKeyword IsNot Nothing AndAlso newKeyword.Kind = SyntaxKind.NewKeyword) 36289Return New SubNewStatementSyntax(SyntaxKind.SubNewStatement, attributeLists.Node, modifiers.Node, subKeyword, newKeyword, parameterList) 36340Debug.Assert(declareKeyword IsNot Nothing AndAlso declareKeyword.Kind = SyntaxKind.DeclareKeyword) 36341Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.SubKeyword) 36342Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 36343Debug.Assert(libKeyword IsNot Nothing AndAlso libKeyword.Kind = SyntaxKind.LibKeyword) 36345Return New DeclareStatementSyntax(SyntaxKind.DeclareSubStatement, attributeLists.Node, modifiers.Node, declareKeyword, charsetKeyword, subOrFunctionKeyword, identifier, libKeyword, libraryName, aliasKeyword, aliasName, parameterList, asClause) 36396Debug.Assert(declareKeyword IsNot Nothing AndAlso declareKeyword.Kind = SyntaxKind.DeclareKeyword) 36397Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.FunctionKeyword) 36398Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 36399Debug.Assert(libKeyword IsNot Nothing AndAlso libKeyword.Kind = SyntaxKind.LibKeyword) 36401Return New DeclareStatementSyntax(SyntaxKind.DeclareFunctionStatement, attributeLists.Node, modifiers.Node, declareKeyword, charsetKeyword, subOrFunctionKeyword, identifier, libKeyword, libraryName, aliasKeyword, aliasName, parameterList, asClause) 36409''' A <see cref="SyntaxKind"/> representing the specific kind of 36455Friend Shared Function DeclareStatement(kind As SyntaxKind, attributeLists As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), modifiers As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), declareKeyword As KeywordSyntax, charsetKeyword As KeywordSyntax, subOrFunctionKeyword As KeywordSyntax, identifier As IdentifierTokenSyntax, libKeyword As KeywordSyntax, libraryName As LiteralExpressionSyntax, aliasKeyword As KeywordSyntax, aliasName As LiteralExpressionSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DeclareStatementSyntax 36457Debug.Assert(declareKeyword IsNot Nothing AndAlso declareKeyword.Kind = SyntaxKind.DeclareKeyword) 36459Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 36460Debug.Assert(libKeyword IsNot Nothing AndAlso libKeyword.Kind = SyntaxKind.LibKeyword) 36501Debug.Assert(delegateKeyword IsNot Nothing AndAlso delegateKeyword.Kind = SyntaxKind.DelegateKeyword) 36502Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.SubKeyword) 36503Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 36504Return New DelegateStatementSyntax(SyntaxKind.DelegateSubStatement, attributeLists.Node, modifiers.Node, delegateKeyword, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause) 36543Debug.Assert(delegateKeyword IsNot Nothing AndAlso delegateKeyword.Kind = SyntaxKind.DelegateKeyword) 36544Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.FunctionKeyword) 36545Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 36546Return New DelegateStatementSyntax(SyntaxKind.DelegateFunctionStatement, attributeLists.Node, modifiers.Node, delegateKeyword, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause) 36554''' A <see cref="SyntaxKind"/> representing the specific kind of 36589Friend Shared Function DelegateStatement(kind As SyntaxKind, attributeLists As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), modifiers As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), delegateKeyword As KeywordSyntax, subOrFunctionKeyword As KeywordSyntax, identifier As IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DelegateStatementSyntax 36591Debug.Assert(delegateKeyword IsNot Nothing AndAlso delegateKeyword.Kind = SyntaxKind.DelegateKeyword) 36593Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 36635Debug.Assert(eventKeyword IsNot Nothing AndAlso eventKeyword.Kind = SyntaxKind.EventKeyword) 36636Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 36637Return New EventStatementSyntax(SyntaxKind.EventStatement, attributeLists.Node, modifiers.Node, customKeyword, eventKeyword, identifier, parameterList, asClause, implementsClause) 36672Debug.Assert(operatorKeyword IsNot Nothing AndAlso operatorKeyword.Kind = SyntaxKind.OperatorKeyword) 36674Return New OperatorStatementSyntax(SyntaxKind.OperatorStatement, attributeLists.Node, modifiers.Node, operatorKeyword, operatorToken, parameterList, asClause) 36717Debug.Assert(propertyKeyword IsNot Nothing AndAlso propertyKeyword.Kind = SyntaxKind.PropertyKeyword) 36718Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 36719Return New PropertyStatementSyntax(SyntaxKind.PropertyStatement, attributeLists.Node, modifiers.Node, propertyKeyword, identifier, parameterList, asClause, initializer, implementsClause) 36748Debug.Assert(accessorKeyword IsNot Nothing AndAlso accessorKeyword.Kind = SyntaxKind.GetKeyword) 36749Return New AccessorStatementSyntax(SyntaxKind.GetAccessorStatement, attributeLists.Node, modifiers.Node, accessorKeyword, parameterList) 36778Debug.Assert(accessorKeyword IsNot Nothing AndAlso accessorKeyword.Kind = SyntaxKind.SetKeyword) 36779Return New AccessorStatementSyntax(SyntaxKind.SetAccessorStatement, attributeLists.Node, modifiers.Node, accessorKeyword, parameterList) 36808Debug.Assert(accessorKeyword IsNot Nothing AndAlso accessorKeyword.Kind = SyntaxKind.AddHandlerKeyword) 36809Return New AccessorStatementSyntax(SyntaxKind.AddHandlerAccessorStatement, attributeLists.Node, modifiers.Node, accessorKeyword, parameterList) 36838Debug.Assert(accessorKeyword IsNot Nothing AndAlso accessorKeyword.Kind = SyntaxKind.RemoveHandlerKeyword) 36839Return New AccessorStatementSyntax(SyntaxKind.RemoveHandlerAccessorStatement, attributeLists.Node, modifiers.Node, accessorKeyword, parameterList) 36868Debug.Assert(accessorKeyword IsNot Nothing AndAlso accessorKeyword.Kind = SyntaxKind.RaiseEventKeyword) 36869Return New AccessorStatementSyntax(SyntaxKind.RaiseEventAccessorStatement, attributeLists.Node, modifiers.Node, accessorKeyword, parameterList) 36880''' A <see cref="SyntaxKind"/> representing the specific kind of 36903Friend Shared Function AccessorStatement(kind As SyntaxKind, attributeLists As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), modifiers As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), accessorKeyword As KeywordSyntax, parameterList As ParameterListSyntax) As AccessorStatementSyntax 36921Debug.Assert(implementsKeyword IsNot Nothing AndAlso implementsKeyword.Kind = SyntaxKind.ImplementsKeyword) 36924Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ImplementsClause, implementsKeyword, interfaceMembers.Node, hash) 36929Dim result = New ImplementsClauseSyntax(SyntaxKind.ImplementsClause, implementsKeyword, interfaceMembers.Node) 36949Debug.Assert(handlesKeyword IsNot Nothing AndAlso handlesKeyword.Kind = SyntaxKind.HandlesKeyword) 36952Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.HandlesClause, handlesKeyword, events.Node, hash) 36957Dim result = New HandlesClauseSyntax(SyntaxKind.HandlesClause, handlesKeyword, events.Node) 36978Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.KeywordEventContainer, keyword, hash) 36983Dim result = New KeywordEventContainerSyntax(SyntaxKind.KeywordEventContainer, keyword) 37000Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 37003Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.WithEventsEventContainer, identifier, hash) 37008Dim result = New WithEventsEventContainerSyntax(SyntaxKind.WithEventsEventContainer, identifier) 37032Debug.Assert(dotToken IsNot Nothing AndAlso dotToken.Kind = SyntaxKind.DotToken) 37036Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.WithEventsPropertyEventContainer, withEventsContainer, dotToken, [property], hash) 37041Dim result = New WithEventsPropertyEventContainerSyntax(SyntaxKind.WithEventsPropertyEventContainer, withEventsContainer, dotToken, [property]) 37066Debug.Assert(dotToken IsNot Nothing AndAlso dotToken.Kind = SyntaxKind.DotToken) 37070Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.HandlesClauseItem, eventContainer, dotToken, eventMember, hash) 37075Dim result = New HandlesClauseItemSyntax(SyntaxKind.HandlesClauseItem, eventContainer, dotToken, eventMember) 37104Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.IncompleteMember, attributeLists.Node, modifiers.Node, missingIdentifier, hash) 37109Dim result = New IncompleteMemberSyntax(SyntaxKind.IncompleteMember, attributeLists.Node, modifiers.Node, missingIdentifier) 37139Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.FieldDeclaration, attributeLists.Node, modifiers.Node, declarators.Node, hash) 37144Dim result = New FieldDeclarationSyntax(SyntaxKind.FieldDeclaration, attributeLists.Node, modifiers.Node, declarators.Node) 37172Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.VariableDeclarator, names.Node, asClause, initializer, hash) 37177Dim result = New VariableDeclaratorSyntax(SyntaxKind.VariableDeclarator, names.Node, asClause, initializer) 37202Debug.Assert(asKeyword IsNot Nothing AndAlso asKeyword.Kind = SyntaxKind.AsKeyword) 37206Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SimpleAsClause, asKeyword, attributeLists.Node, type, hash) 37211Dim result = New SimpleAsClauseSyntax(SyntaxKind.SimpleAsClause, asKeyword, attributeLists.Node, type) 37233Debug.Assert(asKeyword IsNot Nothing AndAlso asKeyword.Kind = SyntaxKind.AsKeyword) 37237Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.AsNewClause, asKeyword, newExpression, hash) 37242Dim result = New AsNewClauseSyntax(SyntaxKind.AsNewClause, asKeyword, newExpression) 37267Debug.Assert(withKeyword IsNot Nothing AndAlso withKeyword.Kind = SyntaxKind.WithKeyword) 37268Debug.Assert(openBraceToken IsNot Nothing AndAlso openBraceToken.Kind = SyntaxKind.OpenBraceToken) 37269Debug.Assert(closeBraceToken IsNot Nothing AndAlso closeBraceToken.Kind = SyntaxKind.CloseBraceToken) 37270Return New ObjectMemberInitializerSyntax(SyntaxKind.ObjectMemberInitializer, withKeyword, openBraceToken, initializers.Node, closeBraceToken) 37285Debug.Assert(fromKeyword IsNot Nothing AndAlso fromKeyword.Kind = SyntaxKind.FromKeyword) 37289Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ObjectCollectionInitializer, fromKeyword, initializer, hash) 37294Dim result = New ObjectCollectionInitializerSyntax(SyntaxKind.ObjectCollectionInitializer, fromKeyword, initializer) 37317Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.InferredFieldInitializer, keyKeyword, expression, hash) 37322Dim result = New InferredFieldInitializerSyntax(SyntaxKind.InferredFieldInitializer, keyKeyword, expression) 37351Debug.Assert(dotToken IsNot Nothing AndAlso dotToken.Kind = SyntaxKind.DotToken) 37353Debug.Assert(equalsToken IsNot Nothing AndAlso equalsToken.Kind = SyntaxKind.EqualsToken) 37355Return New NamedFieldInitializerSyntax(SyntaxKind.NamedFieldInitializer, keyKeyword, dotToken, name, equalsToken, expression) 37370Debug.Assert(equalsToken IsNot Nothing AndAlso equalsToken.Kind = SyntaxKind.EqualsToken) 37374Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EqualsValue, equalsToken, value, hash) 37379Dim result = New EqualsValueSyntax(SyntaxKind.EqualsValue, equalsToken, value) 37412Return New ParameterSyntax(SyntaxKind.Parameter, attributeLists.Node, modifiers.Node, identifier, asClause, [default]) 37434Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 37435Return New ModifiedIdentifierSyntax(SyntaxKind.ModifiedIdentifier, identifier, nullable, arrayBounds, arrayRankSpecifiers.Node) 37453Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 37454Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 37457Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ArrayRankSpecifier, openParenToken, commaTokens.Node, closeParenToken, hash) 37462Dim result = New ArrayRankSpecifierSyntax(SyntaxKind.ArrayRankSpecifier, openParenToken, commaTokens.Node, closeParenToken) 37484Debug.Assert(lessThanToken IsNot Nothing AndAlso lessThanToken.Kind = SyntaxKind.LessThanToken) 37485Debug.Assert(greaterThanToken IsNot Nothing AndAlso greaterThanToken.Kind = SyntaxKind.GreaterThanToken) 37488Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.AttributeList, lessThanToken, attributes.Node, greaterThanToken, hash) 37493Dim result = New AttributeListSyntax(SyntaxKind.AttributeList, lessThanToken, attributes.Node, greaterThanToken) 37517Return New AttributeSyntax(SyntaxKind.Attribute, target, name, argumentList) 37534Debug.Assert(colonToken IsNot Nothing AndAlso colonToken.Kind = SyntaxKind.ColonToken) 37537Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.AttributeTarget, attributeModifier, colonToken, hash) 37542Dim result = New AttributeTargetSyntax(SyntaxKind.AttributeTarget, attributeModifier, colonToken) 37561Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.AttributesStatement, attributeLists.Node, hash) 37566Dim result = New AttributesStatementSyntax(SyntaxKind.AttributesStatement, attributeLists.Node) 37587Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ExpressionStatement, expression, hash) 37592Dim result = New ExpressionStatementSyntax(SyntaxKind.ExpressionStatement, expression) 37611Debug.Assert(questionToken IsNot Nothing AndAlso questionToken.Kind = SyntaxKind.QuestionToken) 37615Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.PrintStatement, questionToken, expression, hash) 37620Dim result = New PrintStatementSyntax(SyntaxKind.PrintStatement, questionToken, expression) 37647Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.WhileBlock, whileStatement, statements.Node, endWhileStatement, hash) 37652Dim result = New WhileBlockSyntax(SyntaxKind.WhileBlock, whileStatement, statements.Node, endWhileStatement) 37680Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.UsingBlock, usingStatement, statements.Node, endUsingStatement, hash) 37685Dim result = New UsingBlockSyntax(SyntaxKind.UsingBlock, usingStatement, statements.Node, endUsingStatement) 37713Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SyncLockBlock, syncLockStatement, statements.Node, endSyncLockStatement, hash) 37718Dim result = New SyncLockBlockSyntax(SyntaxKind.SyncLockBlock, syncLockStatement, statements.Node, endSyncLockStatement) 37746Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.WithBlock, withStatement, statements.Node, endWithStatement, hash) 37751Dim result = New WithBlockSyntax(SyntaxKind.WithBlock, withStatement, statements.Node, endWithStatement) 37774Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.LocalDeclarationStatement, modifiers.Node, declarators.Node, hash) 37779Dim result = New LocalDeclarationStatementSyntax(SyntaxKind.LocalDeclarationStatement, modifiers.Node, declarators.Node) 37800Debug.Assert(colonToken IsNot Nothing AndAlso colonToken.Kind = SyntaxKind.ColonToken) 37803Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.LabelStatement, labelToken, colonToken, hash) 37808Dim result = New LabelStatementSyntax(SyntaxKind.LabelStatement, labelToken, colonToken) 37828Debug.Assert(goToKeyword IsNot Nothing AndAlso goToKeyword.Kind = SyntaxKind.GoToKeyword) 37832Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.GoToStatement, goToKeyword, label, hash) 37837Dim result = New GoToStatementSyntax(SyntaxKind.GoToStatement, goToKeyword, label) 37855Debug.Assert(labelToken IsNot Nothing AndAlso labelToken.Kind = SyntaxKind.IdentifierToken) 37858Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.IdentifierLabel, labelToken, hash) 37863Dim result = New LabelSyntax(SyntaxKind.IdentifierLabel, labelToken) 37881Debug.Assert(labelToken IsNot Nothing AndAlso labelToken.Kind = SyntaxKind.IntegerLiteralToken) 37884Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.NumericLabel, labelToken, hash) 37889Dim result = New LabelSyntax(SyntaxKind.NumericLabel, labelToken) 37907Debug.Assert(labelToken IsNot Nothing AndAlso labelToken.Kind = SyntaxKind.NextKeyword) 37910Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.NextLabel, labelToken, hash) 37915Dim result = New LabelSyntax(SyntaxKind.NextLabel, labelToken) 37929''' A <see cref="SyntaxKind"/> representing the specific kind of LabelSyntax. One 37936Friend Shared Function Label(kind As SyntaxKind, labelToken As SyntaxToken) As LabelSyntax 37966Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.StopStatement, stopOrEndKeyword, hash) 37971Dim result = New StopOrEndStatementSyntax(SyntaxKind.StopStatement, stopOrEndKeyword) 37991Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EndStatement, stopOrEndKeyword, hash) 37996Dim result = New StopOrEndStatementSyntax(SyntaxKind.EndStatement, stopOrEndKeyword) 38010''' A <see cref="SyntaxKind"/> representing the specific kind of 38016Friend Shared Function StopOrEndStatement(kind As SyntaxKind, stopOrEndKeyword As KeywordSyntax) As StopOrEndStatementSyntax 38046Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 38047Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.DoKeyword) 38050Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ExitDoStatement, exitKeyword, blockKeyword, hash) 38055Dim result = New ExitStatementSyntax(SyntaxKind.ExitDoStatement, exitKeyword, blockKeyword) 38075Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 38076Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.ForKeyword) 38079Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ExitForStatement, exitKeyword, blockKeyword, hash) 38084Dim result = New ExitStatementSyntax(SyntaxKind.ExitForStatement, exitKeyword, blockKeyword) 38104Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 38105Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.SubKeyword) 38108Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ExitSubStatement, exitKeyword, blockKeyword, hash) 38113Dim result = New ExitStatementSyntax(SyntaxKind.ExitSubStatement, exitKeyword, blockKeyword) 38133Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 38134Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.FunctionKeyword) 38137Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ExitFunctionStatement, exitKeyword, blockKeyword, hash) 38142Dim result = New ExitStatementSyntax(SyntaxKind.ExitFunctionStatement, exitKeyword, blockKeyword) 38162Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 38163Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.OperatorKeyword) 38166Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ExitOperatorStatement, exitKeyword, blockKeyword, hash) 38171Dim result = New ExitStatementSyntax(SyntaxKind.ExitOperatorStatement, exitKeyword, blockKeyword) 38191Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 38192Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.PropertyKeyword) 38195Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ExitPropertyStatement, exitKeyword, blockKeyword, hash) 38200Dim result = New ExitStatementSyntax(SyntaxKind.ExitPropertyStatement, exitKeyword, blockKeyword) 38220Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 38221Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.TryKeyword) 38224Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ExitTryStatement, exitKeyword, blockKeyword, hash) 38229Dim result = New ExitStatementSyntax(SyntaxKind.ExitTryStatement, exitKeyword, blockKeyword) 38249Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 38250Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.SelectKeyword) 38253Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ExitSelectStatement, exitKeyword, blockKeyword, hash) 38258Dim result = New ExitStatementSyntax(SyntaxKind.ExitSelectStatement, exitKeyword, blockKeyword) 38278Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 38279Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.WhileKeyword) 38282Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ExitWhileStatement, exitKeyword, blockKeyword, hash) 38287Dim result = New ExitStatementSyntax(SyntaxKind.ExitWhileStatement, exitKeyword, blockKeyword) 38301''' A <see cref="SyntaxKind"/> representing the specific kind of 38313Friend Shared Function ExitStatement(kind As SyntaxKind, exitKeyword As KeywordSyntax, blockKeyword As KeywordSyntax) As ExitStatementSyntax 38315Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 38345Debug.Assert(continueKeyword IsNot Nothing AndAlso continueKeyword.Kind = SyntaxKind.ContinueKeyword) 38346Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.WhileKeyword) 38349Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ContinueWhileStatement, continueKeyword, blockKeyword, hash) 38354Dim result = New ContinueStatementSyntax(SyntaxKind.ContinueWhileStatement, continueKeyword, blockKeyword) 38375Debug.Assert(continueKeyword IsNot Nothing AndAlso continueKeyword.Kind = SyntaxKind.ContinueKeyword) 38376Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.DoKeyword) 38379Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ContinueDoStatement, continueKeyword, blockKeyword, hash) 38384Dim result = New ContinueStatementSyntax(SyntaxKind.ContinueDoStatement, continueKeyword, blockKeyword) 38405Debug.Assert(continueKeyword IsNot Nothing AndAlso continueKeyword.Kind = SyntaxKind.ContinueKeyword) 38406Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.ForKeyword) 38409Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ContinueForStatement, continueKeyword, blockKeyword, hash) 38414Dim result = New ContinueStatementSyntax(SyntaxKind.ContinueForStatement, continueKeyword, blockKeyword) 38428''' A <see cref="SyntaxKind"/> representing the specific kind of 38439Friend Shared Function ContinueStatement(kind As SyntaxKind, continueKeyword As KeywordSyntax, blockKeyword As KeywordSyntax) As ContinueStatementSyntax 38441Debug.Assert(continueKeyword IsNot Nothing AndAlso continueKeyword.Kind = SyntaxKind.ContinueKeyword) 38469Debug.Assert(returnKeyword IsNot Nothing AndAlso returnKeyword.Kind = SyntaxKind.ReturnKeyword) 38472Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ReturnStatement, returnKeyword, expression, hash) 38477Dim result = New ReturnStatementSyntax(SyntaxKind.ReturnStatement, returnKeyword, expression) 38506Debug.Assert(ifKeyword IsNot Nothing AndAlso ifKeyword.Kind = SyntaxKind.IfKeyword) 38508Debug.Assert(thenKeyword IsNot Nothing AndAlso thenKeyword.Kind = SyntaxKind.ThenKeyword) 38509Return New SingleLineIfStatementSyntax(SyntaxKind.SingleLineIfStatement, ifKeyword, condition, thenKeyword, statements.Node, elseClause) 38524Debug.Assert(elseKeyword IsNot Nothing AndAlso elseKeyword.Kind = SyntaxKind.ElseKeyword) 38527Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SingleLineElseClause, elseKeyword, statements.Node, hash) 38532Dim result = New SingleLineElseClauseSyntax(SyntaxKind.SingleLineElseClause, elseKeyword, statements.Node) 38566Return New MultiLineIfBlockSyntax(SyntaxKind.MultiLineIfBlock, ifStatement, statements.Node, elseIfBlocks.Node, elseBlock, endIfStatement) 38583Debug.Assert(ifKeyword IsNot Nothing AndAlso ifKeyword.Kind = SyntaxKind.IfKeyword) 38587Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.IfStatement, ifKeyword, condition, thenKeyword, hash) 38592Dim result = New IfStatementSyntax(SyntaxKind.IfStatement, ifKeyword, condition, thenKeyword) 38615Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ElseIfBlock, elseIfStatement, statements.Node, hash) 38620Dim result = New ElseIfBlockSyntax(SyntaxKind.ElseIfBlock, elseIfStatement, statements.Node) 38642Debug.Assert(elseIfKeyword IsNot Nothing AndAlso elseIfKeyword.Kind = SyntaxKind.ElseIfKeyword) 38646Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ElseIfStatement, elseIfKeyword, condition, thenKeyword, hash) 38651Dim result = New ElseIfStatementSyntax(SyntaxKind.ElseIfStatement, elseIfKeyword, condition, thenKeyword) 38673Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ElseBlock, elseStatement, statements.Node, hash) 38678Dim result = New ElseBlockSyntax(SyntaxKind.ElseBlock, elseStatement, statements.Node) 38694Debug.Assert(elseKeyword IsNot Nothing AndAlso elseKeyword.Kind = SyntaxKind.ElseKeyword) 38697Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ElseStatement, elseKeyword, hash) 38702Dim result = New ElseStatementSyntax(SyntaxKind.ElseStatement, elseKeyword) 38733Return New TryBlockSyntax(SyntaxKind.TryBlock, tryStatement, statements.Node, catchBlocks.Node, finallyBlock, endTryStatement) 38744Debug.Assert(tryKeyword IsNot Nothing AndAlso tryKeyword.Kind = SyntaxKind.TryKeyword) 38747Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.TryStatement, tryKeyword, hash) 38752Dim result = New TryStatementSyntax(SyntaxKind.TryStatement, tryKeyword) 38775Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CatchBlock, catchStatement, statements.Node, hash) 38780Dim result = New CatchBlockSyntax(SyntaxKind.CatchBlock, catchStatement, statements.Node) 38806Debug.Assert(catchKeyword IsNot Nothing AndAlso catchKeyword.Kind = SyntaxKind.CatchKeyword) 38807Return New CatchStatementSyntax(SyntaxKind.CatchStatement, catchKeyword, identifierName, asClause, whenClause) 38821Debug.Assert(whenKeyword IsNot Nothing AndAlso whenKeyword.Kind = SyntaxKind.WhenKeyword) 38825Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CatchFilterClause, whenKeyword, filter, hash) 38830Dim result = New CatchFilterClauseSyntax(SyntaxKind.CatchFilterClause, whenKeyword, filter) 38852Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.FinallyBlock, finallyStatement, statements.Node, hash) 38857Dim result = New FinallyBlockSyntax(SyntaxKind.FinallyBlock, finallyStatement, statements.Node) 38873Debug.Assert(finallyKeyword IsNot Nothing AndAlso finallyKeyword.Kind = SyntaxKind.FinallyKeyword) 38876Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.FinallyStatement, finallyKeyword, hash) 38881Dim result = New FinallyStatementSyntax(SyntaxKind.FinallyStatement, finallyKeyword) 38900Debug.Assert(errorKeyword IsNot Nothing AndAlso errorKeyword.Kind = SyntaxKind.ErrorKeyword) 38904Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ErrorStatement, errorKeyword, errorNumber, hash) 38909Dim result = New ErrorStatementSyntax(SyntaxKind.ErrorStatement, errorKeyword, errorNumber) 38938Debug.Assert(onKeyword IsNot Nothing AndAlso onKeyword.Kind = SyntaxKind.OnKeyword) 38939Debug.Assert(errorKeyword IsNot Nothing AndAlso errorKeyword.Kind = SyntaxKind.ErrorKeyword) 38940Debug.Assert(goToKeyword IsNot Nothing AndAlso goToKeyword.Kind = SyntaxKind.GoToKeyword) 38942Return New OnErrorGoToStatementSyntax(SyntaxKind.OnErrorGoToZeroStatement, onKeyword, errorKeyword, goToKeyword, minus, label) 38966Debug.Assert(onKeyword IsNot Nothing AndAlso onKeyword.Kind = SyntaxKind.OnKeyword) 38967Debug.Assert(errorKeyword IsNot Nothing AndAlso errorKeyword.Kind = SyntaxKind.ErrorKeyword) 38968Debug.Assert(goToKeyword IsNot Nothing AndAlso goToKeyword.Kind = SyntaxKind.GoToKeyword) 38970Return New OnErrorGoToStatementSyntax(SyntaxKind.OnErrorGoToMinusOneStatement, onKeyword, errorKeyword, goToKeyword, minus, label) 38994Debug.Assert(onKeyword IsNot Nothing AndAlso onKeyword.Kind = SyntaxKind.OnKeyword) 38995Debug.Assert(errorKeyword IsNot Nothing AndAlso errorKeyword.Kind = SyntaxKind.ErrorKeyword) 38996Debug.Assert(goToKeyword IsNot Nothing AndAlso goToKeyword.Kind = SyntaxKind.GoToKeyword) 38998Return New OnErrorGoToStatementSyntax(SyntaxKind.OnErrorGoToLabelStatement, onKeyword, errorKeyword, goToKeyword, minus, label) 39006''' A <see cref="SyntaxKind"/> representing the specific kind of 39026Friend Shared Function OnErrorGoToStatement(kind As SyntaxKind, onKeyword As KeywordSyntax, errorKeyword As KeywordSyntax, goToKeyword As KeywordSyntax, minus As PunctuationSyntax, label As LabelSyntax) As OnErrorGoToStatementSyntax 39028Debug.Assert(onKeyword IsNot Nothing AndAlso onKeyword.Kind = SyntaxKind.OnKeyword) 39029Debug.Assert(errorKeyword IsNot Nothing AndAlso errorKeyword.Kind = SyntaxKind.ErrorKeyword) 39030Debug.Assert(goToKeyword IsNot Nothing AndAlso goToKeyword.Kind = SyntaxKind.GoToKeyword) 39052Debug.Assert(onKeyword IsNot Nothing AndAlso onKeyword.Kind = SyntaxKind.OnKeyword) 39053Debug.Assert(errorKeyword IsNot Nothing AndAlso errorKeyword.Kind = SyntaxKind.ErrorKeyword) 39054Debug.Assert(resumeKeyword IsNot Nothing AndAlso resumeKeyword.Kind = SyntaxKind.ResumeKeyword) 39055Debug.Assert(nextKeyword IsNot Nothing AndAlso nextKeyword.Kind = SyntaxKind.NextKeyword) 39056Return New OnErrorResumeNextStatementSyntax(SyntaxKind.OnErrorResumeNextStatement, onKeyword, errorKeyword, resumeKeyword, nextKeyword) 39073Debug.Assert(resumeKeyword IsNot Nothing AndAlso resumeKeyword.Kind = SyntaxKind.ResumeKeyword) 39076Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ResumeStatement, resumeKeyword, label, hash) 39081Dim result = New ResumeStatementSyntax(SyntaxKind.ResumeStatement, resumeKeyword, label) 39103Debug.Assert(resumeKeyword IsNot Nothing AndAlso resumeKeyword.Kind = SyntaxKind.ResumeKeyword) 39106Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ResumeLabelStatement, resumeKeyword, label, hash) 39111Dim result = New ResumeStatementSyntax(SyntaxKind.ResumeLabelStatement, resumeKeyword, label) 39133Debug.Assert(resumeKeyword IsNot Nothing AndAlso resumeKeyword.Kind = SyntaxKind.ResumeKeyword) 39136Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ResumeNextStatement, resumeKeyword, label, hash) 39141Dim result = New ResumeStatementSyntax(SyntaxKind.ResumeNextStatement, resumeKeyword, label) 39168Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SelectBlock, selectStatement, caseBlocks.Node, endSelectStatement, hash) 39173Dim result = New SelectBlockSyntax(SyntaxKind.SelectBlock, selectStatement, caseBlocks.Node, endSelectStatement) 39196Debug.Assert(selectKeyword IsNot Nothing AndAlso selectKeyword.Kind = SyntaxKind.SelectKeyword) 39200Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SelectStatement, selectKeyword, caseKeyword, expression, hash) 39205Dim result = New SelectStatementSyntax(SyntaxKind.SelectStatement, selectKeyword, caseKeyword, expression) 39227Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CaseBlock, caseStatement, statements.Node, hash) 39232Dim result = New CaseBlockSyntax(SyntaxKind.CaseBlock, caseStatement, statements.Node) 39254Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CaseElseBlock, caseStatement, statements.Node, hash) 39259Dim result = New CaseBlockSyntax(SyntaxKind.CaseElseBlock, caseStatement, statements.Node) 39281Debug.Assert(caseKeyword IsNot Nothing AndAlso caseKeyword.Kind = SyntaxKind.CaseKeyword) 39284Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CaseStatement, caseKeyword, cases.Node, hash) 39289Dim result = New CaseStatementSyntax(SyntaxKind.CaseStatement, caseKeyword, cases.Node) 39311Debug.Assert(caseKeyword IsNot Nothing AndAlso caseKeyword.Kind = SyntaxKind.CaseKeyword) 39314Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CaseElseStatement, caseKeyword, cases.Node, hash) 39319Dim result = New CaseStatementSyntax(SyntaxKind.CaseElseStatement, caseKeyword, cases.Node) 39335Debug.Assert(elseKeyword IsNot Nothing AndAlso elseKeyword.Kind = SyntaxKind.ElseKeyword) 39338Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ElseCaseClause, elseKeyword, hash) 39343Dim result = New ElseCaseClauseSyntax(SyntaxKind.ElseCaseClause, elseKeyword) 39362Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SimpleCaseClause, value, hash) 39367Dim result = New SimpleCaseClauseSyntax(SyntaxKind.SimpleCaseClause, value) 39390Debug.Assert(toKeyword IsNot Nothing AndAlso toKeyword.Kind = SyntaxKind.ToKeyword) 39394Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.RangeCaseClause, lowerBound, toKeyword, upperBound, hash) 39399Dim result = New RangeCaseClauseSyntax(SyntaxKind.RangeCaseClause, lowerBound, toKeyword, upperBound) 39422Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.EqualsToken) 39426Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CaseEqualsClause, isKeyword, operatorToken, value, hash) 39431Dim result = New RelationalCaseClauseSyntax(SyntaxKind.CaseEqualsClause, isKeyword, operatorToken, value) 39454Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.LessThanGreaterThanToken) 39458Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CaseNotEqualsClause, isKeyword, operatorToken, value, hash) 39463Dim result = New RelationalCaseClauseSyntax(SyntaxKind.CaseNotEqualsClause, isKeyword, operatorToken, value) 39486Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.LessThanToken) 39490Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CaseLessThanClause, isKeyword, operatorToken, value, hash) 39495Dim result = New RelationalCaseClauseSyntax(SyntaxKind.CaseLessThanClause, isKeyword, operatorToken, value) 39518Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.LessThanEqualsToken) 39522Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CaseLessThanOrEqualClause, isKeyword, operatorToken, value, hash) 39527Dim result = New RelationalCaseClauseSyntax(SyntaxKind.CaseLessThanOrEqualClause, isKeyword, operatorToken, value) 39550Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.GreaterThanEqualsToken) 39554Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CaseGreaterThanOrEqualClause, isKeyword, operatorToken, value, hash) 39559Dim result = New RelationalCaseClauseSyntax(SyntaxKind.CaseGreaterThanOrEqualClause, isKeyword, operatorToken, value) 39582Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.GreaterThanToken) 39586Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CaseGreaterThanClause, isKeyword, operatorToken, value, hash) 39591Dim result = New RelationalCaseClauseSyntax(SyntaxKind.CaseGreaterThanClause, isKeyword, operatorToken, value) 39604''' A <see cref="SyntaxKind"/> representing the specific kind of 39619Friend Shared Function RelationalCaseClause(kind As SyntaxKind, isKeyword As KeywordSyntax, operatorToken As PunctuationSyntax, value As ExpressionSyntax) As RelationalCaseClauseSyntax 39650Debug.Assert(syncLockKeyword IsNot Nothing AndAlso syncLockKeyword.Kind = SyntaxKind.SyncLockKeyword) 39654Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SyncLockStatement, syncLockKeyword, expression, hash) 39659Dim result = New SyncLockStatementSyntax(SyntaxKind.SyncLockStatement, syncLockKeyword, expression) 39686Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SimpleDoLoopBlock, doStatement, statements.Node, loopStatement, hash) 39691Dim result = New DoLoopBlockSyntax(SyntaxKind.SimpleDoLoopBlock, doStatement, statements.Node, loopStatement) 39718Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.DoWhileLoopBlock, doStatement, statements.Node, loopStatement, hash) 39723Dim result = New DoLoopBlockSyntax(SyntaxKind.DoWhileLoopBlock, doStatement, statements.Node, loopStatement) 39750Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.DoUntilLoopBlock, doStatement, statements.Node, loopStatement, hash) 39755Dim result = New DoLoopBlockSyntax(SyntaxKind.DoUntilLoopBlock, doStatement, statements.Node, loopStatement) 39782Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.DoLoopWhileBlock, doStatement, statements.Node, loopStatement, hash) 39787Dim result = New DoLoopBlockSyntax(SyntaxKind.DoLoopWhileBlock, doStatement, statements.Node, loopStatement) 39814Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.DoLoopUntilBlock, doStatement, statements.Node, loopStatement, hash) 39819Dim result = New DoLoopBlockSyntax(SyntaxKind.DoLoopUntilBlock, doStatement, statements.Node, loopStatement) 39833''' A <see cref="SyntaxKind"/> representing the specific kind of DoLoopBlockSyntax. 39846Friend Shared Function DoLoopBlock(kind As SyntaxKind, doStatement As DoStatementSyntax, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 39877Debug.Assert(doKeyword IsNot Nothing AndAlso doKeyword.Kind = SyntaxKind.DoKeyword) 39880Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SimpleDoStatement, doKeyword, whileOrUntilClause, hash) 39885Dim result = New DoStatementSyntax(SyntaxKind.SimpleDoStatement, doKeyword, whileOrUntilClause) 39905Debug.Assert(doKeyword IsNot Nothing AndAlso doKeyword.Kind = SyntaxKind.DoKeyword) 39908Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.DoWhileStatement, doKeyword, whileOrUntilClause, hash) 39913Dim result = New DoStatementSyntax(SyntaxKind.DoWhileStatement, doKeyword, whileOrUntilClause) 39933Debug.Assert(doKeyword IsNot Nothing AndAlso doKeyword.Kind = SyntaxKind.DoKeyword) 39936Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.DoUntilStatement, doKeyword, whileOrUntilClause, hash) 39941Dim result = New DoStatementSyntax(SyntaxKind.DoUntilStatement, doKeyword, whileOrUntilClause) 39954''' A <see cref="SyntaxKind"/> representing the specific kind of DoStatementSyntax. 39964Friend Shared Function DoStatement(kind As SyntaxKind, doKeyword As KeywordSyntax, whileOrUntilClause As WhileOrUntilClauseSyntax) As DoStatementSyntax 39966Debug.Assert(doKeyword IsNot Nothing AndAlso doKeyword.Kind = SyntaxKind.DoKeyword) 39994Debug.Assert(loopKeyword IsNot Nothing AndAlso loopKeyword.Kind = SyntaxKind.LoopKeyword) 39997Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SimpleLoopStatement, loopKeyword, whileOrUntilClause, hash) 40002Dim result = New LoopStatementSyntax(SyntaxKind.SimpleLoopStatement, loopKeyword, whileOrUntilClause) 40022Debug.Assert(loopKeyword IsNot Nothing AndAlso loopKeyword.Kind = SyntaxKind.LoopKeyword) 40025Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.LoopWhileStatement, loopKeyword, whileOrUntilClause, hash) 40030Dim result = New LoopStatementSyntax(SyntaxKind.LoopWhileStatement, loopKeyword, whileOrUntilClause) 40050Debug.Assert(loopKeyword IsNot Nothing AndAlso loopKeyword.Kind = SyntaxKind.LoopKeyword) 40053Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.LoopUntilStatement, loopKeyword, whileOrUntilClause, hash) 40058Dim result = New LoopStatementSyntax(SyntaxKind.LoopUntilStatement, loopKeyword, whileOrUntilClause) 40071''' A <see cref="SyntaxKind"/> representing the specific kind of 40082Friend Shared Function LoopStatement(kind As SyntaxKind, loopKeyword As KeywordSyntax, whileOrUntilClause As WhileOrUntilClauseSyntax) As LoopStatementSyntax 40084Debug.Assert(loopKeyword IsNot Nothing AndAlso loopKeyword.Kind = SyntaxKind.LoopKeyword) 40113Debug.Assert(whileOrUntilKeyword IsNot Nothing AndAlso whileOrUntilKeyword.Kind = SyntaxKind.WhileKeyword) 40117Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.WhileClause, whileOrUntilKeyword, condition, hash) 40122Dim result = New WhileOrUntilClauseSyntax(SyntaxKind.WhileClause, whileOrUntilKeyword, condition) 40143Debug.Assert(whileOrUntilKeyword IsNot Nothing AndAlso whileOrUntilKeyword.Kind = SyntaxKind.UntilKeyword) 40147Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.UntilClause, whileOrUntilKeyword, condition, hash) 40152Dim result = New WhileOrUntilClauseSyntax(SyntaxKind.UntilClause, whileOrUntilKeyword, condition) 40167''' A <see cref="SyntaxKind"/> representing the specific kind of 40176Friend Shared Function WhileOrUntilClause(kind As SyntaxKind, whileOrUntilKeyword As KeywordSyntax, condition As ExpressionSyntax) As WhileOrUntilClauseSyntax 40207Debug.Assert(whileKeyword IsNot Nothing AndAlso whileKeyword.Kind = SyntaxKind.WhileKeyword) 40211Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.WhileStatement, whileKeyword, condition, hash) 40216Dim result = New WhileStatementSyntax(SyntaxKind.WhileStatement, whileKeyword, condition) 40245Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ForBlock, forStatement, statements.Node, nextStatement, hash) 40250Dim result = New ForBlockSyntax(SyntaxKind.ForBlock, forStatement, statements.Node, nextStatement) 40279Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ForEachBlock, forEachStatement, statements.Node, nextStatement, hash) 40284Dim result = New ForEachBlockSyntax(SyntaxKind.ForEachBlock, forEachStatement, statements.Node, nextStatement) 40326Debug.Assert(forKeyword IsNot Nothing AndAlso forKeyword.Kind = SyntaxKind.ForKeyword) 40328Debug.Assert(equalsToken IsNot Nothing AndAlso equalsToken.Kind = SyntaxKind.EqualsToken) 40330Debug.Assert(toKeyword IsNot Nothing AndAlso toKeyword.Kind = SyntaxKind.ToKeyword) 40332Return New ForStatementSyntax(SyntaxKind.ForStatement, forKeyword, controlVariable, equalsToken, fromValue, toKeyword, toValue, stepClause) 40346Debug.Assert(stepKeyword IsNot Nothing AndAlso stepKeyword.Kind = SyntaxKind.StepKeyword) 40350Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ForStepClause, stepKeyword, stepValue, hash) 40355Dim result = New ForStepClauseSyntax(SyntaxKind.ForStepClause, stepKeyword, stepValue) 40392Debug.Assert(forKeyword IsNot Nothing AndAlso forKeyword.Kind = SyntaxKind.ForKeyword) 40393Debug.Assert(eachKeyword IsNot Nothing AndAlso eachKeyword.Kind = SyntaxKind.EachKeyword) 40395Debug.Assert(inKeyword IsNot Nothing AndAlso inKeyword.Kind = SyntaxKind.InKeyword) 40397Return New ForEachStatementSyntax(SyntaxKind.ForEachStatement, forKeyword, eachKeyword, controlVariable, inKeyword, expression) 40414Debug.Assert(nextKeyword IsNot Nothing AndAlso nextKeyword.Kind = SyntaxKind.NextKeyword) 40417Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.NextStatement, nextKeyword, controlVariables.Node, hash) 40422Dim result = New NextStatementSyntax(SyntaxKind.NextStatement, nextKeyword, controlVariables.Node) 40448Debug.Assert(usingKeyword IsNot Nothing AndAlso usingKeyword.Kind = SyntaxKind.UsingKeyword) 40451Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.UsingStatement, usingKeyword, expression, variables.Node, hash) 40456Dim result = New UsingStatementSyntax(SyntaxKind.UsingStatement, usingKeyword, expression, variables.Node) 40475Debug.Assert(throwKeyword IsNot Nothing AndAlso throwKeyword.Kind = SyntaxKind.ThrowKeyword) 40478Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ThrowStatement, throwKeyword, expression, hash) 40483Dim result = New ThrowStatementSyntax(SyntaxKind.ThrowStatement, throwKeyword, expression) 40508Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.EqualsToken) 40512Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SimpleAssignmentStatement, left, operatorToken, right, hash) 40517Dim result = New AssignmentStatementSyntax(SyntaxKind.SimpleAssignmentStatement, left, operatorToken, right) 40542Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.EqualsToken) 40546Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.MidAssignmentStatement, left, operatorToken, right, hash) 40551Dim result = New AssignmentStatementSyntax(SyntaxKind.MidAssignmentStatement, left, operatorToken, right) 40576Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.PlusEqualsToken) 40580Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.AddAssignmentStatement, left, operatorToken, right, hash) 40585Dim result = New AssignmentStatementSyntax(SyntaxKind.AddAssignmentStatement, left, operatorToken, right) 40610Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.MinusEqualsToken) 40614Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SubtractAssignmentStatement, left, operatorToken, right, hash) 40619Dim result = New AssignmentStatementSyntax(SyntaxKind.SubtractAssignmentStatement, left, operatorToken, right) 40644Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.AsteriskEqualsToken) 40648Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.MultiplyAssignmentStatement, left, operatorToken, right, hash) 40653Dim result = New AssignmentStatementSyntax(SyntaxKind.MultiplyAssignmentStatement, left, operatorToken, right) 40678Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.SlashEqualsToken) 40682Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.DivideAssignmentStatement, left, operatorToken, right, hash) 40687Dim result = New AssignmentStatementSyntax(SyntaxKind.DivideAssignmentStatement, left, operatorToken, right) 40712Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.BackslashEqualsToken) 40716Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.IntegerDivideAssignmentStatement, left, operatorToken, right, hash) 40721Dim result = New AssignmentStatementSyntax(SyntaxKind.IntegerDivideAssignmentStatement, left, operatorToken, right) 40746Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.CaretEqualsToken) 40750Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ExponentiateAssignmentStatement, left, operatorToken, right, hash) 40755Dim result = New AssignmentStatementSyntax(SyntaxKind.ExponentiateAssignmentStatement, left, operatorToken, right) 40780Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.LessThanLessThanEqualsToken) 40784Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.LeftShiftAssignmentStatement, left, operatorToken, right, hash) 40789Dim result = New AssignmentStatementSyntax(SyntaxKind.LeftShiftAssignmentStatement, left, operatorToken, right) 40814Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.GreaterThanGreaterThanEqualsToken) 40818Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.RightShiftAssignmentStatement, left, operatorToken, right, hash) 40823Dim result = New AssignmentStatementSyntax(SyntaxKind.RightShiftAssignmentStatement, left, operatorToken, right) 40848Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.AmpersandEqualsToken) 40852Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ConcatenateAssignmentStatement, left, operatorToken, right, hash) 40857Dim result = New AssignmentStatementSyntax(SyntaxKind.ConcatenateAssignmentStatement, left, operatorToken, right) 40871''' A <see cref="SyntaxKind"/> representing the specific kind of 40889Friend Shared Function AssignmentStatement(kind As SyntaxKind, left As ExpressionSyntax, operatorToken As PunctuationSyntax, right As ExpressionSyntax) As AssignmentStatementSyntax 40920Debug.Assert(mid IsNot Nothing AndAlso mid.Kind = SyntaxKind.IdentifierToken) 40924Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.MidExpression, mid, argumentList, hash) 40929Dim result = New MidExpressionSyntax(SyntaxKind.MidExpression, mid, argumentList) 40949Debug.Assert(callKeyword IsNot Nothing AndAlso callKeyword.Kind = SyntaxKind.CallKeyword) 40953Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CallStatement, callKeyword, invocation, hash) 40958Dim result = New CallStatementSyntax(SyntaxKind.CallStatement, callKeyword, invocation) 40984Debug.Assert(addHandlerOrRemoveHandlerKeyword IsNot Nothing AndAlso addHandlerOrRemoveHandlerKeyword.Kind = SyntaxKind.AddHandlerKeyword) 40986Debug.Assert(commaToken IsNot Nothing AndAlso commaToken.Kind = SyntaxKind.CommaToken) 40988Return New AddRemoveHandlerStatementSyntax(SyntaxKind.AddHandlerStatement, addHandlerOrRemoveHandlerKeyword, eventExpression, commaToken, delegateExpression) 41009Debug.Assert(addHandlerOrRemoveHandlerKeyword IsNot Nothing AndAlso addHandlerOrRemoveHandlerKeyword.Kind = SyntaxKind.RemoveHandlerKeyword) 41011Debug.Assert(commaToken IsNot Nothing AndAlso commaToken.Kind = SyntaxKind.CommaToken) 41013Return New AddRemoveHandlerStatementSyntax(SyntaxKind.RemoveHandlerStatement, addHandlerOrRemoveHandlerKeyword, eventExpression, commaToken, delegateExpression) 41022''' A <see cref="SyntaxKind"/> representing the specific kind of 41038Friend Shared Function AddRemoveHandlerStatement(kind As SyntaxKind, addHandlerOrRemoveHandlerKeyword As KeywordSyntax, eventExpression As ExpressionSyntax, commaToken As PunctuationSyntax, delegateExpression As ExpressionSyntax) As AddRemoveHandlerStatementSyntax 41042Debug.Assert(commaToken IsNot Nothing AndAlso commaToken.Kind = SyntaxKind.CommaToken) 41061Debug.Assert(raiseEventKeyword IsNot Nothing AndAlso raiseEventKeyword.Kind = SyntaxKind.RaiseEventKeyword) 41065Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.RaiseEventStatement, raiseEventKeyword, name, argumentList, hash) 41070Dim result = New RaiseEventStatementSyntax(SyntaxKind.RaiseEventStatement, raiseEventKeyword, name, argumentList) 41091Debug.Assert(withKeyword IsNot Nothing AndAlso withKeyword.Kind = SyntaxKind.WithKeyword) 41095Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.WithStatement, withKeyword, expression, hash) 41100Dim result = New WithStatementSyntax(SyntaxKind.WithStatement, withKeyword, expression) 41123Debug.Assert(reDimKeyword IsNot Nothing AndAlso reDimKeyword.Kind = SyntaxKind.ReDimKeyword) 41126Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ReDimStatement, reDimKeyword, preserveKeyword, clauses.Node, hash) 41131Dim result = New ReDimStatementSyntax(SyntaxKind.ReDimStatement, reDimKeyword, preserveKeyword, clauses.Node) 41154Debug.Assert(reDimKeyword IsNot Nothing AndAlso reDimKeyword.Kind = SyntaxKind.ReDimKeyword) 41157Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ReDimPreserveStatement, reDimKeyword, preserveKeyword, clauses.Node, hash) 41162Dim result = New ReDimStatementSyntax(SyntaxKind.ReDimPreserveStatement, reDimKeyword, preserveKeyword, clauses.Node) 41185Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.RedimClause, expression, arrayBounds, hash) 41190Dim result = New RedimClauseSyntax(SyntaxKind.RedimClause, expression, arrayBounds) 41209Debug.Assert(eraseKeyword IsNot Nothing AndAlso eraseKeyword.Kind = SyntaxKind.EraseKeyword) 41212Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EraseStatement, eraseKeyword, expressions.Node, hash) 41217Dim result = New EraseStatementSyntax(SyntaxKind.EraseStatement, eraseKeyword, expressions.Node) 41248Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CharacterLiteralExpression, token, hash) 41253Dim result = New LiteralExpressionSyntax(SyntaxKind.CharacterLiteralExpression, token) 41284Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.TrueLiteralExpression, token, hash) 41289Dim result = New LiteralExpressionSyntax(SyntaxKind.TrueLiteralExpression, token) 41320Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.FalseLiteralExpression, token, hash) 41325Dim result = New LiteralExpressionSyntax(SyntaxKind.FalseLiteralExpression, token) 41356Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.NumericLiteralExpression, token, hash) 41361Dim result = New LiteralExpressionSyntax(SyntaxKind.NumericLiteralExpression, token) 41392Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.DateLiteralExpression, token, hash) 41397Dim result = New LiteralExpressionSyntax(SyntaxKind.DateLiteralExpression, token) 41428Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.StringLiteralExpression, token, hash) 41433Dim result = New LiteralExpressionSyntax(SyntaxKind.StringLiteralExpression, token) 41464Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.NothingLiteralExpression, token, hash) 41469Dim result = New LiteralExpressionSyntax(SyntaxKind.NothingLiteralExpression, token) 41486''' A <see cref="SyntaxKind"/> representing the specific kind of 41502Friend Shared Function LiteralExpression(kind As SyntaxKind, token As SyntaxToken) As LiteralExpressionSyntax 41534Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 41536Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 41539Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ParenthesizedExpression, openParenToken, expression, closeParenToken, hash) 41544Dim result = New ParenthesizedExpressionSyntax(SyntaxKind.ParenthesizedExpression, openParenToken, expression, closeParenToken) 41566Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 41567Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 41570Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.TupleExpression, openParenToken, arguments.Node, closeParenToken, hash) 41575Dim result = New TupleExpressionSyntax(SyntaxKind.TupleExpression, openParenToken, arguments.Node, closeParenToken) 41597Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 41598Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 41601Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.TupleType, openParenToken, elements.Node, closeParenToken, hash) 41606Dim result = New TupleTypeSyntax(SyntaxKind.TupleType, openParenToken, elements.Node, closeParenToken) 41625Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.TypedTupleElement, type, hash) 41630Dim result = New TypedTupleElementSyntax(SyntaxKind.TypedTupleElement, type) 41650Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 41653Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.NamedTupleElement, identifier, asClause, hash) 41658Dim result = New NamedTupleElementSyntax(SyntaxKind.NamedTupleElement, identifier, asClause) 41674Debug.Assert(keyword IsNot Nothing AndAlso keyword.Kind = SyntaxKind.MeKeyword) 41677Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.MeExpression, keyword, hash) 41682Dim result = New MeExpressionSyntax(SyntaxKind.MeExpression, keyword) 41698Debug.Assert(keyword IsNot Nothing AndAlso keyword.Kind = SyntaxKind.MyBaseKeyword) 41701Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.MyBaseExpression, keyword, hash) 41706Dim result = New MyBaseExpressionSyntax(SyntaxKind.MyBaseExpression, keyword) 41722Debug.Assert(keyword IsNot Nothing AndAlso keyword.Kind = SyntaxKind.MyClassKeyword) 41725Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.MyClassExpression, keyword, hash) 41730Dim result = New MyClassExpressionSyntax(SyntaxKind.MyClassExpression, keyword) 41755Debug.Assert(getTypeKeyword IsNot Nothing AndAlso getTypeKeyword.Kind = SyntaxKind.GetTypeKeyword) 41756Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 41758Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 41759Return New GetTypeExpressionSyntax(SyntaxKind.GetTypeExpression, getTypeKeyword, openParenToken, type, closeParenToken) 41779Debug.Assert(typeOfKeyword IsNot Nothing AndAlso typeOfKeyword.Kind = SyntaxKind.TypeOfKeyword) 41781Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.IsKeyword) 41783Return New TypeOfExpressionSyntax(SyntaxKind.TypeOfIsExpression, typeOfKeyword, expression, operatorToken, type) 41803Debug.Assert(typeOfKeyword IsNot Nothing AndAlso typeOfKeyword.Kind = SyntaxKind.TypeOfKeyword) 41805Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.IsNotKeyword) 41807Return New TypeOfExpressionSyntax(SyntaxKind.TypeOfIsNotExpression, typeOfKeyword, expression, operatorToken, type) 41815''' A <see cref="SyntaxKind"/> representing the specific kind of 41830Friend Shared Function TypeOfExpression(kind As SyntaxKind, typeOfKeyword As KeywordSyntax, expression As ExpressionSyntax, operatorToken As KeywordSyntax, type As TypeSyntax) As TypeOfExpressionSyntax 41832Debug.Assert(typeOfKeyword IsNot Nothing AndAlso typeOfKeyword.Kind = SyntaxKind.TypeOfKeyword) 41856Debug.Assert(getXmlNamespaceKeyword IsNot Nothing AndAlso getXmlNamespaceKeyword.Kind = SyntaxKind.GetXmlNamespaceKeyword) 41857Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 41858Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 41859Return New GetXmlNamespaceExpressionSyntax(SyntaxKind.GetXmlNamespaceExpression, getXmlNamespaceKeyword, openParenToken, name, closeParenToken) 41877Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.DotToken) 41881Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SimpleMemberAccessExpression, expression, operatorToken, name, hash) 41886Dim result = New MemberAccessExpressionSyntax(SyntaxKind.SimpleMemberAccessExpression, expression, operatorToken, name) 41909Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.ExclamationToken) 41913Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.DictionaryAccessExpression, expression, operatorToken, name, hash) 41918Dim result = New MemberAccessExpressionSyntax(SyntaxKind.DictionaryAccessExpression, expression, operatorToken, name) 41932''' A <see cref="SyntaxKind"/> representing the specific kind of 41945Friend Shared Function MemberAccessExpression(kind As SyntaxKind, expression As ExpressionSyntax, operatorToken As PunctuationSyntax, name As SimpleNameSyntax) As MemberAccessExpressionSyntax 41986Debug.Assert(token1 IsNot Nothing AndAlso token1.Kind = SyntaxKind.DotToken) 41988Return New XmlMemberAccessExpressionSyntax(SyntaxKind.XmlElementAccessExpression, base, token1, token2, token3, name) 42013Debug.Assert(token1 IsNot Nothing AndAlso token1.Kind = SyntaxKind.DotToken) 42015Return New XmlMemberAccessExpressionSyntax(SyntaxKind.XmlDescendantAccessExpression, base, token1, token2, token3, name) 42040Debug.Assert(token1 IsNot Nothing AndAlso token1.Kind = SyntaxKind.DotToken) 42042Return New XmlMemberAccessExpressionSyntax(SyntaxKind.XmlAttributeAccessExpression, base, token1, token2, token3, name) 42052''' A <see cref="SyntaxKind"/> representing the specific kind of 42071Friend Shared Function XmlMemberAccessExpression(kind As SyntaxKind, base As ExpressionSyntax, token1 As PunctuationSyntax, token2 As PunctuationSyntax, token3 As PunctuationSyntax, name As XmlNodeSyntax) As XmlMemberAccessExpressionSyntax 42073Debug.Assert(token1 IsNot Nothing AndAlso token1.Kind = SyntaxKind.DotToken) 42093Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.InvocationExpression, expression, argumentList, hash) 42098Dim result = New InvocationExpressionSyntax(SyntaxKind.InvocationExpression, expression, argumentList) 42129Debug.Assert(newKeyword IsNot Nothing AndAlso newKeyword.Kind = SyntaxKind.NewKeyword) 42131Return New ObjectCreationExpressionSyntax(SyntaxKind.ObjectCreationExpression, newKeyword, attributeLists.Node, type, argumentList, initializer) 42149Debug.Assert(newKeyword IsNot Nothing AndAlso newKeyword.Kind = SyntaxKind.NewKeyword) 42153Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.AnonymousObjectCreationExpression, newKeyword, attributeLists.Node, initializer, hash) 42158Dim result = New AnonymousObjectCreationExpressionSyntax(SyntaxKind.AnonymousObjectCreationExpression, newKeyword, attributeLists.Node, initializer) 42191Debug.Assert(newKeyword IsNot Nothing AndAlso newKeyword.Kind = SyntaxKind.NewKeyword) 42194Return New ArrayCreationExpressionSyntax(SyntaxKind.ArrayCreationExpression, newKeyword, attributeLists.Node, type, arrayBounds, rankSpecifiers.Node, initializer) 42212Debug.Assert(openBraceToken IsNot Nothing AndAlso openBraceToken.Kind = SyntaxKind.OpenBraceToken) 42213Debug.Assert(closeBraceToken IsNot Nothing AndAlso closeBraceToken.Kind = SyntaxKind.CloseBraceToken) 42216Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CollectionInitializer, openBraceToken, initializers.Node, closeBraceToken, hash) 42221Dim result = New CollectionInitializerSyntax(SyntaxKind.CollectionInitializer, openBraceToken, initializers.Node, closeBraceToken) 42249Debug.Assert(keyword IsNot Nothing AndAlso keyword.Kind = SyntaxKind.CTypeKeyword) 42250Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 42252Debug.Assert(commaToken IsNot Nothing AndAlso commaToken.Kind = SyntaxKind.CommaToken) 42254Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 42255Return New CTypeExpressionSyntax(SyntaxKind.CTypeExpression, keyword, openParenToken, expression, commaToken, type, closeParenToken) 42278Debug.Assert(keyword IsNot Nothing AndAlso keyword.Kind = SyntaxKind.DirectCastKeyword) 42279Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 42281Debug.Assert(commaToken IsNot Nothing AndAlso commaToken.Kind = SyntaxKind.CommaToken) 42283Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 42284Return New DirectCastExpressionSyntax(SyntaxKind.DirectCastExpression, keyword, openParenToken, expression, commaToken, type, closeParenToken) 42307Debug.Assert(keyword IsNot Nothing AndAlso keyword.Kind = SyntaxKind.TryCastKeyword) 42308Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 42310Debug.Assert(commaToken IsNot Nothing AndAlso commaToken.Kind = SyntaxKind.CommaToken) 42312Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 42313Return New TryCastExpressionSyntax(SyntaxKind.TryCastExpression, keyword, openParenToken, expression, commaToken, type, closeParenToken) 42335Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 42337Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 42338Return New PredefinedCastExpressionSyntax(SyntaxKind.PredefinedCastExpression, keyword, openParenToken, expression, closeParenToken) 42355Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.PlusToken) 42359Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.AddExpression, left, operatorToken, right, hash) 42364Dim result = New BinaryExpressionSyntax(SyntaxKind.AddExpression, left, operatorToken, right) 42386Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.MinusToken) 42390Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SubtractExpression, left, operatorToken, right, hash) 42395Dim result = New BinaryExpressionSyntax(SyntaxKind.SubtractExpression, left, operatorToken, right) 42417Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.AsteriskToken) 42421Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.MultiplyExpression, left, operatorToken, right, hash) 42426Dim result = New BinaryExpressionSyntax(SyntaxKind.MultiplyExpression, left, operatorToken, right) 42448Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.SlashToken) 42452Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.DivideExpression, left, operatorToken, right, hash) 42457Dim result = New BinaryExpressionSyntax(SyntaxKind.DivideExpression, left, operatorToken, right) 42479Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.BackslashToken) 42483Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.IntegerDivideExpression, left, operatorToken, right, hash) 42488Dim result = New BinaryExpressionSyntax(SyntaxKind.IntegerDivideExpression, left, operatorToken, right) 42510Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.CaretToken) 42514Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ExponentiateExpression, left, operatorToken, right, hash) 42519Dim result = New BinaryExpressionSyntax(SyntaxKind.ExponentiateExpression, left, operatorToken, right) 42541Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.LessThanLessThanToken) 42545Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.LeftShiftExpression, left, operatorToken, right, hash) 42550Dim result = New BinaryExpressionSyntax(SyntaxKind.LeftShiftExpression, left, operatorToken, right) 42572Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.GreaterThanGreaterThanToken) 42576Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.RightShiftExpression, left, operatorToken, right, hash) 42581Dim result = New BinaryExpressionSyntax(SyntaxKind.RightShiftExpression, left, operatorToken, right) 42603Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.AmpersandToken) 42607Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ConcatenateExpression, left, operatorToken, right, hash) 42612Dim result = New BinaryExpressionSyntax(SyntaxKind.ConcatenateExpression, left, operatorToken, right) 42634Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.ModKeyword) 42638Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ModuloExpression, left, operatorToken, right, hash) 42643Dim result = New BinaryExpressionSyntax(SyntaxKind.ModuloExpression, left, operatorToken, right) 42665Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.EqualsToken) 42669Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EqualsExpression, left, operatorToken, right, hash) 42674Dim result = New BinaryExpressionSyntax(SyntaxKind.EqualsExpression, left, operatorToken, right) 42696Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.LessThanGreaterThanToken) 42700Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.NotEqualsExpression, left, operatorToken, right, hash) 42705Dim result = New BinaryExpressionSyntax(SyntaxKind.NotEqualsExpression, left, operatorToken, right) 42727Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.LessThanToken) 42731Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.LessThanExpression, left, operatorToken, right, hash) 42736Dim result = New BinaryExpressionSyntax(SyntaxKind.LessThanExpression, left, operatorToken, right) 42758Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.LessThanEqualsToken) 42762Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.LessThanOrEqualExpression, left, operatorToken, right, hash) 42767Dim result = New BinaryExpressionSyntax(SyntaxKind.LessThanOrEqualExpression, left, operatorToken, right) 42789Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.GreaterThanEqualsToken) 42793Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.GreaterThanOrEqualExpression, left, operatorToken, right, hash) 42798Dim result = New BinaryExpressionSyntax(SyntaxKind.GreaterThanOrEqualExpression, left, operatorToken, right) 42820Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.GreaterThanToken) 42824Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.GreaterThanExpression, left, operatorToken, right, hash) 42829Dim result = New BinaryExpressionSyntax(SyntaxKind.GreaterThanExpression, left, operatorToken, right) 42851Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.IsKeyword) 42855Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.IsExpression, left, operatorToken, right, hash) 42860Dim result = New BinaryExpressionSyntax(SyntaxKind.IsExpression, left, operatorToken, right) 42882Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.IsNotKeyword) 42886Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.IsNotExpression, left, operatorToken, right, hash) 42891Dim result = New BinaryExpressionSyntax(SyntaxKind.IsNotExpression, left, operatorToken, right) 42913Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.LikeKeyword) 42917Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.LikeExpression, left, operatorToken, right, hash) 42922Dim result = New BinaryExpressionSyntax(SyntaxKind.LikeExpression, left, operatorToken, right) 42944Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.OrKeyword) 42948Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.OrExpression, left, operatorToken, right, hash) 42953Dim result = New BinaryExpressionSyntax(SyntaxKind.OrExpression, left, operatorToken, right) 42975Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.XorKeyword) 42979Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ExclusiveOrExpression, left, operatorToken, right, hash) 42984Dim result = New BinaryExpressionSyntax(SyntaxKind.ExclusiveOrExpression, left, operatorToken, right) 43006Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.AndKeyword) 43010Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.AndExpression, left, operatorToken, right, hash) 43015Dim result = New BinaryExpressionSyntax(SyntaxKind.AndExpression, left, operatorToken, right) 43037Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.OrElseKeyword) 43041Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.OrElseExpression, left, operatorToken, right, hash) 43046Dim result = New BinaryExpressionSyntax(SyntaxKind.OrElseExpression, left, operatorToken, right) 43068Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.AndAlsoKeyword) 43072Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.AndAlsoExpression, left, operatorToken, right, hash) 43077Dim result = New BinaryExpressionSyntax(SyntaxKind.AndAlsoExpression, left, operatorToken, right) 43092''' A <see cref="SyntaxKind"/> representing the specific kind of 43108Friend Shared Function BinaryExpression(kind As SyntaxKind, left As ExpressionSyntax, operatorToken As SyntaxToken, right As ExpressionSyntax) As BinaryExpressionSyntax 43139Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.PlusToken) 43143Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.UnaryPlusExpression, operatorToken, operand, hash) 43148Dim result = New UnaryExpressionSyntax(SyntaxKind.UnaryPlusExpression, operatorToken, operand) 43167Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.MinusToken) 43171Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.UnaryMinusExpression, operatorToken, operand, hash) 43176Dim result = New UnaryExpressionSyntax(SyntaxKind.UnaryMinusExpression, operatorToken, operand) 43195Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.NotKeyword) 43199Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.NotExpression, operatorToken, operand, hash) 43204Dim result = New UnaryExpressionSyntax(SyntaxKind.NotExpression, operatorToken, operand) 43223Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.AddressOfKeyword) 43227Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.AddressOfExpression, operatorToken, operand, hash) 43232Dim result = New UnaryExpressionSyntax(SyntaxKind.AddressOfExpression, operatorToken, operand) 43245''' A <see cref="SyntaxKind"/> representing the specific kind of 43255Friend Shared Function UnaryExpression(kind As SyntaxKind, operatorToken As SyntaxToken, operand As ExpressionSyntax) As UnaryExpressionSyntax 43298Debug.Assert(ifKeyword IsNot Nothing AndAlso ifKeyword.Kind = SyntaxKind.IfKeyword) 43299Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 43301Debug.Assert(commaToken IsNot Nothing AndAlso commaToken.Kind = SyntaxKind.CommaToken) 43303Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 43304Return New BinaryConditionalExpressionSyntax(SyntaxKind.BinaryConditionalExpression, ifKeyword, openParenToken, firstExpression, commaToken, secondExpression, closeParenToken) 43337Debug.Assert(ifKeyword IsNot Nothing AndAlso ifKeyword.Kind = SyntaxKind.IfKeyword) 43338Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 43340Debug.Assert(firstCommaToken IsNot Nothing AndAlso firstCommaToken.Kind = SyntaxKind.CommaToken) 43342Debug.Assert(secondCommaToken IsNot Nothing AndAlso secondCommaToken.Kind = SyntaxKind.CommaToken) 43344Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 43345Return New TernaryConditionalExpressionSyntax(SyntaxKind.TernaryConditionalExpression, ifKeyword, openParenToken, condition, firstCommaToken, whenTrue, secondCommaToken, whenFalse, closeParenToken) 43365Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SingleLineFunctionLambdaExpression, subOrFunctionHeader, body, hash) 43370Dim result = New SingleLineLambdaExpressionSyntax(SyntaxKind.SingleLineFunctionLambdaExpression, subOrFunctionHeader, body) 43395Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SingleLineSubLambdaExpression, subOrFunctionHeader, body, hash) 43400Dim result = New SingleLineLambdaExpressionSyntax(SyntaxKind.SingleLineSubLambdaExpression, subOrFunctionHeader, body) 43413''' A <see cref="SyntaxKind"/> representing the specific kind of 43425Friend Shared Function SingleLineLambdaExpression(kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, body As VisualBasicSyntaxNode) As SingleLineLambdaExpressionSyntax 43466Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.MultiLineFunctionLambdaExpression, subOrFunctionHeader, statements.Node, endSubOrFunctionStatement, hash) 43471Dim result = New MultiLineLambdaExpressionSyntax(SyntaxKind.MultiLineFunctionLambdaExpression, subOrFunctionHeader, statements.Node, endSubOrFunctionStatement) 43501Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.MultiLineSubLambdaExpression, subOrFunctionHeader, statements.Node, endSubOrFunctionStatement, hash) 43506Dim result = New MultiLineLambdaExpressionSyntax(SyntaxKind.MultiLineSubLambdaExpression, subOrFunctionHeader, statements.Node, endSubOrFunctionStatement) 43519''' A <see cref="SyntaxKind"/> representing the specific kind of 43536Friend Shared Function MultiLineLambdaExpression(kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), endSubOrFunctionStatement As EndBlockStatementSyntax) As MultiLineLambdaExpressionSyntax 43581Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.SubKeyword) 43582Return New LambdaHeaderSyntax(SyntaxKind.SubLambdaHeader, attributeLists.Node, modifiers.Node, subOrFunctionKeyword, parameterList, asClause) 43611Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.FunctionKeyword) 43612Return New LambdaHeaderSyntax(SyntaxKind.FunctionLambdaHeader, attributeLists.Node, modifiers.Node, subOrFunctionKeyword, parameterList, asClause) 43620''' A <see cref="SyntaxKind"/> representing the specific kind of 43644Friend Shared Function LambdaHeader(kind As SyntaxKind, attributeLists As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), modifiers As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), subOrFunctionKeyword As KeywordSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As LambdaHeaderSyntax 43665Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 43666Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 43669Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ArgumentList, openParenToken, arguments.Node, closeParenToken, hash) 43674Dim result = New ArgumentListSyntax(SyntaxKind.ArgumentList, openParenToken, arguments.Node, closeParenToken) 43691Debug.Assert(empty IsNot Nothing AndAlso empty.Kind = SyntaxKind.EmptyToken) 43694Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.OmittedArgument, empty, hash) 43699Dim result = New OmittedArgumentSyntax(SyntaxKind.OmittedArgument, empty) 43722Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SimpleArgument, nameColonEquals, expression, hash) 43727Dim result = New SimpleArgumentSyntax(SyntaxKind.SimpleArgument, nameColonEquals, expression) 43747Debug.Assert(colonEqualsToken IsNot Nothing AndAlso colonEqualsToken.Kind = SyntaxKind.ColonEqualsToken) 43750Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.NameColonEquals, name, colonEqualsToken, hash) 43755Dim result = New NameColonEqualsSyntax(SyntaxKind.NameColonEquals, name, colonEqualsToken) 43779Debug.Assert(toKeyword IsNot Nothing AndAlso toKeyword.Kind = SyntaxKind.ToKeyword) 43783Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.RangeArgument, lowerBound, toKeyword, upperBound, hash) 43788Dim result = New RangeArgumentSyntax(SyntaxKind.RangeArgument, lowerBound, toKeyword, upperBound) 43809Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.QueryExpression, clauses.Node, hash) 43814Dim result = New QueryExpressionSyntax(SyntaxKind.QueryExpression, clauses.Node) 43841Debug.Assert(inKeyword IsNot Nothing AndAlso inKeyword.Kind = SyntaxKind.InKeyword) 43843Return New CollectionRangeVariableSyntax(SyntaxKind.CollectionRangeVariable, identifier, asClause, inKeyword, expression) 43862Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ExpressionRangeVariable, nameEquals, expression, hash) 43867Dim result = New ExpressionRangeVariableSyntax(SyntaxKind.ExpressionRangeVariable, nameEquals, expression) 43894Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.AggregationRangeVariable, nameEquals, aggregation, hash) 43899Dim result = New AggregationRangeVariableSyntax(SyntaxKind.AggregationRangeVariable, nameEquals, aggregation) 43922Debug.Assert(equalsToken IsNot Nothing AndAlso equalsToken.Kind = SyntaxKind.EqualsToken) 43925Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.VariableNameEquals, identifier, asClause, equalsToken, hash) 43930Dim result = New VariableNameEqualsSyntax(SyntaxKind.VariableNameEquals, identifier, asClause, equalsToken) 43956Debug.Assert(functionName IsNot Nothing AndAlso functionName.Kind = SyntaxKind.IdentifierToken) 43957Return New FunctionAggregationSyntax(SyntaxKind.FunctionAggregation, functionName, openParenToken, argument, closeParenToken) 43970Debug.Assert(groupKeyword IsNot Nothing AndAlso groupKeyword.Kind = SyntaxKind.GroupKeyword) 43973Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.GroupAggregation, groupKeyword, hash) 43978Dim result = New GroupAggregationSyntax(SyntaxKind.GroupAggregation, groupKeyword) 43999Debug.Assert(fromKeyword IsNot Nothing AndAlso fromKeyword.Kind = SyntaxKind.FromKeyword) 44002Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.FromClause, fromKeyword, variables.Node, hash) 44007Dim result = New FromClauseSyntax(SyntaxKind.FromClause, fromKeyword, variables.Node) 44026Debug.Assert(letKeyword IsNot Nothing AndAlso letKeyword.Kind = SyntaxKind.LetKeyword) 44029Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.LetClause, letKeyword, variables.Node, hash) 44034Dim result = New LetClauseSyntax(SyntaxKind.LetClause, letKeyword, variables.Node) 44062Debug.Assert(aggregateKeyword IsNot Nothing AndAlso aggregateKeyword.Kind = SyntaxKind.AggregateKeyword) 44063Debug.Assert(intoKeyword IsNot Nothing AndAlso intoKeyword.Kind = SyntaxKind.IntoKeyword) 44064Return New AggregateClauseSyntax(SyntaxKind.AggregateClause, aggregateKeyword, variables.Node, additionalQueryOperators.Node, intoKeyword, aggregationVariables.Node) 44075Debug.Assert(distinctKeyword IsNot Nothing AndAlso distinctKeyword.Kind = SyntaxKind.DistinctKeyword) 44078Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.DistinctClause, distinctKeyword, hash) 44083Dim result = New DistinctClauseSyntax(SyntaxKind.DistinctClause, distinctKeyword) 44102Debug.Assert(whereKeyword IsNot Nothing AndAlso whereKeyword.Kind = SyntaxKind.WhereKeyword) 44106Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.WhereClause, whereKeyword, condition, hash) 44111Dim result = New WhereClauseSyntax(SyntaxKind.WhereClause, whereKeyword, condition) 44134Debug.Assert(skipOrTakeKeyword IsNot Nothing AndAlso skipOrTakeKeyword.Kind = SyntaxKind.SkipKeyword) 44135Debug.Assert(whileKeyword IsNot Nothing AndAlso whileKeyword.Kind = SyntaxKind.WhileKeyword) 44139Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SkipWhileClause, skipOrTakeKeyword, whileKeyword, condition, hash) 44144Dim result = New PartitionWhileClauseSyntax(SyntaxKind.SkipWhileClause, skipOrTakeKeyword, whileKeyword, condition) 44167Debug.Assert(skipOrTakeKeyword IsNot Nothing AndAlso skipOrTakeKeyword.Kind = SyntaxKind.TakeKeyword) 44168Debug.Assert(whileKeyword IsNot Nothing AndAlso whileKeyword.Kind = SyntaxKind.WhileKeyword) 44172Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.TakeWhileClause, skipOrTakeKeyword, whileKeyword, condition, hash) 44177Dim result = New PartitionWhileClauseSyntax(SyntaxKind.TakeWhileClause, skipOrTakeKeyword, whileKeyword, condition) 44191''' A <see cref="SyntaxKind"/> representing the specific kind of 44203Friend Shared Function PartitionWhileClause(kind As SyntaxKind, skipOrTakeKeyword As KeywordSyntax, whileKeyword As KeywordSyntax, condition As ExpressionSyntax) As PartitionWhileClauseSyntax 44206Debug.Assert(whileKeyword IsNot Nothing AndAlso whileKeyword.Kind = SyntaxKind.WhileKeyword) 44234Debug.Assert(skipOrTakeKeyword IsNot Nothing AndAlso skipOrTakeKeyword.Kind = SyntaxKind.SkipKeyword) 44238Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SkipClause, skipOrTakeKeyword, count, hash) 44243Dim result = New PartitionClauseSyntax(SyntaxKind.SkipClause, skipOrTakeKeyword, count) 44262Debug.Assert(skipOrTakeKeyword IsNot Nothing AndAlso skipOrTakeKeyword.Kind = SyntaxKind.TakeKeyword) 44266Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.TakeClause, skipOrTakeKeyword, count, hash) 44271Dim result = New PartitionClauseSyntax(SyntaxKind.TakeClause, skipOrTakeKeyword, count) 44284''' A <see cref="SyntaxKind"/> representing the specific kind of 44293Friend Shared Function PartitionClause(kind As SyntaxKind, skipOrTakeKeyword As KeywordSyntax, count As ExpressionSyntax) As PartitionClauseSyntax 44333Debug.Assert(groupKeyword IsNot Nothing AndAlso groupKeyword.Kind = SyntaxKind.GroupKeyword) 44334Debug.Assert(byKeyword IsNot Nothing AndAlso byKeyword.Kind = SyntaxKind.ByKeyword) 44335Debug.Assert(intoKeyword IsNot Nothing AndAlso intoKeyword.Kind = SyntaxKind.IntoKeyword) 44336Return New GroupByClauseSyntax(SyntaxKind.GroupByClause, groupKeyword, items.Node, byKeyword, keys.Node, intoKeyword, aggregationVariables.Node) 44354Debug.Assert(equalsKeyword IsNot Nothing AndAlso equalsKeyword.Kind = SyntaxKind.EqualsKeyword) 44358Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.JoinCondition, left, equalsKeyword, right, hash) 44363Dim result = New JoinConditionSyntax(SyntaxKind.JoinCondition, left, equalsKeyword, right) 44392Debug.Assert(joinKeyword IsNot Nothing AndAlso joinKeyword.Kind = SyntaxKind.JoinKeyword) 44393Debug.Assert(onKeyword IsNot Nothing AndAlso onKeyword.Kind = SyntaxKind.OnKeyword) 44394Return New SimpleJoinClauseSyntax(SyntaxKind.SimpleJoinClause, joinKeyword, joinedVariables.Node, additionalJoins.Node, onKeyword, joinConditions.Node) 44427Debug.Assert(groupKeyword IsNot Nothing AndAlso groupKeyword.Kind = SyntaxKind.GroupKeyword) 44428Debug.Assert(joinKeyword IsNot Nothing AndAlso joinKeyword.Kind = SyntaxKind.JoinKeyword) 44429Debug.Assert(onKeyword IsNot Nothing AndAlso onKeyword.Kind = SyntaxKind.OnKeyword) 44430Debug.Assert(intoKeyword IsNot Nothing AndAlso intoKeyword.Kind = SyntaxKind.IntoKeyword) 44431Return New GroupJoinClauseSyntax(SyntaxKind.GroupJoinClause, groupKeyword, joinKeyword, joinedVariables.Node, additionalJoins.Node, onKeyword, joinConditions.Node, intoKeyword, aggregationVariables.Node) 44448Debug.Assert(orderKeyword IsNot Nothing AndAlso orderKeyword.Kind = SyntaxKind.OrderKeyword) 44449Debug.Assert(byKeyword IsNot Nothing AndAlso byKeyword.Kind = SyntaxKind.ByKeyword) 44452Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.OrderByClause, orderKeyword, byKeyword, orderings.Node, hash) 44457Dim result = New OrderByClauseSyntax(SyntaxKind.OrderByClause, orderKeyword, byKeyword, orderings.Node) 44481Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.AscendingOrdering, expression, ascendingOrDescendingKeyword, hash) 44486Dim result = New OrderingSyntax(SyntaxKind.AscendingOrdering, expression, ascendingOrDescendingKeyword) 44510Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.DescendingOrdering, expression, ascendingOrDescendingKeyword, hash) 44515Dim result = New OrderingSyntax(SyntaxKind.DescendingOrdering, expression, ascendingOrDescendingKeyword) 44529''' A <see cref="SyntaxKind"/> representing the specific kind of OrderingSyntax. 44539Friend Shared Function Ordering(kind As SyntaxKind, expression As ExpressionSyntax, ascendingOrDescendingKeyword As KeywordSyntax) As OrderingSyntax 44569Debug.Assert(selectKeyword IsNot Nothing AndAlso selectKeyword.Kind = SyntaxKind.SelectKeyword) 44572Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SelectClause, selectKeyword, variables.Node, hash) 44577Dim result = New SelectClauseSyntax(SyntaxKind.SelectClause, selectKeyword, variables.Node) 44592Return New XmlDocumentSyntax(SyntaxKind.XmlDocument, declaration, precedingMisc.Node, root, followingMisc.Node) 44600Debug.Assert(lessThanQuestionToken IsNot Nothing AndAlso lessThanQuestionToken.Kind = SyntaxKind.LessThanQuestionToken) 44601Debug.Assert(xmlKeyword IsNot Nothing AndAlso xmlKeyword.Kind = SyntaxKind.XmlKeyword) 44603Debug.Assert(questionGreaterThanToken IsNot Nothing AndAlso questionGreaterThanToken.Kind = SyntaxKind.QuestionGreaterThanToken) 44604Return New XmlDeclarationSyntax(SyntaxKind.XmlDeclaration, lessThanQuestionToken, xmlKeyword, version, encoding, standalone, questionGreaterThanToken) 44613Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.XmlNameToken) 44614Debug.Assert(equals IsNot Nothing AndAlso equals.Kind = SyntaxKind.EqualsToken) 44618Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.XmlDeclarationOption, name, equals, value, hash) 44623Dim result = New XmlDeclarationOptionSyntax(SyntaxKind.XmlDeclarationOption, name, equals, value) 44640Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.XmlElement, startTag, content.Node, endTag, hash) 44645Dim result = New XmlElementSyntax(SyntaxKind.XmlElement, startTag, content.Node, endTag) 44664Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.XmlText, textTokens.Node, hash) 44669Dim result = New XmlTextSyntax(SyntaxKind.XmlText, textTokens.Node) 44682Debug.Assert(lessThanToken IsNot Nothing AndAlso lessThanToken.Kind = SyntaxKind.LessThanToken) 44684Debug.Assert(greaterThanToken IsNot Nothing AndAlso greaterThanToken.Kind = SyntaxKind.GreaterThanToken) 44685Return New XmlElementStartTagSyntax(SyntaxKind.XmlElementStartTag, lessThanToken, name, attributes.Node, greaterThanToken) 44693Debug.Assert(lessThanSlashToken IsNot Nothing AndAlso lessThanSlashToken.Kind = SyntaxKind.LessThanSlashToken) 44694Debug.Assert(greaterThanToken IsNot Nothing AndAlso greaterThanToken.Kind = SyntaxKind.GreaterThanToken) 44697Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.XmlElementEndTag, lessThanSlashToken, name, greaterThanToken, hash) 44702Dim result = New XmlElementEndTagSyntax(SyntaxKind.XmlElementEndTag, lessThanSlashToken, name, greaterThanToken) 44715Debug.Assert(lessThanToken IsNot Nothing AndAlso lessThanToken.Kind = SyntaxKind.LessThanToken) 44717Debug.Assert(slashGreaterThanToken IsNot Nothing AndAlso slashGreaterThanToken.Kind = SyntaxKind.SlashGreaterThanToken) 44718Return New XmlEmptyElementSyntax(SyntaxKind.XmlEmptyElement, lessThanToken, name, attributes.Node, slashGreaterThanToken) 44727Debug.Assert(equalsToken IsNot Nothing AndAlso equalsToken.Kind = SyntaxKind.EqualsToken) 44731Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.XmlAttribute, name, equalsToken, value, hash) 44736Dim result = New XmlAttributeSyntax(SyntaxKind.XmlAttribute, name, equalsToken, value) 44754Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.XmlString, startQuoteToken, textTokens.Node, endQuoteToken, hash) 44759Dim result = New XmlStringSyntax(SyntaxKind.XmlString, startQuoteToken, textTokens.Node, endQuoteToken) 44772Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.XmlNameToken) 44775Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.XmlPrefixName, name, hash) 44780Dim result = New XmlPrefixNameSyntax(SyntaxKind.XmlPrefixName, name) 44795Debug.Assert(localName IsNot Nothing AndAlso localName.Kind = SyntaxKind.XmlNameToken) 44798Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.XmlName, prefix, localName, hash) 44803Dim result = New XmlNameSyntax(SyntaxKind.XmlName, prefix, localName) 44818Debug.Assert(lessThanToken IsNot Nothing AndAlso lessThanToken.Kind = SyntaxKind.LessThanToken) 44820Debug.Assert(greaterThanToken IsNot Nothing AndAlso greaterThanToken.Kind = SyntaxKind.GreaterThanToken) 44823Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.XmlBracketedName, lessThanToken, name, greaterThanToken, hash) 44828Dim result = New XmlBracketedNameSyntax(SyntaxKind.XmlBracketedName, lessThanToken, name, greaterThanToken) 44841Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.XmlNameToken) 44842Debug.Assert(colonToken IsNot Nothing AndAlso colonToken.Kind = SyntaxKind.ColonToken) 44845Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.XmlPrefix, name, colonToken, hash) 44850Dim result = New XmlPrefixSyntax(SyntaxKind.XmlPrefix, name, colonToken) 44864Debug.Assert(lessThanExclamationMinusMinusToken IsNot Nothing AndAlso lessThanExclamationMinusMinusToken.Kind = SyntaxKind.LessThanExclamationMinusMinusToken) 44865Debug.Assert(minusMinusGreaterThanToken IsNot Nothing AndAlso minusMinusGreaterThanToken.Kind = SyntaxKind.MinusMinusGreaterThanToken) 44868Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.XmlComment, lessThanExclamationMinusMinusToken, textTokens.Node, minusMinusGreaterThanToken, hash) 44873Dim result = New XmlCommentSyntax(SyntaxKind.XmlComment, lessThanExclamationMinusMinusToken, textTokens.Node, minusMinusGreaterThanToken) 44887Debug.Assert(lessThanQuestionToken IsNot Nothing AndAlso lessThanQuestionToken.Kind = SyntaxKind.LessThanQuestionToken) 44888Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.XmlNameToken) 44889Debug.Assert(questionGreaterThanToken IsNot Nothing AndAlso questionGreaterThanToken.Kind = SyntaxKind.QuestionGreaterThanToken) 44890Return New XmlProcessingInstructionSyntax(SyntaxKind.XmlProcessingInstruction, lessThanQuestionToken, name, textTokens.Node, questionGreaterThanToken) 44898Debug.Assert(beginCDataToken IsNot Nothing AndAlso beginCDataToken.Kind = SyntaxKind.BeginCDataToken) 44899Debug.Assert(endCDataToken IsNot Nothing AndAlso endCDataToken.Kind = SyntaxKind.EndCDataToken) 44902Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.XmlCDataSection, beginCDataToken, textTokens.Node, endCDataToken, hash) 44907Dim result = New XmlCDataSectionSyntax(SyntaxKind.XmlCDataSection, beginCDataToken, textTokens.Node, endCDataToken) 44921Debug.Assert(lessThanPercentEqualsToken IsNot Nothing AndAlso lessThanPercentEqualsToken.Kind = SyntaxKind.LessThanPercentEqualsToken) 44923Debug.Assert(percentGreaterThanToken IsNot Nothing AndAlso percentGreaterThanToken.Kind = SyntaxKind.PercentGreaterThanToken) 44926Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.XmlEmbeddedExpression, lessThanPercentEqualsToken, expression, percentGreaterThanToken, hash) 44931Dim result = New XmlEmbeddedExpressionSyntax(SyntaxKind.XmlEmbeddedExpression, lessThanPercentEqualsToken, expression, percentGreaterThanToken) 44954Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ArrayType, elementType, rankSpecifiers.Node, hash) 44959Dim result = New ArrayTypeSyntax(SyntaxKind.ArrayType, elementType, rankSpecifiers.Node) 44980Debug.Assert(questionMarkToken IsNot Nothing AndAlso questionMarkToken.Kind = SyntaxKind.QuestionToken) 44983Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.NullableType, elementType, questionMarkToken, hash) 44988Dim result = New NullableTypeSyntax(SyntaxKind.NullableType, elementType, questionMarkToken) 45008Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.PredefinedType, keyword, hash) 45013Dim result = New PredefinedTypeSyntax(SyntaxKind.PredefinedType, keyword) 45030Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 45033Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.IdentifierName, identifier, hash) 45038Dim result = New IdentifierNameSyntax(SyntaxKind.IdentifierName, identifier) 45058Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 45062Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.GenericName, identifier, typeArgumentList, hash) 45067Dim result = New GenericNameSyntax(SyntaxKind.GenericName, identifier, typeArgumentList) 45092Debug.Assert(dotToken IsNot Nothing AndAlso dotToken.Kind = SyntaxKind.DotToken) 45096Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.QualifiedName, left, dotToken, right, hash) 45101Dim result = New QualifiedNameSyntax(SyntaxKind.QualifiedName, left, dotToken, right) 45117Debug.Assert(globalKeyword IsNot Nothing AndAlso globalKeyword.Kind = SyntaxKind.GlobalKeyword) 45120Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.GlobalName, globalKeyword, hash) 45125Dim result = New GlobalNameSyntax(SyntaxKind.GlobalName, globalKeyword) 45150Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 45151Debug.Assert(ofKeyword IsNot Nothing AndAlso ofKeyword.Kind = SyntaxKind.OfKeyword) 45152Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 45153Return New TypeArgumentListSyntax(SyntaxKind.TypeArgumentList, openParenToken, ofKeyword, arguments.Node, closeParenToken) 45165Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CrefReference, name, signature, asClause, hash) 45170Dim result = New CrefReferenceSyntax(SyntaxKind.CrefReference, name, signature, asClause) 45184Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 45185Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 45188Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CrefSignature, openParenToken, argumentTypes.Node, closeParenToken, hash) 45193Dim result = New CrefSignatureSyntax(SyntaxKind.CrefSignature, openParenToken, argumentTypes.Node, closeParenToken) 45205Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CrefSignaturePart, modifier, type, hash) 45210Dim result = New CrefSignaturePartSyntax(SyntaxKind.CrefSignaturePart, modifier, type) 45220Debug.Assert(operatorKeyword IsNot Nothing AndAlso operatorKeyword.Kind = SyntaxKind.OperatorKeyword) 45224Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CrefOperatorReference, operatorKeyword, operatorToken, hash) 45229Dim result = New CrefOperatorReferenceSyntax(SyntaxKind.CrefOperatorReference, operatorKeyword, operatorToken) 45240Debug.Assert(dotToken IsNot Nothing AndAlso dotToken.Kind = SyntaxKind.DotToken) 45244Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.QualifiedCrefOperatorReference, left, dotToken, right, hash) 45249Dim result = New QualifiedCrefOperatorReferenceSyntax(SyntaxKind.QualifiedCrefOperatorReference, left, dotToken, right) 45268Debug.Assert(yieldKeyword IsNot Nothing AndAlso yieldKeyword.Kind = SyntaxKind.YieldKeyword) 45272Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.YieldStatement, yieldKeyword, expression, hash) 45277Dim result = New YieldStatementSyntax(SyntaxKind.YieldStatement, yieldKeyword, expression) 45296Debug.Assert(awaitKeyword IsNot Nothing AndAlso awaitKeyword.Kind = SyntaxKind.AwaitKeyword) 45300Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.AwaitExpression, awaitKeyword, expression, hash) 45305Dim result = New AwaitExpressionSyntax(SyntaxKind.AwaitExpression, awaitKeyword, expression) 45320Friend Shared Function XmlNameToken(text as String, possibleKeywordKind As SyntaxKind, leadingTrivia As GreenNode, trailingTrivia As GreenNode) As XmlNameTokenSyntax 45322Return New XmlNameTokenSyntax(SyntaxKind.XmlNameToken, text, leadingTrivia, trailingTrivia, possibleKeywordKind) 45336Return New XmlTextTokenSyntax(SyntaxKind.XmlTextLiteralToken, text, leadingTrivia, trailingTrivia, value) 45350Return New XmlTextTokenSyntax(SyntaxKind.XmlEntityLiteralToken, text, leadingTrivia, trailingTrivia, value) 45364Return New XmlTextTokenSyntax(SyntaxKind.DocumentationCommentLineBreakToken, text, leadingTrivia, trailingTrivia, value) 45374''' A <see cref="SyntaxKind"/> representing the specific kind of 45381Friend Shared Function XmlTextToken(kind As SyntaxKind, text as String, value As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode) As XmlTextTokenSyntax 45396Return New InterpolatedStringTextTokenSyntax(SyntaxKind.InterpolatedStringTextToken, text, leadingTrivia, trailingTrivia, value) 45408Return New DecimalLiteralTokenSyntax(SyntaxKind.DecimalLiteralToken, text, leadingTrivia, trailingTrivia, typeSuffix, value) 45420Return New DateLiteralTokenSyntax(SyntaxKind.DateLiteralToken, text, leadingTrivia, trailingTrivia, value) 45432Return New StringLiteralTokenSyntax(SyntaxKind.StringLiteralToken, text, leadingTrivia, trailingTrivia, value) 45444Return New CharacterLiteralTokenSyntax(SyntaxKind.CharacterLiteralToken, text, leadingTrivia, trailingTrivia, value) 45456Return New SkippedTokensTriviaSyntax(SyntaxKind.SkippedTokensTrivia, tokens.Node) 45465Return New DocumentationCommentTriviaSyntax(SyntaxKind.DocumentationCommentTrivia, content.Node) 45476Debug.Assert(equalsToken IsNot Nothing AndAlso equalsToken.Kind = SyntaxKind.EqualsToken) 45480Return New XmlCrefAttributeSyntax(SyntaxKind.XmlCrefAttribute, name, equalsToken, startQuoteToken, reference, endQuoteToken) 45491Debug.Assert(equalsToken IsNot Nothing AndAlso equalsToken.Kind = SyntaxKind.EqualsToken) 45495Return New XmlNameAttributeSyntax(SyntaxKind.XmlNameAttribute, name, equalsToken, startQuoteToken, reference, endQuoteToken) 45513Debug.Assert(questionMarkToken IsNot Nothing AndAlso questionMarkToken.Kind = SyntaxKind.QuestionToken) 45517Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ConditionalAccessExpression, expression, questionMarkToken, whenNotNull, hash) 45522Dim result = New ConditionalAccessExpressionSyntax(SyntaxKind.ConditionalAccessExpression, expression, questionMarkToken, whenNotNull) 45547Debug.Assert(nameOfKeyword IsNot Nothing AndAlso nameOfKeyword.Kind = SyntaxKind.NameOfKeyword) 45548Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 45550Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 45551Return New NameOfExpressionSyntax(SyntaxKind.NameOfExpression, nameOfKeyword, openParenToken, argument, closeParenToken) 45568Debug.Assert(dollarSignDoubleQuoteToken IsNot Nothing AndAlso dollarSignDoubleQuoteToken.Kind = SyntaxKind.DollarSignDoubleQuoteToken) 45569Debug.Assert(doubleQuoteToken IsNot Nothing AndAlso doubleQuoteToken.Kind = SyntaxKind.DoubleQuoteToken) 45572Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.InterpolatedStringExpression, dollarSignDoubleQuoteToken, contents.Node, doubleQuoteToken, hash) 45577Dim result = New InterpolatedStringExpressionSyntax(SyntaxKind.InterpolatedStringExpression, dollarSignDoubleQuoteToken, contents.Node, doubleQuoteToken) 45593Debug.Assert(textToken IsNot Nothing AndAlso textToken.Kind = SyntaxKind.InterpolatedStringTextToken) 45596Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.InterpolatedStringText, textToken, hash) 45601Dim result = New InterpolatedStringTextSyntax(SyntaxKind.InterpolatedStringText, textToken) 45631Debug.Assert(openBraceToken IsNot Nothing AndAlso openBraceToken.Kind = SyntaxKind.OpenBraceToken) 45633Debug.Assert(closeBraceToken IsNot Nothing AndAlso closeBraceToken.Kind = SyntaxKind.CloseBraceToken) 45634Return New InterpolationSyntax(SyntaxKind.Interpolation, openBraceToken, expression, alignmentClause, formatClause, closeBraceToken) 45649Debug.Assert(commaToken IsNot Nothing AndAlso commaToken.Kind = SyntaxKind.CommaToken) 45653Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.InterpolationAlignmentClause, commaToken, value, hash) 45658Dim result = New InterpolationAlignmentClauseSyntax(SyntaxKind.InterpolationAlignmentClause, commaToken, value) 45678Debug.Assert(colonToken IsNot Nothing AndAlso colonToken.Kind = SyntaxKind.ColonToken) 45679Debug.Assert(formatStringToken IsNot Nothing AndAlso formatStringToken.Kind = SyntaxKind.InterpolatedStringTextToken) 45682Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.InterpolationFormatClause, colonToken, formatStringToken, hash) 45687Dim result = New InterpolationFormatClauseSyntax(SyntaxKind.InterpolationFormatClause, colonToken, formatStringToken) 45706Return New SyntaxTrivia(SyntaxKind.WhitespaceTrivia, text) 45720Return New SyntaxTrivia(SyntaxKind.EndOfLineTrivia, text) 45734Return New SyntaxTrivia(SyntaxKind.ColonTrivia, text) 45748Return New SyntaxTrivia(SyntaxKind.CommentTrivia, text) 45762Return New SyntaxTrivia(SyntaxKind.ConflictMarkerTrivia, text) 45776Return New SyntaxTrivia(SyntaxKind.LineContinuationTrivia, text) 45790Return New SyntaxTrivia(SyntaxKind.DocumentationCommentExteriorTrivia, text) 45804Return New SyntaxTrivia(SyntaxKind.DisabledTextTrivia, text) 45814''' A <see cref="SyntaxKind"/> representing the specific kind of SyntaxTrivia. One 45822Friend Shared Function SyntaxTrivia(kind As SyntaxKind, text as String) As SyntaxTrivia 45849Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 45850Debug.Assert(constKeyword IsNot Nothing AndAlso constKeyword.Kind = SyntaxKind.ConstKeyword) 45851Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.IdentifierToken) 45852Debug.Assert(equalsToken IsNot Nothing AndAlso equalsToken.Kind = SyntaxKind.EqualsToken) 45854Return New ConstDirectiveTriviaSyntax(SyntaxKind.ConstDirectiveTrivia, hashToken, constKeyword, name, equalsToken, value) 45866Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 45869Return New IfDirectiveTriviaSyntax(SyntaxKind.IfDirectiveTrivia, hashToken, elseKeyword, ifOrElseIfKeyword, condition, thenKeyword) 45881Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 45884Return New IfDirectiveTriviaSyntax(SyntaxKind.ElseIfDirectiveTrivia, hashToken, elseKeyword, ifOrElseIfKeyword, condition, thenKeyword) 45895Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 45896Debug.Assert(elseKeyword IsNot Nothing AndAlso elseKeyword.Kind = SyntaxKind.ElseKeyword) 45897Return New ElseDirectiveTriviaSyntax(SyntaxKind.ElseDirectiveTrivia, hashToken, elseKeyword) 45908Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 45909Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 45910Debug.Assert(ifKeyword IsNot Nothing AndAlso ifKeyword.Kind = SyntaxKind.IfKeyword) 45911Return New EndIfDirectiveTriviaSyntax(SyntaxKind.EndIfDirectiveTrivia, hashToken, endKeyword, ifKeyword) 45928Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 45929Debug.Assert(regionKeyword IsNot Nothing AndAlso regionKeyword.Kind = SyntaxKind.RegionKeyword) 45930Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.StringLiteralToken) 45931Return New RegionDirectiveTriviaSyntax(SyntaxKind.RegionDirectiveTrivia, hashToken, regionKeyword, name) 45948Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 45949Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 45950Debug.Assert(regionKeyword IsNot Nothing AndAlso regionKeyword.Kind = SyntaxKind.RegionKeyword) 45951Return New EndRegionDirectiveTriviaSyntax(SyntaxKind.EndRegionDirectiveTrivia, hashToken, endKeyword, regionKeyword) 45963Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 45964Debug.Assert(externalSourceKeyword IsNot Nothing AndAlso externalSourceKeyword.Kind = SyntaxKind.ExternalSourceKeyword) 45965Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 45966Debug.Assert(externalSource IsNot Nothing AndAlso externalSource.Kind = SyntaxKind.StringLiteralToken) 45967Debug.Assert(commaToken IsNot Nothing AndAlso commaToken.Kind = SyntaxKind.CommaToken) 45968Debug.Assert(lineStart IsNot Nothing AndAlso lineStart.Kind = SyntaxKind.IntegerLiteralToken) 45969Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 45970Return New ExternalSourceDirectiveTriviaSyntax(SyntaxKind.ExternalSourceDirectiveTrivia, hashToken, externalSourceKeyword, openParenToken, externalSource, commaToken, lineStart, closeParenToken) 45981Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 45982Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 45983Debug.Assert(externalSourceKeyword IsNot Nothing AndAlso externalSourceKeyword.Kind = SyntaxKind.ExternalSourceKeyword) 45984Return New EndExternalSourceDirectiveTriviaSyntax(SyntaxKind.EndExternalSourceDirectiveTrivia, hashToken, endKeyword, externalSourceKeyword) 45995Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 45996Debug.Assert(externalChecksumKeyword IsNot Nothing AndAlso externalChecksumKeyword.Kind = SyntaxKind.ExternalChecksumKeyword) 45997Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 45998Debug.Assert(externalSource IsNot Nothing AndAlso externalSource.Kind = SyntaxKind.StringLiteralToken) 45999Debug.Assert(firstCommaToken IsNot Nothing AndAlso firstCommaToken.Kind = SyntaxKind.CommaToken) 46000Debug.Assert(guid IsNot Nothing AndAlso guid.Kind = SyntaxKind.StringLiteralToken) 46001Debug.Assert(secondCommaToken IsNot Nothing AndAlso secondCommaToken.Kind = SyntaxKind.CommaToken) 46002Debug.Assert(checksum IsNot Nothing AndAlso checksum.Kind = SyntaxKind.StringLiteralToken) 46003Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 46004Return New ExternalChecksumDirectiveTriviaSyntax(SyntaxKind.ExternalChecksumDirectiveTrivia, hashToken, externalChecksumKeyword, openParenToken, externalSource, firstCommaToken, guid, secondCommaToken, checksum, closeParenToken) 46015Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 46016Debug.Assert(enableKeyword IsNot Nothing AndAlso enableKeyword.Kind = SyntaxKind.EnableKeyword) 46017Debug.Assert(warningKeyword IsNot Nothing AndAlso warningKeyword.Kind = SyntaxKind.WarningKeyword) 46018Return New EnableWarningDirectiveTriviaSyntax(SyntaxKind.EnableWarningDirectiveTrivia, hashToken, enableKeyword, warningKeyword, errorCodes.Node) 46029Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 46030Debug.Assert(disableKeyword IsNot Nothing AndAlso disableKeyword.Kind = SyntaxKind.DisableKeyword) 46031Debug.Assert(warningKeyword IsNot Nothing AndAlso warningKeyword.Kind = SyntaxKind.WarningKeyword) 46032Return New DisableWarningDirectiveTriviaSyntax(SyntaxKind.DisableWarningDirectiveTrivia, hashToken, disableKeyword, warningKeyword, errorCodes.Node) 46043Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 46044Debug.Assert(referenceKeyword IsNot Nothing AndAlso referenceKeyword.Kind = SyntaxKind.ReferenceKeyword) 46045Debug.Assert(file IsNot Nothing AndAlso file.Kind = SyntaxKind.StringLiteralToken) 46046Return New ReferenceDirectiveTriviaSyntax(SyntaxKind.ReferenceDirectiveTrivia, hashToken, referenceKeyword, file) 46060Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 46061Return New BadDirectiveTriviaSyntax(SyntaxKind.BadDirectiveTrivia, hashToken) 46086Debug.Assert(empty IsNot Nothing AndAlso empty.Kind = SyntaxKind.EmptyToken) 46089Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EmptyStatement, empty, _factoryContext, hash) 46094Dim result = New EmptyStatementSyntax(SyntaxKind.EmptyStatement, empty, _factoryContext) 46116Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46117Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.IfKeyword) 46120Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndIfStatement, endKeyword, blockKeyword, _factoryContext, hash) 46125Dim result = New EndBlockStatementSyntax(SyntaxKind.EndIfStatement, endKeyword, blockKeyword, _factoryContext) 46147Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46148Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.UsingKeyword) 46151Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndUsingStatement, endKeyword, blockKeyword, _factoryContext, hash) 46156Dim result = New EndBlockStatementSyntax(SyntaxKind.EndUsingStatement, endKeyword, blockKeyword, _factoryContext) 46178Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46179Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.WithKeyword) 46182Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndWithStatement, endKeyword, blockKeyword, _factoryContext, hash) 46187Dim result = New EndBlockStatementSyntax(SyntaxKind.EndWithStatement, endKeyword, blockKeyword, _factoryContext) 46209Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46210Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.SelectKeyword) 46213Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndSelectStatement, endKeyword, blockKeyword, _factoryContext, hash) 46218Dim result = New EndBlockStatementSyntax(SyntaxKind.EndSelectStatement, endKeyword, blockKeyword, _factoryContext) 46240Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46241Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.StructureKeyword) 46244Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndStructureStatement, endKeyword, blockKeyword, _factoryContext, hash) 46249Dim result = New EndBlockStatementSyntax(SyntaxKind.EndStructureStatement, endKeyword, blockKeyword, _factoryContext) 46271Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46272Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.EnumKeyword) 46275Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndEnumStatement, endKeyword, blockKeyword, _factoryContext, hash) 46280Dim result = New EndBlockStatementSyntax(SyntaxKind.EndEnumStatement, endKeyword, blockKeyword, _factoryContext) 46302Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46303Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.InterfaceKeyword) 46306Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndInterfaceStatement, endKeyword, blockKeyword, _factoryContext, hash) 46311Dim result = New EndBlockStatementSyntax(SyntaxKind.EndInterfaceStatement, endKeyword, blockKeyword, _factoryContext) 46333Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46334Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.ClassKeyword) 46337Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndClassStatement, endKeyword, blockKeyword, _factoryContext, hash) 46342Dim result = New EndBlockStatementSyntax(SyntaxKind.EndClassStatement, endKeyword, blockKeyword, _factoryContext) 46364Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46365Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.ModuleKeyword) 46368Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndModuleStatement, endKeyword, blockKeyword, _factoryContext, hash) 46373Dim result = New EndBlockStatementSyntax(SyntaxKind.EndModuleStatement, endKeyword, blockKeyword, _factoryContext) 46395Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46396Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.NamespaceKeyword) 46399Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndNamespaceStatement, endKeyword, blockKeyword, _factoryContext, hash) 46404Dim result = New EndBlockStatementSyntax(SyntaxKind.EndNamespaceStatement, endKeyword, blockKeyword, _factoryContext) 46426Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46427Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.SubKeyword) 46430Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndSubStatement, endKeyword, blockKeyword, _factoryContext, hash) 46435Dim result = New EndBlockStatementSyntax(SyntaxKind.EndSubStatement, endKeyword, blockKeyword, _factoryContext) 46457Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46458Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.FunctionKeyword) 46461Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndFunctionStatement, endKeyword, blockKeyword, _factoryContext, hash) 46466Dim result = New EndBlockStatementSyntax(SyntaxKind.EndFunctionStatement, endKeyword, blockKeyword, _factoryContext) 46488Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46489Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.GetKeyword) 46492Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndGetStatement, endKeyword, blockKeyword, _factoryContext, hash) 46497Dim result = New EndBlockStatementSyntax(SyntaxKind.EndGetStatement, endKeyword, blockKeyword, _factoryContext) 46519Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46520Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.SetKeyword) 46523Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndSetStatement, endKeyword, blockKeyword, _factoryContext, hash) 46528Dim result = New EndBlockStatementSyntax(SyntaxKind.EndSetStatement, endKeyword, blockKeyword, _factoryContext) 46550Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46551Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.PropertyKeyword) 46554Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndPropertyStatement, endKeyword, blockKeyword, _factoryContext, hash) 46559Dim result = New EndBlockStatementSyntax(SyntaxKind.EndPropertyStatement, endKeyword, blockKeyword, _factoryContext) 46581Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46582Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.OperatorKeyword) 46585Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndOperatorStatement, endKeyword, blockKeyword, _factoryContext, hash) 46590Dim result = New EndBlockStatementSyntax(SyntaxKind.EndOperatorStatement, endKeyword, blockKeyword, _factoryContext) 46612Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46613Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.EventKeyword) 46616Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndEventStatement, endKeyword, blockKeyword, _factoryContext, hash) 46621Dim result = New EndBlockStatementSyntax(SyntaxKind.EndEventStatement, endKeyword, blockKeyword, _factoryContext) 46643Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46644Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.AddHandlerKeyword) 46647Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndAddHandlerStatement, endKeyword, blockKeyword, _factoryContext, hash) 46652Dim result = New EndBlockStatementSyntax(SyntaxKind.EndAddHandlerStatement, endKeyword, blockKeyword, _factoryContext) 46674Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46675Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.RemoveHandlerKeyword) 46678Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndRemoveHandlerStatement, endKeyword, blockKeyword, _factoryContext, hash) 46683Dim result = New EndBlockStatementSyntax(SyntaxKind.EndRemoveHandlerStatement, endKeyword, blockKeyword, _factoryContext) 46705Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46706Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.RaiseEventKeyword) 46709Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndRaiseEventStatement, endKeyword, blockKeyword, _factoryContext, hash) 46714Dim result = New EndBlockStatementSyntax(SyntaxKind.EndRaiseEventStatement, endKeyword, blockKeyword, _factoryContext) 46736Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46737Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.WhileKeyword) 46740Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndWhileStatement, endKeyword, blockKeyword, _factoryContext, hash) 46745Dim result = New EndBlockStatementSyntax(SyntaxKind.EndWhileStatement, endKeyword, blockKeyword, _factoryContext) 46767Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46768Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.TryKeyword) 46771Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndTryStatement, endKeyword, blockKeyword, _factoryContext, hash) 46776Dim result = New EndBlockStatementSyntax(SyntaxKind.EndTryStatement, endKeyword, blockKeyword, _factoryContext) 46798Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46799Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.SyncLockKeyword) 46802Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndSyncLockStatement, endKeyword, blockKeyword, _factoryContext, hash) 46807Dim result = New EndBlockStatementSyntax(SyntaxKind.EndSyncLockStatement, endKeyword, blockKeyword, _factoryContext) 46820''' A <see cref="SyntaxKind"/> representing the specific kind of 46838Friend Function EndBlockStatement(kind As SyntaxKind, endKeyword As KeywordSyntax, blockKeyword As KeywordSyntax) As EndBlockStatementSyntax 46840Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 46881Debug.Assert(endOfFileToken IsNot Nothing AndAlso endOfFileToken.Kind = SyntaxKind.EndOfFileToken) 46882Return New CompilationUnitSyntax(SyntaxKind.CompilationUnit, options.Node, [imports].Node, attributes.Node, members.Node, endOfFileToken, _factoryContext) 46901Debug.Assert(optionKeyword IsNot Nothing AndAlso optionKeyword.Kind = SyntaxKind.OptionKeyword) 46905Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.OptionStatement, optionKeyword, nameKeyword, valueKeyword, _factoryContext, hash) 46910Dim result = New OptionStatementSyntax(SyntaxKind.OptionStatement, optionKeyword, nameKeyword, valueKeyword, _factoryContext) 46930Debug.Assert(importsKeyword IsNot Nothing AndAlso importsKeyword.Kind = SyntaxKind.ImportsKeyword) 46933Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ImportsStatement, importsKeyword, importsClauses.Node, _factoryContext, hash) 46938Dim result = New ImportsStatementSyntax(SyntaxKind.ImportsStatement, importsKeyword, importsClauses.Node, _factoryContext) 46961Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SimpleImportsClause, [alias], name, _factoryContext, hash) 46966Dim result = New SimpleImportsClauseSyntax(SyntaxKind.SimpleImportsClause, [alias], name, _factoryContext) 46985Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 46986Debug.Assert(equalsToken IsNot Nothing AndAlso equalsToken.Kind = SyntaxKind.EqualsToken) 46989Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ImportAliasClause, identifier, equalsToken, _factoryContext, hash) 46994Dim result = New ImportAliasClauseSyntax(SyntaxKind.ImportAliasClause, identifier, equalsToken, _factoryContext) 47010Debug.Assert(lessThanToken IsNot Nothing AndAlso lessThanToken.Kind = SyntaxKind.LessThanToken) 47012Debug.Assert(greaterThanToken IsNot Nothing AndAlso greaterThanToken.Kind = SyntaxKind.GreaterThanToken) 47015Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.XmlNamespaceImportsClause, lessThanToken, xmlNamespace, greaterThanToken, _factoryContext, hash) 47020Dim result = New XmlNamespaceImportsClauseSyntax(SyntaxKind.XmlNamespaceImportsClause, lessThanToken, xmlNamespace, greaterThanToken, _factoryContext) 47046Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.NamespaceBlock, namespaceStatement, members.Node, endNamespaceStatement, _factoryContext, hash) 47051Dim result = New NamespaceBlockSyntax(SyntaxKind.NamespaceBlock, namespaceStatement, members.Node, endNamespaceStatement, _factoryContext) 47071Debug.Assert(namespaceKeyword IsNot Nothing AndAlso namespaceKeyword.Kind = SyntaxKind.NamespaceKeyword) 47075Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.NamespaceStatement, namespaceKeyword, name, _factoryContext, hash) 47080Dim result = New NamespaceStatementSyntax(SyntaxKind.NamespaceStatement, namespaceKeyword, name, _factoryContext) 47111Return New ModuleBlockSyntax(SyntaxKind.ModuleBlock, moduleStatement, [inherits].Node, [implements].Node, members.Node, endModuleStatement, _factoryContext) 47137Return New StructureBlockSyntax(SyntaxKind.StructureBlock, structureStatement, [inherits].Node, [implements].Node, members.Node, endStructureStatement, _factoryContext) 47163Return New InterfaceBlockSyntax(SyntaxKind.InterfaceBlock, interfaceStatement, [inherits].Node, [implements].Node, members.Node, endInterfaceStatement, _factoryContext) 47189Return New ClassBlockSyntax(SyntaxKind.ClassBlock, classStatement, [inherits].Node, [implements].Node, members.Node, endClassStatement, _factoryContext) 47211Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EnumBlock, enumStatement, members.Node, endEnumStatement, _factoryContext, hash) 47216Dim result = New EnumBlockSyntax(SyntaxKind.EnumBlock, enumStatement, members.Node, endEnumStatement, _factoryContext) 47235Debug.Assert(inheritsKeyword IsNot Nothing AndAlso inheritsKeyword.Kind = SyntaxKind.InheritsKeyword) 47238Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.InheritsStatement, inheritsKeyword, types.Node, _factoryContext, hash) 47243Dim result = New InheritsStatementSyntax(SyntaxKind.InheritsStatement, inheritsKeyword, types.Node, _factoryContext) 47262Debug.Assert(implementsKeyword IsNot Nothing AndAlso implementsKeyword.Kind = SyntaxKind.ImplementsKeyword) 47265Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ImplementsStatement, implementsKeyword, types.Node, _factoryContext, hash) 47270Dim result = New ImplementsStatementSyntax(SyntaxKind.ImplementsStatement, implementsKeyword, types.Node, _factoryContext) 47302Debug.Assert(moduleKeyword IsNot Nothing AndAlso moduleKeyword.Kind = SyntaxKind.ModuleKeyword) 47303Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 47304Return New ModuleStatementSyntax(SyntaxKind.ModuleStatement, attributeLists.Node, modifiers.Node, moduleKeyword, identifier, typeParameterList, _factoryContext) 47331Debug.Assert(structureKeyword IsNot Nothing AndAlso structureKeyword.Kind = SyntaxKind.StructureKeyword) 47332Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 47333Return New StructureStatementSyntax(SyntaxKind.StructureStatement, attributeLists.Node, modifiers.Node, structureKeyword, identifier, typeParameterList, _factoryContext) 47360Debug.Assert(interfaceKeyword IsNot Nothing AndAlso interfaceKeyword.Kind = SyntaxKind.InterfaceKeyword) 47361Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 47362Return New InterfaceStatementSyntax(SyntaxKind.InterfaceStatement, attributeLists.Node, modifiers.Node, interfaceKeyword, identifier, typeParameterList, _factoryContext) 47389Debug.Assert(classKeyword IsNot Nothing AndAlso classKeyword.Kind = SyntaxKind.ClassKeyword) 47390Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 47391Return New ClassStatementSyntax(SyntaxKind.ClassStatement, attributeLists.Node, modifiers.Node, classKeyword, identifier, typeParameterList, _factoryContext) 47418Debug.Assert(enumKeyword IsNot Nothing AndAlso enumKeyword.Kind = SyntaxKind.EnumKeyword) 47419Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 47420Return New EnumStatementSyntax(SyntaxKind.EnumStatement, attributeLists.Node, modifiers.Node, enumKeyword, identifier, underlyingType, _factoryContext) 47441Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 47442Debug.Assert(ofKeyword IsNot Nothing AndAlso ofKeyword.Kind = SyntaxKind.OfKeyword) 47443Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 47444Return New TypeParameterListSyntax(SyntaxKind.TypeParameterList, openParenToken, ofKeyword, parameters.Node, closeParenToken, _factoryContext) 47463Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 47466Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.TypeParameter, varianceKeyword, identifier, typeParameterConstraintClause, _factoryContext, hash) 47471Dim result = New TypeParameterSyntax(SyntaxKind.TypeParameter, varianceKeyword, identifier, typeParameterConstraintClause, _factoryContext) 47493Debug.Assert(asKeyword IsNot Nothing AndAlso asKeyword.Kind = SyntaxKind.AsKeyword) 47497Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.TypeParameterSingleConstraintClause, asKeyword, constraint, _factoryContext, hash) 47502Dim result = New TypeParameterSingleConstraintClauseSyntax(SyntaxKind.TypeParameterSingleConstraintClause, asKeyword, constraint, _factoryContext) 47529Debug.Assert(asKeyword IsNot Nothing AndAlso asKeyword.Kind = SyntaxKind.AsKeyword) 47530Debug.Assert(openBraceToken IsNot Nothing AndAlso openBraceToken.Kind = SyntaxKind.OpenBraceToken) 47531Debug.Assert(closeBraceToken IsNot Nothing AndAlso closeBraceToken.Kind = SyntaxKind.CloseBraceToken) 47532Return New TypeParameterMultipleConstraintClauseSyntax(SyntaxKind.TypeParameterMultipleConstraintClause, asKeyword, openBraceToken, constraints.Node, closeBraceToken, _factoryContext) 47549Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.NewConstraint, constraintKeyword, _factoryContext, hash) 47554Dim result = New SpecialConstraintSyntax(SyntaxKind.NewConstraint, constraintKeyword, _factoryContext) 47576Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ClassConstraint, constraintKeyword, _factoryContext, hash) 47581Dim result = New SpecialConstraintSyntax(SyntaxKind.ClassConstraint, constraintKeyword, _factoryContext) 47603Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.StructureConstraint, constraintKeyword, _factoryContext, hash) 47608Dim result = New SpecialConstraintSyntax(SyntaxKind.StructureConstraint, constraintKeyword, _factoryContext) 47623''' A <see cref="SyntaxKind"/> representing the specific kind of 47631Friend Function SpecialConstraint(kind As SyntaxKind, constraintKeyword As KeywordSyntax) As SpecialConstraintSyntax 47660Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.TypeConstraint, type, _factoryContext, hash) 47665Dim result = New TypeConstraintSyntax(SyntaxKind.TypeConstraint, type, _factoryContext) 47681Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 47684Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EnumMemberDeclaration, attributeLists.Node, identifier, initializer, _factoryContext, hash) 47689Dim result = New EnumMemberDeclarationSyntax(SyntaxKind.EnumMemberDeclaration, attributeLists.Node, identifier, initializer, _factoryContext) 47716Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SubBlock, subOrFunctionStatement, statements.Node, endSubOrFunctionStatement, _factoryContext, hash) 47721Dim result = New MethodBlockSyntax(SyntaxKind.SubBlock, subOrFunctionStatement, statements.Node, endSubOrFunctionStatement, _factoryContext) 47748Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.FunctionBlock, subOrFunctionStatement, statements.Node, endSubOrFunctionStatement, _factoryContext, hash) 47753Dim result = New MethodBlockSyntax(SyntaxKind.FunctionBlock, subOrFunctionStatement, statements.Node, endSubOrFunctionStatement, _factoryContext) 47767''' A <see cref="SyntaxKind"/> representing the specific kind of MethodBlockSyntax. 47779Friend Function MethodBlock(kind As SyntaxKind, subOrFunctionStatement As MethodStatementSyntax, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), endSubOrFunctionStatement As EndBlockStatementSyntax) As MethodBlockSyntax 47817Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ConstructorBlock, subNewStatement, statements.Node, endSubStatement, _factoryContext, hash) 47822Dim result = New ConstructorBlockSyntax(SyntaxKind.ConstructorBlock, subNewStatement, statements.Node, endSubStatement, _factoryContext) 47849Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.OperatorBlock, operatorStatement, statements.Node, endOperatorStatement, _factoryContext, hash) 47854Dim result = New OperatorBlockSyntax(SyntaxKind.OperatorBlock, operatorStatement, statements.Node, endOperatorStatement, _factoryContext) 47884Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.GetAccessorBlock, accessorStatement, statements.Node, endAccessorStatement, _factoryContext, hash) 47889Dim result = New AccessorBlockSyntax(SyntaxKind.GetAccessorBlock, accessorStatement, statements.Node, endAccessorStatement, _factoryContext) 47919Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SetAccessorBlock, accessorStatement, statements.Node, endAccessorStatement, _factoryContext, hash) 47924Dim result = New AccessorBlockSyntax(SyntaxKind.SetAccessorBlock, accessorStatement, statements.Node, endAccessorStatement, _factoryContext) 47954Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.AddHandlerAccessorBlock, accessorStatement, statements.Node, endAccessorStatement, _factoryContext, hash) 47959Dim result = New AccessorBlockSyntax(SyntaxKind.AddHandlerAccessorBlock, accessorStatement, statements.Node, endAccessorStatement, _factoryContext) 47989Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.RemoveHandlerAccessorBlock, accessorStatement, statements.Node, endAccessorStatement, _factoryContext, hash) 47994Dim result = New AccessorBlockSyntax(SyntaxKind.RemoveHandlerAccessorBlock, accessorStatement, statements.Node, endAccessorStatement, _factoryContext) 48024Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.RaiseEventAccessorBlock, accessorStatement, statements.Node, endAccessorStatement, _factoryContext, hash) 48029Dim result = New AccessorBlockSyntax(SyntaxKind.RaiseEventAccessorBlock, accessorStatement, statements.Node, endAccessorStatement, _factoryContext) 48044''' A <see cref="SyntaxKind"/> representing the specific kind of 48059Friend Function AccessorBlock(kind As SyntaxKind, accessorStatement As AccessorStatementSyntax, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), endAccessorStatement As EndBlockStatementSyntax) As AccessorBlockSyntax 48098Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.PropertyBlock, propertyStatement, accessors.Node, endPropertyStatement, _factoryContext, hash) 48103Dim result = New PropertyBlockSyntax(SyntaxKind.PropertyBlock, propertyStatement, accessors.Node, endPropertyStatement, _factoryContext) 48131Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EventBlock, eventStatement, accessors.Node, endEventStatement, _factoryContext, hash) 48136Dim result = New EventBlockSyntax(SyntaxKind.EventBlock, eventStatement, accessors.Node, endEventStatement, _factoryContext) 48160Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 48161Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 48164Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ParameterList, openParenToken, parameters.Node, closeParenToken, _factoryContext, hash) 48169Dim result = New ParameterListSyntax(SyntaxKind.ParameterList, openParenToken, parameters.Node, closeParenToken, _factoryContext) 48220Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.SubKeyword) 48221Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 48222Return New MethodStatementSyntax(SyntaxKind.SubStatement, attributeLists.Node, modifiers.Node, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause, handlesClause, implementsClause, _factoryContext) 48268Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.FunctionKeyword) 48269Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 48270Return New MethodStatementSyntax(SyntaxKind.FunctionStatement, attributeLists.Node, modifiers.Node, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause, handlesClause, implementsClause, _factoryContext) 48281''' A <see cref="SyntaxKind"/> representing the specific kind of 48319Friend Function MethodStatement(kind As SyntaxKind, attributeLists As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), modifiers As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), subOrFunctionKeyword As KeywordSyntax, identifier As IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) As MethodStatementSyntax 48322Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 48353Debug.Assert(subKeyword IsNot Nothing AndAlso subKeyword.Kind = SyntaxKind.SubKeyword) 48354Debug.Assert(newKeyword IsNot Nothing AndAlso newKeyword.Kind = SyntaxKind.NewKeyword) 48355Return New SubNewStatementSyntax(SyntaxKind.SubNewStatement, attributeLists.Node, modifiers.Node, subKeyword, newKeyword, parameterList, _factoryContext) 48406Debug.Assert(declareKeyword IsNot Nothing AndAlso declareKeyword.Kind = SyntaxKind.DeclareKeyword) 48407Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.SubKeyword) 48408Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 48409Debug.Assert(libKeyword IsNot Nothing AndAlso libKeyword.Kind = SyntaxKind.LibKeyword) 48411Return New DeclareStatementSyntax(SyntaxKind.DeclareSubStatement, attributeLists.Node, modifiers.Node, declareKeyword, charsetKeyword, subOrFunctionKeyword, identifier, libKeyword, libraryName, aliasKeyword, aliasName, parameterList, asClause, _factoryContext) 48462Debug.Assert(declareKeyword IsNot Nothing AndAlso declareKeyword.Kind = SyntaxKind.DeclareKeyword) 48463Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.FunctionKeyword) 48464Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 48465Debug.Assert(libKeyword IsNot Nothing AndAlso libKeyword.Kind = SyntaxKind.LibKeyword) 48467Return New DeclareStatementSyntax(SyntaxKind.DeclareFunctionStatement, attributeLists.Node, modifiers.Node, declareKeyword, charsetKeyword, subOrFunctionKeyword, identifier, libKeyword, libraryName, aliasKeyword, aliasName, parameterList, asClause, _factoryContext) 48475''' A <see cref="SyntaxKind"/> representing the specific kind of 48521Friend Function DeclareStatement(kind As SyntaxKind, attributeLists As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), modifiers As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), declareKeyword As KeywordSyntax, charsetKeyword As KeywordSyntax, subOrFunctionKeyword As KeywordSyntax, identifier As IdentifierTokenSyntax, libKeyword As KeywordSyntax, libraryName As LiteralExpressionSyntax, aliasKeyword As KeywordSyntax, aliasName As LiteralExpressionSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DeclareStatementSyntax 48523Debug.Assert(declareKeyword IsNot Nothing AndAlso declareKeyword.Kind = SyntaxKind.DeclareKeyword) 48525Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 48526Debug.Assert(libKeyword IsNot Nothing AndAlso libKeyword.Kind = SyntaxKind.LibKeyword) 48567Debug.Assert(delegateKeyword IsNot Nothing AndAlso delegateKeyword.Kind = SyntaxKind.DelegateKeyword) 48568Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.SubKeyword) 48569Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 48570Return New DelegateStatementSyntax(SyntaxKind.DelegateSubStatement, attributeLists.Node, modifiers.Node, delegateKeyword, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause, _factoryContext) 48609Debug.Assert(delegateKeyword IsNot Nothing AndAlso delegateKeyword.Kind = SyntaxKind.DelegateKeyword) 48610Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.FunctionKeyword) 48611Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 48612Return New DelegateStatementSyntax(SyntaxKind.DelegateFunctionStatement, attributeLists.Node, modifiers.Node, delegateKeyword, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause, _factoryContext) 48620''' A <see cref="SyntaxKind"/> representing the specific kind of 48655Friend Function DelegateStatement(kind As SyntaxKind, attributeLists As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), modifiers As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), delegateKeyword As KeywordSyntax, subOrFunctionKeyword As KeywordSyntax, identifier As IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DelegateStatementSyntax 48657Debug.Assert(delegateKeyword IsNot Nothing AndAlso delegateKeyword.Kind = SyntaxKind.DelegateKeyword) 48659Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 48701Debug.Assert(eventKeyword IsNot Nothing AndAlso eventKeyword.Kind = SyntaxKind.EventKeyword) 48702Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 48703Return New EventStatementSyntax(SyntaxKind.EventStatement, attributeLists.Node, modifiers.Node, customKeyword, eventKeyword, identifier, parameterList, asClause, implementsClause, _factoryContext) 48738Debug.Assert(operatorKeyword IsNot Nothing AndAlso operatorKeyword.Kind = SyntaxKind.OperatorKeyword) 48740Return New OperatorStatementSyntax(SyntaxKind.OperatorStatement, attributeLists.Node, modifiers.Node, operatorKeyword, operatorToken, parameterList, asClause, _factoryContext) 48783Debug.Assert(propertyKeyword IsNot Nothing AndAlso propertyKeyword.Kind = SyntaxKind.PropertyKeyword) 48784Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 48785Return New PropertyStatementSyntax(SyntaxKind.PropertyStatement, attributeLists.Node, modifiers.Node, propertyKeyword, identifier, parameterList, asClause, initializer, implementsClause, _factoryContext) 48814Debug.Assert(accessorKeyword IsNot Nothing AndAlso accessorKeyword.Kind = SyntaxKind.GetKeyword) 48815Return New AccessorStatementSyntax(SyntaxKind.GetAccessorStatement, attributeLists.Node, modifiers.Node, accessorKeyword, parameterList, _factoryContext) 48844Debug.Assert(accessorKeyword IsNot Nothing AndAlso accessorKeyword.Kind = SyntaxKind.SetKeyword) 48845Return New AccessorStatementSyntax(SyntaxKind.SetAccessorStatement, attributeLists.Node, modifiers.Node, accessorKeyword, parameterList, _factoryContext) 48874Debug.Assert(accessorKeyword IsNot Nothing AndAlso accessorKeyword.Kind = SyntaxKind.AddHandlerKeyword) 48875Return New AccessorStatementSyntax(SyntaxKind.AddHandlerAccessorStatement, attributeLists.Node, modifiers.Node, accessorKeyword, parameterList, _factoryContext) 48904Debug.Assert(accessorKeyword IsNot Nothing AndAlso accessorKeyword.Kind = SyntaxKind.RemoveHandlerKeyword) 48905Return New AccessorStatementSyntax(SyntaxKind.RemoveHandlerAccessorStatement, attributeLists.Node, modifiers.Node, accessorKeyword, parameterList, _factoryContext) 48934Debug.Assert(accessorKeyword IsNot Nothing AndAlso accessorKeyword.Kind = SyntaxKind.RaiseEventKeyword) 48935Return New AccessorStatementSyntax(SyntaxKind.RaiseEventAccessorStatement, attributeLists.Node, modifiers.Node, accessorKeyword, parameterList, _factoryContext) 48946''' A <see cref="SyntaxKind"/> representing the specific kind of 48969Friend Function AccessorStatement(kind As SyntaxKind, attributeLists As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), modifiers As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), accessorKeyword As KeywordSyntax, parameterList As ParameterListSyntax) As AccessorStatementSyntax 48987Debug.Assert(implementsKeyword IsNot Nothing AndAlso implementsKeyword.Kind = SyntaxKind.ImplementsKeyword) 48990Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ImplementsClause, implementsKeyword, interfaceMembers.Node, _factoryContext, hash) 48995Dim result = New ImplementsClauseSyntax(SyntaxKind.ImplementsClause, implementsKeyword, interfaceMembers.Node, _factoryContext) 49015Debug.Assert(handlesKeyword IsNot Nothing AndAlso handlesKeyword.Kind = SyntaxKind.HandlesKeyword) 49018Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.HandlesClause, handlesKeyword, events.Node, _factoryContext, hash) 49023Dim result = New HandlesClauseSyntax(SyntaxKind.HandlesClause, handlesKeyword, events.Node, _factoryContext) 49044Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.KeywordEventContainer, keyword, _factoryContext, hash) 49049Dim result = New KeywordEventContainerSyntax(SyntaxKind.KeywordEventContainer, keyword, _factoryContext) 49066Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 49069Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.WithEventsEventContainer, identifier, _factoryContext, hash) 49074Dim result = New WithEventsEventContainerSyntax(SyntaxKind.WithEventsEventContainer, identifier, _factoryContext) 49098Debug.Assert(dotToken IsNot Nothing AndAlso dotToken.Kind = SyntaxKind.DotToken) 49102Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.WithEventsPropertyEventContainer, withEventsContainer, dotToken, [property], _factoryContext, hash) 49107Dim result = New WithEventsPropertyEventContainerSyntax(SyntaxKind.WithEventsPropertyEventContainer, withEventsContainer, dotToken, [property], _factoryContext) 49132Debug.Assert(dotToken IsNot Nothing AndAlso dotToken.Kind = SyntaxKind.DotToken) 49136Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.HandlesClauseItem, eventContainer, dotToken, eventMember, _factoryContext, hash) 49141Dim result = New HandlesClauseItemSyntax(SyntaxKind.HandlesClauseItem, eventContainer, dotToken, eventMember, _factoryContext) 49170Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.IncompleteMember, attributeLists.Node, modifiers.Node, missingIdentifier, _factoryContext, hash) 49175Dim result = New IncompleteMemberSyntax(SyntaxKind.IncompleteMember, attributeLists.Node, modifiers.Node, missingIdentifier, _factoryContext) 49205Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.FieldDeclaration, attributeLists.Node, modifiers.Node, declarators.Node, _factoryContext, hash) 49210Dim result = New FieldDeclarationSyntax(SyntaxKind.FieldDeclaration, attributeLists.Node, modifiers.Node, declarators.Node, _factoryContext) 49238Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.VariableDeclarator, names.Node, asClause, initializer, _factoryContext, hash) 49243Dim result = New VariableDeclaratorSyntax(SyntaxKind.VariableDeclarator, names.Node, asClause, initializer, _factoryContext) 49268Debug.Assert(asKeyword IsNot Nothing AndAlso asKeyword.Kind = SyntaxKind.AsKeyword) 49272Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SimpleAsClause, asKeyword, attributeLists.Node, type, _factoryContext, hash) 49277Dim result = New SimpleAsClauseSyntax(SyntaxKind.SimpleAsClause, asKeyword, attributeLists.Node, type, _factoryContext) 49299Debug.Assert(asKeyword IsNot Nothing AndAlso asKeyword.Kind = SyntaxKind.AsKeyword) 49303Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.AsNewClause, asKeyword, newExpression, _factoryContext, hash) 49308Dim result = New AsNewClauseSyntax(SyntaxKind.AsNewClause, asKeyword, newExpression, _factoryContext) 49333Debug.Assert(withKeyword IsNot Nothing AndAlso withKeyword.Kind = SyntaxKind.WithKeyword) 49334Debug.Assert(openBraceToken IsNot Nothing AndAlso openBraceToken.Kind = SyntaxKind.OpenBraceToken) 49335Debug.Assert(closeBraceToken IsNot Nothing AndAlso closeBraceToken.Kind = SyntaxKind.CloseBraceToken) 49336Return New ObjectMemberInitializerSyntax(SyntaxKind.ObjectMemberInitializer, withKeyword, openBraceToken, initializers.Node, closeBraceToken, _factoryContext) 49351Debug.Assert(fromKeyword IsNot Nothing AndAlso fromKeyword.Kind = SyntaxKind.FromKeyword) 49355Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ObjectCollectionInitializer, fromKeyword, initializer, _factoryContext, hash) 49360Dim result = New ObjectCollectionInitializerSyntax(SyntaxKind.ObjectCollectionInitializer, fromKeyword, initializer, _factoryContext) 49383Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.InferredFieldInitializer, keyKeyword, expression, _factoryContext, hash) 49388Dim result = New InferredFieldInitializerSyntax(SyntaxKind.InferredFieldInitializer, keyKeyword, expression, _factoryContext) 49417Debug.Assert(dotToken IsNot Nothing AndAlso dotToken.Kind = SyntaxKind.DotToken) 49419Debug.Assert(equalsToken IsNot Nothing AndAlso equalsToken.Kind = SyntaxKind.EqualsToken) 49421Return New NamedFieldInitializerSyntax(SyntaxKind.NamedFieldInitializer, keyKeyword, dotToken, name, equalsToken, expression, _factoryContext) 49436Debug.Assert(equalsToken IsNot Nothing AndAlso equalsToken.Kind = SyntaxKind.EqualsToken) 49440Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EqualsValue, equalsToken, value, _factoryContext, hash) 49445Dim result = New EqualsValueSyntax(SyntaxKind.EqualsValue, equalsToken, value, _factoryContext) 49478Return New ParameterSyntax(SyntaxKind.Parameter, attributeLists.Node, modifiers.Node, identifier, asClause, [default], _factoryContext) 49500Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 49501Return New ModifiedIdentifierSyntax(SyntaxKind.ModifiedIdentifier, identifier, nullable, arrayBounds, arrayRankSpecifiers.Node, _factoryContext) 49519Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 49520Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 49523Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ArrayRankSpecifier, openParenToken, commaTokens.Node, closeParenToken, _factoryContext, hash) 49528Dim result = New ArrayRankSpecifierSyntax(SyntaxKind.ArrayRankSpecifier, openParenToken, commaTokens.Node, closeParenToken, _factoryContext) 49550Debug.Assert(lessThanToken IsNot Nothing AndAlso lessThanToken.Kind = SyntaxKind.LessThanToken) 49551Debug.Assert(greaterThanToken IsNot Nothing AndAlso greaterThanToken.Kind = SyntaxKind.GreaterThanToken) 49554Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.AttributeList, lessThanToken, attributes.Node, greaterThanToken, _factoryContext, hash) 49559Dim result = New AttributeListSyntax(SyntaxKind.AttributeList, lessThanToken, attributes.Node, greaterThanToken, _factoryContext) 49583Return New AttributeSyntax(SyntaxKind.Attribute, target, name, argumentList, _factoryContext) 49600Debug.Assert(colonToken IsNot Nothing AndAlso colonToken.Kind = SyntaxKind.ColonToken) 49603Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.AttributeTarget, attributeModifier, colonToken, _factoryContext, hash) 49608Dim result = New AttributeTargetSyntax(SyntaxKind.AttributeTarget, attributeModifier, colonToken, _factoryContext) 49627Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.AttributesStatement, attributeLists.Node, _factoryContext, hash) 49632Dim result = New AttributesStatementSyntax(SyntaxKind.AttributesStatement, attributeLists.Node, _factoryContext) 49653Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ExpressionStatement, expression, _factoryContext, hash) 49658Dim result = New ExpressionStatementSyntax(SyntaxKind.ExpressionStatement, expression, _factoryContext) 49677Debug.Assert(questionToken IsNot Nothing AndAlso questionToken.Kind = SyntaxKind.QuestionToken) 49681Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.PrintStatement, questionToken, expression, _factoryContext, hash) 49686Dim result = New PrintStatementSyntax(SyntaxKind.PrintStatement, questionToken, expression, _factoryContext) 49713Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.WhileBlock, whileStatement, statements.Node, endWhileStatement, _factoryContext, hash) 49718Dim result = New WhileBlockSyntax(SyntaxKind.WhileBlock, whileStatement, statements.Node, endWhileStatement, _factoryContext) 49746Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.UsingBlock, usingStatement, statements.Node, endUsingStatement, _factoryContext, hash) 49751Dim result = New UsingBlockSyntax(SyntaxKind.UsingBlock, usingStatement, statements.Node, endUsingStatement, _factoryContext) 49779Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SyncLockBlock, syncLockStatement, statements.Node, endSyncLockStatement, _factoryContext, hash) 49784Dim result = New SyncLockBlockSyntax(SyntaxKind.SyncLockBlock, syncLockStatement, statements.Node, endSyncLockStatement, _factoryContext) 49812Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.WithBlock, withStatement, statements.Node, endWithStatement, _factoryContext, hash) 49817Dim result = New WithBlockSyntax(SyntaxKind.WithBlock, withStatement, statements.Node, endWithStatement, _factoryContext) 49840Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.LocalDeclarationStatement, modifiers.Node, declarators.Node, _factoryContext, hash) 49845Dim result = New LocalDeclarationStatementSyntax(SyntaxKind.LocalDeclarationStatement, modifiers.Node, declarators.Node, _factoryContext) 49866Debug.Assert(colonToken IsNot Nothing AndAlso colonToken.Kind = SyntaxKind.ColonToken) 49869Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.LabelStatement, labelToken, colonToken, _factoryContext, hash) 49874Dim result = New LabelStatementSyntax(SyntaxKind.LabelStatement, labelToken, colonToken, _factoryContext) 49894Debug.Assert(goToKeyword IsNot Nothing AndAlso goToKeyword.Kind = SyntaxKind.GoToKeyword) 49898Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.GoToStatement, goToKeyword, label, _factoryContext, hash) 49903Dim result = New GoToStatementSyntax(SyntaxKind.GoToStatement, goToKeyword, label, _factoryContext) 49921Debug.Assert(labelToken IsNot Nothing AndAlso labelToken.Kind = SyntaxKind.IdentifierToken) 49924Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.IdentifierLabel, labelToken, _factoryContext, hash) 49929Dim result = New LabelSyntax(SyntaxKind.IdentifierLabel, labelToken, _factoryContext) 49947Debug.Assert(labelToken IsNot Nothing AndAlso labelToken.Kind = SyntaxKind.IntegerLiteralToken) 49950Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.NumericLabel, labelToken, _factoryContext, hash) 49955Dim result = New LabelSyntax(SyntaxKind.NumericLabel, labelToken, _factoryContext) 49973Debug.Assert(labelToken IsNot Nothing AndAlso labelToken.Kind = SyntaxKind.NextKeyword) 49976Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.NextLabel, labelToken, _factoryContext, hash) 49981Dim result = New LabelSyntax(SyntaxKind.NextLabel, labelToken, _factoryContext) 49995''' A <see cref="SyntaxKind"/> representing the specific kind of LabelSyntax. One 50002Friend Function Label(kind As SyntaxKind, labelToken As SyntaxToken) As LabelSyntax 50032Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.StopStatement, stopOrEndKeyword, _factoryContext, hash) 50037Dim result = New StopOrEndStatementSyntax(SyntaxKind.StopStatement, stopOrEndKeyword, _factoryContext) 50057Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EndStatement, stopOrEndKeyword, _factoryContext, hash) 50062Dim result = New StopOrEndStatementSyntax(SyntaxKind.EndStatement, stopOrEndKeyword, _factoryContext) 50076''' A <see cref="SyntaxKind"/> representing the specific kind of 50082Friend Function StopOrEndStatement(kind As SyntaxKind, stopOrEndKeyword As KeywordSyntax) As StopOrEndStatementSyntax 50112Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 50113Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.DoKeyword) 50116Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ExitDoStatement, exitKeyword, blockKeyword, _factoryContext, hash) 50121Dim result = New ExitStatementSyntax(SyntaxKind.ExitDoStatement, exitKeyword, blockKeyword, _factoryContext) 50141Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 50142Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.ForKeyword) 50145Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ExitForStatement, exitKeyword, blockKeyword, _factoryContext, hash) 50150Dim result = New ExitStatementSyntax(SyntaxKind.ExitForStatement, exitKeyword, blockKeyword, _factoryContext) 50170Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 50171Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.SubKeyword) 50174Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ExitSubStatement, exitKeyword, blockKeyword, _factoryContext, hash) 50179Dim result = New ExitStatementSyntax(SyntaxKind.ExitSubStatement, exitKeyword, blockKeyword, _factoryContext) 50199Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 50200Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.FunctionKeyword) 50203Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ExitFunctionStatement, exitKeyword, blockKeyword, _factoryContext, hash) 50208Dim result = New ExitStatementSyntax(SyntaxKind.ExitFunctionStatement, exitKeyword, blockKeyword, _factoryContext) 50228Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 50229Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.OperatorKeyword) 50232Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ExitOperatorStatement, exitKeyword, blockKeyword, _factoryContext, hash) 50237Dim result = New ExitStatementSyntax(SyntaxKind.ExitOperatorStatement, exitKeyword, blockKeyword, _factoryContext) 50257Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 50258Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.PropertyKeyword) 50261Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ExitPropertyStatement, exitKeyword, blockKeyword, _factoryContext, hash) 50266Dim result = New ExitStatementSyntax(SyntaxKind.ExitPropertyStatement, exitKeyword, blockKeyword, _factoryContext) 50286Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 50287Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.TryKeyword) 50290Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ExitTryStatement, exitKeyword, blockKeyword, _factoryContext, hash) 50295Dim result = New ExitStatementSyntax(SyntaxKind.ExitTryStatement, exitKeyword, blockKeyword, _factoryContext) 50315Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 50316Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.SelectKeyword) 50319Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ExitSelectStatement, exitKeyword, blockKeyword, _factoryContext, hash) 50324Dim result = New ExitStatementSyntax(SyntaxKind.ExitSelectStatement, exitKeyword, blockKeyword, _factoryContext) 50344Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 50345Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.WhileKeyword) 50348Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ExitWhileStatement, exitKeyword, blockKeyword, _factoryContext, hash) 50353Dim result = New ExitStatementSyntax(SyntaxKind.ExitWhileStatement, exitKeyword, blockKeyword, _factoryContext) 50367''' A <see cref="SyntaxKind"/> representing the specific kind of 50379Friend Function ExitStatement(kind As SyntaxKind, exitKeyword As KeywordSyntax, blockKeyword As KeywordSyntax) As ExitStatementSyntax 50381Debug.Assert(exitKeyword IsNot Nothing AndAlso exitKeyword.Kind = SyntaxKind.ExitKeyword) 50411Debug.Assert(continueKeyword IsNot Nothing AndAlso continueKeyword.Kind = SyntaxKind.ContinueKeyword) 50412Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.WhileKeyword) 50415Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ContinueWhileStatement, continueKeyword, blockKeyword, _factoryContext, hash) 50420Dim result = New ContinueStatementSyntax(SyntaxKind.ContinueWhileStatement, continueKeyword, blockKeyword, _factoryContext) 50441Debug.Assert(continueKeyword IsNot Nothing AndAlso continueKeyword.Kind = SyntaxKind.ContinueKeyword) 50442Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.DoKeyword) 50445Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ContinueDoStatement, continueKeyword, blockKeyword, _factoryContext, hash) 50450Dim result = New ContinueStatementSyntax(SyntaxKind.ContinueDoStatement, continueKeyword, blockKeyword, _factoryContext) 50471Debug.Assert(continueKeyword IsNot Nothing AndAlso continueKeyword.Kind = SyntaxKind.ContinueKeyword) 50472Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.ForKeyword) 50475Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ContinueForStatement, continueKeyword, blockKeyword, _factoryContext, hash) 50480Dim result = New ContinueStatementSyntax(SyntaxKind.ContinueForStatement, continueKeyword, blockKeyword, _factoryContext) 50494''' A <see cref="SyntaxKind"/> representing the specific kind of 50505Friend Function ContinueStatement(kind As SyntaxKind, continueKeyword As KeywordSyntax, blockKeyword As KeywordSyntax) As ContinueStatementSyntax 50507Debug.Assert(continueKeyword IsNot Nothing AndAlso continueKeyword.Kind = SyntaxKind.ContinueKeyword) 50535Debug.Assert(returnKeyword IsNot Nothing AndAlso returnKeyword.Kind = SyntaxKind.ReturnKeyword) 50538Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ReturnStatement, returnKeyword, expression, _factoryContext, hash) 50543Dim result = New ReturnStatementSyntax(SyntaxKind.ReturnStatement, returnKeyword, expression, _factoryContext) 50572Debug.Assert(ifKeyword IsNot Nothing AndAlso ifKeyword.Kind = SyntaxKind.IfKeyword) 50574Debug.Assert(thenKeyword IsNot Nothing AndAlso thenKeyword.Kind = SyntaxKind.ThenKeyword) 50575Return New SingleLineIfStatementSyntax(SyntaxKind.SingleLineIfStatement, ifKeyword, condition, thenKeyword, statements.Node, elseClause, _factoryContext) 50590Debug.Assert(elseKeyword IsNot Nothing AndAlso elseKeyword.Kind = SyntaxKind.ElseKeyword) 50593Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SingleLineElseClause, elseKeyword, statements.Node, _factoryContext, hash) 50598Dim result = New SingleLineElseClauseSyntax(SyntaxKind.SingleLineElseClause, elseKeyword, statements.Node, _factoryContext) 50632Return New MultiLineIfBlockSyntax(SyntaxKind.MultiLineIfBlock, ifStatement, statements.Node, elseIfBlocks.Node, elseBlock, endIfStatement, _factoryContext) 50649Debug.Assert(ifKeyword IsNot Nothing AndAlso ifKeyword.Kind = SyntaxKind.IfKeyword) 50653Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.IfStatement, ifKeyword, condition, thenKeyword, _factoryContext, hash) 50658Dim result = New IfStatementSyntax(SyntaxKind.IfStatement, ifKeyword, condition, thenKeyword, _factoryContext) 50681Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ElseIfBlock, elseIfStatement, statements.Node, _factoryContext, hash) 50686Dim result = New ElseIfBlockSyntax(SyntaxKind.ElseIfBlock, elseIfStatement, statements.Node, _factoryContext) 50708Debug.Assert(elseIfKeyword IsNot Nothing AndAlso elseIfKeyword.Kind = SyntaxKind.ElseIfKeyword) 50712Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ElseIfStatement, elseIfKeyword, condition, thenKeyword, _factoryContext, hash) 50717Dim result = New ElseIfStatementSyntax(SyntaxKind.ElseIfStatement, elseIfKeyword, condition, thenKeyword, _factoryContext) 50739Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ElseBlock, elseStatement, statements.Node, _factoryContext, hash) 50744Dim result = New ElseBlockSyntax(SyntaxKind.ElseBlock, elseStatement, statements.Node, _factoryContext) 50760Debug.Assert(elseKeyword IsNot Nothing AndAlso elseKeyword.Kind = SyntaxKind.ElseKeyword) 50763Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ElseStatement, elseKeyword, _factoryContext, hash) 50768Dim result = New ElseStatementSyntax(SyntaxKind.ElseStatement, elseKeyword, _factoryContext) 50799Return New TryBlockSyntax(SyntaxKind.TryBlock, tryStatement, statements.Node, catchBlocks.Node, finallyBlock, endTryStatement, _factoryContext) 50810Debug.Assert(tryKeyword IsNot Nothing AndAlso tryKeyword.Kind = SyntaxKind.TryKeyword) 50813Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.TryStatement, tryKeyword, _factoryContext, hash) 50818Dim result = New TryStatementSyntax(SyntaxKind.TryStatement, tryKeyword, _factoryContext) 50841Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CatchBlock, catchStatement, statements.Node, _factoryContext, hash) 50846Dim result = New CatchBlockSyntax(SyntaxKind.CatchBlock, catchStatement, statements.Node, _factoryContext) 50872Debug.Assert(catchKeyword IsNot Nothing AndAlso catchKeyword.Kind = SyntaxKind.CatchKeyword) 50873Return New CatchStatementSyntax(SyntaxKind.CatchStatement, catchKeyword, identifierName, asClause, whenClause, _factoryContext) 50887Debug.Assert(whenKeyword IsNot Nothing AndAlso whenKeyword.Kind = SyntaxKind.WhenKeyword) 50891Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CatchFilterClause, whenKeyword, filter, _factoryContext, hash) 50896Dim result = New CatchFilterClauseSyntax(SyntaxKind.CatchFilterClause, whenKeyword, filter, _factoryContext) 50918Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.FinallyBlock, finallyStatement, statements.Node, _factoryContext, hash) 50923Dim result = New FinallyBlockSyntax(SyntaxKind.FinallyBlock, finallyStatement, statements.Node, _factoryContext) 50939Debug.Assert(finallyKeyword IsNot Nothing AndAlso finallyKeyword.Kind = SyntaxKind.FinallyKeyword) 50942Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.FinallyStatement, finallyKeyword, _factoryContext, hash) 50947Dim result = New FinallyStatementSyntax(SyntaxKind.FinallyStatement, finallyKeyword, _factoryContext) 50966Debug.Assert(errorKeyword IsNot Nothing AndAlso errorKeyword.Kind = SyntaxKind.ErrorKeyword) 50970Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ErrorStatement, errorKeyword, errorNumber, _factoryContext, hash) 50975Dim result = New ErrorStatementSyntax(SyntaxKind.ErrorStatement, errorKeyword, errorNumber, _factoryContext) 51004Debug.Assert(onKeyword IsNot Nothing AndAlso onKeyword.Kind = SyntaxKind.OnKeyword) 51005Debug.Assert(errorKeyword IsNot Nothing AndAlso errorKeyword.Kind = SyntaxKind.ErrorKeyword) 51006Debug.Assert(goToKeyword IsNot Nothing AndAlso goToKeyword.Kind = SyntaxKind.GoToKeyword) 51008Return New OnErrorGoToStatementSyntax(SyntaxKind.OnErrorGoToZeroStatement, onKeyword, errorKeyword, goToKeyword, minus, label, _factoryContext) 51032Debug.Assert(onKeyword IsNot Nothing AndAlso onKeyword.Kind = SyntaxKind.OnKeyword) 51033Debug.Assert(errorKeyword IsNot Nothing AndAlso errorKeyword.Kind = SyntaxKind.ErrorKeyword) 51034Debug.Assert(goToKeyword IsNot Nothing AndAlso goToKeyword.Kind = SyntaxKind.GoToKeyword) 51036Return New OnErrorGoToStatementSyntax(SyntaxKind.OnErrorGoToMinusOneStatement, onKeyword, errorKeyword, goToKeyword, minus, label, _factoryContext) 51060Debug.Assert(onKeyword IsNot Nothing AndAlso onKeyword.Kind = SyntaxKind.OnKeyword) 51061Debug.Assert(errorKeyword IsNot Nothing AndAlso errorKeyword.Kind = SyntaxKind.ErrorKeyword) 51062Debug.Assert(goToKeyword IsNot Nothing AndAlso goToKeyword.Kind = SyntaxKind.GoToKeyword) 51064Return New OnErrorGoToStatementSyntax(SyntaxKind.OnErrorGoToLabelStatement, onKeyword, errorKeyword, goToKeyword, minus, label, _factoryContext) 51072''' A <see cref="SyntaxKind"/> representing the specific kind of 51092Friend Function OnErrorGoToStatement(kind As SyntaxKind, onKeyword As KeywordSyntax, errorKeyword As KeywordSyntax, goToKeyword As KeywordSyntax, minus As PunctuationSyntax, label As LabelSyntax) As OnErrorGoToStatementSyntax 51094Debug.Assert(onKeyword IsNot Nothing AndAlso onKeyword.Kind = SyntaxKind.OnKeyword) 51095Debug.Assert(errorKeyword IsNot Nothing AndAlso errorKeyword.Kind = SyntaxKind.ErrorKeyword) 51096Debug.Assert(goToKeyword IsNot Nothing AndAlso goToKeyword.Kind = SyntaxKind.GoToKeyword) 51118Debug.Assert(onKeyword IsNot Nothing AndAlso onKeyword.Kind = SyntaxKind.OnKeyword) 51119Debug.Assert(errorKeyword IsNot Nothing AndAlso errorKeyword.Kind = SyntaxKind.ErrorKeyword) 51120Debug.Assert(resumeKeyword IsNot Nothing AndAlso resumeKeyword.Kind = SyntaxKind.ResumeKeyword) 51121Debug.Assert(nextKeyword IsNot Nothing AndAlso nextKeyword.Kind = SyntaxKind.NextKeyword) 51122Return New OnErrorResumeNextStatementSyntax(SyntaxKind.OnErrorResumeNextStatement, onKeyword, errorKeyword, resumeKeyword, nextKeyword, _factoryContext) 51139Debug.Assert(resumeKeyword IsNot Nothing AndAlso resumeKeyword.Kind = SyntaxKind.ResumeKeyword) 51142Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ResumeStatement, resumeKeyword, label, _factoryContext, hash) 51147Dim result = New ResumeStatementSyntax(SyntaxKind.ResumeStatement, resumeKeyword, label, _factoryContext) 51169Debug.Assert(resumeKeyword IsNot Nothing AndAlso resumeKeyword.Kind = SyntaxKind.ResumeKeyword) 51172Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ResumeLabelStatement, resumeKeyword, label, _factoryContext, hash) 51177Dim result = New ResumeStatementSyntax(SyntaxKind.ResumeLabelStatement, resumeKeyword, label, _factoryContext) 51199Debug.Assert(resumeKeyword IsNot Nothing AndAlso resumeKeyword.Kind = SyntaxKind.ResumeKeyword) 51202Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ResumeNextStatement, resumeKeyword, label, _factoryContext, hash) 51207Dim result = New ResumeStatementSyntax(SyntaxKind.ResumeNextStatement, resumeKeyword, label, _factoryContext) 51234Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SelectBlock, selectStatement, caseBlocks.Node, endSelectStatement, _factoryContext, hash) 51239Dim result = New SelectBlockSyntax(SyntaxKind.SelectBlock, selectStatement, caseBlocks.Node, endSelectStatement, _factoryContext) 51262Debug.Assert(selectKeyword IsNot Nothing AndAlso selectKeyword.Kind = SyntaxKind.SelectKeyword) 51266Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SelectStatement, selectKeyword, caseKeyword, expression, _factoryContext, hash) 51271Dim result = New SelectStatementSyntax(SyntaxKind.SelectStatement, selectKeyword, caseKeyword, expression, _factoryContext) 51293Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CaseBlock, caseStatement, statements.Node, _factoryContext, hash) 51298Dim result = New CaseBlockSyntax(SyntaxKind.CaseBlock, caseStatement, statements.Node, _factoryContext) 51320Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CaseElseBlock, caseStatement, statements.Node, _factoryContext, hash) 51325Dim result = New CaseBlockSyntax(SyntaxKind.CaseElseBlock, caseStatement, statements.Node, _factoryContext) 51347Debug.Assert(caseKeyword IsNot Nothing AndAlso caseKeyword.Kind = SyntaxKind.CaseKeyword) 51350Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CaseStatement, caseKeyword, cases.Node, _factoryContext, hash) 51355Dim result = New CaseStatementSyntax(SyntaxKind.CaseStatement, caseKeyword, cases.Node, _factoryContext) 51377Debug.Assert(caseKeyword IsNot Nothing AndAlso caseKeyword.Kind = SyntaxKind.CaseKeyword) 51380Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CaseElseStatement, caseKeyword, cases.Node, _factoryContext, hash) 51385Dim result = New CaseStatementSyntax(SyntaxKind.CaseElseStatement, caseKeyword, cases.Node, _factoryContext) 51401Debug.Assert(elseKeyword IsNot Nothing AndAlso elseKeyword.Kind = SyntaxKind.ElseKeyword) 51404Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ElseCaseClause, elseKeyword, _factoryContext, hash) 51409Dim result = New ElseCaseClauseSyntax(SyntaxKind.ElseCaseClause, elseKeyword, _factoryContext) 51428Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SimpleCaseClause, value, _factoryContext, hash) 51433Dim result = New SimpleCaseClauseSyntax(SyntaxKind.SimpleCaseClause, value, _factoryContext) 51456Debug.Assert(toKeyword IsNot Nothing AndAlso toKeyword.Kind = SyntaxKind.ToKeyword) 51460Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.RangeCaseClause, lowerBound, toKeyword, upperBound, _factoryContext, hash) 51465Dim result = New RangeCaseClauseSyntax(SyntaxKind.RangeCaseClause, lowerBound, toKeyword, upperBound, _factoryContext) 51488Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.EqualsToken) 51492Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CaseEqualsClause, isKeyword, operatorToken, value, _factoryContext, hash) 51497Dim result = New RelationalCaseClauseSyntax(SyntaxKind.CaseEqualsClause, isKeyword, operatorToken, value, _factoryContext) 51520Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.LessThanGreaterThanToken) 51524Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CaseNotEqualsClause, isKeyword, operatorToken, value, _factoryContext, hash) 51529Dim result = New RelationalCaseClauseSyntax(SyntaxKind.CaseNotEqualsClause, isKeyword, operatorToken, value, _factoryContext) 51552Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.LessThanToken) 51556Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CaseLessThanClause, isKeyword, operatorToken, value, _factoryContext, hash) 51561Dim result = New RelationalCaseClauseSyntax(SyntaxKind.CaseLessThanClause, isKeyword, operatorToken, value, _factoryContext) 51584Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.LessThanEqualsToken) 51588Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CaseLessThanOrEqualClause, isKeyword, operatorToken, value, _factoryContext, hash) 51593Dim result = New RelationalCaseClauseSyntax(SyntaxKind.CaseLessThanOrEqualClause, isKeyword, operatorToken, value, _factoryContext) 51616Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.GreaterThanEqualsToken) 51620Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CaseGreaterThanOrEqualClause, isKeyword, operatorToken, value, _factoryContext, hash) 51625Dim result = New RelationalCaseClauseSyntax(SyntaxKind.CaseGreaterThanOrEqualClause, isKeyword, operatorToken, value, _factoryContext) 51648Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.GreaterThanToken) 51652Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CaseGreaterThanClause, isKeyword, operatorToken, value, _factoryContext, hash) 51657Dim result = New RelationalCaseClauseSyntax(SyntaxKind.CaseGreaterThanClause, isKeyword, operatorToken, value, _factoryContext) 51670''' A <see cref="SyntaxKind"/> representing the specific kind of 51685Friend Function RelationalCaseClause(kind As SyntaxKind, isKeyword As KeywordSyntax, operatorToken As PunctuationSyntax, value As ExpressionSyntax) As RelationalCaseClauseSyntax 51716Debug.Assert(syncLockKeyword IsNot Nothing AndAlso syncLockKeyword.Kind = SyntaxKind.SyncLockKeyword) 51720Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SyncLockStatement, syncLockKeyword, expression, _factoryContext, hash) 51725Dim result = New SyncLockStatementSyntax(SyntaxKind.SyncLockStatement, syncLockKeyword, expression, _factoryContext) 51752Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SimpleDoLoopBlock, doStatement, statements.Node, loopStatement, _factoryContext, hash) 51757Dim result = New DoLoopBlockSyntax(SyntaxKind.SimpleDoLoopBlock, doStatement, statements.Node, loopStatement, _factoryContext) 51784Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.DoWhileLoopBlock, doStatement, statements.Node, loopStatement, _factoryContext, hash) 51789Dim result = New DoLoopBlockSyntax(SyntaxKind.DoWhileLoopBlock, doStatement, statements.Node, loopStatement, _factoryContext) 51816Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.DoUntilLoopBlock, doStatement, statements.Node, loopStatement, _factoryContext, hash) 51821Dim result = New DoLoopBlockSyntax(SyntaxKind.DoUntilLoopBlock, doStatement, statements.Node, loopStatement, _factoryContext) 51848Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.DoLoopWhileBlock, doStatement, statements.Node, loopStatement, _factoryContext, hash) 51853Dim result = New DoLoopBlockSyntax(SyntaxKind.DoLoopWhileBlock, doStatement, statements.Node, loopStatement, _factoryContext) 51880Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.DoLoopUntilBlock, doStatement, statements.Node, loopStatement, _factoryContext, hash) 51885Dim result = New DoLoopBlockSyntax(SyntaxKind.DoLoopUntilBlock, doStatement, statements.Node, loopStatement, _factoryContext) 51899''' A <see cref="SyntaxKind"/> representing the specific kind of DoLoopBlockSyntax. 51912Friend Function DoLoopBlock(kind As SyntaxKind, doStatement As DoStatementSyntax, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 51943Debug.Assert(doKeyword IsNot Nothing AndAlso doKeyword.Kind = SyntaxKind.DoKeyword) 51946Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SimpleDoStatement, doKeyword, whileOrUntilClause, _factoryContext, hash) 51951Dim result = New DoStatementSyntax(SyntaxKind.SimpleDoStatement, doKeyword, whileOrUntilClause, _factoryContext) 51971Debug.Assert(doKeyword IsNot Nothing AndAlso doKeyword.Kind = SyntaxKind.DoKeyword) 51974Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.DoWhileStatement, doKeyword, whileOrUntilClause, _factoryContext, hash) 51979Dim result = New DoStatementSyntax(SyntaxKind.DoWhileStatement, doKeyword, whileOrUntilClause, _factoryContext) 51999Debug.Assert(doKeyword IsNot Nothing AndAlso doKeyword.Kind = SyntaxKind.DoKeyword) 52002Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.DoUntilStatement, doKeyword, whileOrUntilClause, _factoryContext, hash) 52007Dim result = New DoStatementSyntax(SyntaxKind.DoUntilStatement, doKeyword, whileOrUntilClause, _factoryContext) 52020''' A <see cref="SyntaxKind"/> representing the specific kind of DoStatementSyntax. 52030Friend Function DoStatement(kind As SyntaxKind, doKeyword As KeywordSyntax, whileOrUntilClause As WhileOrUntilClauseSyntax) As DoStatementSyntax 52032Debug.Assert(doKeyword IsNot Nothing AndAlso doKeyword.Kind = SyntaxKind.DoKeyword) 52060Debug.Assert(loopKeyword IsNot Nothing AndAlso loopKeyword.Kind = SyntaxKind.LoopKeyword) 52063Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SimpleLoopStatement, loopKeyword, whileOrUntilClause, _factoryContext, hash) 52068Dim result = New LoopStatementSyntax(SyntaxKind.SimpleLoopStatement, loopKeyword, whileOrUntilClause, _factoryContext) 52088Debug.Assert(loopKeyword IsNot Nothing AndAlso loopKeyword.Kind = SyntaxKind.LoopKeyword) 52091Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.LoopWhileStatement, loopKeyword, whileOrUntilClause, _factoryContext, hash) 52096Dim result = New LoopStatementSyntax(SyntaxKind.LoopWhileStatement, loopKeyword, whileOrUntilClause, _factoryContext) 52116Debug.Assert(loopKeyword IsNot Nothing AndAlso loopKeyword.Kind = SyntaxKind.LoopKeyword) 52119Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.LoopUntilStatement, loopKeyword, whileOrUntilClause, _factoryContext, hash) 52124Dim result = New LoopStatementSyntax(SyntaxKind.LoopUntilStatement, loopKeyword, whileOrUntilClause, _factoryContext) 52137''' A <see cref="SyntaxKind"/> representing the specific kind of 52148Friend Function LoopStatement(kind As SyntaxKind, loopKeyword As KeywordSyntax, whileOrUntilClause As WhileOrUntilClauseSyntax) As LoopStatementSyntax 52150Debug.Assert(loopKeyword IsNot Nothing AndAlso loopKeyword.Kind = SyntaxKind.LoopKeyword) 52179Debug.Assert(whileOrUntilKeyword IsNot Nothing AndAlso whileOrUntilKeyword.Kind = SyntaxKind.WhileKeyword) 52183Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.WhileClause, whileOrUntilKeyword, condition, _factoryContext, hash) 52188Dim result = New WhileOrUntilClauseSyntax(SyntaxKind.WhileClause, whileOrUntilKeyword, condition, _factoryContext) 52209Debug.Assert(whileOrUntilKeyword IsNot Nothing AndAlso whileOrUntilKeyword.Kind = SyntaxKind.UntilKeyword) 52213Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.UntilClause, whileOrUntilKeyword, condition, _factoryContext, hash) 52218Dim result = New WhileOrUntilClauseSyntax(SyntaxKind.UntilClause, whileOrUntilKeyword, condition, _factoryContext) 52233''' A <see cref="SyntaxKind"/> representing the specific kind of 52242Friend Function WhileOrUntilClause(kind As SyntaxKind, whileOrUntilKeyword As KeywordSyntax, condition As ExpressionSyntax) As WhileOrUntilClauseSyntax 52273Debug.Assert(whileKeyword IsNot Nothing AndAlso whileKeyword.Kind = SyntaxKind.WhileKeyword) 52277Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.WhileStatement, whileKeyword, condition, _factoryContext, hash) 52282Dim result = New WhileStatementSyntax(SyntaxKind.WhileStatement, whileKeyword, condition, _factoryContext) 52311Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ForBlock, forStatement, statements.Node, nextStatement, _factoryContext, hash) 52316Dim result = New ForBlockSyntax(SyntaxKind.ForBlock, forStatement, statements.Node, nextStatement, _factoryContext) 52345Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ForEachBlock, forEachStatement, statements.Node, nextStatement, _factoryContext, hash) 52350Dim result = New ForEachBlockSyntax(SyntaxKind.ForEachBlock, forEachStatement, statements.Node, nextStatement, _factoryContext) 52392Debug.Assert(forKeyword IsNot Nothing AndAlso forKeyword.Kind = SyntaxKind.ForKeyword) 52394Debug.Assert(equalsToken IsNot Nothing AndAlso equalsToken.Kind = SyntaxKind.EqualsToken) 52396Debug.Assert(toKeyword IsNot Nothing AndAlso toKeyword.Kind = SyntaxKind.ToKeyword) 52398Return New ForStatementSyntax(SyntaxKind.ForStatement, forKeyword, controlVariable, equalsToken, fromValue, toKeyword, toValue, stepClause, _factoryContext) 52412Debug.Assert(stepKeyword IsNot Nothing AndAlso stepKeyword.Kind = SyntaxKind.StepKeyword) 52416Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ForStepClause, stepKeyword, stepValue, _factoryContext, hash) 52421Dim result = New ForStepClauseSyntax(SyntaxKind.ForStepClause, stepKeyword, stepValue, _factoryContext) 52458Debug.Assert(forKeyword IsNot Nothing AndAlso forKeyword.Kind = SyntaxKind.ForKeyword) 52459Debug.Assert(eachKeyword IsNot Nothing AndAlso eachKeyword.Kind = SyntaxKind.EachKeyword) 52461Debug.Assert(inKeyword IsNot Nothing AndAlso inKeyword.Kind = SyntaxKind.InKeyword) 52463Return New ForEachStatementSyntax(SyntaxKind.ForEachStatement, forKeyword, eachKeyword, controlVariable, inKeyword, expression, _factoryContext) 52480Debug.Assert(nextKeyword IsNot Nothing AndAlso nextKeyword.Kind = SyntaxKind.NextKeyword) 52483Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.NextStatement, nextKeyword, controlVariables.Node, _factoryContext, hash) 52488Dim result = New NextStatementSyntax(SyntaxKind.NextStatement, nextKeyword, controlVariables.Node, _factoryContext) 52514Debug.Assert(usingKeyword IsNot Nothing AndAlso usingKeyword.Kind = SyntaxKind.UsingKeyword) 52517Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.UsingStatement, usingKeyword, expression, variables.Node, _factoryContext, hash) 52522Dim result = New UsingStatementSyntax(SyntaxKind.UsingStatement, usingKeyword, expression, variables.Node, _factoryContext) 52541Debug.Assert(throwKeyword IsNot Nothing AndAlso throwKeyword.Kind = SyntaxKind.ThrowKeyword) 52544Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ThrowStatement, throwKeyword, expression, _factoryContext, hash) 52549Dim result = New ThrowStatementSyntax(SyntaxKind.ThrowStatement, throwKeyword, expression, _factoryContext) 52574Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.EqualsToken) 52578Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SimpleAssignmentStatement, left, operatorToken, right, _factoryContext, hash) 52583Dim result = New AssignmentStatementSyntax(SyntaxKind.SimpleAssignmentStatement, left, operatorToken, right, _factoryContext) 52608Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.EqualsToken) 52612Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.MidAssignmentStatement, left, operatorToken, right, _factoryContext, hash) 52617Dim result = New AssignmentStatementSyntax(SyntaxKind.MidAssignmentStatement, left, operatorToken, right, _factoryContext) 52642Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.PlusEqualsToken) 52646Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.AddAssignmentStatement, left, operatorToken, right, _factoryContext, hash) 52651Dim result = New AssignmentStatementSyntax(SyntaxKind.AddAssignmentStatement, left, operatorToken, right, _factoryContext) 52676Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.MinusEqualsToken) 52680Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SubtractAssignmentStatement, left, operatorToken, right, _factoryContext, hash) 52685Dim result = New AssignmentStatementSyntax(SyntaxKind.SubtractAssignmentStatement, left, operatorToken, right, _factoryContext) 52710Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.AsteriskEqualsToken) 52714Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.MultiplyAssignmentStatement, left, operatorToken, right, _factoryContext, hash) 52719Dim result = New AssignmentStatementSyntax(SyntaxKind.MultiplyAssignmentStatement, left, operatorToken, right, _factoryContext) 52744Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.SlashEqualsToken) 52748Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.DivideAssignmentStatement, left, operatorToken, right, _factoryContext, hash) 52753Dim result = New AssignmentStatementSyntax(SyntaxKind.DivideAssignmentStatement, left, operatorToken, right, _factoryContext) 52778Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.BackslashEqualsToken) 52782Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.IntegerDivideAssignmentStatement, left, operatorToken, right, _factoryContext, hash) 52787Dim result = New AssignmentStatementSyntax(SyntaxKind.IntegerDivideAssignmentStatement, left, operatorToken, right, _factoryContext) 52812Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.CaretEqualsToken) 52816Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ExponentiateAssignmentStatement, left, operatorToken, right, _factoryContext, hash) 52821Dim result = New AssignmentStatementSyntax(SyntaxKind.ExponentiateAssignmentStatement, left, operatorToken, right, _factoryContext) 52846Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.LessThanLessThanEqualsToken) 52850Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.LeftShiftAssignmentStatement, left, operatorToken, right, _factoryContext, hash) 52855Dim result = New AssignmentStatementSyntax(SyntaxKind.LeftShiftAssignmentStatement, left, operatorToken, right, _factoryContext) 52880Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.GreaterThanGreaterThanEqualsToken) 52884Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.RightShiftAssignmentStatement, left, operatorToken, right, _factoryContext, hash) 52889Dim result = New AssignmentStatementSyntax(SyntaxKind.RightShiftAssignmentStatement, left, operatorToken, right, _factoryContext) 52914Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.AmpersandEqualsToken) 52918Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ConcatenateAssignmentStatement, left, operatorToken, right, _factoryContext, hash) 52923Dim result = New AssignmentStatementSyntax(SyntaxKind.ConcatenateAssignmentStatement, left, operatorToken, right, _factoryContext) 52937''' A <see cref="SyntaxKind"/> representing the specific kind of 52955Friend Function AssignmentStatement(kind As SyntaxKind, left As ExpressionSyntax, operatorToken As PunctuationSyntax, right As ExpressionSyntax) As AssignmentStatementSyntax 52986Debug.Assert(mid IsNot Nothing AndAlso mid.Kind = SyntaxKind.IdentifierToken) 52990Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.MidExpression, mid, argumentList, _factoryContext, hash) 52995Dim result = New MidExpressionSyntax(SyntaxKind.MidExpression, mid, argumentList, _factoryContext) 53015Debug.Assert(callKeyword IsNot Nothing AndAlso callKeyword.Kind = SyntaxKind.CallKeyword) 53019Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CallStatement, callKeyword, invocation, _factoryContext, hash) 53024Dim result = New CallStatementSyntax(SyntaxKind.CallStatement, callKeyword, invocation, _factoryContext) 53050Debug.Assert(addHandlerOrRemoveHandlerKeyword IsNot Nothing AndAlso addHandlerOrRemoveHandlerKeyword.Kind = SyntaxKind.AddHandlerKeyword) 53052Debug.Assert(commaToken IsNot Nothing AndAlso commaToken.Kind = SyntaxKind.CommaToken) 53054Return New AddRemoveHandlerStatementSyntax(SyntaxKind.AddHandlerStatement, addHandlerOrRemoveHandlerKeyword, eventExpression, commaToken, delegateExpression, _factoryContext) 53075Debug.Assert(addHandlerOrRemoveHandlerKeyword IsNot Nothing AndAlso addHandlerOrRemoveHandlerKeyword.Kind = SyntaxKind.RemoveHandlerKeyword) 53077Debug.Assert(commaToken IsNot Nothing AndAlso commaToken.Kind = SyntaxKind.CommaToken) 53079Return New AddRemoveHandlerStatementSyntax(SyntaxKind.RemoveHandlerStatement, addHandlerOrRemoveHandlerKeyword, eventExpression, commaToken, delegateExpression, _factoryContext) 53088''' A <see cref="SyntaxKind"/> representing the specific kind of 53104Friend Function AddRemoveHandlerStatement(kind As SyntaxKind, addHandlerOrRemoveHandlerKeyword As KeywordSyntax, eventExpression As ExpressionSyntax, commaToken As PunctuationSyntax, delegateExpression As ExpressionSyntax) As AddRemoveHandlerStatementSyntax 53108Debug.Assert(commaToken IsNot Nothing AndAlso commaToken.Kind = SyntaxKind.CommaToken) 53127Debug.Assert(raiseEventKeyword IsNot Nothing AndAlso raiseEventKeyword.Kind = SyntaxKind.RaiseEventKeyword) 53131Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.RaiseEventStatement, raiseEventKeyword, name, argumentList, _factoryContext, hash) 53136Dim result = New RaiseEventStatementSyntax(SyntaxKind.RaiseEventStatement, raiseEventKeyword, name, argumentList, _factoryContext) 53157Debug.Assert(withKeyword IsNot Nothing AndAlso withKeyword.Kind = SyntaxKind.WithKeyword) 53161Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.WithStatement, withKeyword, expression, _factoryContext, hash) 53166Dim result = New WithStatementSyntax(SyntaxKind.WithStatement, withKeyword, expression, _factoryContext) 53189Debug.Assert(reDimKeyword IsNot Nothing AndAlso reDimKeyword.Kind = SyntaxKind.ReDimKeyword) 53192Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ReDimStatement, reDimKeyword, preserveKeyword, clauses.Node, _factoryContext, hash) 53197Dim result = New ReDimStatementSyntax(SyntaxKind.ReDimStatement, reDimKeyword, preserveKeyword, clauses.Node, _factoryContext) 53220Debug.Assert(reDimKeyword IsNot Nothing AndAlso reDimKeyword.Kind = SyntaxKind.ReDimKeyword) 53223Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ReDimPreserveStatement, reDimKeyword, preserveKeyword, clauses.Node, _factoryContext, hash) 53228Dim result = New ReDimStatementSyntax(SyntaxKind.ReDimPreserveStatement, reDimKeyword, preserveKeyword, clauses.Node, _factoryContext) 53251Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.RedimClause, expression, arrayBounds, _factoryContext, hash) 53256Dim result = New RedimClauseSyntax(SyntaxKind.RedimClause, expression, arrayBounds, _factoryContext) 53275Debug.Assert(eraseKeyword IsNot Nothing AndAlso eraseKeyword.Kind = SyntaxKind.EraseKeyword) 53278Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EraseStatement, eraseKeyword, expressions.Node, _factoryContext, hash) 53283Dim result = New EraseStatementSyntax(SyntaxKind.EraseStatement, eraseKeyword, expressions.Node, _factoryContext) 53314Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CharacterLiteralExpression, token, _factoryContext, hash) 53319Dim result = New LiteralExpressionSyntax(SyntaxKind.CharacterLiteralExpression, token, _factoryContext) 53350Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.TrueLiteralExpression, token, _factoryContext, hash) 53355Dim result = New LiteralExpressionSyntax(SyntaxKind.TrueLiteralExpression, token, _factoryContext) 53386Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.FalseLiteralExpression, token, _factoryContext, hash) 53391Dim result = New LiteralExpressionSyntax(SyntaxKind.FalseLiteralExpression, token, _factoryContext) 53422Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.NumericLiteralExpression, token, _factoryContext, hash) 53427Dim result = New LiteralExpressionSyntax(SyntaxKind.NumericLiteralExpression, token, _factoryContext) 53458Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.DateLiteralExpression, token, _factoryContext, hash) 53463Dim result = New LiteralExpressionSyntax(SyntaxKind.DateLiteralExpression, token, _factoryContext) 53494Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.StringLiteralExpression, token, _factoryContext, hash) 53499Dim result = New LiteralExpressionSyntax(SyntaxKind.StringLiteralExpression, token, _factoryContext) 53530Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.NothingLiteralExpression, token, _factoryContext, hash) 53535Dim result = New LiteralExpressionSyntax(SyntaxKind.NothingLiteralExpression, token, _factoryContext) 53552''' A <see cref="SyntaxKind"/> representing the specific kind of 53568Friend Function LiteralExpression(kind As SyntaxKind, token As SyntaxToken) As LiteralExpressionSyntax 53600Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 53602Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 53605Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ParenthesizedExpression, openParenToken, expression, closeParenToken, _factoryContext, hash) 53610Dim result = New ParenthesizedExpressionSyntax(SyntaxKind.ParenthesizedExpression, openParenToken, expression, closeParenToken, _factoryContext) 53632Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 53633Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 53636Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.TupleExpression, openParenToken, arguments.Node, closeParenToken, _factoryContext, hash) 53641Dim result = New TupleExpressionSyntax(SyntaxKind.TupleExpression, openParenToken, arguments.Node, closeParenToken, _factoryContext) 53663Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 53664Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 53667Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.TupleType, openParenToken, elements.Node, closeParenToken, _factoryContext, hash) 53672Dim result = New TupleTypeSyntax(SyntaxKind.TupleType, openParenToken, elements.Node, closeParenToken, _factoryContext) 53691Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.TypedTupleElement, type, _factoryContext, hash) 53696Dim result = New TypedTupleElementSyntax(SyntaxKind.TypedTupleElement, type, _factoryContext) 53716Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 53719Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.NamedTupleElement, identifier, asClause, _factoryContext, hash) 53724Dim result = New NamedTupleElementSyntax(SyntaxKind.NamedTupleElement, identifier, asClause, _factoryContext) 53740Debug.Assert(keyword IsNot Nothing AndAlso keyword.Kind = SyntaxKind.MeKeyword) 53743Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.MeExpression, keyword, _factoryContext, hash) 53748Dim result = New MeExpressionSyntax(SyntaxKind.MeExpression, keyword, _factoryContext) 53764Debug.Assert(keyword IsNot Nothing AndAlso keyword.Kind = SyntaxKind.MyBaseKeyword) 53767Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.MyBaseExpression, keyword, _factoryContext, hash) 53772Dim result = New MyBaseExpressionSyntax(SyntaxKind.MyBaseExpression, keyword, _factoryContext) 53788Debug.Assert(keyword IsNot Nothing AndAlso keyword.Kind = SyntaxKind.MyClassKeyword) 53791Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.MyClassExpression, keyword, _factoryContext, hash) 53796Dim result = New MyClassExpressionSyntax(SyntaxKind.MyClassExpression, keyword, _factoryContext) 53821Debug.Assert(getTypeKeyword IsNot Nothing AndAlso getTypeKeyword.Kind = SyntaxKind.GetTypeKeyword) 53822Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 53824Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 53825Return New GetTypeExpressionSyntax(SyntaxKind.GetTypeExpression, getTypeKeyword, openParenToken, type, closeParenToken, _factoryContext) 53845Debug.Assert(typeOfKeyword IsNot Nothing AndAlso typeOfKeyword.Kind = SyntaxKind.TypeOfKeyword) 53847Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.IsKeyword) 53849Return New TypeOfExpressionSyntax(SyntaxKind.TypeOfIsExpression, typeOfKeyword, expression, operatorToken, type, _factoryContext) 53869Debug.Assert(typeOfKeyword IsNot Nothing AndAlso typeOfKeyword.Kind = SyntaxKind.TypeOfKeyword) 53871Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.IsNotKeyword) 53873Return New TypeOfExpressionSyntax(SyntaxKind.TypeOfIsNotExpression, typeOfKeyword, expression, operatorToken, type, _factoryContext) 53881''' A <see cref="SyntaxKind"/> representing the specific kind of 53896Friend Function TypeOfExpression(kind As SyntaxKind, typeOfKeyword As KeywordSyntax, expression As ExpressionSyntax, operatorToken As KeywordSyntax, type As TypeSyntax) As TypeOfExpressionSyntax 53898Debug.Assert(typeOfKeyword IsNot Nothing AndAlso typeOfKeyword.Kind = SyntaxKind.TypeOfKeyword) 53922Debug.Assert(getXmlNamespaceKeyword IsNot Nothing AndAlso getXmlNamespaceKeyword.Kind = SyntaxKind.GetXmlNamespaceKeyword) 53923Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 53924Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 53925Return New GetXmlNamespaceExpressionSyntax(SyntaxKind.GetXmlNamespaceExpression, getXmlNamespaceKeyword, openParenToken, name, closeParenToken, _factoryContext) 53943Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.DotToken) 53947Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SimpleMemberAccessExpression, expression, operatorToken, name, _factoryContext, hash) 53952Dim result = New MemberAccessExpressionSyntax(SyntaxKind.SimpleMemberAccessExpression, expression, operatorToken, name, _factoryContext) 53975Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.ExclamationToken) 53979Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.DictionaryAccessExpression, expression, operatorToken, name, _factoryContext, hash) 53984Dim result = New MemberAccessExpressionSyntax(SyntaxKind.DictionaryAccessExpression, expression, operatorToken, name, _factoryContext) 53998''' A <see cref="SyntaxKind"/> representing the specific kind of 54011Friend Function MemberAccessExpression(kind As SyntaxKind, expression As ExpressionSyntax, operatorToken As PunctuationSyntax, name As SimpleNameSyntax) As MemberAccessExpressionSyntax 54052Debug.Assert(token1 IsNot Nothing AndAlso token1.Kind = SyntaxKind.DotToken) 54054Return New XmlMemberAccessExpressionSyntax(SyntaxKind.XmlElementAccessExpression, base, token1, token2, token3, name, _factoryContext) 54079Debug.Assert(token1 IsNot Nothing AndAlso token1.Kind = SyntaxKind.DotToken) 54081Return New XmlMemberAccessExpressionSyntax(SyntaxKind.XmlDescendantAccessExpression, base, token1, token2, token3, name, _factoryContext) 54106Debug.Assert(token1 IsNot Nothing AndAlso token1.Kind = SyntaxKind.DotToken) 54108Return New XmlMemberAccessExpressionSyntax(SyntaxKind.XmlAttributeAccessExpression, base, token1, token2, token3, name, _factoryContext) 54118''' A <see cref="SyntaxKind"/> representing the specific kind of 54137Friend Function XmlMemberAccessExpression(kind As SyntaxKind, base As ExpressionSyntax, token1 As PunctuationSyntax, token2 As PunctuationSyntax, token3 As PunctuationSyntax, name As XmlNodeSyntax) As XmlMemberAccessExpressionSyntax 54139Debug.Assert(token1 IsNot Nothing AndAlso token1.Kind = SyntaxKind.DotToken) 54159Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.InvocationExpression, expression, argumentList, _factoryContext, hash) 54164Dim result = New InvocationExpressionSyntax(SyntaxKind.InvocationExpression, expression, argumentList, _factoryContext) 54195Debug.Assert(newKeyword IsNot Nothing AndAlso newKeyword.Kind = SyntaxKind.NewKeyword) 54197Return New ObjectCreationExpressionSyntax(SyntaxKind.ObjectCreationExpression, newKeyword, attributeLists.Node, type, argumentList, initializer, _factoryContext) 54215Debug.Assert(newKeyword IsNot Nothing AndAlso newKeyword.Kind = SyntaxKind.NewKeyword) 54219Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.AnonymousObjectCreationExpression, newKeyword, attributeLists.Node, initializer, _factoryContext, hash) 54224Dim result = New AnonymousObjectCreationExpressionSyntax(SyntaxKind.AnonymousObjectCreationExpression, newKeyword, attributeLists.Node, initializer, _factoryContext) 54257Debug.Assert(newKeyword IsNot Nothing AndAlso newKeyword.Kind = SyntaxKind.NewKeyword) 54260Return New ArrayCreationExpressionSyntax(SyntaxKind.ArrayCreationExpression, newKeyword, attributeLists.Node, type, arrayBounds, rankSpecifiers.Node, initializer, _factoryContext) 54278Debug.Assert(openBraceToken IsNot Nothing AndAlso openBraceToken.Kind = SyntaxKind.OpenBraceToken) 54279Debug.Assert(closeBraceToken IsNot Nothing AndAlso closeBraceToken.Kind = SyntaxKind.CloseBraceToken) 54282Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CollectionInitializer, openBraceToken, initializers.Node, closeBraceToken, _factoryContext, hash) 54287Dim result = New CollectionInitializerSyntax(SyntaxKind.CollectionInitializer, openBraceToken, initializers.Node, closeBraceToken, _factoryContext) 54315Debug.Assert(keyword IsNot Nothing AndAlso keyword.Kind = SyntaxKind.CTypeKeyword) 54316Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 54318Debug.Assert(commaToken IsNot Nothing AndAlso commaToken.Kind = SyntaxKind.CommaToken) 54320Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 54321Return New CTypeExpressionSyntax(SyntaxKind.CTypeExpression, keyword, openParenToken, expression, commaToken, type, closeParenToken, _factoryContext) 54344Debug.Assert(keyword IsNot Nothing AndAlso keyword.Kind = SyntaxKind.DirectCastKeyword) 54345Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 54347Debug.Assert(commaToken IsNot Nothing AndAlso commaToken.Kind = SyntaxKind.CommaToken) 54349Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 54350Return New DirectCastExpressionSyntax(SyntaxKind.DirectCastExpression, keyword, openParenToken, expression, commaToken, type, closeParenToken, _factoryContext) 54373Debug.Assert(keyword IsNot Nothing AndAlso keyword.Kind = SyntaxKind.TryCastKeyword) 54374Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 54376Debug.Assert(commaToken IsNot Nothing AndAlso commaToken.Kind = SyntaxKind.CommaToken) 54378Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 54379Return New TryCastExpressionSyntax(SyntaxKind.TryCastExpression, keyword, openParenToken, expression, commaToken, type, closeParenToken, _factoryContext) 54401Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 54403Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 54404Return New PredefinedCastExpressionSyntax(SyntaxKind.PredefinedCastExpression, keyword, openParenToken, expression, closeParenToken, _factoryContext) 54421Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.PlusToken) 54425Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.AddExpression, left, operatorToken, right, _factoryContext, hash) 54430Dim result = New BinaryExpressionSyntax(SyntaxKind.AddExpression, left, operatorToken, right, _factoryContext) 54452Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.MinusToken) 54456Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SubtractExpression, left, operatorToken, right, _factoryContext, hash) 54461Dim result = New BinaryExpressionSyntax(SyntaxKind.SubtractExpression, left, operatorToken, right, _factoryContext) 54483Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.AsteriskToken) 54487Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.MultiplyExpression, left, operatorToken, right, _factoryContext, hash) 54492Dim result = New BinaryExpressionSyntax(SyntaxKind.MultiplyExpression, left, operatorToken, right, _factoryContext) 54514Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.SlashToken) 54518Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.DivideExpression, left, operatorToken, right, _factoryContext, hash) 54523Dim result = New BinaryExpressionSyntax(SyntaxKind.DivideExpression, left, operatorToken, right, _factoryContext) 54545Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.BackslashToken) 54549Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.IntegerDivideExpression, left, operatorToken, right, _factoryContext, hash) 54554Dim result = New BinaryExpressionSyntax(SyntaxKind.IntegerDivideExpression, left, operatorToken, right, _factoryContext) 54576Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.CaretToken) 54580Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ExponentiateExpression, left, operatorToken, right, _factoryContext, hash) 54585Dim result = New BinaryExpressionSyntax(SyntaxKind.ExponentiateExpression, left, operatorToken, right, _factoryContext) 54607Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.LessThanLessThanToken) 54611Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.LeftShiftExpression, left, operatorToken, right, _factoryContext, hash) 54616Dim result = New BinaryExpressionSyntax(SyntaxKind.LeftShiftExpression, left, operatorToken, right, _factoryContext) 54638Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.GreaterThanGreaterThanToken) 54642Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.RightShiftExpression, left, operatorToken, right, _factoryContext, hash) 54647Dim result = New BinaryExpressionSyntax(SyntaxKind.RightShiftExpression, left, operatorToken, right, _factoryContext) 54669Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.AmpersandToken) 54673Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ConcatenateExpression, left, operatorToken, right, _factoryContext, hash) 54678Dim result = New BinaryExpressionSyntax(SyntaxKind.ConcatenateExpression, left, operatorToken, right, _factoryContext) 54700Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.ModKeyword) 54704Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ModuloExpression, left, operatorToken, right, _factoryContext, hash) 54709Dim result = New BinaryExpressionSyntax(SyntaxKind.ModuloExpression, left, operatorToken, right, _factoryContext) 54731Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.EqualsToken) 54735Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EqualsExpression, left, operatorToken, right, _factoryContext, hash) 54740Dim result = New BinaryExpressionSyntax(SyntaxKind.EqualsExpression, left, operatorToken, right, _factoryContext) 54762Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.LessThanGreaterThanToken) 54766Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.NotEqualsExpression, left, operatorToken, right, _factoryContext, hash) 54771Dim result = New BinaryExpressionSyntax(SyntaxKind.NotEqualsExpression, left, operatorToken, right, _factoryContext) 54793Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.LessThanToken) 54797Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.LessThanExpression, left, operatorToken, right, _factoryContext, hash) 54802Dim result = New BinaryExpressionSyntax(SyntaxKind.LessThanExpression, left, operatorToken, right, _factoryContext) 54824Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.LessThanEqualsToken) 54828Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.LessThanOrEqualExpression, left, operatorToken, right, _factoryContext, hash) 54833Dim result = New BinaryExpressionSyntax(SyntaxKind.LessThanOrEqualExpression, left, operatorToken, right, _factoryContext) 54855Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.GreaterThanEqualsToken) 54859Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.GreaterThanOrEqualExpression, left, operatorToken, right, _factoryContext, hash) 54864Dim result = New BinaryExpressionSyntax(SyntaxKind.GreaterThanOrEqualExpression, left, operatorToken, right, _factoryContext) 54886Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.GreaterThanToken) 54890Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.GreaterThanExpression, left, operatorToken, right, _factoryContext, hash) 54895Dim result = New BinaryExpressionSyntax(SyntaxKind.GreaterThanExpression, left, operatorToken, right, _factoryContext) 54917Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.IsKeyword) 54921Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.IsExpression, left, operatorToken, right, _factoryContext, hash) 54926Dim result = New BinaryExpressionSyntax(SyntaxKind.IsExpression, left, operatorToken, right, _factoryContext) 54948Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.IsNotKeyword) 54952Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.IsNotExpression, left, operatorToken, right, _factoryContext, hash) 54957Dim result = New BinaryExpressionSyntax(SyntaxKind.IsNotExpression, left, operatorToken, right, _factoryContext) 54979Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.LikeKeyword) 54983Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.LikeExpression, left, operatorToken, right, _factoryContext, hash) 54988Dim result = New BinaryExpressionSyntax(SyntaxKind.LikeExpression, left, operatorToken, right, _factoryContext) 55010Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.OrKeyword) 55014Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.OrExpression, left, operatorToken, right, _factoryContext, hash) 55019Dim result = New BinaryExpressionSyntax(SyntaxKind.OrExpression, left, operatorToken, right, _factoryContext) 55041Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.XorKeyword) 55045Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ExclusiveOrExpression, left, operatorToken, right, _factoryContext, hash) 55050Dim result = New BinaryExpressionSyntax(SyntaxKind.ExclusiveOrExpression, left, operatorToken, right, _factoryContext) 55072Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.AndKeyword) 55076Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.AndExpression, left, operatorToken, right, _factoryContext, hash) 55081Dim result = New BinaryExpressionSyntax(SyntaxKind.AndExpression, left, operatorToken, right, _factoryContext) 55103Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.OrElseKeyword) 55107Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.OrElseExpression, left, operatorToken, right, _factoryContext, hash) 55112Dim result = New BinaryExpressionSyntax(SyntaxKind.OrElseExpression, left, operatorToken, right, _factoryContext) 55134Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.AndAlsoKeyword) 55138Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.AndAlsoExpression, left, operatorToken, right, _factoryContext, hash) 55143Dim result = New BinaryExpressionSyntax(SyntaxKind.AndAlsoExpression, left, operatorToken, right, _factoryContext) 55158''' A <see cref="SyntaxKind"/> representing the specific kind of 55174Friend Function BinaryExpression(kind As SyntaxKind, left As ExpressionSyntax, operatorToken As SyntaxToken, right As ExpressionSyntax) As BinaryExpressionSyntax 55205Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.PlusToken) 55209Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.UnaryPlusExpression, operatorToken, operand, _factoryContext, hash) 55214Dim result = New UnaryExpressionSyntax(SyntaxKind.UnaryPlusExpression, operatorToken, operand, _factoryContext) 55233Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.MinusToken) 55237Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.UnaryMinusExpression, operatorToken, operand, _factoryContext, hash) 55242Dim result = New UnaryExpressionSyntax(SyntaxKind.UnaryMinusExpression, operatorToken, operand, _factoryContext) 55261Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.NotKeyword) 55265Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.NotExpression, operatorToken, operand, _factoryContext, hash) 55270Dim result = New UnaryExpressionSyntax(SyntaxKind.NotExpression, operatorToken, operand, _factoryContext) 55289Debug.Assert(operatorToken IsNot Nothing AndAlso operatorToken.Kind = SyntaxKind.AddressOfKeyword) 55293Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.AddressOfExpression, operatorToken, operand, _factoryContext, hash) 55298Dim result = New UnaryExpressionSyntax(SyntaxKind.AddressOfExpression, operatorToken, operand, _factoryContext) 55311''' A <see cref="SyntaxKind"/> representing the specific kind of 55321Friend Function UnaryExpression(kind As SyntaxKind, operatorToken As SyntaxToken, operand As ExpressionSyntax) As UnaryExpressionSyntax 55364Debug.Assert(ifKeyword IsNot Nothing AndAlso ifKeyword.Kind = SyntaxKind.IfKeyword) 55365Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 55367Debug.Assert(commaToken IsNot Nothing AndAlso commaToken.Kind = SyntaxKind.CommaToken) 55369Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 55370Return New BinaryConditionalExpressionSyntax(SyntaxKind.BinaryConditionalExpression, ifKeyword, openParenToken, firstExpression, commaToken, secondExpression, closeParenToken, _factoryContext) 55403Debug.Assert(ifKeyword IsNot Nothing AndAlso ifKeyword.Kind = SyntaxKind.IfKeyword) 55404Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 55406Debug.Assert(firstCommaToken IsNot Nothing AndAlso firstCommaToken.Kind = SyntaxKind.CommaToken) 55408Debug.Assert(secondCommaToken IsNot Nothing AndAlso secondCommaToken.Kind = SyntaxKind.CommaToken) 55410Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 55411Return New TernaryConditionalExpressionSyntax(SyntaxKind.TernaryConditionalExpression, ifKeyword, openParenToken, condition, firstCommaToken, whenTrue, secondCommaToken, whenFalse, closeParenToken, _factoryContext) 55431Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SingleLineFunctionLambdaExpression, subOrFunctionHeader, body, _factoryContext, hash) 55436Dim result = New SingleLineLambdaExpressionSyntax(SyntaxKind.SingleLineFunctionLambdaExpression, subOrFunctionHeader, body, _factoryContext) 55461Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SingleLineSubLambdaExpression, subOrFunctionHeader, body, _factoryContext, hash) 55466Dim result = New SingleLineLambdaExpressionSyntax(SyntaxKind.SingleLineSubLambdaExpression, subOrFunctionHeader, body, _factoryContext) 55479''' A <see cref="SyntaxKind"/> representing the specific kind of 55491Friend Function SingleLineLambdaExpression(kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, body As VisualBasicSyntaxNode) As SingleLineLambdaExpressionSyntax 55532Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.MultiLineFunctionLambdaExpression, subOrFunctionHeader, statements.Node, endSubOrFunctionStatement, _factoryContext, hash) 55537Dim result = New MultiLineLambdaExpressionSyntax(SyntaxKind.MultiLineFunctionLambdaExpression, subOrFunctionHeader, statements.Node, endSubOrFunctionStatement, _factoryContext) 55567Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.MultiLineSubLambdaExpression, subOrFunctionHeader, statements.Node, endSubOrFunctionStatement, _factoryContext, hash) 55572Dim result = New MultiLineLambdaExpressionSyntax(SyntaxKind.MultiLineSubLambdaExpression, subOrFunctionHeader, statements.Node, endSubOrFunctionStatement, _factoryContext) 55585''' A <see cref="SyntaxKind"/> representing the specific kind of 55602Friend Function MultiLineLambdaExpression(kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), endSubOrFunctionStatement As EndBlockStatementSyntax) As MultiLineLambdaExpressionSyntax 55647Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.SubKeyword) 55648Return New LambdaHeaderSyntax(SyntaxKind.SubLambdaHeader, attributeLists.Node, modifiers.Node, subOrFunctionKeyword, parameterList, asClause, _factoryContext) 55677Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.FunctionKeyword) 55678Return New LambdaHeaderSyntax(SyntaxKind.FunctionLambdaHeader, attributeLists.Node, modifiers.Node, subOrFunctionKeyword, parameterList, asClause, _factoryContext) 55686''' A <see cref="SyntaxKind"/> representing the specific kind of 55710Friend Function LambdaHeader(kind As SyntaxKind, attributeLists As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), modifiers As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), subOrFunctionKeyword As KeywordSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As LambdaHeaderSyntax 55731Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 55732Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 55735Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ArgumentList, openParenToken, arguments.Node, closeParenToken, _factoryContext, hash) 55740Dim result = New ArgumentListSyntax(SyntaxKind.ArgumentList, openParenToken, arguments.Node, closeParenToken, _factoryContext) 55757Debug.Assert(empty IsNot Nothing AndAlso empty.Kind = SyntaxKind.EmptyToken) 55760Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.OmittedArgument, empty, _factoryContext, hash) 55765Dim result = New OmittedArgumentSyntax(SyntaxKind.OmittedArgument, empty, _factoryContext) 55788Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SimpleArgument, nameColonEquals, expression, _factoryContext, hash) 55793Dim result = New SimpleArgumentSyntax(SyntaxKind.SimpleArgument, nameColonEquals, expression, _factoryContext) 55813Debug.Assert(colonEqualsToken IsNot Nothing AndAlso colonEqualsToken.Kind = SyntaxKind.ColonEqualsToken) 55816Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.NameColonEquals, name, colonEqualsToken, _factoryContext, hash) 55821Dim result = New NameColonEqualsSyntax(SyntaxKind.NameColonEquals, name, colonEqualsToken, _factoryContext) 55845Debug.Assert(toKeyword IsNot Nothing AndAlso toKeyword.Kind = SyntaxKind.ToKeyword) 55849Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.RangeArgument, lowerBound, toKeyword, upperBound, _factoryContext, hash) 55854Dim result = New RangeArgumentSyntax(SyntaxKind.RangeArgument, lowerBound, toKeyword, upperBound, _factoryContext) 55875Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.QueryExpression, clauses.Node, _factoryContext, hash) 55880Dim result = New QueryExpressionSyntax(SyntaxKind.QueryExpression, clauses.Node, _factoryContext) 55907Debug.Assert(inKeyword IsNot Nothing AndAlso inKeyword.Kind = SyntaxKind.InKeyword) 55909Return New CollectionRangeVariableSyntax(SyntaxKind.CollectionRangeVariable, identifier, asClause, inKeyword, expression, _factoryContext) 55928Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ExpressionRangeVariable, nameEquals, expression, _factoryContext, hash) 55933Dim result = New ExpressionRangeVariableSyntax(SyntaxKind.ExpressionRangeVariable, nameEquals, expression, _factoryContext) 55960Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.AggregationRangeVariable, nameEquals, aggregation, _factoryContext, hash) 55965Dim result = New AggregationRangeVariableSyntax(SyntaxKind.AggregationRangeVariable, nameEquals, aggregation, _factoryContext) 55988Debug.Assert(equalsToken IsNot Nothing AndAlso equalsToken.Kind = SyntaxKind.EqualsToken) 55991Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.VariableNameEquals, identifier, asClause, equalsToken, _factoryContext, hash) 55996Dim result = New VariableNameEqualsSyntax(SyntaxKind.VariableNameEquals, identifier, asClause, equalsToken, _factoryContext) 56022Debug.Assert(functionName IsNot Nothing AndAlso functionName.Kind = SyntaxKind.IdentifierToken) 56023Return New FunctionAggregationSyntax(SyntaxKind.FunctionAggregation, functionName, openParenToken, argument, closeParenToken, _factoryContext) 56036Debug.Assert(groupKeyword IsNot Nothing AndAlso groupKeyword.Kind = SyntaxKind.GroupKeyword) 56039Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.GroupAggregation, groupKeyword, _factoryContext, hash) 56044Dim result = New GroupAggregationSyntax(SyntaxKind.GroupAggregation, groupKeyword, _factoryContext) 56065Debug.Assert(fromKeyword IsNot Nothing AndAlso fromKeyword.Kind = SyntaxKind.FromKeyword) 56068Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.FromClause, fromKeyword, variables.Node, _factoryContext, hash) 56073Dim result = New FromClauseSyntax(SyntaxKind.FromClause, fromKeyword, variables.Node, _factoryContext) 56092Debug.Assert(letKeyword IsNot Nothing AndAlso letKeyword.Kind = SyntaxKind.LetKeyword) 56095Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.LetClause, letKeyword, variables.Node, _factoryContext, hash) 56100Dim result = New LetClauseSyntax(SyntaxKind.LetClause, letKeyword, variables.Node, _factoryContext) 56128Debug.Assert(aggregateKeyword IsNot Nothing AndAlso aggregateKeyword.Kind = SyntaxKind.AggregateKeyword) 56129Debug.Assert(intoKeyword IsNot Nothing AndAlso intoKeyword.Kind = SyntaxKind.IntoKeyword) 56130Return New AggregateClauseSyntax(SyntaxKind.AggregateClause, aggregateKeyword, variables.Node, additionalQueryOperators.Node, intoKeyword, aggregationVariables.Node, _factoryContext) 56141Debug.Assert(distinctKeyword IsNot Nothing AndAlso distinctKeyword.Kind = SyntaxKind.DistinctKeyword) 56144Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.DistinctClause, distinctKeyword, _factoryContext, hash) 56149Dim result = New DistinctClauseSyntax(SyntaxKind.DistinctClause, distinctKeyword, _factoryContext) 56168Debug.Assert(whereKeyword IsNot Nothing AndAlso whereKeyword.Kind = SyntaxKind.WhereKeyword) 56172Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.WhereClause, whereKeyword, condition, _factoryContext, hash) 56177Dim result = New WhereClauseSyntax(SyntaxKind.WhereClause, whereKeyword, condition, _factoryContext) 56200Debug.Assert(skipOrTakeKeyword IsNot Nothing AndAlso skipOrTakeKeyword.Kind = SyntaxKind.SkipKeyword) 56201Debug.Assert(whileKeyword IsNot Nothing AndAlso whileKeyword.Kind = SyntaxKind.WhileKeyword) 56205Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SkipWhileClause, skipOrTakeKeyword, whileKeyword, condition, _factoryContext, hash) 56210Dim result = New PartitionWhileClauseSyntax(SyntaxKind.SkipWhileClause, skipOrTakeKeyword, whileKeyword, condition, _factoryContext) 56233Debug.Assert(skipOrTakeKeyword IsNot Nothing AndAlso skipOrTakeKeyword.Kind = SyntaxKind.TakeKeyword) 56234Debug.Assert(whileKeyword IsNot Nothing AndAlso whileKeyword.Kind = SyntaxKind.WhileKeyword) 56238Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.TakeWhileClause, skipOrTakeKeyword, whileKeyword, condition, _factoryContext, hash) 56243Dim result = New PartitionWhileClauseSyntax(SyntaxKind.TakeWhileClause, skipOrTakeKeyword, whileKeyword, condition, _factoryContext) 56257''' A <see cref="SyntaxKind"/> representing the specific kind of 56269Friend Function PartitionWhileClause(kind As SyntaxKind, skipOrTakeKeyword As KeywordSyntax, whileKeyword As KeywordSyntax, condition As ExpressionSyntax) As PartitionWhileClauseSyntax 56272Debug.Assert(whileKeyword IsNot Nothing AndAlso whileKeyword.Kind = SyntaxKind.WhileKeyword) 56300Debug.Assert(skipOrTakeKeyword IsNot Nothing AndAlso skipOrTakeKeyword.Kind = SyntaxKind.SkipKeyword) 56304Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SkipClause, skipOrTakeKeyword, count, _factoryContext, hash) 56309Dim result = New PartitionClauseSyntax(SyntaxKind.SkipClause, skipOrTakeKeyword, count, _factoryContext) 56328Debug.Assert(skipOrTakeKeyword IsNot Nothing AndAlso skipOrTakeKeyword.Kind = SyntaxKind.TakeKeyword) 56332Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.TakeClause, skipOrTakeKeyword, count, _factoryContext, hash) 56337Dim result = New PartitionClauseSyntax(SyntaxKind.TakeClause, skipOrTakeKeyword, count, _factoryContext) 56350''' A <see cref="SyntaxKind"/> representing the specific kind of 56359Friend Function PartitionClause(kind As SyntaxKind, skipOrTakeKeyword As KeywordSyntax, count As ExpressionSyntax) As PartitionClauseSyntax 56399Debug.Assert(groupKeyword IsNot Nothing AndAlso groupKeyword.Kind = SyntaxKind.GroupKeyword) 56400Debug.Assert(byKeyword IsNot Nothing AndAlso byKeyword.Kind = SyntaxKind.ByKeyword) 56401Debug.Assert(intoKeyword IsNot Nothing AndAlso intoKeyword.Kind = SyntaxKind.IntoKeyword) 56402Return New GroupByClauseSyntax(SyntaxKind.GroupByClause, groupKeyword, items.Node, byKeyword, keys.Node, intoKeyword, aggregationVariables.Node, _factoryContext) 56420Debug.Assert(equalsKeyword IsNot Nothing AndAlso equalsKeyword.Kind = SyntaxKind.EqualsKeyword) 56424Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.JoinCondition, left, equalsKeyword, right, _factoryContext, hash) 56429Dim result = New JoinConditionSyntax(SyntaxKind.JoinCondition, left, equalsKeyword, right, _factoryContext) 56458Debug.Assert(joinKeyword IsNot Nothing AndAlso joinKeyword.Kind = SyntaxKind.JoinKeyword) 56459Debug.Assert(onKeyword IsNot Nothing AndAlso onKeyword.Kind = SyntaxKind.OnKeyword) 56460Return New SimpleJoinClauseSyntax(SyntaxKind.SimpleJoinClause, joinKeyword, joinedVariables.Node, additionalJoins.Node, onKeyword, joinConditions.Node, _factoryContext) 56493Debug.Assert(groupKeyword IsNot Nothing AndAlso groupKeyword.Kind = SyntaxKind.GroupKeyword) 56494Debug.Assert(joinKeyword IsNot Nothing AndAlso joinKeyword.Kind = SyntaxKind.JoinKeyword) 56495Debug.Assert(onKeyword IsNot Nothing AndAlso onKeyword.Kind = SyntaxKind.OnKeyword) 56496Debug.Assert(intoKeyword IsNot Nothing AndAlso intoKeyword.Kind = SyntaxKind.IntoKeyword) 56497Return New GroupJoinClauseSyntax(SyntaxKind.GroupJoinClause, groupKeyword, joinKeyword, joinedVariables.Node, additionalJoins.Node, onKeyword, joinConditions.Node, intoKeyword, aggregationVariables.Node, _factoryContext) 56514Debug.Assert(orderKeyword IsNot Nothing AndAlso orderKeyword.Kind = SyntaxKind.OrderKeyword) 56515Debug.Assert(byKeyword IsNot Nothing AndAlso byKeyword.Kind = SyntaxKind.ByKeyword) 56518Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.OrderByClause, orderKeyword, byKeyword, orderings.Node, _factoryContext, hash) 56523Dim result = New OrderByClauseSyntax(SyntaxKind.OrderByClause, orderKeyword, byKeyword, orderings.Node, _factoryContext) 56547Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.AscendingOrdering, expression, ascendingOrDescendingKeyword, _factoryContext, hash) 56552Dim result = New OrderingSyntax(SyntaxKind.AscendingOrdering, expression, ascendingOrDescendingKeyword, _factoryContext) 56576Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.DescendingOrdering, expression, ascendingOrDescendingKeyword, _factoryContext, hash) 56581Dim result = New OrderingSyntax(SyntaxKind.DescendingOrdering, expression, ascendingOrDescendingKeyword, _factoryContext) 56595''' A <see cref="SyntaxKind"/> representing the specific kind of OrderingSyntax. 56605Friend Function Ordering(kind As SyntaxKind, expression As ExpressionSyntax, ascendingOrDescendingKeyword As KeywordSyntax) As OrderingSyntax 56635Debug.Assert(selectKeyword IsNot Nothing AndAlso selectKeyword.Kind = SyntaxKind.SelectKeyword) 56638Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SelectClause, selectKeyword, variables.Node, _factoryContext, hash) 56643Dim result = New SelectClauseSyntax(SyntaxKind.SelectClause, selectKeyword, variables.Node, _factoryContext) 56658Return New XmlDocumentSyntax(SyntaxKind.XmlDocument, declaration, precedingMisc.Node, root, followingMisc.Node, _factoryContext) 56666Debug.Assert(lessThanQuestionToken IsNot Nothing AndAlso lessThanQuestionToken.Kind = SyntaxKind.LessThanQuestionToken) 56667Debug.Assert(xmlKeyword IsNot Nothing AndAlso xmlKeyword.Kind = SyntaxKind.XmlKeyword) 56669Debug.Assert(questionGreaterThanToken IsNot Nothing AndAlso questionGreaterThanToken.Kind = SyntaxKind.QuestionGreaterThanToken) 56670Return New XmlDeclarationSyntax(SyntaxKind.XmlDeclaration, lessThanQuestionToken, xmlKeyword, version, encoding, standalone, questionGreaterThanToken, _factoryContext) 56679Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.XmlNameToken) 56680Debug.Assert(equals IsNot Nothing AndAlso equals.Kind = SyntaxKind.EqualsToken) 56684Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.XmlDeclarationOption, name, equals, value, _factoryContext, hash) 56689Dim result = New XmlDeclarationOptionSyntax(SyntaxKind.XmlDeclarationOption, name, equals, value, _factoryContext) 56706Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.XmlElement, startTag, content.Node, endTag, _factoryContext, hash) 56711Dim result = New XmlElementSyntax(SyntaxKind.XmlElement, startTag, content.Node, endTag, _factoryContext) 56730Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.XmlText, textTokens.Node, _factoryContext, hash) 56735Dim result = New XmlTextSyntax(SyntaxKind.XmlText, textTokens.Node, _factoryContext) 56748Debug.Assert(lessThanToken IsNot Nothing AndAlso lessThanToken.Kind = SyntaxKind.LessThanToken) 56750Debug.Assert(greaterThanToken IsNot Nothing AndAlso greaterThanToken.Kind = SyntaxKind.GreaterThanToken) 56751Return New XmlElementStartTagSyntax(SyntaxKind.XmlElementStartTag, lessThanToken, name, attributes.Node, greaterThanToken, _factoryContext) 56759Debug.Assert(lessThanSlashToken IsNot Nothing AndAlso lessThanSlashToken.Kind = SyntaxKind.LessThanSlashToken) 56760Debug.Assert(greaterThanToken IsNot Nothing AndAlso greaterThanToken.Kind = SyntaxKind.GreaterThanToken) 56763Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.XmlElementEndTag, lessThanSlashToken, name, greaterThanToken, _factoryContext, hash) 56768Dim result = New XmlElementEndTagSyntax(SyntaxKind.XmlElementEndTag, lessThanSlashToken, name, greaterThanToken, _factoryContext) 56781Debug.Assert(lessThanToken IsNot Nothing AndAlso lessThanToken.Kind = SyntaxKind.LessThanToken) 56783Debug.Assert(slashGreaterThanToken IsNot Nothing AndAlso slashGreaterThanToken.Kind = SyntaxKind.SlashGreaterThanToken) 56784Return New XmlEmptyElementSyntax(SyntaxKind.XmlEmptyElement, lessThanToken, name, attributes.Node, slashGreaterThanToken, _factoryContext) 56793Debug.Assert(equalsToken IsNot Nothing AndAlso equalsToken.Kind = SyntaxKind.EqualsToken) 56797Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.XmlAttribute, name, equalsToken, value, _factoryContext, hash) 56802Dim result = New XmlAttributeSyntax(SyntaxKind.XmlAttribute, name, equalsToken, value, _factoryContext) 56820Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.XmlString, startQuoteToken, textTokens.Node, endQuoteToken, _factoryContext, hash) 56825Dim result = New XmlStringSyntax(SyntaxKind.XmlString, startQuoteToken, textTokens.Node, endQuoteToken, _factoryContext) 56838Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.XmlNameToken) 56841Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.XmlPrefixName, name, _factoryContext, hash) 56846Dim result = New XmlPrefixNameSyntax(SyntaxKind.XmlPrefixName, name, _factoryContext) 56861Debug.Assert(localName IsNot Nothing AndAlso localName.Kind = SyntaxKind.XmlNameToken) 56864Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.XmlName, prefix, localName, _factoryContext, hash) 56869Dim result = New XmlNameSyntax(SyntaxKind.XmlName, prefix, localName, _factoryContext) 56884Debug.Assert(lessThanToken IsNot Nothing AndAlso lessThanToken.Kind = SyntaxKind.LessThanToken) 56886Debug.Assert(greaterThanToken IsNot Nothing AndAlso greaterThanToken.Kind = SyntaxKind.GreaterThanToken) 56889Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.XmlBracketedName, lessThanToken, name, greaterThanToken, _factoryContext, hash) 56894Dim result = New XmlBracketedNameSyntax(SyntaxKind.XmlBracketedName, lessThanToken, name, greaterThanToken, _factoryContext) 56907Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.XmlNameToken) 56908Debug.Assert(colonToken IsNot Nothing AndAlso colonToken.Kind = SyntaxKind.ColonToken) 56911Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.XmlPrefix, name, colonToken, _factoryContext, hash) 56916Dim result = New XmlPrefixSyntax(SyntaxKind.XmlPrefix, name, colonToken, _factoryContext) 56930Debug.Assert(lessThanExclamationMinusMinusToken IsNot Nothing AndAlso lessThanExclamationMinusMinusToken.Kind = SyntaxKind.LessThanExclamationMinusMinusToken) 56931Debug.Assert(minusMinusGreaterThanToken IsNot Nothing AndAlso minusMinusGreaterThanToken.Kind = SyntaxKind.MinusMinusGreaterThanToken) 56934Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.XmlComment, lessThanExclamationMinusMinusToken, textTokens.Node, minusMinusGreaterThanToken, _factoryContext, hash) 56939Dim result = New XmlCommentSyntax(SyntaxKind.XmlComment, lessThanExclamationMinusMinusToken, textTokens.Node, minusMinusGreaterThanToken, _factoryContext) 56953Debug.Assert(lessThanQuestionToken IsNot Nothing AndAlso lessThanQuestionToken.Kind = SyntaxKind.LessThanQuestionToken) 56954Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.XmlNameToken) 56955Debug.Assert(questionGreaterThanToken IsNot Nothing AndAlso questionGreaterThanToken.Kind = SyntaxKind.QuestionGreaterThanToken) 56956Return New XmlProcessingInstructionSyntax(SyntaxKind.XmlProcessingInstruction, lessThanQuestionToken, name, textTokens.Node, questionGreaterThanToken, _factoryContext) 56964Debug.Assert(beginCDataToken IsNot Nothing AndAlso beginCDataToken.Kind = SyntaxKind.BeginCDataToken) 56965Debug.Assert(endCDataToken IsNot Nothing AndAlso endCDataToken.Kind = SyntaxKind.EndCDataToken) 56968Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.XmlCDataSection, beginCDataToken, textTokens.Node, endCDataToken, _factoryContext, hash) 56973Dim result = New XmlCDataSectionSyntax(SyntaxKind.XmlCDataSection, beginCDataToken, textTokens.Node, endCDataToken, _factoryContext) 56987Debug.Assert(lessThanPercentEqualsToken IsNot Nothing AndAlso lessThanPercentEqualsToken.Kind = SyntaxKind.LessThanPercentEqualsToken) 56989Debug.Assert(percentGreaterThanToken IsNot Nothing AndAlso percentGreaterThanToken.Kind = SyntaxKind.PercentGreaterThanToken) 56992Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.XmlEmbeddedExpression, lessThanPercentEqualsToken, expression, percentGreaterThanToken, _factoryContext, hash) 56997Dim result = New XmlEmbeddedExpressionSyntax(SyntaxKind.XmlEmbeddedExpression, lessThanPercentEqualsToken, expression, percentGreaterThanToken, _factoryContext) 57020Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ArrayType, elementType, rankSpecifiers.Node, _factoryContext, hash) 57025Dim result = New ArrayTypeSyntax(SyntaxKind.ArrayType, elementType, rankSpecifiers.Node, _factoryContext) 57046Debug.Assert(questionMarkToken IsNot Nothing AndAlso questionMarkToken.Kind = SyntaxKind.QuestionToken) 57049Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.NullableType, elementType, questionMarkToken, _factoryContext, hash) 57054Dim result = New NullableTypeSyntax(SyntaxKind.NullableType, elementType, questionMarkToken, _factoryContext) 57074Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.PredefinedType, keyword, _factoryContext, hash) 57079Dim result = New PredefinedTypeSyntax(SyntaxKind.PredefinedType, keyword, _factoryContext) 57096Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 57099Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.IdentifierName, identifier, _factoryContext, hash) 57104Dim result = New IdentifierNameSyntax(SyntaxKind.IdentifierName, identifier, _factoryContext) 57124Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.IdentifierToken) 57128Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.GenericName, identifier, typeArgumentList, _factoryContext, hash) 57133Dim result = New GenericNameSyntax(SyntaxKind.GenericName, identifier, typeArgumentList, _factoryContext) 57158Debug.Assert(dotToken IsNot Nothing AndAlso dotToken.Kind = SyntaxKind.DotToken) 57162Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.QualifiedName, left, dotToken, right, _factoryContext, hash) 57167Dim result = New QualifiedNameSyntax(SyntaxKind.QualifiedName, left, dotToken, right, _factoryContext) 57183Debug.Assert(globalKeyword IsNot Nothing AndAlso globalKeyword.Kind = SyntaxKind.GlobalKeyword) 57186Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.GlobalName, globalKeyword, _factoryContext, hash) 57191Dim result = New GlobalNameSyntax(SyntaxKind.GlobalName, globalKeyword, _factoryContext) 57216Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 57217Debug.Assert(ofKeyword IsNot Nothing AndAlso ofKeyword.Kind = SyntaxKind.OfKeyword) 57218Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 57219Return New TypeArgumentListSyntax(SyntaxKind.TypeArgumentList, openParenToken, ofKeyword, arguments.Node, closeParenToken, _factoryContext) 57231Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CrefReference, name, signature, asClause, _factoryContext, hash) 57236Dim result = New CrefReferenceSyntax(SyntaxKind.CrefReference, name, signature, asClause, _factoryContext) 57250Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 57251Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 57254Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CrefSignature, openParenToken, argumentTypes.Node, closeParenToken, _factoryContext, hash) 57259Dim result = New CrefSignatureSyntax(SyntaxKind.CrefSignature, openParenToken, argumentTypes.Node, closeParenToken, _factoryContext) 57271Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CrefSignaturePart, modifier, type, _factoryContext, hash) 57276Dim result = New CrefSignaturePartSyntax(SyntaxKind.CrefSignaturePart, modifier, type, _factoryContext) 57286Debug.Assert(operatorKeyword IsNot Nothing AndAlso operatorKeyword.Kind = SyntaxKind.OperatorKeyword) 57290Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CrefOperatorReference, operatorKeyword, operatorToken, _factoryContext, hash) 57295Dim result = New CrefOperatorReferenceSyntax(SyntaxKind.CrefOperatorReference, operatorKeyword, operatorToken, _factoryContext) 57306Debug.Assert(dotToken IsNot Nothing AndAlso dotToken.Kind = SyntaxKind.DotToken) 57310Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.QualifiedCrefOperatorReference, left, dotToken, right, _factoryContext, hash) 57315Dim result = New QualifiedCrefOperatorReferenceSyntax(SyntaxKind.QualifiedCrefOperatorReference, left, dotToken, right, _factoryContext) 57334Debug.Assert(yieldKeyword IsNot Nothing AndAlso yieldKeyword.Kind = SyntaxKind.YieldKeyword) 57338Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.YieldStatement, yieldKeyword, expression, _factoryContext, hash) 57343Dim result = New YieldStatementSyntax(SyntaxKind.YieldStatement, yieldKeyword, expression, _factoryContext) 57362Debug.Assert(awaitKeyword IsNot Nothing AndAlso awaitKeyword.Kind = SyntaxKind.AwaitKeyword) 57366Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.AwaitExpression, awaitKeyword, expression, _factoryContext, hash) 57371Dim result = New AwaitExpressionSyntax(SyntaxKind.AwaitExpression, awaitKeyword, expression, _factoryContext) 57386Friend Function XmlNameToken(text as String, possibleKeywordKind As SyntaxKind, leadingTrivia As GreenNode, trailingTrivia As GreenNode) As XmlNameTokenSyntax 57388Return New XmlNameTokenSyntax(SyntaxKind.XmlNameToken, text, leadingTrivia, trailingTrivia, possibleKeywordKind, _factoryContext) 57402Return New XmlTextTokenSyntax(SyntaxKind.XmlTextLiteralToken, text, leadingTrivia, trailingTrivia, value, _factoryContext) 57416Return New XmlTextTokenSyntax(SyntaxKind.XmlEntityLiteralToken, text, leadingTrivia, trailingTrivia, value, _factoryContext) 57430Return New XmlTextTokenSyntax(SyntaxKind.DocumentationCommentLineBreakToken, text, leadingTrivia, trailingTrivia, value, _factoryContext) 57440''' A <see cref="SyntaxKind"/> representing the specific kind of 57447Friend Function XmlTextToken(kind As SyntaxKind, text as String, value As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode) As XmlTextTokenSyntax 57462Return New InterpolatedStringTextTokenSyntax(SyntaxKind.InterpolatedStringTextToken, text, leadingTrivia, trailingTrivia, value, _factoryContext) 57474Return New DecimalLiteralTokenSyntax(SyntaxKind.DecimalLiteralToken, text, leadingTrivia, trailingTrivia, typeSuffix, value, _factoryContext) 57486Return New DateLiteralTokenSyntax(SyntaxKind.DateLiteralToken, text, leadingTrivia, trailingTrivia, value, _factoryContext) 57498Return New StringLiteralTokenSyntax(SyntaxKind.StringLiteralToken, text, leadingTrivia, trailingTrivia, value, _factoryContext) 57510Return New CharacterLiteralTokenSyntax(SyntaxKind.CharacterLiteralToken, text, leadingTrivia, trailingTrivia, value, _factoryContext) 57522Return New SkippedTokensTriviaSyntax(SyntaxKind.SkippedTokensTrivia, tokens.Node, _factoryContext) 57531Return New DocumentationCommentTriviaSyntax(SyntaxKind.DocumentationCommentTrivia, content.Node, _factoryContext) 57542Debug.Assert(equalsToken IsNot Nothing AndAlso equalsToken.Kind = SyntaxKind.EqualsToken) 57546Return New XmlCrefAttributeSyntax(SyntaxKind.XmlCrefAttribute, name, equalsToken, startQuoteToken, reference, endQuoteToken, _factoryContext) 57557Debug.Assert(equalsToken IsNot Nothing AndAlso equalsToken.Kind = SyntaxKind.EqualsToken) 57561Return New XmlNameAttributeSyntax(SyntaxKind.XmlNameAttribute, name, equalsToken, startQuoteToken, reference, endQuoteToken, _factoryContext) 57579Debug.Assert(questionMarkToken IsNot Nothing AndAlso questionMarkToken.Kind = SyntaxKind.QuestionToken) 57583Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ConditionalAccessExpression, expression, questionMarkToken, whenNotNull, _factoryContext, hash) 57588Dim result = New ConditionalAccessExpressionSyntax(SyntaxKind.ConditionalAccessExpression, expression, questionMarkToken, whenNotNull, _factoryContext) 57613Debug.Assert(nameOfKeyword IsNot Nothing AndAlso nameOfKeyword.Kind = SyntaxKind.NameOfKeyword) 57614Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 57616Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 57617Return New NameOfExpressionSyntax(SyntaxKind.NameOfExpression, nameOfKeyword, openParenToken, argument, closeParenToken, _factoryContext) 57634Debug.Assert(dollarSignDoubleQuoteToken IsNot Nothing AndAlso dollarSignDoubleQuoteToken.Kind = SyntaxKind.DollarSignDoubleQuoteToken) 57635Debug.Assert(doubleQuoteToken IsNot Nothing AndAlso doubleQuoteToken.Kind = SyntaxKind.DoubleQuoteToken) 57638Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.InterpolatedStringExpression, dollarSignDoubleQuoteToken, contents.Node, doubleQuoteToken, _factoryContext, hash) 57643Dim result = New InterpolatedStringExpressionSyntax(SyntaxKind.InterpolatedStringExpression, dollarSignDoubleQuoteToken, contents.Node, doubleQuoteToken, _factoryContext) 57659Debug.Assert(textToken IsNot Nothing AndAlso textToken.Kind = SyntaxKind.InterpolatedStringTextToken) 57662Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.InterpolatedStringText, textToken, _factoryContext, hash) 57667Dim result = New InterpolatedStringTextSyntax(SyntaxKind.InterpolatedStringText, textToken, _factoryContext) 57697Debug.Assert(openBraceToken IsNot Nothing AndAlso openBraceToken.Kind = SyntaxKind.OpenBraceToken) 57699Debug.Assert(closeBraceToken IsNot Nothing AndAlso closeBraceToken.Kind = SyntaxKind.CloseBraceToken) 57700Return New InterpolationSyntax(SyntaxKind.Interpolation, openBraceToken, expression, alignmentClause, formatClause, closeBraceToken, _factoryContext) 57715Debug.Assert(commaToken IsNot Nothing AndAlso commaToken.Kind = SyntaxKind.CommaToken) 57719Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.InterpolationAlignmentClause, commaToken, value, _factoryContext, hash) 57724Dim result = New InterpolationAlignmentClauseSyntax(SyntaxKind.InterpolationAlignmentClause, commaToken, value, _factoryContext) 57744Debug.Assert(colonToken IsNot Nothing AndAlso colonToken.Kind = SyntaxKind.ColonToken) 57745Debug.Assert(formatStringToken IsNot Nothing AndAlso formatStringToken.Kind = SyntaxKind.InterpolatedStringTextToken) 57748Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.InterpolationFormatClause, colonToken, formatStringToken, _factoryContext, hash) 57753Dim result = New InterpolationFormatClauseSyntax(SyntaxKind.InterpolationFormatClause, colonToken, formatStringToken, _factoryContext) 57772Return New SyntaxTrivia(SyntaxKind.WhitespaceTrivia, text, _factoryContext) 57786Return New SyntaxTrivia(SyntaxKind.EndOfLineTrivia, text, _factoryContext) 57800Return New SyntaxTrivia(SyntaxKind.ColonTrivia, text, _factoryContext) 57814Return New SyntaxTrivia(SyntaxKind.CommentTrivia, text, _factoryContext) 57828Return New SyntaxTrivia(SyntaxKind.ConflictMarkerTrivia, text, _factoryContext) 57842Return New SyntaxTrivia(SyntaxKind.LineContinuationTrivia, text, _factoryContext) 57856Return New SyntaxTrivia(SyntaxKind.DocumentationCommentExteriorTrivia, text, _factoryContext) 57870Return New SyntaxTrivia(SyntaxKind.DisabledTextTrivia, text, _factoryContext) 57880''' A <see cref="SyntaxKind"/> representing the specific kind of SyntaxTrivia. One 57888Friend Function SyntaxTrivia(kind As SyntaxKind, text as String) As SyntaxTrivia 57915Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 57916Debug.Assert(constKeyword IsNot Nothing AndAlso constKeyword.Kind = SyntaxKind.ConstKeyword) 57917Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.IdentifierToken) 57918Debug.Assert(equalsToken IsNot Nothing AndAlso equalsToken.Kind = SyntaxKind.EqualsToken) 57920Return New ConstDirectiveTriviaSyntax(SyntaxKind.ConstDirectiveTrivia, hashToken, constKeyword, name, equalsToken, value, _factoryContext) 57932Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 57935Return New IfDirectiveTriviaSyntax(SyntaxKind.IfDirectiveTrivia, hashToken, elseKeyword, ifOrElseIfKeyword, condition, thenKeyword, _factoryContext) 57947Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 57950Return New IfDirectiveTriviaSyntax(SyntaxKind.ElseIfDirectiveTrivia, hashToken, elseKeyword, ifOrElseIfKeyword, condition, thenKeyword, _factoryContext) 57961Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 57962Debug.Assert(elseKeyword IsNot Nothing AndAlso elseKeyword.Kind = SyntaxKind.ElseKeyword) 57963Return New ElseDirectiveTriviaSyntax(SyntaxKind.ElseDirectiveTrivia, hashToken, elseKeyword, _factoryContext) 57974Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 57975Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 57976Debug.Assert(ifKeyword IsNot Nothing AndAlso ifKeyword.Kind = SyntaxKind.IfKeyword) 57977Return New EndIfDirectiveTriviaSyntax(SyntaxKind.EndIfDirectiveTrivia, hashToken, endKeyword, ifKeyword, _factoryContext) 57994Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 57995Debug.Assert(regionKeyword IsNot Nothing AndAlso regionKeyword.Kind = SyntaxKind.RegionKeyword) 57996Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.StringLiteralToken) 57997Return New RegionDirectiveTriviaSyntax(SyntaxKind.RegionDirectiveTrivia, hashToken, regionKeyword, name, _factoryContext) 58014Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 58015Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 58016Debug.Assert(regionKeyword IsNot Nothing AndAlso regionKeyword.Kind = SyntaxKind.RegionKeyword) 58017Return New EndRegionDirectiveTriviaSyntax(SyntaxKind.EndRegionDirectiveTrivia, hashToken, endKeyword, regionKeyword, _factoryContext) 58029Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 58030Debug.Assert(externalSourceKeyword IsNot Nothing AndAlso externalSourceKeyword.Kind = SyntaxKind.ExternalSourceKeyword) 58031Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 58032Debug.Assert(externalSource IsNot Nothing AndAlso externalSource.Kind = SyntaxKind.StringLiteralToken) 58033Debug.Assert(commaToken IsNot Nothing AndAlso commaToken.Kind = SyntaxKind.CommaToken) 58034Debug.Assert(lineStart IsNot Nothing AndAlso lineStart.Kind = SyntaxKind.IntegerLiteralToken) 58035Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 58036Return New ExternalSourceDirectiveTriviaSyntax(SyntaxKind.ExternalSourceDirectiveTrivia, hashToken, externalSourceKeyword, openParenToken, externalSource, commaToken, lineStart, closeParenToken, _factoryContext) 58047Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 58048Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.EndKeyword) 58049Debug.Assert(externalSourceKeyword IsNot Nothing AndAlso externalSourceKeyword.Kind = SyntaxKind.ExternalSourceKeyword) 58050Return New EndExternalSourceDirectiveTriviaSyntax(SyntaxKind.EndExternalSourceDirectiveTrivia, hashToken, endKeyword, externalSourceKeyword, _factoryContext) 58061Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 58062Debug.Assert(externalChecksumKeyword IsNot Nothing AndAlso externalChecksumKeyword.Kind = SyntaxKind.ExternalChecksumKeyword) 58063Debug.Assert(openParenToken IsNot Nothing AndAlso openParenToken.Kind = SyntaxKind.OpenParenToken) 58064Debug.Assert(externalSource IsNot Nothing AndAlso externalSource.Kind = SyntaxKind.StringLiteralToken) 58065Debug.Assert(firstCommaToken IsNot Nothing AndAlso firstCommaToken.Kind = SyntaxKind.CommaToken) 58066Debug.Assert(guid IsNot Nothing AndAlso guid.Kind = SyntaxKind.StringLiteralToken) 58067Debug.Assert(secondCommaToken IsNot Nothing AndAlso secondCommaToken.Kind = SyntaxKind.CommaToken) 58068Debug.Assert(checksum IsNot Nothing AndAlso checksum.Kind = SyntaxKind.StringLiteralToken) 58069Debug.Assert(closeParenToken IsNot Nothing AndAlso closeParenToken.Kind = SyntaxKind.CloseParenToken) 58070Return New ExternalChecksumDirectiveTriviaSyntax(SyntaxKind.ExternalChecksumDirectiveTrivia, hashToken, externalChecksumKeyword, openParenToken, externalSource, firstCommaToken, guid, secondCommaToken, checksum, closeParenToken, _factoryContext) 58081Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 58082Debug.Assert(enableKeyword IsNot Nothing AndAlso enableKeyword.Kind = SyntaxKind.EnableKeyword) 58083Debug.Assert(warningKeyword IsNot Nothing AndAlso warningKeyword.Kind = SyntaxKind.WarningKeyword) 58084Return New EnableWarningDirectiveTriviaSyntax(SyntaxKind.EnableWarningDirectiveTrivia, hashToken, enableKeyword, warningKeyword, errorCodes.Node, _factoryContext) 58095Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 58096Debug.Assert(disableKeyword IsNot Nothing AndAlso disableKeyword.Kind = SyntaxKind.DisableKeyword) 58097Debug.Assert(warningKeyword IsNot Nothing AndAlso warningKeyword.Kind = SyntaxKind.WarningKeyword) 58098Return New DisableWarningDirectiveTriviaSyntax(SyntaxKind.DisableWarningDirectiveTrivia, hashToken, disableKeyword, warningKeyword, errorCodes.Node, _factoryContext) 58109Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 58110Debug.Assert(referenceKeyword IsNot Nothing AndAlso referenceKeyword.Kind = SyntaxKind.ReferenceKeyword) 58111Debug.Assert(file IsNot Nothing AndAlso file.Kind = SyntaxKind.StringLiteralToken) 58112Return New ReferenceDirectiveTriviaSyntax(SyntaxKind.ReferenceDirectiveTrivia, hashToken, referenceKeyword, file, _factoryContext) 58126Debug.Assert(hashToken IsNot Nothing AndAlso hashToken.Kind = SyntaxKind.HashToken) 58127Return New BadDirectiveTriviaSyntax(SyntaxKind.BadDirectiveTrivia, hashToken, _factoryContext)
Generated\Syntax.xml.Main.Generated.vb (21059)
5694Case SyntaxKind.EmptyToken 5698Return New EmptyStatementSyntax(SyntaxKind.EmptyStatement, Nothing, Nothing, DirectCast(empty.Node, InternalSyntax.PunctuationSyntax)) 5707Return SyntaxFactory.EmptyStatement(SyntaxFactory.Token(SyntaxKind.EmptyToken)) 5725Case SyntaxKind.EndKeyword 5730Case SyntaxKind.IfKeyword : 5731Case SyntaxKind.UsingKeyword : 5732Case SyntaxKind.WithKeyword : 5733Case SyntaxKind.SelectKeyword : 5734Case SyntaxKind.StructureKeyword : 5735Case SyntaxKind.EnumKeyword : 5736Case SyntaxKind.InterfaceKeyword : 5737Case SyntaxKind.ClassKeyword : 5738Case SyntaxKind.ModuleKeyword : 5739Case SyntaxKind.NamespaceKeyword : 5740Case SyntaxKind.SubKeyword : 5741Case SyntaxKind.FunctionKeyword : 5742Case SyntaxKind.GetKeyword : 5743Case SyntaxKind.SetKeyword : 5744Case SyntaxKind.PropertyKeyword : 5745Case SyntaxKind.OperatorKeyword : 5746Case SyntaxKind.EventKeyword : 5747Case SyntaxKind.AddHandlerKeyword : 5748Case SyntaxKind.RemoveHandlerKeyword : 5749Case SyntaxKind.RaiseEventKeyword : 5750Case SyntaxKind.WhileKeyword : 5751Case SyntaxKind.TryKeyword : 5752Case SyntaxKind.SyncLockKeyword 5756Return New EndBlockStatementSyntax(SyntaxKind.EndIfStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 5764Return SyntaxFactory.EndIfStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.IfKeyword)) 5782Case SyntaxKind.EndKeyword 5787Case SyntaxKind.UsingKeyword 5791Return New EndBlockStatementSyntax(SyntaxKind.EndUsingStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 5799Return SyntaxFactory.EndUsingStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.UsingKeyword)) 5817Case SyntaxKind.EndKeyword 5822Case SyntaxKind.WithKeyword 5826Return New EndBlockStatementSyntax(SyntaxKind.EndWithStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 5834Return SyntaxFactory.EndWithStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.WithKeyword)) 5852Case SyntaxKind.EndKeyword 5857Case SyntaxKind.SelectKeyword 5861Return New EndBlockStatementSyntax(SyntaxKind.EndSelectStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 5869Return SyntaxFactory.EndSelectStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.SelectKeyword)) 5887Case SyntaxKind.EndKeyword 5892Case SyntaxKind.StructureKeyword 5896Return New EndBlockStatementSyntax(SyntaxKind.EndStructureStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 5904Return SyntaxFactory.EndStructureStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.StructureKeyword)) 5922Case SyntaxKind.EndKeyword 5927Case SyntaxKind.EnumKeyword 5931Return New EndBlockStatementSyntax(SyntaxKind.EndEnumStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 5939Return SyntaxFactory.EndEnumStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.EnumKeyword)) 5957Case SyntaxKind.EndKeyword 5962Case SyntaxKind.InterfaceKeyword 5966Return New EndBlockStatementSyntax(SyntaxKind.EndInterfaceStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 5974Return SyntaxFactory.EndInterfaceStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.InterfaceKeyword)) 5992Case SyntaxKind.EndKeyword 5997Case SyntaxKind.ClassKeyword 6001Return New EndBlockStatementSyntax(SyntaxKind.EndClassStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 6009Return SyntaxFactory.EndClassStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.ClassKeyword)) 6027Case SyntaxKind.EndKeyword 6032Case SyntaxKind.ModuleKeyword 6036Return New EndBlockStatementSyntax(SyntaxKind.EndModuleStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 6044Return SyntaxFactory.EndModuleStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.ModuleKeyword)) 6062Case SyntaxKind.EndKeyword 6067Case SyntaxKind.NamespaceKeyword 6071Return New EndBlockStatementSyntax(SyntaxKind.EndNamespaceStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 6079Return SyntaxFactory.EndNamespaceStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.NamespaceKeyword)) 6097Case SyntaxKind.EndKeyword 6102Case SyntaxKind.SubKeyword 6106Return New EndBlockStatementSyntax(SyntaxKind.EndSubStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 6114Return SyntaxFactory.EndSubStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.SubKeyword)) 6132Case SyntaxKind.EndKeyword 6137Case SyntaxKind.FunctionKeyword 6141Return New EndBlockStatementSyntax(SyntaxKind.EndFunctionStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 6149Return SyntaxFactory.EndFunctionStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.FunctionKeyword)) 6167Case SyntaxKind.EndKeyword 6172Case SyntaxKind.GetKeyword 6176Return New EndBlockStatementSyntax(SyntaxKind.EndGetStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 6184Return SyntaxFactory.EndGetStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.GetKeyword)) 6202Case SyntaxKind.EndKeyword 6207Case SyntaxKind.SetKeyword 6211Return New EndBlockStatementSyntax(SyntaxKind.EndSetStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 6219Return SyntaxFactory.EndSetStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.SetKeyword)) 6237Case SyntaxKind.EndKeyword 6242Case SyntaxKind.PropertyKeyword 6246Return New EndBlockStatementSyntax(SyntaxKind.EndPropertyStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 6254Return SyntaxFactory.EndPropertyStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.PropertyKeyword)) 6272Case SyntaxKind.EndKeyword 6277Case SyntaxKind.OperatorKeyword 6281Return New EndBlockStatementSyntax(SyntaxKind.EndOperatorStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 6289Return SyntaxFactory.EndOperatorStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.OperatorKeyword)) 6307Case SyntaxKind.EndKeyword 6312Case SyntaxKind.EventKeyword 6316Return New EndBlockStatementSyntax(SyntaxKind.EndEventStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 6324Return SyntaxFactory.EndEventStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.EventKeyword)) 6342Case SyntaxKind.EndKeyword 6347Case SyntaxKind.AddHandlerKeyword 6351Return New EndBlockStatementSyntax(SyntaxKind.EndAddHandlerStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 6359Return SyntaxFactory.EndAddHandlerStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.AddHandlerKeyword)) 6377Case SyntaxKind.EndKeyword 6382Case SyntaxKind.RemoveHandlerKeyword 6386Return New EndBlockStatementSyntax(SyntaxKind.EndRemoveHandlerStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 6394Return SyntaxFactory.EndRemoveHandlerStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.RemoveHandlerKeyword)) 6412Case SyntaxKind.EndKeyword 6417Case SyntaxKind.RaiseEventKeyword 6421Return New EndBlockStatementSyntax(SyntaxKind.EndRaiseEventStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 6429Return SyntaxFactory.EndRaiseEventStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.RaiseEventKeyword)) 6447Case SyntaxKind.EndKeyword 6452Case SyntaxKind.WhileKeyword 6456Return New EndBlockStatementSyntax(SyntaxKind.EndWhileStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 6464Return SyntaxFactory.EndWhileStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.WhileKeyword)) 6482Case SyntaxKind.EndKeyword 6487Case SyntaxKind.TryKeyword 6491Return New EndBlockStatementSyntax(SyntaxKind.EndTryStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 6499Return SyntaxFactory.EndTryStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.TryKeyword)) 6517Case SyntaxKind.EndKeyword 6522Case SyntaxKind.SyncLockKeyword 6526Return New EndBlockStatementSyntax(SyntaxKind.EndSyncLockStatement, Nothing, Nothing, DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 6534Return SyntaxFactory.EndSyncLockStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.SyncLockKeyword)) 6542''' A <see cref="SyntaxKind"/> representing the specific kind of 6560Public Shared Function EndBlockStatement(ByVal kind As SyntaxKind, endKeyword As SyntaxToken, blockKeyword As SyntaxToken) As EndBlockStatementSyntax 6565Case SyntaxKind.EndKeyword 6575Private Shared Function GetEndBlockStatementBlockKeywordKind(kind As SyntaxKind) As SyntaxKind 6577Case SyntaxKind.EndIfStatement 6578Return SyntaxKind.IfKeyword 6579Case SyntaxKind.EndUsingStatement 6580Return SyntaxKind.UsingKeyword 6581Case SyntaxKind.EndWithStatement 6582Return SyntaxKind.WithKeyword 6583Case SyntaxKind.EndSelectStatement 6584Return SyntaxKind.SelectKeyword 6585Case SyntaxKind.EndStructureStatement 6586Return SyntaxKind.StructureKeyword 6587Case SyntaxKind.EndEnumStatement 6588Return SyntaxKind.EnumKeyword 6589Case SyntaxKind.EndInterfaceStatement 6590Return SyntaxKind.InterfaceKeyword 6591Case SyntaxKind.EndClassStatement 6592Return SyntaxKind.ClassKeyword 6593Case SyntaxKind.EndModuleStatement 6594Return SyntaxKind.ModuleKeyword 6595Case SyntaxKind.EndNamespaceStatement 6596Return SyntaxKind.NamespaceKeyword 6597Case SyntaxKind.EndSubStatement 6598Return SyntaxKind.SubKeyword 6599Case SyntaxKind.EndFunctionStatement 6600Return SyntaxKind.FunctionKeyword 6601Case SyntaxKind.EndGetStatement 6602Return SyntaxKind.GetKeyword 6603Case SyntaxKind.EndSetStatement 6604Return SyntaxKind.SetKeyword 6605Case SyntaxKind.EndPropertyStatement 6606Return SyntaxKind.PropertyKeyword 6607Case SyntaxKind.EndOperatorStatement 6608Return SyntaxKind.OperatorKeyword 6609Case SyntaxKind.EndEventStatement 6610Return SyntaxKind.EventKeyword 6611Case SyntaxKind.EndAddHandlerStatement 6612Return SyntaxKind.AddHandlerKeyword 6613Case SyntaxKind.EndRemoveHandlerStatement 6614Return SyntaxKind.RemoveHandlerKeyword 6615Case SyntaxKind.EndRaiseEventStatement 6616Return SyntaxKind.RaiseEventKeyword 6617Case SyntaxKind.EndWhileStatement 6618Return SyntaxKind.WhileKeyword 6619Case SyntaxKind.EndTryStatement 6620Return SyntaxKind.TryKeyword 6621Case SyntaxKind.EndSyncLockStatement 6622Return SyntaxKind.SyncLockKeyword 6632''' A <see cref="SyntaxKind"/> representing the specific kind of 6647Public Shared Function EndBlockStatement(ByVal kind As SyntaxKind, blockKeyword As SyntaxToken) As EndBlockStatementSyntax 6648Return SyntaxFactory.EndBlockStatement(kind, SyntaxFactory.Token(SyntaxKind.EndKeyword), blockKeyword) 6676Case SyntaxKind.EndOfFileToken 6680Return New CompilationUnitSyntax(SyntaxKind.CompilationUnit, Nothing, Nothing, options.Node, [imports].Node, attributes.Node, members.Node, DirectCast(endOfFileToken.Node, InternalSyntax.PunctuationSyntax)) 6703Return SyntaxFactory.CompilationUnit(options, [imports], attributes, members, SyntaxFactory.Token(SyntaxKind.EndOfFileToken)) 6711Return SyntaxFactory.CompilationUnit(Nothing, Nothing, Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.EndOfFileToken)) 6731Case SyntaxKind.OptionKeyword 6736Case SyntaxKind.ExplicitKeyword : 6737Case SyntaxKind.StrictKeyword : 6738Case SyntaxKind.CompareKeyword : 6739Case SyntaxKind.InferKeyword 6743Return New OptionStatementSyntax(SyntaxKind.OptionStatement, Nothing, Nothing, DirectCast(optionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(nameKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(valueKeyword.Node, InternalSyntax.KeywordSyntax)) 6759Return SyntaxFactory.OptionStatement(SyntaxFactory.Token(SyntaxKind.OptionKeyword), nameKeyword, valueKeyword) 6771Return SyntaxFactory.OptionStatement(SyntaxFactory.Token(SyntaxKind.OptionKeyword), nameKeyword, Nothing) 6787Case SyntaxKind.ImportsKeyword 6791Return New ImportsStatementSyntax(SyntaxKind.ImportsStatement, Nothing, Nothing, DirectCast(importsKeyword.Node, InternalSyntax.KeywordSyntax), importsClauses.Node) 6803Return SyntaxFactory.ImportsStatement(SyntaxFactory.Token(SyntaxKind.ImportsKeyword), importsClauses) 6811Return SyntaxFactory.ImportsStatement(SyntaxFactory.Token(SyntaxKind.ImportsKeyword), Nothing) 6830Case SyntaxKind.IdentifierName, 6831SyntaxKind.GenericName, 6832SyntaxKind.QualifiedName, 6833SyntaxKind.GlobalName, 6834SyntaxKind.CrefOperatorReference, 6835SyntaxKind.QualifiedCrefOperatorReference 6839Return New SimpleImportsClauseSyntax(SyntaxKind.SimpleImportsClause, Nothing, Nothing, [alias], name) 6866Case SyntaxKind.IdentifierToken 6871Case SyntaxKind.EqualsToken 6875Return New ImportAliasClauseSyntax(SyntaxKind.ImportAliasClause, Nothing, Nothing, DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), DirectCast(equalsToken.Node, InternalSyntax.PunctuationSyntax)) 6886Return SyntaxFactory.ImportAliasClause(identifier, SyntaxFactory.Token(SyntaxKind.EqualsToken)) 6897Return SyntaxFactory.ImportAliasClause(SyntaxFactory.Identifier(identifier), SyntaxFactory.Token(SyntaxKind.EqualsToken)) 6909Case SyntaxKind.LessThanToken 6917Case SyntaxKind.XmlAttribute 6922Case SyntaxKind.GreaterThanToken 6926Return New XmlNamespaceImportsClauseSyntax(SyntaxKind.XmlNamespaceImportsClause, Nothing, Nothing, DirectCast(lessThanToken.Node, InternalSyntax.PunctuationSyntax), xmlNamespace, DirectCast(greaterThanToken.Node, InternalSyntax.PunctuationSyntax)) 6937Return SyntaxFactory.XmlNamespaceImportsClause(SyntaxFactory.Token(SyntaxKind.LessThanToken), xmlNamespace, SyntaxFactory.Token(SyntaxKind.GreaterThanToken)) 6958Case SyntaxKind.NamespaceStatement 6966Case SyntaxKind.EndNamespaceStatement 6970Return New NamespaceBlockSyntax(SyntaxKind.NamespaceBlock, Nothing, Nothing, namespaceStatement, members.Node, endNamespaceStatement) 7011Case SyntaxKind.NamespaceKeyword 7019Case SyntaxKind.IdentifierName, 7020SyntaxKind.GenericName, 7021SyntaxKind.QualifiedName, 7022SyntaxKind.GlobalName, 7023SyntaxKind.CrefOperatorReference, 7024SyntaxKind.QualifiedCrefOperatorReference 7028Return New NamespaceStatementSyntax(SyntaxKind.NamespaceStatement, Nothing, Nothing, DirectCast(namespaceKeyword.Node, InternalSyntax.KeywordSyntax), name) 7040Return SyntaxFactory.NamespaceStatement(SyntaxFactory.Token(SyntaxKind.NamespaceKeyword), name) 7068Case SyntaxKind.ModuleStatement 7076Case SyntaxKind.EndModuleStatement 7080Return New ModuleBlockSyntax(SyntaxKind.ModuleBlock, Nothing, Nothing, moduleStatement, [inherits].Node, [implements].Node, members.Node, endModuleStatement) 7141Case SyntaxKind.StructureStatement 7149Case SyntaxKind.EndStructureStatement 7153Return New StructureBlockSyntax(SyntaxKind.StructureBlock, Nothing, Nothing, structureStatement, [inherits].Node, [implements].Node, members.Node, endStructureStatement) 7214Case SyntaxKind.InterfaceStatement 7222Case SyntaxKind.EndInterfaceStatement 7226Return New InterfaceBlockSyntax(SyntaxKind.InterfaceBlock, Nothing, Nothing, interfaceStatement, [inherits].Node, [implements].Node, members.Node, endInterfaceStatement) 7287Case SyntaxKind.ClassStatement 7295Case SyntaxKind.EndClassStatement 7299Return New ClassBlockSyntax(SyntaxKind.ClassBlock, Nothing, Nothing, classStatement, [inherits].Node, [implements].Node, members.Node, endClassStatement) 7354Case SyntaxKind.EnumStatement 7362Case SyntaxKind.EndEnumStatement 7366Return New EnumBlockSyntax(SyntaxKind.EnumBlock, Nothing, Nothing, enumStatement, members.Node, endEnumStatement) 7408Case SyntaxKind.InheritsKeyword 7412Return New InheritsStatementSyntax(SyntaxKind.InheritsStatement, Nothing, Nothing, DirectCast(inheritsKeyword.Node, InternalSyntax.KeywordSyntax), types.Node) 7423Return SyntaxFactory.InheritsStatement(SyntaxFactory.Token(SyntaxKind.InheritsKeyword), types) 7434Return SyntaxFactory.InheritsStatement(SyntaxFactory.Token(SyntaxKind.InheritsKeyword), SyntaxFactory.SeparatedList(Of TypeSyntax)().AddRange(types)) 7449Case SyntaxKind.ImplementsKeyword 7453Return New ImplementsStatementSyntax(SyntaxKind.ImplementsStatement, Nothing, Nothing, DirectCast(implementsKeyword.Node, InternalSyntax.KeywordSyntax), types.Node) 7464Return SyntaxFactory.ImplementsStatement(SyntaxFactory.Token(SyntaxKind.ImplementsKeyword), types) 7475Return SyntaxFactory.ImplementsStatement(SyntaxFactory.Token(SyntaxKind.ImplementsKeyword), SyntaxFactory.SeparatedList(Of TypeSyntax)().AddRange(types)) 7503Case SyntaxKind.ModuleKeyword 7508Case SyntaxKind.IdentifierToken 7512Return New ModuleStatementSyntax(SyntaxKind.ModuleStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(moduleKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList) 7536Return SyntaxFactory.ModuleStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.ModuleKeyword), identifier, typeParameterList) 7548Return SyntaxFactory.ModuleStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ModuleKeyword), identifier, Nothing) 7560Return SyntaxFactory.ModuleStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ModuleKeyword), SyntaxFactory.Identifier(identifier), Nothing) 7588Case SyntaxKind.StructureKeyword 7593Case SyntaxKind.IdentifierToken 7597Return New StructureStatementSyntax(SyntaxKind.StructureStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(structureKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList) 7621Return SyntaxFactory.StructureStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.StructureKeyword), identifier, typeParameterList) 7633Return SyntaxFactory.StructureStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.StructureKeyword), identifier, Nothing) 7645Return SyntaxFactory.StructureStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.StructureKeyword), SyntaxFactory.Identifier(identifier), Nothing) 7673Case SyntaxKind.InterfaceKeyword 7678Case SyntaxKind.IdentifierToken 7682Return New InterfaceStatementSyntax(SyntaxKind.InterfaceStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(interfaceKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList) 7706Return SyntaxFactory.InterfaceStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.InterfaceKeyword), identifier, typeParameterList) 7718Return SyntaxFactory.InterfaceStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.InterfaceKeyword), identifier, Nothing) 7730Return SyntaxFactory.InterfaceStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.InterfaceKeyword), SyntaxFactory.Identifier(identifier), Nothing) 7758Case SyntaxKind.ClassKeyword 7763Case SyntaxKind.IdentifierToken 7767Return New ClassStatementSyntax(SyntaxKind.ClassStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(classKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList) 7791Return SyntaxFactory.ClassStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.ClassKeyword), identifier, typeParameterList) 7803Return SyntaxFactory.ClassStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ClassKeyword), identifier, Nothing) 7815Return SyntaxFactory.ClassStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.ClassKeyword), SyntaxFactory.Identifier(identifier), Nothing) 7843Case SyntaxKind.EnumKeyword 7848Case SyntaxKind.IdentifierToken 7852Return New EnumStatementSyntax(SyntaxKind.EnumStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(enumKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), underlyingType) 7876Return SyntaxFactory.EnumStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.EnumKeyword), identifier, underlyingType) 7888Return SyntaxFactory.EnumStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.EnumKeyword), identifier, Nothing) 7900Return SyntaxFactory.EnumStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.EnumKeyword), SyntaxFactory.Identifier(identifier), Nothing) 7922Case SyntaxKind.OpenParenToken 7927Case SyntaxKind.OfKeyword 7932Case SyntaxKind.CloseParenToken 7936Return New TypeParameterListSyntax(SyntaxKind.TypeParameterList, Nothing, Nothing, DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(ofKeyword.Node, InternalSyntax.KeywordSyntax), parameters.Node, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 7948Return SyntaxFactory.TypeParameterList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.OfKeyword), parameters, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 7960Return SyntaxFactory.TypeParameterList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.OfKeyword), SyntaxFactory.SeparatedList(Of TypeParameterSyntax)().AddRange(parameters), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 7980Case SyntaxKind.IdentifierToken 7984Return New TypeParameterSyntax(SyntaxKind.TypeParameter, Nothing, Nothing, DirectCast(varianceKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterConstraintClause) 8024Case SyntaxKind.AsKeyword 8032Case SyntaxKind.NewConstraint, 8033SyntaxKind.ClassConstraint, 8034SyntaxKind.StructureConstraint, 8035SyntaxKind.TypeConstraint 8039Return New TypeParameterSingleConstraintClauseSyntax(SyntaxKind.TypeParameterSingleConstraintClause, Nothing, Nothing, DirectCast(asKeyword.Node, InternalSyntax.KeywordSyntax), constraint) 8052Return SyntaxFactory.TypeParameterSingleConstraintClause(SyntaxFactory.Token(SyntaxKind.AsKeyword), constraint) 8075Case SyntaxKind.AsKeyword 8080Case SyntaxKind.OpenBraceToken 8085Case SyntaxKind.CloseBraceToken 8089Return New TypeParameterMultipleConstraintClauseSyntax(SyntaxKind.TypeParameterMultipleConstraintClause, Nothing, Nothing, DirectCast(asKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(openBraceToken.Node, InternalSyntax.PunctuationSyntax), constraints.Node, DirectCast(closeBraceToken.Node, InternalSyntax.PunctuationSyntax)) 8102Return SyntaxFactory.TypeParameterMultipleConstraintClause(SyntaxFactory.Token(SyntaxKind.AsKeyword), SyntaxFactory.Token(SyntaxKind.OpenBraceToken), constraints, SyntaxFactory.Token(SyntaxKind.CloseBraceToken)) 8115Return SyntaxFactory.TypeParameterMultipleConstraintClause(SyntaxFactory.Token(SyntaxKind.AsKeyword), SyntaxFactory.Token(SyntaxKind.OpenBraceToken), SyntaxFactory.SeparatedList(Of ConstraintSyntax)().AddRange(constraints), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)) 8130Case SyntaxKind.NewKeyword : 8131Case SyntaxKind.ClassKeyword : 8132Case SyntaxKind.StructureKeyword 8136Return New SpecialConstraintSyntax(SyntaxKind.NewConstraint, Nothing, Nothing, DirectCast(constraintKeyword.Node, InternalSyntax.KeywordSyntax)) 8151Case SyntaxKind.NewKeyword : 8152Case SyntaxKind.ClassKeyword : 8153Case SyntaxKind.StructureKeyword 8157Return New SpecialConstraintSyntax(SyntaxKind.ClassConstraint, Nothing, Nothing, DirectCast(constraintKeyword.Node, InternalSyntax.KeywordSyntax)) 8172Case SyntaxKind.NewKeyword : 8173Case SyntaxKind.ClassKeyword : 8174Case SyntaxKind.StructureKeyword 8178Return New SpecialConstraintSyntax(SyntaxKind.StructureConstraint, Nothing, Nothing, DirectCast(constraintKeyword.Node, InternalSyntax.KeywordSyntax)) 8188''' A <see cref="SyntaxKind"/> representing the specific kind of 8196Public Shared Function SpecialConstraint(ByVal kind As SyntaxKind, constraintKeyword As SyntaxToken) As SpecialConstraintSyntax 8201Case SyntaxKind.NewKeyword : 8202Case SyntaxKind.ClassKeyword : 8203Case SyntaxKind.StructureKeyword 8222Case SyntaxKind.TupleType, 8223SyntaxKind.ArrayType, 8224SyntaxKind.NullableType, 8225SyntaxKind.PredefinedType, 8226SyntaxKind.IdentifierName, 8227SyntaxKind.GenericName, 8228SyntaxKind.QualifiedName, 8229SyntaxKind.GlobalName, 8230SyntaxKind.CrefOperatorReference, 8231SyntaxKind.QualifiedCrefOperatorReference 8235Return New TypeConstraintSyntax(SyntaxKind.TypeConstraint, Nothing, Nothing, type) 8247Case SyntaxKind.IdentifierToken 8251Return New EnumMemberDeclarationSyntax(SyntaxKind.EnumMemberDeclaration, Nothing, Nothing, attributeLists.Node, DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), initializer) 8289Case SyntaxKind.SubStatement, 8290SyntaxKind.FunctionStatement 8298Case SyntaxKind.EndSubStatement, 8299SyntaxKind.EndFunctionStatement 8303Return New MethodBlockSyntax(SyntaxKind.SubBlock, Nothing, Nothing, subOrFunctionStatement, statements.Node, endSubOrFunctionStatement) 8352Case SyntaxKind.FunctionStatement 8360Case SyntaxKind.EndFunctionStatement 8364Return New MethodBlockSyntax(SyntaxKind.FunctionBlock, Nothing, Nothing, subOrFunctionStatement, statements.Node, endSubOrFunctionStatement) 8400''' A <see cref="SyntaxKind"/> representing the specific kind of MethodBlockSyntax. 8412Public Shared Function MethodBlock(ByVal kind As SyntaxKind, subOrFunctionStatement As MethodStatementSyntax, statements As SyntaxList(of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As MethodBlockSyntax 8431Private Shared Function GetMethodBlockSubOrFunctionStatementKind(kind As SyntaxKind) As SyntaxKind 8433Case SyntaxKind.SubBlock 8434Return SyntaxKind.SubStatement 8435Case SyntaxKind.FunctionBlock 8436Return SyntaxKind.FunctionStatement 8441Private Shared Function GetMethodBlockEndSubOrFunctionStatementKind(kind As SyntaxKind) As SyntaxKind 8443Case SyntaxKind.SubBlock 8444Return SyntaxKind.EndSubStatement 8445Case SyntaxKind.FunctionBlock 8446Return SyntaxKind.EndFunctionStatement 8457''' A <see cref="SyntaxKind"/> representing the specific kind of MethodBlockSyntax. 8466Public Shared Function MethodBlock(ByVal kind As SyntaxKind, subOrFunctionStatement As MethodStatementSyntax, endSubOrFunctionStatement As EndBlockStatementSyntax) As MethodBlockSyntax 8489Case SyntaxKind.SubNewStatement 8497Case SyntaxKind.EndSubStatement 8501Return New ConstructorBlockSyntax(SyntaxKind.ConstructorBlock, Nothing, Nothing, subNewStatement, statements.Node, endSubStatement) 8550Case SyntaxKind.OperatorStatement 8558Case SyntaxKind.EndOperatorStatement 8562Return New OperatorBlockSyntax(SyntaxKind.OperatorBlock, Nothing, Nothing, operatorStatement, statements.Node, endOperatorStatement) 8614Case SyntaxKind.GetAccessorStatement, 8615SyntaxKind.SetAccessorStatement, 8616SyntaxKind.AddHandlerAccessorStatement, 8617SyntaxKind.RemoveHandlerAccessorStatement, 8618SyntaxKind.RaiseEventAccessorStatement 8626Case SyntaxKind.EndGetStatement, 8627SyntaxKind.EndSetStatement, 8628SyntaxKind.EndAddHandlerStatement, 8629SyntaxKind.EndRemoveHandlerStatement, 8630SyntaxKind.EndRaiseEventStatement 8634Return New AccessorBlockSyntax(SyntaxKind.GetAccessorBlock, Nothing, Nothing, accessorStatement, statements.Node, endAccessorStatement) 8690Case SyntaxKind.SetAccessorStatement 8698Case SyntaxKind.EndSetStatement 8702Return New AccessorBlockSyntax(SyntaxKind.SetAccessorBlock, Nothing, Nothing, accessorStatement, statements.Node, endAccessorStatement) 8758Case SyntaxKind.AddHandlerAccessorStatement 8766Case SyntaxKind.EndAddHandlerStatement 8770Return New AccessorBlockSyntax(SyntaxKind.AddHandlerAccessorBlock, Nothing, Nothing, accessorStatement, statements.Node, endAccessorStatement) 8826Case SyntaxKind.RemoveHandlerAccessorStatement 8834Case SyntaxKind.EndRemoveHandlerStatement 8838Return New AccessorBlockSyntax(SyntaxKind.RemoveHandlerAccessorBlock, Nothing, Nothing, accessorStatement, statements.Node, endAccessorStatement) 8894Case SyntaxKind.RaiseEventAccessorStatement 8902Case SyntaxKind.EndRaiseEventStatement 8906Return New AccessorBlockSyntax(SyntaxKind.RaiseEventAccessorBlock, Nothing, Nothing, accessorStatement, statements.Node, endAccessorStatement) 8947''' A <see cref="SyntaxKind"/> representing the specific kind of 8962Public Shared Function AccessorBlock(ByVal kind As SyntaxKind, accessorStatement As AccessorStatementSyntax, statements As SyntaxList(of StatementSyntax), endAccessorStatement As EndBlockStatementSyntax) As AccessorBlockSyntax 8981Private Shared Function GetAccessorBlockAccessorStatementKind(kind As SyntaxKind) As SyntaxKind 8983Case SyntaxKind.GetAccessorBlock 8984Return SyntaxKind.GetAccessorStatement 8985Case SyntaxKind.SetAccessorBlock 8986Return SyntaxKind.SetAccessorStatement 8987Case SyntaxKind.AddHandlerAccessorBlock 8988Return SyntaxKind.AddHandlerAccessorStatement 8989Case SyntaxKind.RemoveHandlerAccessorBlock 8990Return SyntaxKind.RemoveHandlerAccessorStatement 8991Case SyntaxKind.RaiseEventAccessorBlock 8992Return SyntaxKind.RaiseEventAccessorStatement 8997Private Shared Function GetAccessorBlockEndAccessorStatementKind(kind As SyntaxKind) As SyntaxKind 8999Case SyntaxKind.GetAccessorBlock 9000Return SyntaxKind.EndGetStatement 9001Case SyntaxKind.SetAccessorBlock 9002Return SyntaxKind.EndSetStatement 9003Case SyntaxKind.AddHandlerAccessorBlock 9004Return SyntaxKind.EndAddHandlerStatement 9005Case SyntaxKind.RemoveHandlerAccessorBlock 9006Return SyntaxKind.EndRemoveHandlerStatement 9007Case SyntaxKind.RaiseEventAccessorBlock 9008Return SyntaxKind.EndRaiseEventStatement 9020''' A <see cref="SyntaxKind"/> representing the specific kind of 9032Public Shared Function AccessorBlock(ByVal kind As SyntaxKind, accessorStatement As AccessorStatementSyntax, endAccessorStatement As EndBlockStatementSyntax) As AccessorBlockSyntax 9056Case SyntaxKind.PropertyStatement 9064Case SyntaxKind.EndPropertyStatement 9068Return New PropertyBlockSyntax(SyntaxKind.PropertyBlock, Nothing, Nothing, propertyStatement, accessors.Node, endPropertyStatement) 9107Case SyntaxKind.EventStatement 9115Case SyntaxKind.EndEventStatement 9119Return New EventBlockSyntax(SyntaxKind.EventBlock, Nothing, Nothing, eventStatement, accessors.Node, endEventStatement) 9155Case SyntaxKind.OpenParenToken 9160Case SyntaxKind.CloseParenToken 9164Return New ParameterListSyntax(SyntaxKind.ParameterList, Nothing, Nothing, DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), parameters.Node, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 9175Return SyntaxFactory.ParameterList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), parameters, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 9183Return SyntaxFactory.ParameterList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), Nothing, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 9230Case SyntaxKind.SubKeyword : 9231Case SyntaxKind.FunctionKeyword 9236Case SyntaxKind.IdentifierToken 9240Return New MethodStatementSyntax(SyntaxKind.SubStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList, parameterList, asClause, handlesClause, implementsClause) 9283Return SyntaxFactory.SubStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.SubKeyword), identifier, typeParameterList, parameterList, asClause, handlesClause, implementsClause) 9297Return SyntaxFactory.SubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.SubKeyword), identifier, Nothing, Nothing, Nothing, Nothing, Nothing) 9311Return SyntaxFactory.SubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.SubKeyword), SyntaxFactory.Identifier(identifier), Nothing, Nothing, Nothing, Nothing, Nothing) 9358Case SyntaxKind.FunctionKeyword 9363Case SyntaxKind.IdentifierToken 9367Return New MethodStatementSyntax(SyntaxKind.FunctionStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList, parameterList, asClause, handlesClause, implementsClause) 9410Return SyntaxFactory.FunctionStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.FunctionKeyword), identifier, typeParameterList, parameterList, asClause, handlesClause, implementsClause) 9424Return SyntaxFactory.FunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.FunctionKeyword), identifier, Nothing, Nothing, Nothing, Nothing, Nothing) 9438Return SyntaxFactory.FunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.FunctionKeyword), SyntaxFactory.Identifier(identifier), Nothing, Nothing, Nothing, Nothing, Nothing) 9449''' A <see cref="SyntaxKind"/> representing the specific kind of 9487Public Shared Function MethodStatement(ByVal kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) As MethodStatementSyntax 9495Case SyntaxKind.IdentifierToken 9502Private Shared Function GetMethodStatementSubOrFunctionKeywordKind(kind As SyntaxKind) As SyntaxKind 9504Case SyntaxKind.SubStatement 9505Return SyntaxKind.SubKeyword 9506Case SyntaxKind.FunctionStatement 9507Return SyntaxKind.FunctionKeyword 9520''' A <see cref="SyntaxKind"/> representing the specific kind of 9529Public Shared Function MethodStatement(ByVal kind As SyntaxKind, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken) As MethodStatementSyntax 9541''' A <see cref="SyntaxKind"/> representing the specific kind of 9550Public Shared Function MethodStatement(ByVal kind As SyntaxKind, subOrFunctionKeyword As SyntaxToken, identifier As String) As MethodStatementSyntax 9582Case SyntaxKind.SubKeyword 9587Case SyntaxKind.NewKeyword 9591Return New SubNewStatementSyntax(SyntaxKind.SubNewStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(subKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(newKeyword.Node, InternalSyntax.KeywordSyntax), parameterList) 9615Return SyntaxFactory.SubNewStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.SubKeyword), SyntaxFactory.Token(SyntaxKind.NewKeyword), parameterList) 9625Return SyntaxFactory.SubNewStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.SubKeyword), SyntaxFactory.Token(SyntaxKind.NewKeyword), Nothing) 9677Case SyntaxKind.DeclareKeyword 9682Case SyntaxKind.SubKeyword : 9683Case SyntaxKind.FunctionKeyword 9688Case SyntaxKind.IdentifierToken 9693Case SyntaxKind.LibKeyword 9701Case SyntaxKind.CharacterLiteralExpression, 9702SyntaxKind.TrueLiteralExpression, 9703SyntaxKind.FalseLiteralExpression, 9704SyntaxKind.NumericLiteralExpression, 9705SyntaxKind.DateLiteralExpression, 9706SyntaxKind.StringLiteralExpression, 9707SyntaxKind.NothingLiteralExpression 9711Return New DeclareStatementSyntax(SyntaxKind.DeclareSubStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(declareKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(charsetKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), DirectCast(libKeyword.Node, InternalSyntax.KeywordSyntax), libraryName, DirectCast(aliasKeyword.Node, InternalSyntax.KeywordSyntax), aliasName, parameterList, asClause) 9750Return SyntaxFactory.DeclareSubStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), charsetKeyword, SyntaxFactory.Token(SyntaxKind.SubKeyword), identifier, SyntaxFactory.Token(SyntaxKind.LibKeyword), libraryName, Nothing, aliasName, parameterList, asClause) 9764Return SyntaxFactory.DeclareSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.SubKeyword), identifier, SyntaxFactory.Token(SyntaxKind.LibKeyword), libraryName, Nothing, Nothing, Nothing, Nothing) 9778Return SyntaxFactory.DeclareSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.SubKeyword), SyntaxFactory.Identifier(identifier), SyntaxFactory.Token(SyntaxKind.LibKeyword), libraryName, Nothing, Nothing, Nothing, Nothing) 9830Case SyntaxKind.DeclareKeyword 9835Case SyntaxKind.FunctionKeyword 9840Case SyntaxKind.IdentifierToken 9845Case SyntaxKind.LibKeyword 9853Case SyntaxKind.CharacterLiteralExpression, 9854SyntaxKind.TrueLiteralExpression, 9855SyntaxKind.FalseLiteralExpression, 9856SyntaxKind.NumericLiteralExpression, 9857SyntaxKind.DateLiteralExpression, 9858SyntaxKind.StringLiteralExpression, 9859SyntaxKind.NothingLiteralExpression 9863Return New DeclareStatementSyntax(SyntaxKind.DeclareFunctionStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(declareKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(charsetKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), DirectCast(libKeyword.Node, InternalSyntax.KeywordSyntax), libraryName, DirectCast(aliasKeyword.Node, InternalSyntax.KeywordSyntax), aliasName, parameterList, asClause) 9902Return SyntaxFactory.DeclareFunctionStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), charsetKeyword, SyntaxFactory.Token(SyntaxKind.FunctionKeyword), identifier, SyntaxFactory.Token(SyntaxKind.LibKeyword), libraryName, Nothing, aliasName, parameterList, asClause) 9916Return SyntaxFactory.DeclareFunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.FunctionKeyword), identifier, SyntaxFactory.Token(SyntaxKind.LibKeyword), libraryName, Nothing, Nothing, Nothing, Nothing) 9930Return SyntaxFactory.DeclareFunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.FunctionKeyword), SyntaxFactory.Identifier(identifier), SyntaxFactory.Token(SyntaxKind.LibKeyword), libraryName, Nothing, Nothing, Nothing, Nothing) 9938''' A <see cref="SyntaxKind"/> representing the specific kind of 9984Public Shared Function DeclareStatement(ByVal kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, declareKeyword As SyntaxToken, charsetKeyword As SyntaxToken, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, libKeyword As SyntaxToken, libraryName As LiteralExpressionSyntax, aliasKeyword As SyntaxToken, aliasName As LiteralExpressionSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DeclareStatementSyntax 9989Case SyntaxKind.DeclareKeyword 9997Case SyntaxKind.IdentifierToken 10002Case SyntaxKind.LibKeyword 10010Case SyntaxKind.CharacterLiteralExpression, 10011SyntaxKind.TrueLiteralExpression, 10012SyntaxKind.FalseLiteralExpression, 10013SyntaxKind.NumericLiteralExpression, 10014SyntaxKind.DateLiteralExpression, 10015SyntaxKind.StringLiteralExpression, 10016SyntaxKind.NothingLiteralExpression 10023Private Shared Function GetDeclareStatementSubOrFunctionKeywordKind(kind As SyntaxKind) As SyntaxKind 10025Case SyntaxKind.DeclareSubStatement 10026Return SyntaxKind.SubKeyword 10027Case SyntaxKind.DeclareFunctionStatement 10028Return SyntaxKind.FunctionKeyword 10038''' A <see cref="SyntaxKind"/> representing the specific kind of 10075Public Shared Function DeclareStatement(ByVal kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, charsetKeyword As SyntaxToken, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, libraryName As LiteralExpressionSyntax, aliasName As LiteralExpressionSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DeclareStatementSyntax 10076Return SyntaxFactory.DeclareStatement(kind, attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), charsetKeyword, subOrFunctionKeyword, identifier, SyntaxFactory.Token(SyntaxKind.LibKeyword), libraryName, Nothing, aliasName, parameterList, asClause) 10084''' A <see cref="SyntaxKind"/> representing the specific kind of 10096Public Shared Function DeclareStatement(ByVal kind As SyntaxKind, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, libraryName As LiteralExpressionSyntax) As DeclareStatementSyntax 10097Return SyntaxFactory.DeclareStatement(kind, Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, subOrFunctionKeyword, identifier, SyntaxFactory.Token(SyntaxKind.LibKeyword), libraryName, Nothing, Nothing, Nothing, Nothing) 10105''' A <see cref="SyntaxKind"/> representing the specific kind of 10117Public Shared Function DeclareStatement(ByVal kind As SyntaxKind, subOrFunctionKeyword As SyntaxToken, identifier As String, libraryName As LiteralExpressionSyntax) As DeclareStatementSyntax 10118Return SyntaxFactory.DeclareStatement(kind, Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, subOrFunctionKeyword, SyntaxFactory.Identifier(identifier), SyntaxFactory.Token(SyntaxKind.LibKeyword), libraryName, Nothing, Nothing, Nothing, Nothing) 10158Case SyntaxKind.DelegateKeyword 10163Case SyntaxKind.SubKeyword : 10164Case SyntaxKind.FunctionKeyword 10169Case SyntaxKind.IdentifierToken 10173Return New DelegateStatementSyntax(SyntaxKind.DelegateSubStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(delegateKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList, parameterList, asClause) 10206Return SyntaxFactory.DelegateSubStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.SubKeyword), identifier, typeParameterList, parameterList, asClause) 10217Return SyntaxFactory.DelegateSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.SubKeyword), identifier, Nothing, Nothing, Nothing) 10228Return SyntaxFactory.DelegateSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.SubKeyword), SyntaxFactory.Identifier(identifier), Nothing, Nothing, Nothing) 10268Case SyntaxKind.DelegateKeyword 10273Case SyntaxKind.FunctionKeyword 10278Case SyntaxKind.IdentifierToken 10282Return New DelegateStatementSyntax(SyntaxKind.DelegateFunctionStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(delegateKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList, parameterList, asClause) 10315Return SyntaxFactory.DelegateFunctionStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.FunctionKeyword), identifier, typeParameterList, parameterList, asClause) 10326Return SyntaxFactory.DelegateFunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.FunctionKeyword), identifier, Nothing, Nothing, Nothing) 10337Return SyntaxFactory.DelegateFunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.FunctionKeyword), SyntaxFactory.Identifier(identifier), Nothing, Nothing, Nothing) 10345''' A <see cref="SyntaxKind"/> representing the specific kind of 10380Public Shared Function DelegateStatement(ByVal kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, delegateKeyword As SyntaxToken, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DelegateStatementSyntax 10385Case SyntaxKind.DelegateKeyword 10393Case SyntaxKind.IdentifierToken 10400Private Shared Function GetDelegateStatementSubOrFunctionKeywordKind(kind As SyntaxKind) As SyntaxKind 10402Case SyntaxKind.DelegateSubStatement 10403Return SyntaxKind.SubKeyword 10404Case SyntaxKind.DelegateFunctionStatement 10405Return SyntaxKind.FunctionKeyword 10415''' A <see cref="SyntaxKind"/> representing the specific kind of 10447Public Shared Function DelegateStatement(ByVal kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DelegateStatementSyntax 10448Return SyntaxFactory.DelegateStatement(kind, attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause) 10456''' A <see cref="SyntaxKind"/> representing the specific kind of 10466Public Shared Function DelegateStatement(ByVal kind As SyntaxKind, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken) As DelegateStatementSyntax 10467Return SyntaxFactory.DelegateStatement(kind, Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), subOrFunctionKeyword, identifier, Nothing, Nothing, Nothing) 10475''' A <see cref="SyntaxKind"/> representing the specific kind of 10485Public Shared Function DelegateStatement(ByVal kind As SyntaxKind, subOrFunctionKeyword As SyntaxToken, identifier As String) As DelegateStatementSyntax 10486Return SyntaxFactory.DelegateStatement(kind, Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), subOrFunctionKeyword, SyntaxFactory.Identifier(identifier), Nothing, Nothing, Nothing) 10528Case SyntaxKind.EventKeyword 10533Case SyntaxKind.IdentifierToken 10537Return New EventStatementSyntax(SyntaxKind.EventStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(customKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(eventKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), parameterList, asClause, implementsClause) 10572Return SyntaxFactory.EventStatement(attributeLists, modifiers, Nothing, SyntaxFactory.Token(SyntaxKind.EventKeyword), identifier, parameterList, asClause, implementsClause) 10585Return SyntaxFactory.EventStatement(Nothing, Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.EventKeyword), identifier, Nothing, Nothing, Nothing) 10598Return SyntaxFactory.EventStatement(Nothing, Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.EventKeyword), SyntaxFactory.Identifier(identifier), Nothing, Nothing, Nothing) 10634Case SyntaxKind.OperatorKeyword 10639Case SyntaxKind.CTypeKeyword : 10640Case SyntaxKind.IsTrueKeyword : 10641Case SyntaxKind.IsFalseKeyword : 10642Case SyntaxKind.NotKeyword : 10643Case SyntaxKind.PlusToken : 10644Case SyntaxKind.MinusToken : 10645Case SyntaxKind.AsteriskToken : 10646Case SyntaxKind.SlashToken : 10647Case SyntaxKind.CaretToken : 10648Case SyntaxKind.BackslashToken : 10649Case SyntaxKind.AmpersandToken : 10650Case SyntaxKind.LessThanLessThanToken : 10651Case SyntaxKind.GreaterThanGreaterThanToken : 10652Case SyntaxKind.ModKeyword : 10653Case SyntaxKind.OrKeyword : 10654Case SyntaxKind.XorKeyword : 10655Case SyntaxKind.AndKeyword : 10656Case SyntaxKind.LikeKeyword : 10657Case SyntaxKind.EqualsToken : 10658Case SyntaxKind.LessThanGreaterThanToken : 10659Case SyntaxKind.LessThanToken : 10660Case SyntaxKind.LessThanEqualsToken : 10661Case SyntaxKind.GreaterThanEqualsToken : 10662Case SyntaxKind.GreaterThanToken 10666Return New OperatorStatementSyntax(SyntaxKind.OperatorStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(operatorKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), parameterList, asClause) 10698Return SyntaxFactory.OperatorStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.OperatorKeyword), operatorToken, parameterList, asClause) 10712Return SyntaxFactory.OperatorStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.OperatorKeyword), operatorToken, Nothing, Nothing) 10756Case SyntaxKind.PropertyKeyword 10761Case SyntaxKind.IdentifierToken 10765Return New PropertyStatementSyntax(SyntaxKind.PropertyStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(propertyKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), parameterList, asClause, initializer, implementsClause) 10805Return SyntaxFactory.PropertyStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.PropertyKeyword), identifier, parameterList, asClause, initializer, implementsClause) 10819Return SyntaxFactory.PropertyStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.PropertyKeyword), identifier, Nothing, Nothing, Nothing, Nothing) 10833Return SyntaxFactory.PropertyStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.PropertyKeyword), SyntaxFactory.Identifier(identifier), Nothing, Nothing, Nothing, Nothing) 10863Case SyntaxKind.GetKeyword : 10864Case SyntaxKind.SetKeyword : 10865Case SyntaxKind.AddHandlerKeyword : 10866Case SyntaxKind.RemoveHandlerKeyword : 10867Case SyntaxKind.RaiseEventKeyword 10871Return New AccessorStatementSyntax(SyntaxKind.GetAccessorStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(accessorKeyword.Node, InternalSyntax.KeywordSyntax), parameterList) 10896Return SyntaxFactory.GetAccessorStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.GetKeyword), parameterList) 10907Return SyntaxFactory.GetAccessorStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.GetKeyword), Nothing) 10937Case SyntaxKind.SetKeyword 10941Return New AccessorStatementSyntax(SyntaxKind.SetAccessorStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(accessorKeyword.Node, InternalSyntax.KeywordSyntax), parameterList) 10966Return SyntaxFactory.SetAccessorStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.SetKeyword), parameterList) 10977Return SyntaxFactory.SetAccessorStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.SetKeyword), Nothing) 11007Case SyntaxKind.AddHandlerKeyword 11011Return New AccessorStatementSyntax(SyntaxKind.AddHandlerAccessorStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(accessorKeyword.Node, InternalSyntax.KeywordSyntax), parameterList) 11036Return SyntaxFactory.AddHandlerAccessorStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.AddHandlerKeyword), parameterList) 11047Return SyntaxFactory.AddHandlerAccessorStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.AddHandlerKeyword), Nothing) 11077Case SyntaxKind.RemoveHandlerKeyword 11081Return New AccessorStatementSyntax(SyntaxKind.RemoveHandlerAccessorStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(accessorKeyword.Node, InternalSyntax.KeywordSyntax), parameterList) 11106Return SyntaxFactory.RemoveHandlerAccessorStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.RemoveHandlerKeyword), parameterList) 11117Return SyntaxFactory.RemoveHandlerAccessorStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.RemoveHandlerKeyword), Nothing) 11147Case SyntaxKind.RaiseEventKeyword 11151Return New AccessorStatementSyntax(SyntaxKind.RaiseEventAccessorStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(accessorKeyword.Node, InternalSyntax.KeywordSyntax), parameterList) 11176Return SyntaxFactory.RaiseEventAccessorStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.RaiseEventKeyword), parameterList) 11187Return SyntaxFactory.RaiseEventAccessorStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.RaiseEventKeyword), Nothing) 11198''' A <see cref="SyntaxKind"/> representing the specific kind of 11221Public Shared Function AccessorStatement(ByVal kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, accessorKeyword As SyntaxToken, parameterList As ParameterListSyntax) As AccessorStatementSyntax 11231Private Shared Function GetAccessorStatementAccessorKeywordKind(kind As SyntaxKind) As SyntaxKind 11233Case SyntaxKind.GetAccessorStatement 11234Return SyntaxKind.GetKeyword 11235Case SyntaxKind.SetAccessorStatement 11236Return SyntaxKind.SetKeyword 11237Case SyntaxKind.AddHandlerAccessorStatement 11238Return SyntaxKind.AddHandlerKeyword 11239Case SyntaxKind.RemoveHandlerAccessorStatement 11240Return SyntaxKind.RemoveHandlerKeyword 11241Case SyntaxKind.RaiseEventAccessorStatement 11242Return SyntaxKind.RaiseEventKeyword 11255''' A <see cref="SyntaxKind"/> representing the specific kind of 11264Public Shared Function AccessorStatement(ByVal kind As SyntaxKind, accessorKeyword As SyntaxToken) As AccessorStatementSyntax 11281Case SyntaxKind.ImplementsKeyword 11285Return New ImplementsClauseSyntax(SyntaxKind.ImplementsClause, Nothing, Nothing, DirectCast(implementsKeyword.Node, InternalSyntax.KeywordSyntax), interfaceMembers.Node) 11297Return SyntaxFactory.ImplementsClause(SyntaxFactory.Token(SyntaxKind.ImplementsKeyword), interfaceMembers) 11309Return SyntaxFactory.ImplementsClause(SyntaxFactory.Token(SyntaxKind.ImplementsKeyword), SyntaxFactory.SeparatedList(Of QualifiedNameSyntax)().AddRange(interfaceMembers)) 11325Case SyntaxKind.HandlesKeyword 11329Return New HandlesClauseSyntax(SyntaxKind.HandlesClause, Nothing, Nothing, DirectCast(handlesKeyword.Node, InternalSyntax.KeywordSyntax), events.Node) 11341Return SyntaxFactory.HandlesClause(SyntaxFactory.Token(SyntaxKind.HandlesKeyword), events) 11353Return SyntaxFactory.HandlesClause(SyntaxFactory.Token(SyntaxKind.HandlesKeyword), SyntaxFactory.SeparatedList(Of HandlesClauseItemSyntax)().AddRange(events)) 11367Case SyntaxKind.MyBaseKeyword : 11368Case SyntaxKind.MeKeyword : 11369Case SyntaxKind.MyClassKeyword 11373Return New KeywordEventContainerSyntax(SyntaxKind.KeywordEventContainer, Nothing, Nothing, DirectCast(keyword.Node, InternalSyntax.KeywordSyntax)) 11386Case SyntaxKind.IdentifierToken 11390Return New WithEventsEventContainerSyntax(SyntaxKind.WithEventsEventContainer, Nothing, Nothing, DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax)) 11424Case SyntaxKind.WithEventsEventContainer 11429Case SyntaxKind.DotToken 11437Case SyntaxKind.IdentifierName 11441Return New WithEventsPropertyEventContainerSyntax(SyntaxKind.WithEventsPropertyEventContainer, Nothing, Nothing, withEventsContainer, DirectCast(dotToken.Node, InternalSyntax.PunctuationSyntax), [property]) 11456Return SyntaxFactory.WithEventsPropertyEventContainer(withEventsContainer, SyntaxFactory.Token(SyntaxKind.DotToken), [property]) 11479Case SyntaxKind.KeywordEventContainer, 11480SyntaxKind.WithEventsEventContainer 11485Case SyntaxKind.DotToken 11493Case SyntaxKind.IdentifierName 11497Return New HandlesClauseItemSyntax(SyntaxKind.HandlesClauseItem, Nothing, Nothing, eventContainer, DirectCast(dotToken.Node, InternalSyntax.PunctuationSyntax), eventMember) 11513Return SyntaxFactory.HandlesClauseItem(eventContainer, SyntaxFactory.Token(SyntaxKind.DotToken), eventMember) 11535Return New IncompleteMemberSyntax(SyntaxKind.IncompleteMember, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(missingIdentifier.Node, InternalSyntax.IdentifierTokenSyntax)) 11568Return New FieldDeclarationSyntax(SyntaxKind.FieldDeclaration, Nothing, Nothing, attributeLists.Node, modifiers.Node, declarators.Node) 11619Return New VariableDeclaratorSyntax(SyntaxKind.VariableDeclarator, Nothing, Nothing, names.Node, asClause, initializer) 11666Case SyntaxKind.AsKeyword 11674Case SyntaxKind.TupleType, 11675SyntaxKind.ArrayType, 11676SyntaxKind.NullableType, 11677SyntaxKind.PredefinedType, 11678SyntaxKind.IdentifierName, 11679SyntaxKind.GenericName, 11680SyntaxKind.QualifiedName, 11681SyntaxKind.GlobalName, 11682SyntaxKind.CrefOperatorReference, 11683SyntaxKind.QualifiedCrefOperatorReference 11687Return New SimpleAsClauseSyntax(SyntaxKind.SimpleAsClause, Nothing, Nothing, DirectCast(asKeyword.Node, InternalSyntax.KeywordSyntax), attributeLists.Node, type) 11704Return SyntaxFactory.SimpleAsClause(SyntaxFactory.Token(SyntaxKind.AsKeyword), attributeLists, type) 11717Return SyntaxFactory.SimpleAsClause(SyntaxFactory.Token(SyntaxKind.AsKeyword), Nothing, type) 11735Case SyntaxKind.AsKeyword 11743Case SyntaxKind.ObjectCreationExpression, 11744SyntaxKind.AnonymousObjectCreationExpression, 11745SyntaxKind.ArrayCreationExpression 11749Return New AsNewClauseSyntax(SyntaxKind.AsNewClause, Nothing, Nothing, DirectCast(asKeyword.Node, InternalSyntax.KeywordSyntax), newExpression) 11763Return SyntaxFactory.AsNewClause(SyntaxFactory.Token(SyntaxKind.AsKeyword), newExpression) 11784Case SyntaxKind.WithKeyword 11789Case SyntaxKind.OpenBraceToken 11794Case SyntaxKind.CloseBraceToken 11798Return New ObjectMemberInitializerSyntax(SyntaxKind.ObjectMemberInitializer, Nothing, Nothing, DirectCast(withKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(openBraceToken.Node, InternalSyntax.PunctuationSyntax), initializers.Node, DirectCast(closeBraceToken.Node, InternalSyntax.PunctuationSyntax)) 11809Return SyntaxFactory.ObjectMemberInitializer(SyntaxFactory.Token(SyntaxKind.WithKeyword), SyntaxFactory.Token(SyntaxKind.OpenBraceToken), initializers, SyntaxFactory.Token(SyntaxKind.CloseBraceToken)) 11820Return SyntaxFactory.ObjectMemberInitializer(SyntaxFactory.Token(SyntaxKind.WithKeyword), SyntaxFactory.Token(SyntaxKind.OpenBraceToken), SyntaxFactory.SeparatedList(Of FieldInitializerSyntax)().AddRange(initializers), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)) 11836Case SyntaxKind.FromKeyword 11844Case SyntaxKind.CollectionInitializer 11848Return New ObjectCollectionInitializerSyntax(SyntaxKind.ObjectCollectionInitializer, Nothing, Nothing, DirectCast(fromKeyword.Node, InternalSyntax.KeywordSyntax), initializer) 11860Return SyntaxFactory.ObjectCollectionInitializer(SyntaxFactory.Token(SyntaxKind.FromKeyword), initializer) 11879Case SyntaxKind.IdentifierName, 11880SyntaxKind.SimpleMemberAccessExpression, 11881SyntaxKind.DictionaryAccessExpression 11885Return New InferredFieldInitializerSyntax(SyntaxKind.InferredFieldInitializer, Nothing, Nothing, DirectCast(keyKeyword.Node, InternalSyntax.KeywordSyntax), expression) 11922Case SyntaxKind.DotToken 11930Case SyntaxKind.IdentifierName 11935Case SyntaxKind.EqualsToken 11943Case SyntaxKind.KeywordEventContainer, 11944SyntaxKind.WithEventsEventContainer, 11945SyntaxKind.WithEventsPropertyEventContainer, 11946SyntaxKind.IdentifierLabel, 11947SyntaxKind.NumericLabel, 11948SyntaxKind.NextLabel, 11949SyntaxKind.MidExpression, 11950SyntaxKind.CharacterLiteralExpression, 11951SyntaxKind.TrueLiteralExpression, 11952SyntaxKind.FalseLiteralExpression, 11953SyntaxKind.NumericLiteralExpression, 11954SyntaxKind.DateLiteralExpression, 11955SyntaxKind.StringLiteralExpression, 11956SyntaxKind.NothingLiteralExpression, 11957SyntaxKind.ParenthesizedExpression, 11958SyntaxKind.TupleExpression, 11959SyntaxKind.TupleType, 11960SyntaxKind.MeExpression, 11961SyntaxKind.MyBaseExpression, 11962SyntaxKind.MyClassExpression, 11963SyntaxKind.GetTypeExpression, 11964SyntaxKind.TypeOfIsExpression, 11965SyntaxKind.TypeOfIsNotExpression, 11966SyntaxKind.GetXmlNamespaceExpression, 11967SyntaxKind.SimpleMemberAccessExpression, 11968SyntaxKind.DictionaryAccessExpression, 11969SyntaxKind.XmlElementAccessExpression, 11970SyntaxKind.XmlDescendantAccessExpression, 11971SyntaxKind.XmlAttributeAccessExpression, 11972SyntaxKind.InvocationExpression, 11973SyntaxKind.ObjectCreationExpression, 11974SyntaxKind.AnonymousObjectCreationExpression, 11975SyntaxKind.ArrayCreationExpression, 11976SyntaxKind.CollectionInitializer, 11977SyntaxKind.CTypeExpression, 11978SyntaxKind.DirectCastExpression, 11979SyntaxKind.TryCastExpression, 11980SyntaxKind.PredefinedCastExpression, 11981SyntaxKind.AddExpression, 11982SyntaxKind.SubtractExpression, 11983SyntaxKind.MultiplyExpression, 11984SyntaxKind.DivideExpression, 11985SyntaxKind.IntegerDivideExpression, 11986SyntaxKind.ExponentiateExpression, 11987SyntaxKind.LeftShiftExpression, 11988SyntaxKind.RightShiftExpression, 11989SyntaxKind.ConcatenateExpression, 11990SyntaxKind.ModuloExpression, 11991SyntaxKind.EqualsExpression, 11992SyntaxKind.NotEqualsExpression, 11993SyntaxKind.LessThanExpression, 11994SyntaxKind.LessThanOrEqualExpression, 11995SyntaxKind.GreaterThanOrEqualExpression, 11996SyntaxKind.GreaterThanExpression, 11997SyntaxKind.IsExpression, 11998SyntaxKind.IsNotExpression, 11999SyntaxKind.LikeExpression, 12000SyntaxKind.OrExpression, 12001SyntaxKind.ExclusiveOrExpression, 12002SyntaxKind.AndExpression, 12003SyntaxKind.OrElseExpression, 12004SyntaxKind.AndAlsoExpression, 12005SyntaxKind.UnaryPlusExpression, 12006SyntaxKind.UnaryMinusExpression, 12007SyntaxKind.NotExpression, 12008SyntaxKind.AddressOfExpression, 12009SyntaxKind.BinaryConditionalExpression, 12010SyntaxKind.TernaryConditionalExpression, 12011SyntaxKind.SingleLineFunctionLambdaExpression, 12012SyntaxKind.SingleLineSubLambdaExpression, 12013SyntaxKind.MultiLineFunctionLambdaExpression, 12014SyntaxKind.MultiLineSubLambdaExpression, 12015SyntaxKind.QueryExpression, 12016SyntaxKind.FunctionAggregation, 12017SyntaxKind.GroupAggregation, 12018SyntaxKind.XmlDocument, 12019SyntaxKind.XmlElement, 12020SyntaxKind.XmlText, 12021SyntaxKind.XmlElementStartTag, 12022SyntaxKind.XmlElementEndTag, 12023SyntaxKind.XmlEmptyElement, 12024SyntaxKind.XmlAttribute, 12025SyntaxKind.XmlString, 12026SyntaxKind.XmlPrefixName, 12027SyntaxKind.XmlName, 12028SyntaxKind.XmlBracketedName, 12029SyntaxKind.XmlComment, 12030SyntaxKind.XmlProcessingInstruction, 12031SyntaxKind.XmlCDataSection, 12032SyntaxKind.XmlEmbeddedExpression, 12033SyntaxKind.ArrayType, 12034SyntaxKind.NullableType, 12035SyntaxKind.PredefinedType, 12036SyntaxKind.IdentifierName, 12037SyntaxKind.GenericName, 12038SyntaxKind.QualifiedName, 12039SyntaxKind.GlobalName, 12040SyntaxKind.CrefOperatorReference, 12041SyntaxKind.QualifiedCrefOperatorReference, 12042SyntaxKind.AwaitExpression, 12043SyntaxKind.XmlCrefAttribute, 12044SyntaxKind.XmlNameAttribute, 12045SyntaxKind.ConditionalAccessExpression, 12046SyntaxKind.NameOfExpression, 12047SyntaxKind.InterpolatedStringExpression 12051Return New NamedFieldInitializerSyntax(SyntaxKind.NamedFieldInitializer, Nothing, Nothing, DirectCast(keyKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(dotToken.Node, InternalSyntax.PunctuationSyntax), name, DirectCast(equalsToken.Node, InternalSyntax.PunctuationSyntax), expression) 12066Return SyntaxFactory.NamedFieldInitializer(Nothing, SyntaxFactory.Token(SyntaxKind.DotToken), name, SyntaxFactory.Token(SyntaxKind.EqualsToken), expression) 12082Case SyntaxKind.EqualsToken 12090Case SyntaxKind.KeywordEventContainer, 12091SyntaxKind.WithEventsEventContainer, 12092SyntaxKind.WithEventsPropertyEventContainer, 12093SyntaxKind.IdentifierLabel, 12094SyntaxKind.NumericLabel, 12095SyntaxKind.NextLabel, 12096SyntaxKind.MidExpression, 12097SyntaxKind.CharacterLiteralExpression, 12098SyntaxKind.TrueLiteralExpression, 12099SyntaxKind.FalseLiteralExpression, 12100SyntaxKind.NumericLiteralExpression, 12101SyntaxKind.DateLiteralExpression, 12102SyntaxKind.StringLiteralExpression, 12103SyntaxKind.NothingLiteralExpression, 12104SyntaxKind.ParenthesizedExpression, 12105SyntaxKind.TupleExpression, 12106SyntaxKind.TupleType, 12107SyntaxKind.MeExpression, 12108SyntaxKind.MyBaseExpression, 12109SyntaxKind.MyClassExpression, 12110SyntaxKind.GetTypeExpression, 12111SyntaxKind.TypeOfIsExpression, 12112SyntaxKind.TypeOfIsNotExpression, 12113SyntaxKind.GetXmlNamespaceExpression, 12114SyntaxKind.SimpleMemberAccessExpression, 12115SyntaxKind.DictionaryAccessExpression, 12116SyntaxKind.XmlElementAccessExpression, 12117SyntaxKind.XmlDescendantAccessExpression, 12118SyntaxKind.XmlAttributeAccessExpression, 12119SyntaxKind.InvocationExpression, 12120SyntaxKind.ObjectCreationExpression, 12121SyntaxKind.AnonymousObjectCreationExpression, 12122SyntaxKind.ArrayCreationExpression, 12123SyntaxKind.CollectionInitializer, 12124SyntaxKind.CTypeExpression, 12125SyntaxKind.DirectCastExpression, 12126SyntaxKind.TryCastExpression, 12127SyntaxKind.PredefinedCastExpression, 12128SyntaxKind.AddExpression, 12129SyntaxKind.SubtractExpression, 12130SyntaxKind.MultiplyExpression, 12131SyntaxKind.DivideExpression, 12132SyntaxKind.IntegerDivideExpression, 12133SyntaxKind.ExponentiateExpression, 12134SyntaxKind.LeftShiftExpression, 12135SyntaxKind.RightShiftExpression, 12136SyntaxKind.ConcatenateExpression, 12137SyntaxKind.ModuloExpression, 12138SyntaxKind.EqualsExpression, 12139SyntaxKind.NotEqualsExpression, 12140SyntaxKind.LessThanExpression, 12141SyntaxKind.LessThanOrEqualExpression, 12142SyntaxKind.GreaterThanOrEqualExpression, 12143SyntaxKind.GreaterThanExpression, 12144SyntaxKind.IsExpression, 12145SyntaxKind.IsNotExpression, 12146SyntaxKind.LikeExpression, 12147SyntaxKind.OrExpression, 12148SyntaxKind.ExclusiveOrExpression, 12149SyntaxKind.AndExpression, 12150SyntaxKind.OrElseExpression, 12151SyntaxKind.AndAlsoExpression, 12152SyntaxKind.UnaryPlusExpression, 12153SyntaxKind.UnaryMinusExpression, 12154SyntaxKind.NotExpression, 12155SyntaxKind.AddressOfExpression, 12156SyntaxKind.BinaryConditionalExpression, 12157SyntaxKind.TernaryConditionalExpression, 12158SyntaxKind.SingleLineFunctionLambdaExpression, 12159SyntaxKind.SingleLineSubLambdaExpression, 12160SyntaxKind.MultiLineFunctionLambdaExpression, 12161SyntaxKind.MultiLineSubLambdaExpression, 12162SyntaxKind.QueryExpression, 12163SyntaxKind.FunctionAggregation, 12164SyntaxKind.GroupAggregation, 12165SyntaxKind.XmlDocument, 12166SyntaxKind.XmlElement, 12167SyntaxKind.XmlText, 12168SyntaxKind.XmlElementStartTag, 12169SyntaxKind.XmlElementEndTag, 12170SyntaxKind.XmlEmptyElement, 12171SyntaxKind.XmlAttribute, 12172SyntaxKind.XmlString, 12173SyntaxKind.XmlPrefixName, 12174SyntaxKind.XmlName, 12175SyntaxKind.XmlBracketedName, 12176SyntaxKind.XmlComment, 12177SyntaxKind.XmlProcessingInstruction, 12178SyntaxKind.XmlCDataSection, 12179SyntaxKind.XmlEmbeddedExpression, 12180SyntaxKind.ArrayType, 12181SyntaxKind.NullableType, 12182SyntaxKind.PredefinedType, 12183SyntaxKind.IdentifierName, 12184SyntaxKind.GenericName, 12185SyntaxKind.QualifiedName, 12186SyntaxKind.GlobalName, 12187SyntaxKind.CrefOperatorReference, 12188SyntaxKind.QualifiedCrefOperatorReference, 12189SyntaxKind.AwaitExpression, 12190SyntaxKind.XmlCrefAttribute, 12191SyntaxKind.XmlNameAttribute, 12192SyntaxKind.ConditionalAccessExpression, 12193SyntaxKind.NameOfExpression, 12194SyntaxKind.InterpolatedStringExpression 12198Return New EqualsValueSyntax(SyntaxKind.EqualsValue, Nothing, Nothing, DirectCast(equalsToken.Node, InternalSyntax.PunctuationSyntax), value) 12210Return SyntaxFactory.EqualsValue(SyntaxFactory.Token(SyntaxKind.EqualsToken), value) 12241Case SyntaxKind.ModifiedIdentifier 12245Return New ParameterSyntax(SyntaxKind.Parameter, Nothing, Nothing, attributeLists.Node, modifiers.Node, identifier, asClause, [default]) 12279Case SyntaxKind.IdentifierToken 12283Return New ModifiedIdentifierSyntax(SyntaxKind.ModifiedIdentifier, Nothing, Nothing, DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), DirectCast(nullable.Node, InternalSyntax.PunctuationSyntax), arrayBounds, arrayRankSpecifiers.Node) 12341Case SyntaxKind.OpenParenToken 12346Case SyntaxKind.CloseParenToken 12350Return New ArrayRankSpecifierSyntax(SyntaxKind.ArrayRankSpecifier, Nothing, Nothing, DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), commaTokens.Node, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 12359Return SyntaxFactory.ArrayRankSpecifier(SyntaxFactory.Token(SyntaxKind.OpenParenToken), Nothing, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 12377Case SyntaxKind.LessThanToken 12382Case SyntaxKind.GreaterThanToken 12386Return New AttributeListSyntax(SyntaxKind.AttributeList, Nothing, Nothing, DirectCast(lessThanToken.Node, InternalSyntax.PunctuationSyntax), attributes.Node, DirectCast(greaterThanToken.Node, InternalSyntax.PunctuationSyntax)) 12397Return SyntaxFactory.AttributeList(SyntaxFactory.Token(SyntaxKind.LessThanToken), attributes, SyntaxFactory.Token(SyntaxKind.GreaterThanToken)) 12405Return SyntaxFactory.AttributeList(SyntaxFactory.Token(SyntaxKind.LessThanToken), Nothing, SyntaxFactory.Token(SyntaxKind.GreaterThanToken)) 12427Case SyntaxKind.PredefinedType, 12428SyntaxKind.NullableType, 12429SyntaxKind.IdentifierName, 12430SyntaxKind.GenericName, 12431SyntaxKind.QualifiedName, 12432SyntaxKind.GlobalName, 12433SyntaxKind.CrefOperatorReference, 12434SyntaxKind.QualifiedCrefOperatorReference 12438Return New AttributeSyntax(SyntaxKind.Attribute, Nothing, Nothing, target, name, argumentList) 12466Case SyntaxKind.AssemblyKeyword : 12467Case SyntaxKind.ModuleKeyword 12472Case SyntaxKind.ColonToken 12476Return New AttributeTargetSyntax(SyntaxKind.AttributeTarget, Nothing, Nothing, DirectCast(attributeModifier.Node, InternalSyntax.KeywordSyntax), DirectCast(colonToken.Node, InternalSyntax.PunctuationSyntax)) 12488Return SyntaxFactory.AttributeTarget(attributeModifier, SyntaxFactory.Token(SyntaxKind.ColonToken)) 12500Return New AttributesStatementSyntax(SyntaxKind.AttributesStatement, Nothing, Nothing, attributeLists.Node) 12526Case SyntaxKind.KeywordEventContainer, 12527SyntaxKind.WithEventsEventContainer, 12528SyntaxKind.WithEventsPropertyEventContainer, 12529SyntaxKind.IdentifierLabel, 12530SyntaxKind.NumericLabel, 12531SyntaxKind.NextLabel, 12532SyntaxKind.MidExpression, 12533SyntaxKind.CharacterLiteralExpression, 12534SyntaxKind.TrueLiteralExpression, 12535SyntaxKind.FalseLiteralExpression, 12536SyntaxKind.NumericLiteralExpression, 12537SyntaxKind.DateLiteralExpression, 12538SyntaxKind.StringLiteralExpression, 12539SyntaxKind.NothingLiteralExpression, 12540SyntaxKind.ParenthesizedExpression, 12541SyntaxKind.TupleExpression, 12542SyntaxKind.TupleType, 12543SyntaxKind.MeExpression, 12544SyntaxKind.MyBaseExpression, 12545SyntaxKind.MyClassExpression, 12546SyntaxKind.GetTypeExpression, 12547SyntaxKind.TypeOfIsExpression, 12548SyntaxKind.TypeOfIsNotExpression, 12549SyntaxKind.GetXmlNamespaceExpression, 12550SyntaxKind.SimpleMemberAccessExpression, 12551SyntaxKind.DictionaryAccessExpression, 12552SyntaxKind.XmlElementAccessExpression, 12553SyntaxKind.XmlDescendantAccessExpression, 12554SyntaxKind.XmlAttributeAccessExpression, 12555SyntaxKind.InvocationExpression, 12556SyntaxKind.ObjectCreationExpression, 12557SyntaxKind.AnonymousObjectCreationExpression, 12558SyntaxKind.ArrayCreationExpression, 12559SyntaxKind.CollectionInitializer, 12560SyntaxKind.CTypeExpression, 12561SyntaxKind.DirectCastExpression, 12562SyntaxKind.TryCastExpression, 12563SyntaxKind.PredefinedCastExpression, 12564SyntaxKind.AddExpression, 12565SyntaxKind.SubtractExpression, 12566SyntaxKind.MultiplyExpression, 12567SyntaxKind.DivideExpression, 12568SyntaxKind.IntegerDivideExpression, 12569SyntaxKind.ExponentiateExpression, 12570SyntaxKind.LeftShiftExpression, 12571SyntaxKind.RightShiftExpression, 12572SyntaxKind.ConcatenateExpression, 12573SyntaxKind.ModuloExpression, 12574SyntaxKind.EqualsExpression, 12575SyntaxKind.NotEqualsExpression, 12576SyntaxKind.LessThanExpression, 12577SyntaxKind.LessThanOrEqualExpression, 12578SyntaxKind.GreaterThanOrEqualExpression, 12579SyntaxKind.GreaterThanExpression, 12580SyntaxKind.IsExpression, 12581SyntaxKind.IsNotExpression, 12582SyntaxKind.LikeExpression, 12583SyntaxKind.OrExpression, 12584SyntaxKind.ExclusiveOrExpression, 12585SyntaxKind.AndExpression, 12586SyntaxKind.OrElseExpression, 12587SyntaxKind.AndAlsoExpression, 12588SyntaxKind.UnaryPlusExpression, 12589SyntaxKind.UnaryMinusExpression, 12590SyntaxKind.NotExpression, 12591SyntaxKind.AddressOfExpression, 12592SyntaxKind.BinaryConditionalExpression, 12593SyntaxKind.TernaryConditionalExpression, 12594SyntaxKind.SingleLineFunctionLambdaExpression, 12595SyntaxKind.SingleLineSubLambdaExpression, 12596SyntaxKind.MultiLineFunctionLambdaExpression, 12597SyntaxKind.MultiLineSubLambdaExpression, 12598SyntaxKind.QueryExpression, 12599SyntaxKind.FunctionAggregation, 12600SyntaxKind.GroupAggregation, 12601SyntaxKind.XmlDocument, 12602SyntaxKind.XmlElement, 12603SyntaxKind.XmlText, 12604SyntaxKind.XmlElementStartTag, 12605SyntaxKind.XmlElementEndTag, 12606SyntaxKind.XmlEmptyElement, 12607SyntaxKind.XmlAttribute, 12608SyntaxKind.XmlString, 12609SyntaxKind.XmlPrefixName, 12610SyntaxKind.XmlName, 12611SyntaxKind.XmlBracketedName, 12612SyntaxKind.XmlComment, 12613SyntaxKind.XmlProcessingInstruction, 12614SyntaxKind.XmlCDataSection, 12615SyntaxKind.XmlEmbeddedExpression, 12616SyntaxKind.ArrayType, 12617SyntaxKind.NullableType, 12618SyntaxKind.PredefinedType, 12619SyntaxKind.IdentifierName, 12620SyntaxKind.GenericName, 12621SyntaxKind.QualifiedName, 12622SyntaxKind.GlobalName, 12623SyntaxKind.CrefOperatorReference, 12624SyntaxKind.QualifiedCrefOperatorReference, 12625SyntaxKind.AwaitExpression, 12626SyntaxKind.XmlCrefAttribute, 12627SyntaxKind.XmlNameAttribute, 12628SyntaxKind.ConditionalAccessExpression, 12629SyntaxKind.NameOfExpression, 12630SyntaxKind.InterpolatedStringExpression 12634Return New ExpressionStatementSyntax(SyntaxKind.ExpressionStatement, Nothing, Nothing, expression) 12649Case SyntaxKind.QuestionToken 12657Case SyntaxKind.KeywordEventContainer, 12658SyntaxKind.WithEventsEventContainer, 12659SyntaxKind.WithEventsPropertyEventContainer, 12660SyntaxKind.IdentifierLabel, 12661SyntaxKind.NumericLabel, 12662SyntaxKind.NextLabel, 12663SyntaxKind.MidExpression, 12664SyntaxKind.CharacterLiteralExpression, 12665SyntaxKind.TrueLiteralExpression, 12666SyntaxKind.FalseLiteralExpression, 12667SyntaxKind.NumericLiteralExpression, 12668SyntaxKind.DateLiteralExpression, 12669SyntaxKind.StringLiteralExpression, 12670SyntaxKind.NothingLiteralExpression, 12671SyntaxKind.ParenthesizedExpression, 12672SyntaxKind.TupleExpression, 12673SyntaxKind.TupleType, 12674SyntaxKind.MeExpression, 12675SyntaxKind.MyBaseExpression, 12676SyntaxKind.MyClassExpression, 12677SyntaxKind.GetTypeExpression, 12678SyntaxKind.TypeOfIsExpression, 12679SyntaxKind.TypeOfIsNotExpression, 12680SyntaxKind.GetXmlNamespaceExpression, 12681SyntaxKind.SimpleMemberAccessExpression, 12682SyntaxKind.DictionaryAccessExpression, 12683SyntaxKind.XmlElementAccessExpression, 12684SyntaxKind.XmlDescendantAccessExpression, 12685SyntaxKind.XmlAttributeAccessExpression, 12686SyntaxKind.InvocationExpression, 12687SyntaxKind.ObjectCreationExpression, 12688SyntaxKind.AnonymousObjectCreationExpression, 12689SyntaxKind.ArrayCreationExpression, 12690SyntaxKind.CollectionInitializer, 12691SyntaxKind.CTypeExpression, 12692SyntaxKind.DirectCastExpression, 12693SyntaxKind.TryCastExpression, 12694SyntaxKind.PredefinedCastExpression, 12695SyntaxKind.AddExpression, 12696SyntaxKind.SubtractExpression, 12697SyntaxKind.MultiplyExpression, 12698SyntaxKind.DivideExpression, 12699SyntaxKind.IntegerDivideExpression, 12700SyntaxKind.ExponentiateExpression, 12701SyntaxKind.LeftShiftExpression, 12702SyntaxKind.RightShiftExpression, 12703SyntaxKind.ConcatenateExpression, 12704SyntaxKind.ModuloExpression, 12705SyntaxKind.EqualsExpression, 12706SyntaxKind.NotEqualsExpression, 12707SyntaxKind.LessThanExpression, 12708SyntaxKind.LessThanOrEqualExpression, 12709SyntaxKind.GreaterThanOrEqualExpression, 12710SyntaxKind.GreaterThanExpression, 12711SyntaxKind.IsExpression, 12712SyntaxKind.IsNotExpression, 12713SyntaxKind.LikeExpression, 12714SyntaxKind.OrExpression, 12715SyntaxKind.ExclusiveOrExpression, 12716SyntaxKind.AndExpression, 12717SyntaxKind.OrElseExpression, 12718SyntaxKind.AndAlsoExpression, 12719SyntaxKind.UnaryPlusExpression, 12720SyntaxKind.UnaryMinusExpression, 12721SyntaxKind.NotExpression, 12722SyntaxKind.AddressOfExpression, 12723SyntaxKind.BinaryConditionalExpression, 12724SyntaxKind.TernaryConditionalExpression, 12725SyntaxKind.SingleLineFunctionLambdaExpression, 12726SyntaxKind.SingleLineSubLambdaExpression, 12727SyntaxKind.MultiLineFunctionLambdaExpression, 12728SyntaxKind.MultiLineSubLambdaExpression, 12729SyntaxKind.QueryExpression, 12730SyntaxKind.FunctionAggregation, 12731SyntaxKind.GroupAggregation, 12732SyntaxKind.XmlDocument, 12733SyntaxKind.XmlElement, 12734SyntaxKind.XmlText, 12735SyntaxKind.XmlElementStartTag, 12736SyntaxKind.XmlElementEndTag, 12737SyntaxKind.XmlEmptyElement, 12738SyntaxKind.XmlAttribute, 12739SyntaxKind.XmlString, 12740SyntaxKind.XmlPrefixName, 12741SyntaxKind.XmlName, 12742SyntaxKind.XmlBracketedName, 12743SyntaxKind.XmlComment, 12744SyntaxKind.XmlProcessingInstruction, 12745SyntaxKind.XmlCDataSection, 12746SyntaxKind.XmlEmbeddedExpression, 12747SyntaxKind.ArrayType, 12748SyntaxKind.NullableType, 12749SyntaxKind.PredefinedType, 12750SyntaxKind.IdentifierName, 12751SyntaxKind.GenericName, 12752SyntaxKind.QualifiedName, 12753SyntaxKind.GlobalName, 12754SyntaxKind.CrefOperatorReference, 12755SyntaxKind.QualifiedCrefOperatorReference, 12756SyntaxKind.AwaitExpression, 12757SyntaxKind.XmlCrefAttribute, 12758SyntaxKind.XmlNameAttribute, 12759SyntaxKind.ConditionalAccessExpression, 12760SyntaxKind.NameOfExpression, 12761SyntaxKind.InterpolatedStringExpression 12765Return New PrintStatementSyntax(SyntaxKind.PrintStatement, Nothing, Nothing, DirectCast(questionToken.Node, InternalSyntax.PunctuationSyntax), expression) 12776Return SyntaxFactory.PrintStatement(SyntaxFactory.Token(SyntaxKind.QuestionToken), expression) 12798Case SyntaxKind.WhileStatement 12806Case SyntaxKind.EndWhileStatement 12810Return New WhileBlockSyntax(SyntaxKind.WhileBlock, Nothing, Nothing, whileStatement, statements.Node, endWhileStatement) 12860Case SyntaxKind.UsingStatement 12868Case SyntaxKind.EndUsingStatement 12872Return New UsingBlockSyntax(SyntaxKind.UsingBlock, Nothing, Nothing, usingStatement, statements.Node, endUsingStatement) 12923Case SyntaxKind.SyncLockStatement 12931Case SyntaxKind.EndSyncLockStatement 12935Return New SyncLockBlockSyntax(SyntaxKind.SyncLockBlock, Nothing, Nothing, syncLockStatement, statements.Node, endSyncLockStatement) 12986Case SyntaxKind.WithStatement 12994Case SyntaxKind.EndWithStatement 12998Return New WithBlockSyntax(SyntaxKind.WithBlock, Nothing, Nothing, withStatement, statements.Node, endWithStatement) 13042Return New LocalDeclarationStatementSyntax(SyntaxKind.LocalDeclarationStatement, Nothing, Nothing, modifiers.Node, declarators.Node) 13058Case SyntaxKind.IdentifierToken : 13059Case SyntaxKind.IntegerLiteralToken 13064Case SyntaxKind.ColonToken 13068Return New LabelStatementSyntax(SyntaxKind.LabelStatement, Nothing, Nothing, DirectCast(labelToken.Node, InternalSyntax.SyntaxToken), DirectCast(colonToken.Node, InternalSyntax.PunctuationSyntax)) 13080Return SyntaxFactory.LabelStatement(labelToken, SyntaxFactory.Token(SyntaxKind.ColonToken)) 13092Return SyntaxFactory.LabelStatement(SyntaxFactory.Identifier(labelToken), SyntaxFactory.Token(SyntaxKind.ColonToken)) 13108Case SyntaxKind.GoToKeyword 13116Case SyntaxKind.IdentifierLabel, 13117SyntaxKind.NumericLabel, 13118SyntaxKind.NextLabel 13122Return New GoToStatementSyntax(SyntaxKind.GoToStatement, Nothing, Nothing, DirectCast(goToKeyword.Node, InternalSyntax.KeywordSyntax), label) 13134Return SyntaxFactory.GoToStatement(SyntaxFactory.Token(SyntaxKind.GoToKeyword), label) 13148Case SyntaxKind.IdentifierToken : 13149Case SyntaxKind.IntegerLiteralToken : 13150Case SyntaxKind.NextKeyword 13154Return New LabelSyntax(SyntaxKind.IdentifierLabel, Nothing, Nothing, DirectCast(labelToken.Node, InternalSyntax.SyntaxToken)) 13181Case SyntaxKind.IntegerLiteralToken 13185Return New LabelSyntax(SyntaxKind.NumericLabel, Nothing, Nothing, DirectCast(labelToken.Node, InternalSyntax.SyntaxToken)) 13194Return SyntaxFactory.NumericLabel(SyntaxFactory.Token(SyntaxKind.IntegerLiteralToken)) 13208Case SyntaxKind.NextKeyword 13212Return New LabelSyntax(SyntaxKind.NextLabel, Nothing, Nothing, DirectCast(labelToken.Node, InternalSyntax.SyntaxToken)) 13221Return SyntaxFactory.NextLabel(SyntaxFactory.Token(SyntaxKind.NextKeyword)) 13230''' A <see cref="SyntaxKind"/> representing the specific kind of LabelSyntax. One 13237Public Shared Function Label(ByVal kind As SyntaxKind, labelToken As SyntaxToken) As LabelSyntax 13247Private Shared Function GetLabelLabelTokenKind(kind As SyntaxKind) As SyntaxKind 13249Case SyntaxKind.IdentifierLabel 13250Return SyntaxKind.IdentifierToken 13251Case SyntaxKind.NumericLabel 13252Return SyntaxKind.IntegerLiteralToken 13253Case SyntaxKind.NextLabel 13254Return SyntaxKind.NextKeyword 13265''' A <see cref="SyntaxKind"/> representing the specific kind of LabelSyntax. One 13272Public Shared Function Label(ByVal kind As SyntaxKind, labelToken As String) As LabelSyntax 13286Case SyntaxKind.StopKeyword : 13287Case SyntaxKind.EndKeyword 13291Return New StopOrEndStatementSyntax(SyntaxKind.StopStatement, Nothing, Nothing, DirectCast(stopOrEndKeyword.Node, InternalSyntax.KeywordSyntax)) 13304Case SyntaxKind.StopKeyword : 13305Case SyntaxKind.EndKeyword 13309Return New StopOrEndStatementSyntax(SyntaxKind.EndStatement, Nothing, Nothing, DirectCast(stopOrEndKeyword.Node, InternalSyntax.KeywordSyntax)) 13318''' A <see cref="SyntaxKind"/> representing the specific kind of 13324Public Shared Function StopOrEndStatement(ByVal kind As SyntaxKind, stopOrEndKeyword As SyntaxToken) As StopOrEndStatementSyntax 13329Case SyntaxKind.StopKeyword : 13330Case SyntaxKind.EndKeyword 13350Case SyntaxKind.ExitKeyword 13355Case SyntaxKind.DoKeyword : 13356Case SyntaxKind.ForKeyword : 13357Case SyntaxKind.SubKeyword : 13358Case SyntaxKind.FunctionKeyword : 13359Case SyntaxKind.OperatorKeyword : 13360Case SyntaxKind.PropertyKeyword : 13361Case SyntaxKind.TryKeyword : 13362Case SyntaxKind.SelectKeyword : 13363Case SyntaxKind.WhileKeyword 13367Return New ExitStatementSyntax(SyntaxKind.ExitDoStatement, Nothing, Nothing, DirectCast(exitKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 13376Return SyntaxFactory.ExitDoStatement(SyntaxFactory.Token(SyntaxKind.ExitKeyword), SyntaxFactory.Token(SyntaxKind.DoKeyword)) 13392Case SyntaxKind.ExitKeyword 13397Case SyntaxKind.ForKeyword 13401Return New ExitStatementSyntax(SyntaxKind.ExitForStatement, Nothing, Nothing, DirectCast(exitKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 13410Return SyntaxFactory.ExitForStatement(SyntaxFactory.Token(SyntaxKind.ExitKeyword), SyntaxFactory.Token(SyntaxKind.ForKeyword)) 13426Case SyntaxKind.ExitKeyword 13431Case SyntaxKind.SubKeyword 13435Return New ExitStatementSyntax(SyntaxKind.ExitSubStatement, Nothing, Nothing, DirectCast(exitKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 13444Return SyntaxFactory.ExitSubStatement(SyntaxFactory.Token(SyntaxKind.ExitKeyword), SyntaxFactory.Token(SyntaxKind.SubKeyword)) 13460Case SyntaxKind.ExitKeyword 13465Case SyntaxKind.FunctionKeyword 13469Return New ExitStatementSyntax(SyntaxKind.ExitFunctionStatement, Nothing, Nothing, DirectCast(exitKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 13478Return SyntaxFactory.ExitFunctionStatement(SyntaxFactory.Token(SyntaxKind.ExitKeyword), SyntaxFactory.Token(SyntaxKind.FunctionKeyword)) 13494Case SyntaxKind.ExitKeyword 13499Case SyntaxKind.OperatorKeyword 13503Return New ExitStatementSyntax(SyntaxKind.ExitOperatorStatement, Nothing, Nothing, DirectCast(exitKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 13512Return SyntaxFactory.ExitOperatorStatement(SyntaxFactory.Token(SyntaxKind.ExitKeyword), SyntaxFactory.Token(SyntaxKind.OperatorKeyword)) 13528Case SyntaxKind.ExitKeyword 13533Case SyntaxKind.PropertyKeyword 13537Return New ExitStatementSyntax(SyntaxKind.ExitPropertyStatement, Nothing, Nothing, DirectCast(exitKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 13546Return SyntaxFactory.ExitPropertyStatement(SyntaxFactory.Token(SyntaxKind.ExitKeyword), SyntaxFactory.Token(SyntaxKind.PropertyKeyword)) 13562Case SyntaxKind.ExitKeyword 13567Case SyntaxKind.TryKeyword 13571Return New ExitStatementSyntax(SyntaxKind.ExitTryStatement, Nothing, Nothing, DirectCast(exitKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 13580Return SyntaxFactory.ExitTryStatement(SyntaxFactory.Token(SyntaxKind.ExitKeyword), SyntaxFactory.Token(SyntaxKind.TryKeyword)) 13596Case SyntaxKind.ExitKeyword 13601Case SyntaxKind.SelectKeyword 13605Return New ExitStatementSyntax(SyntaxKind.ExitSelectStatement, Nothing, Nothing, DirectCast(exitKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 13614Return SyntaxFactory.ExitSelectStatement(SyntaxFactory.Token(SyntaxKind.ExitKeyword), SyntaxFactory.Token(SyntaxKind.SelectKeyword)) 13630Case SyntaxKind.ExitKeyword 13635Case SyntaxKind.WhileKeyword 13639Return New ExitStatementSyntax(SyntaxKind.ExitWhileStatement, Nothing, Nothing, DirectCast(exitKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 13648Return SyntaxFactory.ExitWhileStatement(SyntaxFactory.Token(SyntaxKind.ExitKeyword), SyntaxFactory.Token(SyntaxKind.WhileKeyword)) 13657''' A <see cref="SyntaxKind"/> representing the specific kind of 13669Public Shared Function ExitStatement(ByVal kind As SyntaxKind, exitKeyword As SyntaxToken, blockKeyword As SyntaxToken) As ExitStatementSyntax 13674Case SyntaxKind.ExitKeyword 13684Private Shared Function GetExitStatementBlockKeywordKind(kind As SyntaxKind) As SyntaxKind 13686Case SyntaxKind.ExitDoStatement 13687Return SyntaxKind.DoKeyword 13688Case SyntaxKind.ExitForStatement 13689Return SyntaxKind.ForKeyword 13690Case SyntaxKind.ExitSubStatement 13691Return SyntaxKind.SubKeyword 13692Case SyntaxKind.ExitFunctionStatement 13693Return SyntaxKind.FunctionKeyword 13694Case SyntaxKind.ExitOperatorStatement 13695Return SyntaxKind.OperatorKeyword 13696Case SyntaxKind.ExitPropertyStatement 13697Return SyntaxKind.PropertyKeyword 13698Case SyntaxKind.ExitTryStatement 13699Return SyntaxKind.TryKeyword 13700Case SyntaxKind.ExitSelectStatement 13701Return SyntaxKind.SelectKeyword 13702Case SyntaxKind.ExitWhileStatement 13703Return SyntaxKind.WhileKeyword 13714''' A <see cref="SyntaxKind"/> representing the specific kind of 13723Public Shared Function ExitStatement(ByVal kind As SyntaxKind, blockKeyword As SyntaxToken) As ExitStatementSyntax 13724Return SyntaxFactory.ExitStatement(kind, SyntaxFactory.Token(SyntaxKind.ExitKeyword), blockKeyword) 13741Case SyntaxKind.ContinueKeyword 13746Case SyntaxKind.DoKeyword : 13747Case SyntaxKind.ForKeyword : 13748Case SyntaxKind.WhileKeyword 13752Return New ContinueStatementSyntax(SyntaxKind.ContinueWhileStatement, Nothing, Nothing, DirectCast(continueKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 13761Return SyntaxFactory.ContinueWhileStatement(SyntaxFactory.Token(SyntaxKind.ContinueKeyword), SyntaxFactory.Token(SyntaxKind.WhileKeyword)) 13778Case SyntaxKind.ContinueKeyword 13783Case SyntaxKind.DoKeyword 13787Return New ContinueStatementSyntax(SyntaxKind.ContinueDoStatement, Nothing, Nothing, DirectCast(continueKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 13796Return SyntaxFactory.ContinueDoStatement(SyntaxFactory.Token(SyntaxKind.ContinueKeyword), SyntaxFactory.Token(SyntaxKind.DoKeyword)) 13813Case SyntaxKind.ContinueKeyword 13818Case SyntaxKind.ForKeyword 13822Return New ContinueStatementSyntax(SyntaxKind.ContinueForStatement, Nothing, Nothing, DirectCast(continueKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(blockKeyword.Node, InternalSyntax.KeywordSyntax)) 13831Return SyntaxFactory.ContinueForStatement(SyntaxFactory.Token(SyntaxKind.ContinueKeyword), SyntaxFactory.Token(SyntaxKind.ForKeyword)) 13840''' A <see cref="SyntaxKind"/> representing the specific kind of 13851Public Shared Function ContinueStatement(ByVal kind As SyntaxKind, continueKeyword As SyntaxToken, blockKeyword As SyntaxToken) As ContinueStatementSyntax 13856Case SyntaxKind.ContinueKeyword 13866Private Shared Function GetContinueStatementBlockKeywordKind(kind As SyntaxKind) As SyntaxKind 13868Case SyntaxKind.ContinueWhileStatement 13869Return SyntaxKind.WhileKeyword 13870Case SyntaxKind.ContinueDoStatement 13871Return SyntaxKind.DoKeyword 13872Case SyntaxKind.ContinueForStatement 13873Return SyntaxKind.ForKeyword 13884''' A <see cref="SyntaxKind"/> representing the specific kind of 13892Public Shared Function ContinueStatement(ByVal kind As SyntaxKind, blockKeyword As SyntaxToken) As ContinueStatementSyntax 13893Return SyntaxFactory.ContinueStatement(kind, SyntaxFactory.Token(SyntaxKind.ContinueKeyword), blockKeyword) 13908Case SyntaxKind.ReturnKeyword 13912Return New ReturnStatementSyntax(SyntaxKind.ReturnStatement, Nothing, Nothing, DirectCast(returnKeyword.Node, InternalSyntax.KeywordSyntax), expression) 13923Return SyntaxFactory.ReturnStatement(SyntaxFactory.Token(SyntaxKind.ReturnKeyword), expression) 13931Return SyntaxFactory.ReturnStatement(SyntaxFactory.Token(SyntaxKind.ReturnKeyword), Nothing) 13956Case SyntaxKind.IfKeyword 13964Case SyntaxKind.KeywordEventContainer, 13965SyntaxKind.WithEventsEventContainer, 13966SyntaxKind.WithEventsPropertyEventContainer, 13967SyntaxKind.IdentifierLabel, 13968SyntaxKind.NumericLabel, 13969SyntaxKind.NextLabel, 13970SyntaxKind.MidExpression, 13971SyntaxKind.CharacterLiteralExpression, 13972SyntaxKind.TrueLiteralExpression, 13973SyntaxKind.FalseLiteralExpression, 13974SyntaxKind.NumericLiteralExpression, 13975SyntaxKind.DateLiteralExpression, 13976SyntaxKind.StringLiteralExpression, 13977SyntaxKind.NothingLiteralExpression, 13978SyntaxKind.ParenthesizedExpression, 13979SyntaxKind.TupleExpression, 13980SyntaxKind.TupleType, 13981SyntaxKind.MeExpression, 13982SyntaxKind.MyBaseExpression, 13983SyntaxKind.MyClassExpression, 13984SyntaxKind.GetTypeExpression, 13985SyntaxKind.TypeOfIsExpression, 13986SyntaxKind.TypeOfIsNotExpression, 13987SyntaxKind.GetXmlNamespaceExpression, 13988SyntaxKind.SimpleMemberAccessExpression, 13989SyntaxKind.DictionaryAccessExpression, 13990SyntaxKind.XmlElementAccessExpression, 13991SyntaxKind.XmlDescendantAccessExpression, 13992SyntaxKind.XmlAttributeAccessExpression, 13993SyntaxKind.InvocationExpression, 13994SyntaxKind.ObjectCreationExpression, 13995SyntaxKind.AnonymousObjectCreationExpression, 13996SyntaxKind.ArrayCreationExpression, 13997SyntaxKind.CollectionInitializer, 13998SyntaxKind.CTypeExpression, 13999SyntaxKind.DirectCastExpression, 14000SyntaxKind.TryCastExpression, 14001SyntaxKind.PredefinedCastExpression, 14002SyntaxKind.AddExpression, 14003SyntaxKind.SubtractExpression, 14004SyntaxKind.MultiplyExpression, 14005SyntaxKind.DivideExpression, 14006SyntaxKind.IntegerDivideExpression, 14007SyntaxKind.ExponentiateExpression, 14008SyntaxKind.LeftShiftExpression, 14009SyntaxKind.RightShiftExpression, 14010SyntaxKind.ConcatenateExpression, 14011SyntaxKind.ModuloExpression, 14012SyntaxKind.EqualsExpression, 14013SyntaxKind.NotEqualsExpression, 14014SyntaxKind.LessThanExpression, 14015SyntaxKind.LessThanOrEqualExpression, 14016SyntaxKind.GreaterThanOrEqualExpression, 14017SyntaxKind.GreaterThanExpression, 14018SyntaxKind.IsExpression, 14019SyntaxKind.IsNotExpression, 14020SyntaxKind.LikeExpression, 14021SyntaxKind.OrExpression, 14022SyntaxKind.ExclusiveOrExpression, 14023SyntaxKind.AndExpression, 14024SyntaxKind.OrElseExpression, 14025SyntaxKind.AndAlsoExpression, 14026SyntaxKind.UnaryPlusExpression, 14027SyntaxKind.UnaryMinusExpression, 14028SyntaxKind.NotExpression, 14029SyntaxKind.AddressOfExpression, 14030SyntaxKind.BinaryConditionalExpression, 14031SyntaxKind.TernaryConditionalExpression, 14032SyntaxKind.SingleLineFunctionLambdaExpression, 14033SyntaxKind.SingleLineSubLambdaExpression, 14034SyntaxKind.MultiLineFunctionLambdaExpression, 14035SyntaxKind.MultiLineSubLambdaExpression, 14036SyntaxKind.QueryExpression, 14037SyntaxKind.FunctionAggregation, 14038SyntaxKind.GroupAggregation, 14039SyntaxKind.XmlDocument, 14040SyntaxKind.XmlElement, 14041SyntaxKind.XmlText, 14042SyntaxKind.XmlElementStartTag, 14043SyntaxKind.XmlElementEndTag, 14044SyntaxKind.XmlEmptyElement, 14045SyntaxKind.XmlAttribute, 14046SyntaxKind.XmlString, 14047SyntaxKind.XmlPrefixName, 14048SyntaxKind.XmlName, 14049SyntaxKind.XmlBracketedName, 14050SyntaxKind.XmlComment, 14051SyntaxKind.XmlProcessingInstruction, 14052SyntaxKind.XmlCDataSection, 14053SyntaxKind.XmlEmbeddedExpression, 14054SyntaxKind.ArrayType, 14055SyntaxKind.NullableType, 14056SyntaxKind.PredefinedType, 14057SyntaxKind.IdentifierName, 14058SyntaxKind.GenericName, 14059SyntaxKind.QualifiedName, 14060SyntaxKind.GlobalName, 14061SyntaxKind.CrefOperatorReference, 14062SyntaxKind.QualifiedCrefOperatorReference, 14063SyntaxKind.AwaitExpression, 14064SyntaxKind.XmlCrefAttribute, 14065SyntaxKind.XmlNameAttribute, 14066SyntaxKind.ConditionalAccessExpression, 14067SyntaxKind.NameOfExpression, 14068SyntaxKind.InterpolatedStringExpression 14073Case SyntaxKind.ThenKeyword 14077Return New SingleLineIfStatementSyntax(SyntaxKind.SingleLineIfStatement, Nothing, Nothing, DirectCast(ifKeyword.Node, InternalSyntax.KeywordSyntax), condition, DirectCast(thenKeyword.Node, InternalSyntax.KeywordSyntax), statements.Node, elseClause) 14095Return SyntaxFactory.SingleLineIfStatement(SyntaxFactory.Token(SyntaxKind.IfKeyword), condition, SyntaxFactory.Token(SyntaxKind.ThenKeyword), statements, elseClause) 14106Return SyntaxFactory.SingleLineIfStatement(SyntaxFactory.Token(SyntaxKind.IfKeyword), condition, SyntaxFactory.Token(SyntaxKind.ThenKeyword), Nothing, Nothing) 14122Case SyntaxKind.ElseKeyword 14126Return New SingleLineElseClauseSyntax(SyntaxKind.SingleLineElseClause, Nothing, Nothing, DirectCast(elseKeyword.Node, InternalSyntax.KeywordSyntax), statements.Node) 14138Return SyntaxFactory.SingleLineElseClause(SyntaxFactory.Token(SyntaxKind.ElseKeyword), statements) 14146Return SyntaxFactory.SingleLineElseClause(SyntaxFactory.Token(SyntaxKind.ElseKeyword), Nothing) 14177Case SyntaxKind.IfStatement 14185Case SyntaxKind.EndIfStatement 14189Return New MultiLineIfBlockSyntax(SyntaxKind.MultiLineIfBlock, Nothing, Nothing, ifStatement, statements.Node, elseIfBlocks.Node, elseBlock, endIfStatement) 14243Case SyntaxKind.IfKeyword 14251Case SyntaxKind.KeywordEventContainer, 14252SyntaxKind.WithEventsEventContainer, 14253SyntaxKind.WithEventsPropertyEventContainer, 14254SyntaxKind.IdentifierLabel, 14255SyntaxKind.NumericLabel, 14256SyntaxKind.NextLabel, 14257SyntaxKind.MidExpression, 14258SyntaxKind.CharacterLiteralExpression, 14259SyntaxKind.TrueLiteralExpression, 14260SyntaxKind.FalseLiteralExpression, 14261SyntaxKind.NumericLiteralExpression, 14262SyntaxKind.DateLiteralExpression, 14263SyntaxKind.StringLiteralExpression, 14264SyntaxKind.NothingLiteralExpression, 14265SyntaxKind.ParenthesizedExpression, 14266SyntaxKind.TupleExpression, 14267SyntaxKind.TupleType, 14268SyntaxKind.MeExpression, 14269SyntaxKind.MyBaseExpression, 14270SyntaxKind.MyClassExpression, 14271SyntaxKind.GetTypeExpression, 14272SyntaxKind.TypeOfIsExpression, 14273SyntaxKind.TypeOfIsNotExpression, 14274SyntaxKind.GetXmlNamespaceExpression, 14275SyntaxKind.SimpleMemberAccessExpression, 14276SyntaxKind.DictionaryAccessExpression, 14277SyntaxKind.XmlElementAccessExpression, 14278SyntaxKind.XmlDescendantAccessExpression, 14279SyntaxKind.XmlAttributeAccessExpression, 14280SyntaxKind.InvocationExpression, 14281SyntaxKind.ObjectCreationExpression, 14282SyntaxKind.AnonymousObjectCreationExpression, 14283SyntaxKind.ArrayCreationExpression, 14284SyntaxKind.CollectionInitializer, 14285SyntaxKind.CTypeExpression, 14286SyntaxKind.DirectCastExpression, 14287SyntaxKind.TryCastExpression, 14288SyntaxKind.PredefinedCastExpression, 14289SyntaxKind.AddExpression, 14290SyntaxKind.SubtractExpression, 14291SyntaxKind.MultiplyExpression, 14292SyntaxKind.DivideExpression, 14293SyntaxKind.IntegerDivideExpression, 14294SyntaxKind.ExponentiateExpression, 14295SyntaxKind.LeftShiftExpression, 14296SyntaxKind.RightShiftExpression, 14297SyntaxKind.ConcatenateExpression, 14298SyntaxKind.ModuloExpression, 14299SyntaxKind.EqualsExpression, 14300SyntaxKind.NotEqualsExpression, 14301SyntaxKind.LessThanExpression, 14302SyntaxKind.LessThanOrEqualExpression, 14303SyntaxKind.GreaterThanOrEqualExpression, 14304SyntaxKind.GreaterThanExpression, 14305SyntaxKind.IsExpression, 14306SyntaxKind.IsNotExpression, 14307SyntaxKind.LikeExpression, 14308SyntaxKind.OrExpression, 14309SyntaxKind.ExclusiveOrExpression, 14310SyntaxKind.AndExpression, 14311SyntaxKind.OrElseExpression, 14312SyntaxKind.AndAlsoExpression, 14313SyntaxKind.UnaryPlusExpression, 14314SyntaxKind.UnaryMinusExpression, 14315SyntaxKind.NotExpression, 14316SyntaxKind.AddressOfExpression, 14317SyntaxKind.BinaryConditionalExpression, 14318SyntaxKind.TernaryConditionalExpression, 14319SyntaxKind.SingleLineFunctionLambdaExpression, 14320SyntaxKind.SingleLineSubLambdaExpression, 14321SyntaxKind.MultiLineFunctionLambdaExpression, 14322SyntaxKind.MultiLineSubLambdaExpression, 14323SyntaxKind.QueryExpression, 14324SyntaxKind.FunctionAggregation, 14325SyntaxKind.GroupAggregation, 14326SyntaxKind.XmlDocument, 14327SyntaxKind.XmlElement, 14328SyntaxKind.XmlText, 14329SyntaxKind.XmlElementStartTag, 14330SyntaxKind.XmlElementEndTag, 14331SyntaxKind.XmlEmptyElement, 14332SyntaxKind.XmlAttribute, 14333SyntaxKind.XmlString, 14334SyntaxKind.XmlPrefixName, 14335SyntaxKind.XmlName, 14336SyntaxKind.XmlBracketedName, 14337SyntaxKind.XmlComment, 14338SyntaxKind.XmlProcessingInstruction, 14339SyntaxKind.XmlCDataSection, 14340SyntaxKind.XmlEmbeddedExpression, 14341SyntaxKind.ArrayType, 14342SyntaxKind.NullableType, 14343SyntaxKind.PredefinedType, 14344SyntaxKind.IdentifierName, 14345SyntaxKind.GenericName, 14346SyntaxKind.QualifiedName, 14347SyntaxKind.GlobalName, 14348SyntaxKind.CrefOperatorReference, 14349SyntaxKind.QualifiedCrefOperatorReference, 14350SyntaxKind.AwaitExpression, 14351SyntaxKind.XmlCrefAttribute, 14352SyntaxKind.XmlNameAttribute, 14353SyntaxKind.ConditionalAccessExpression, 14354SyntaxKind.NameOfExpression, 14355SyntaxKind.InterpolatedStringExpression 14359Return New IfStatementSyntax(SyntaxKind.IfStatement, Nothing, Nothing, DirectCast(ifKeyword.Node, InternalSyntax.KeywordSyntax), condition, DirectCast(thenKeyword.Node, InternalSyntax.KeywordSyntax)) 14370Return SyntaxFactory.IfStatement(SyntaxFactory.Token(SyntaxKind.IfKeyword), condition, Nothing) 14389Case SyntaxKind.ElseIfStatement 14393Return New ElseIfBlockSyntax(SyntaxKind.ElseIfBlock, Nothing, Nothing, elseIfStatement, statements.Node) 14422Case SyntaxKind.ElseIfKeyword 14430Case SyntaxKind.KeywordEventContainer, 14431SyntaxKind.WithEventsEventContainer, 14432SyntaxKind.WithEventsPropertyEventContainer, 14433SyntaxKind.IdentifierLabel, 14434SyntaxKind.NumericLabel, 14435SyntaxKind.NextLabel, 14436SyntaxKind.MidExpression, 14437SyntaxKind.CharacterLiteralExpression, 14438SyntaxKind.TrueLiteralExpression, 14439SyntaxKind.FalseLiteralExpression, 14440SyntaxKind.NumericLiteralExpression, 14441SyntaxKind.DateLiteralExpression, 14442SyntaxKind.StringLiteralExpression, 14443SyntaxKind.NothingLiteralExpression, 14444SyntaxKind.ParenthesizedExpression, 14445SyntaxKind.TupleExpression, 14446SyntaxKind.TupleType, 14447SyntaxKind.MeExpression, 14448SyntaxKind.MyBaseExpression, 14449SyntaxKind.MyClassExpression, 14450SyntaxKind.GetTypeExpression, 14451SyntaxKind.TypeOfIsExpression, 14452SyntaxKind.TypeOfIsNotExpression, 14453SyntaxKind.GetXmlNamespaceExpression, 14454SyntaxKind.SimpleMemberAccessExpression, 14455SyntaxKind.DictionaryAccessExpression, 14456SyntaxKind.XmlElementAccessExpression, 14457SyntaxKind.XmlDescendantAccessExpression, 14458SyntaxKind.XmlAttributeAccessExpression, 14459SyntaxKind.InvocationExpression, 14460SyntaxKind.ObjectCreationExpression, 14461SyntaxKind.AnonymousObjectCreationExpression, 14462SyntaxKind.ArrayCreationExpression, 14463SyntaxKind.CollectionInitializer, 14464SyntaxKind.CTypeExpression, 14465SyntaxKind.DirectCastExpression, 14466SyntaxKind.TryCastExpression, 14467SyntaxKind.PredefinedCastExpression, 14468SyntaxKind.AddExpression, 14469SyntaxKind.SubtractExpression, 14470SyntaxKind.MultiplyExpression, 14471SyntaxKind.DivideExpression, 14472SyntaxKind.IntegerDivideExpression, 14473SyntaxKind.ExponentiateExpression, 14474SyntaxKind.LeftShiftExpression, 14475SyntaxKind.RightShiftExpression, 14476SyntaxKind.ConcatenateExpression, 14477SyntaxKind.ModuloExpression, 14478SyntaxKind.EqualsExpression, 14479SyntaxKind.NotEqualsExpression, 14480SyntaxKind.LessThanExpression, 14481SyntaxKind.LessThanOrEqualExpression, 14482SyntaxKind.GreaterThanOrEqualExpression, 14483SyntaxKind.GreaterThanExpression, 14484SyntaxKind.IsExpression, 14485SyntaxKind.IsNotExpression, 14486SyntaxKind.LikeExpression, 14487SyntaxKind.OrExpression, 14488SyntaxKind.ExclusiveOrExpression, 14489SyntaxKind.AndExpression, 14490SyntaxKind.OrElseExpression, 14491SyntaxKind.AndAlsoExpression, 14492SyntaxKind.UnaryPlusExpression, 14493SyntaxKind.UnaryMinusExpression, 14494SyntaxKind.NotExpression, 14495SyntaxKind.AddressOfExpression, 14496SyntaxKind.BinaryConditionalExpression, 14497SyntaxKind.TernaryConditionalExpression, 14498SyntaxKind.SingleLineFunctionLambdaExpression, 14499SyntaxKind.SingleLineSubLambdaExpression, 14500SyntaxKind.MultiLineFunctionLambdaExpression, 14501SyntaxKind.MultiLineSubLambdaExpression, 14502SyntaxKind.QueryExpression, 14503SyntaxKind.FunctionAggregation, 14504SyntaxKind.GroupAggregation, 14505SyntaxKind.XmlDocument, 14506SyntaxKind.XmlElement, 14507SyntaxKind.XmlText, 14508SyntaxKind.XmlElementStartTag, 14509SyntaxKind.XmlElementEndTag, 14510SyntaxKind.XmlEmptyElement, 14511SyntaxKind.XmlAttribute, 14512SyntaxKind.XmlString, 14513SyntaxKind.XmlPrefixName, 14514SyntaxKind.XmlName, 14515SyntaxKind.XmlBracketedName, 14516SyntaxKind.XmlComment, 14517SyntaxKind.XmlProcessingInstruction, 14518SyntaxKind.XmlCDataSection, 14519SyntaxKind.XmlEmbeddedExpression, 14520SyntaxKind.ArrayType, 14521SyntaxKind.NullableType, 14522SyntaxKind.PredefinedType, 14523SyntaxKind.IdentifierName, 14524SyntaxKind.GenericName, 14525SyntaxKind.QualifiedName, 14526SyntaxKind.GlobalName, 14527SyntaxKind.CrefOperatorReference, 14528SyntaxKind.QualifiedCrefOperatorReference, 14529SyntaxKind.AwaitExpression, 14530SyntaxKind.XmlCrefAttribute, 14531SyntaxKind.XmlNameAttribute, 14532SyntaxKind.ConditionalAccessExpression, 14533SyntaxKind.NameOfExpression, 14534SyntaxKind.InterpolatedStringExpression 14538Return New ElseIfStatementSyntax(SyntaxKind.ElseIfStatement, Nothing, Nothing, DirectCast(elseIfKeyword.Node, InternalSyntax.KeywordSyntax), condition, DirectCast(thenKeyword.Node, InternalSyntax.KeywordSyntax)) 14549Return SyntaxFactory.ElseIfStatement(SyntaxFactory.Token(SyntaxKind.ElseIfKeyword), condition, Nothing) 14567Case SyntaxKind.ElseStatement 14571Return New ElseBlockSyntax(SyntaxKind.ElseBlock, Nothing, Nothing, elseStatement, statements.Node) 14602Case SyntaxKind.ElseKeyword 14606Return New ElseStatementSyntax(SyntaxKind.ElseStatement, Nothing, Nothing, DirectCast(elseKeyword.Node, InternalSyntax.KeywordSyntax)) 14614Return SyntaxFactory.ElseStatement(SyntaxFactory.Token(SyntaxKind.ElseKeyword)) 14642Case SyntaxKind.TryStatement 14650Case SyntaxKind.EndTryStatement 14654Return New TryBlockSyntax(SyntaxKind.TryBlock, Nothing, Nothing, tryStatement, statements.Node, catchBlocks.Node, finallyBlock, endTryStatement) 14692Case SyntaxKind.TryKeyword 14696Return New TryStatementSyntax(SyntaxKind.TryStatement, Nothing, Nothing, DirectCast(tryKeyword.Node, InternalSyntax.KeywordSyntax)) 14704Return SyntaxFactory.TryStatement(SyntaxFactory.Token(SyntaxKind.TryKeyword)) 14723Case SyntaxKind.CatchStatement 14727Return New CatchBlockSyntax(SyntaxKind.CatchBlock, Nothing, Nothing, catchStatement, statements.Node) 14760Case SyntaxKind.CatchKeyword 14764Return New CatchStatementSyntax(SyntaxKind.CatchStatement, Nothing, Nothing, DirectCast(catchKeyword.Node, InternalSyntax.KeywordSyntax), identifierName, asClause, whenClause) 14782Return SyntaxFactory.CatchStatement(SyntaxFactory.Token(SyntaxKind.CatchKeyword), identifierName, asClause, whenClause) 14790Return SyntaxFactory.CatchStatement(SyntaxFactory.Token(SyntaxKind.CatchKeyword), Nothing, Nothing, Nothing) 14805Case SyntaxKind.WhenKeyword 14813Case SyntaxKind.KeywordEventContainer, 14814SyntaxKind.WithEventsEventContainer, 14815SyntaxKind.WithEventsPropertyEventContainer, 14816SyntaxKind.IdentifierLabel, 14817SyntaxKind.NumericLabel, 14818SyntaxKind.NextLabel, 14819SyntaxKind.MidExpression, 14820SyntaxKind.CharacterLiteralExpression, 14821SyntaxKind.TrueLiteralExpression, 14822SyntaxKind.FalseLiteralExpression, 14823SyntaxKind.NumericLiteralExpression, 14824SyntaxKind.DateLiteralExpression, 14825SyntaxKind.StringLiteralExpression, 14826SyntaxKind.NothingLiteralExpression, 14827SyntaxKind.ParenthesizedExpression, 14828SyntaxKind.TupleExpression, 14829SyntaxKind.TupleType, 14830SyntaxKind.MeExpression, 14831SyntaxKind.MyBaseExpression, 14832SyntaxKind.MyClassExpression, 14833SyntaxKind.GetTypeExpression, 14834SyntaxKind.TypeOfIsExpression, 14835SyntaxKind.TypeOfIsNotExpression, 14836SyntaxKind.GetXmlNamespaceExpression, 14837SyntaxKind.SimpleMemberAccessExpression, 14838SyntaxKind.DictionaryAccessExpression, 14839SyntaxKind.XmlElementAccessExpression, 14840SyntaxKind.XmlDescendantAccessExpression, 14841SyntaxKind.XmlAttributeAccessExpression, 14842SyntaxKind.InvocationExpression, 14843SyntaxKind.ObjectCreationExpression, 14844SyntaxKind.AnonymousObjectCreationExpression, 14845SyntaxKind.ArrayCreationExpression, 14846SyntaxKind.CollectionInitializer, 14847SyntaxKind.CTypeExpression, 14848SyntaxKind.DirectCastExpression, 14849SyntaxKind.TryCastExpression, 14850SyntaxKind.PredefinedCastExpression, 14851SyntaxKind.AddExpression, 14852SyntaxKind.SubtractExpression, 14853SyntaxKind.MultiplyExpression, 14854SyntaxKind.DivideExpression, 14855SyntaxKind.IntegerDivideExpression, 14856SyntaxKind.ExponentiateExpression, 14857SyntaxKind.LeftShiftExpression, 14858SyntaxKind.RightShiftExpression, 14859SyntaxKind.ConcatenateExpression, 14860SyntaxKind.ModuloExpression, 14861SyntaxKind.EqualsExpression, 14862SyntaxKind.NotEqualsExpression, 14863SyntaxKind.LessThanExpression, 14864SyntaxKind.LessThanOrEqualExpression, 14865SyntaxKind.GreaterThanOrEqualExpression, 14866SyntaxKind.GreaterThanExpression, 14867SyntaxKind.IsExpression, 14868SyntaxKind.IsNotExpression, 14869SyntaxKind.LikeExpression, 14870SyntaxKind.OrExpression, 14871SyntaxKind.ExclusiveOrExpression, 14872SyntaxKind.AndExpression, 14873SyntaxKind.OrElseExpression, 14874SyntaxKind.AndAlsoExpression, 14875SyntaxKind.UnaryPlusExpression, 14876SyntaxKind.UnaryMinusExpression, 14877SyntaxKind.NotExpression, 14878SyntaxKind.AddressOfExpression, 14879SyntaxKind.BinaryConditionalExpression, 14880SyntaxKind.TernaryConditionalExpression, 14881SyntaxKind.SingleLineFunctionLambdaExpression, 14882SyntaxKind.SingleLineSubLambdaExpression, 14883SyntaxKind.MultiLineFunctionLambdaExpression, 14884SyntaxKind.MultiLineSubLambdaExpression, 14885SyntaxKind.QueryExpression, 14886SyntaxKind.FunctionAggregation, 14887SyntaxKind.GroupAggregation, 14888SyntaxKind.XmlDocument, 14889SyntaxKind.XmlElement, 14890SyntaxKind.XmlText, 14891SyntaxKind.XmlElementStartTag, 14892SyntaxKind.XmlElementEndTag, 14893SyntaxKind.XmlEmptyElement, 14894SyntaxKind.XmlAttribute, 14895SyntaxKind.XmlString, 14896SyntaxKind.XmlPrefixName, 14897SyntaxKind.XmlName, 14898SyntaxKind.XmlBracketedName, 14899SyntaxKind.XmlComment, 14900SyntaxKind.XmlProcessingInstruction, 14901SyntaxKind.XmlCDataSection, 14902SyntaxKind.XmlEmbeddedExpression, 14903SyntaxKind.ArrayType, 14904SyntaxKind.NullableType, 14905SyntaxKind.PredefinedType, 14906SyntaxKind.IdentifierName, 14907SyntaxKind.GenericName, 14908SyntaxKind.QualifiedName, 14909SyntaxKind.GlobalName, 14910SyntaxKind.CrefOperatorReference, 14911SyntaxKind.QualifiedCrefOperatorReference, 14912SyntaxKind.AwaitExpression, 14913SyntaxKind.XmlCrefAttribute, 14914SyntaxKind.XmlNameAttribute, 14915SyntaxKind.ConditionalAccessExpression, 14916SyntaxKind.NameOfExpression, 14917SyntaxKind.InterpolatedStringExpression 14921Return New CatchFilterClauseSyntax(SyntaxKind.CatchFilterClause, Nothing, Nothing, DirectCast(whenKeyword.Node, InternalSyntax.KeywordSyntax), filter) 14932Return SyntaxFactory.CatchFilterClause(SyntaxFactory.Token(SyntaxKind.WhenKeyword), filter) 14950Case SyntaxKind.FinallyStatement 14954Return New FinallyBlockSyntax(SyntaxKind.FinallyBlock, Nothing, Nothing, finallyStatement, statements.Node) 14985Case SyntaxKind.FinallyKeyword 14989Return New FinallyStatementSyntax(SyntaxKind.FinallyStatement, Nothing, Nothing, DirectCast(finallyKeyword.Node, InternalSyntax.KeywordSyntax)) 14997Return SyntaxFactory.FinallyStatement(SyntaxFactory.Token(SyntaxKind.FinallyKeyword)) 15012Case SyntaxKind.ErrorKeyword 15020Case SyntaxKind.KeywordEventContainer, 15021SyntaxKind.WithEventsEventContainer, 15022SyntaxKind.WithEventsPropertyEventContainer, 15023SyntaxKind.IdentifierLabel, 15024SyntaxKind.NumericLabel, 15025SyntaxKind.NextLabel, 15026SyntaxKind.MidExpression, 15027SyntaxKind.CharacterLiteralExpression, 15028SyntaxKind.TrueLiteralExpression, 15029SyntaxKind.FalseLiteralExpression, 15030SyntaxKind.NumericLiteralExpression, 15031SyntaxKind.DateLiteralExpression, 15032SyntaxKind.StringLiteralExpression, 15033SyntaxKind.NothingLiteralExpression, 15034SyntaxKind.ParenthesizedExpression, 15035SyntaxKind.TupleExpression, 15036SyntaxKind.TupleType, 15037SyntaxKind.MeExpression, 15038SyntaxKind.MyBaseExpression, 15039SyntaxKind.MyClassExpression, 15040SyntaxKind.GetTypeExpression, 15041SyntaxKind.TypeOfIsExpression, 15042SyntaxKind.TypeOfIsNotExpression, 15043SyntaxKind.GetXmlNamespaceExpression, 15044SyntaxKind.SimpleMemberAccessExpression, 15045SyntaxKind.DictionaryAccessExpression, 15046SyntaxKind.XmlElementAccessExpression, 15047SyntaxKind.XmlDescendantAccessExpression, 15048SyntaxKind.XmlAttributeAccessExpression, 15049SyntaxKind.InvocationExpression, 15050SyntaxKind.ObjectCreationExpression, 15051SyntaxKind.AnonymousObjectCreationExpression, 15052SyntaxKind.ArrayCreationExpression, 15053SyntaxKind.CollectionInitializer, 15054SyntaxKind.CTypeExpression, 15055SyntaxKind.DirectCastExpression, 15056SyntaxKind.TryCastExpression, 15057SyntaxKind.PredefinedCastExpression, 15058SyntaxKind.AddExpression, 15059SyntaxKind.SubtractExpression, 15060SyntaxKind.MultiplyExpression, 15061SyntaxKind.DivideExpression, 15062SyntaxKind.IntegerDivideExpression, 15063SyntaxKind.ExponentiateExpression, 15064SyntaxKind.LeftShiftExpression, 15065SyntaxKind.RightShiftExpression, 15066SyntaxKind.ConcatenateExpression, 15067SyntaxKind.ModuloExpression, 15068SyntaxKind.EqualsExpression, 15069SyntaxKind.NotEqualsExpression, 15070SyntaxKind.LessThanExpression, 15071SyntaxKind.LessThanOrEqualExpression, 15072SyntaxKind.GreaterThanOrEqualExpression, 15073SyntaxKind.GreaterThanExpression, 15074SyntaxKind.IsExpression, 15075SyntaxKind.IsNotExpression, 15076SyntaxKind.LikeExpression, 15077SyntaxKind.OrExpression, 15078SyntaxKind.ExclusiveOrExpression, 15079SyntaxKind.AndExpression, 15080SyntaxKind.OrElseExpression, 15081SyntaxKind.AndAlsoExpression, 15082SyntaxKind.UnaryPlusExpression, 15083SyntaxKind.UnaryMinusExpression, 15084SyntaxKind.NotExpression, 15085SyntaxKind.AddressOfExpression, 15086SyntaxKind.BinaryConditionalExpression, 15087SyntaxKind.TernaryConditionalExpression, 15088SyntaxKind.SingleLineFunctionLambdaExpression, 15089SyntaxKind.SingleLineSubLambdaExpression, 15090SyntaxKind.MultiLineFunctionLambdaExpression, 15091SyntaxKind.MultiLineSubLambdaExpression, 15092SyntaxKind.QueryExpression, 15093SyntaxKind.FunctionAggregation, 15094SyntaxKind.GroupAggregation, 15095SyntaxKind.XmlDocument, 15096SyntaxKind.XmlElement, 15097SyntaxKind.XmlText, 15098SyntaxKind.XmlElementStartTag, 15099SyntaxKind.XmlElementEndTag, 15100SyntaxKind.XmlEmptyElement, 15101SyntaxKind.XmlAttribute, 15102SyntaxKind.XmlString, 15103SyntaxKind.XmlPrefixName, 15104SyntaxKind.XmlName, 15105SyntaxKind.XmlBracketedName, 15106SyntaxKind.XmlComment, 15107SyntaxKind.XmlProcessingInstruction, 15108SyntaxKind.XmlCDataSection, 15109SyntaxKind.XmlEmbeddedExpression, 15110SyntaxKind.ArrayType, 15111SyntaxKind.NullableType, 15112SyntaxKind.PredefinedType, 15113SyntaxKind.IdentifierName, 15114SyntaxKind.GenericName, 15115SyntaxKind.QualifiedName, 15116SyntaxKind.GlobalName, 15117SyntaxKind.CrefOperatorReference, 15118SyntaxKind.QualifiedCrefOperatorReference, 15119SyntaxKind.AwaitExpression, 15120SyntaxKind.XmlCrefAttribute, 15121SyntaxKind.XmlNameAttribute, 15122SyntaxKind.ConditionalAccessExpression, 15123SyntaxKind.NameOfExpression, 15124SyntaxKind.InterpolatedStringExpression 15128Return New ErrorStatementSyntax(SyntaxKind.ErrorStatement, Nothing, Nothing, DirectCast(errorKeyword.Node, InternalSyntax.KeywordSyntax), errorNumber) 15139Return SyntaxFactory.ErrorStatement(SyntaxFactory.Token(SyntaxKind.ErrorKeyword), errorNumber) 15164Case SyntaxKind.OnKeyword 15169Case SyntaxKind.ErrorKeyword 15174Case SyntaxKind.GoToKeyword 15182Case SyntaxKind.IdentifierLabel, 15183SyntaxKind.NumericLabel, 15184SyntaxKind.NextLabel 15188Return New OnErrorGoToStatementSyntax(SyntaxKind.OnErrorGoToZeroStatement, Nothing, Nothing, DirectCast(onKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(errorKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(goToKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(minus.Node, InternalSyntax.PunctuationSyntax), label) 15200Return SyntaxFactory.OnErrorGoToZeroStatement(SyntaxFactory.Token(SyntaxKind.OnKeyword), SyntaxFactory.Token(SyntaxKind.ErrorKeyword), SyntaxFactory.Token(SyntaxKind.GoToKeyword), Nothing, label) 15225Case SyntaxKind.OnKeyword 15230Case SyntaxKind.ErrorKeyword 15235Case SyntaxKind.GoToKeyword 15243Case SyntaxKind.IdentifierLabel, 15244SyntaxKind.NumericLabel, 15245SyntaxKind.NextLabel 15249Return New OnErrorGoToStatementSyntax(SyntaxKind.OnErrorGoToMinusOneStatement, Nothing, Nothing, DirectCast(onKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(errorKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(goToKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(minus.Node, InternalSyntax.PunctuationSyntax), label) 15261Return SyntaxFactory.OnErrorGoToMinusOneStatement(SyntaxFactory.Token(SyntaxKind.OnKeyword), SyntaxFactory.Token(SyntaxKind.ErrorKeyword), SyntaxFactory.Token(SyntaxKind.GoToKeyword), Nothing, label) 15286Case SyntaxKind.OnKeyword 15291Case SyntaxKind.ErrorKeyword 15296Case SyntaxKind.GoToKeyword 15304Case SyntaxKind.IdentifierLabel, 15305SyntaxKind.NumericLabel, 15306SyntaxKind.NextLabel 15310Return New OnErrorGoToStatementSyntax(SyntaxKind.OnErrorGoToLabelStatement, Nothing, Nothing, DirectCast(onKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(errorKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(goToKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(minus.Node, InternalSyntax.PunctuationSyntax), label) 15322Return SyntaxFactory.OnErrorGoToLabelStatement(SyntaxFactory.Token(SyntaxKind.OnKeyword), SyntaxFactory.Token(SyntaxKind.ErrorKeyword), SyntaxFactory.Token(SyntaxKind.GoToKeyword), Nothing, label) 15330''' A <see cref="SyntaxKind"/> representing the specific kind of 15350Public Shared Function OnErrorGoToStatement(ByVal kind As SyntaxKind, onKeyword As SyntaxToken, errorKeyword As SyntaxToken, goToKeyword As SyntaxToken, minus As SyntaxToken, label As LabelSyntax) As OnErrorGoToStatementSyntax 15355Case SyntaxKind.OnKeyword 15360Case SyntaxKind.ErrorKeyword 15365Case SyntaxKind.GoToKeyword 15373Case SyntaxKind.IdentifierLabel, 15374SyntaxKind.NumericLabel, 15375SyntaxKind.NextLabel 15387''' A <see cref="SyntaxKind"/> representing the specific kind of 15395Public Shared Function OnErrorGoToStatement(ByVal kind As SyntaxKind, label As LabelSyntax) As OnErrorGoToStatementSyntax 15396Return SyntaxFactory.OnErrorGoToStatement(kind, SyntaxFactory.Token(SyntaxKind.OnKeyword), SyntaxFactory.Token(SyntaxKind.ErrorKeyword), SyntaxFactory.Token(SyntaxKind.GoToKeyword), Nothing, label) 15417Case SyntaxKind.OnKeyword 15422Case SyntaxKind.ErrorKeyword 15427Case SyntaxKind.ResumeKeyword 15432Case SyntaxKind.NextKeyword 15436Return New OnErrorResumeNextStatementSyntax(SyntaxKind.OnErrorResumeNextStatement, Nothing, Nothing, DirectCast(onKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(errorKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(resumeKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(nextKeyword.Node, InternalSyntax.KeywordSyntax)) 15444Return SyntaxFactory.OnErrorResumeNextStatement(SyntaxFactory.Token(SyntaxKind.OnKeyword), SyntaxFactory.Token(SyntaxKind.ErrorKeyword), SyntaxFactory.Token(SyntaxKind.ResumeKeyword), SyntaxFactory.Token(SyntaxKind.NextKeyword)) 15462Case SyntaxKind.ResumeKeyword 15466Return New ResumeStatementSyntax(SyntaxKind.ResumeStatement, Nothing, Nothing, DirectCast(resumeKeyword.Node, InternalSyntax.KeywordSyntax), label) 15480Return SyntaxFactory.ResumeStatement(SyntaxKind.ResumeStatement, SyntaxFactory.Token(SyntaxKind.ResumeKeyword), label) 15489Return SyntaxFactory.ResumeStatement(SyntaxKind.ResumeStatement, SyntaxFactory.Token(SyntaxKind.ResumeKeyword), Nothing) 15507Case SyntaxKind.ResumeKeyword 15511Return New ResumeStatementSyntax(SyntaxKind.ResumeLabelStatement, Nothing, Nothing, DirectCast(resumeKeyword.Node, InternalSyntax.KeywordSyntax), label) 15525Return SyntaxFactory.ResumeLabelStatement(SyntaxFactory.Token(SyntaxKind.ResumeKeyword), label) 15534Return SyntaxFactory.ResumeLabelStatement(SyntaxFactory.Token(SyntaxKind.ResumeKeyword), Nothing) 15552Case SyntaxKind.ResumeKeyword 15556Return New ResumeStatementSyntax(SyntaxKind.ResumeNextStatement, Nothing, Nothing, DirectCast(resumeKeyword.Node, InternalSyntax.KeywordSyntax), label) 15570Return SyntaxFactory.ResumeNextStatement(SyntaxFactory.Token(SyntaxKind.ResumeKeyword), label) 15579Return SyntaxFactory.ResumeNextStatement(SyntaxFactory.Token(SyntaxKind.ResumeKeyword), Nothing) 15588''' A <see cref="SyntaxKind"/> representing the specific kind of 15600Public Shared Function ResumeStatement(ByVal kind As SyntaxKind, resumeKeyword As SyntaxToken, label As LabelSyntax) As ResumeStatementSyntax 15605Case SyntaxKind.ResumeKeyword 15618''' A <see cref="SyntaxKind"/> representing the specific kind of 15627Public Shared Function ResumeStatement(ByVal kind As SyntaxKind, label As LabelSyntax) As ResumeStatementSyntax 15628Return SyntaxFactory.ResumeStatement(kind, SyntaxFactory.Token(SyntaxKind.ResumeKeyword), label) 15637''' A <see cref="SyntaxKind"/> representing the specific kind of 15641Public Shared Function ResumeStatement(ByVal kind As SyntaxKind) As ResumeStatementSyntax 15642Return SyntaxFactory.ResumeStatement(kind, SyntaxFactory.Token(SyntaxKind.ResumeKeyword), Nothing) 15664Case SyntaxKind.SelectStatement 15672Case SyntaxKind.EndSelectStatement 15676Return New SelectBlockSyntax(SyntaxKind.SelectBlock, Nothing, Nothing, selectStatement, caseBlocks.Node, endSelectStatement) 15722Case SyntaxKind.SelectKeyword 15730Case SyntaxKind.KeywordEventContainer, 15731SyntaxKind.WithEventsEventContainer, 15732SyntaxKind.WithEventsPropertyEventContainer, 15733SyntaxKind.IdentifierLabel, 15734SyntaxKind.NumericLabel, 15735SyntaxKind.NextLabel, 15736SyntaxKind.MidExpression, 15737SyntaxKind.CharacterLiteralExpression, 15738SyntaxKind.TrueLiteralExpression, 15739SyntaxKind.FalseLiteralExpression, 15740SyntaxKind.NumericLiteralExpression, 15741SyntaxKind.DateLiteralExpression, 15742SyntaxKind.StringLiteralExpression, 15743SyntaxKind.NothingLiteralExpression, 15744SyntaxKind.ParenthesizedExpression, 15745SyntaxKind.TupleExpression, 15746SyntaxKind.TupleType, 15747SyntaxKind.MeExpression, 15748SyntaxKind.MyBaseExpression, 15749SyntaxKind.MyClassExpression, 15750SyntaxKind.GetTypeExpression, 15751SyntaxKind.TypeOfIsExpression, 15752SyntaxKind.TypeOfIsNotExpression, 15753SyntaxKind.GetXmlNamespaceExpression, 15754SyntaxKind.SimpleMemberAccessExpression, 15755SyntaxKind.DictionaryAccessExpression, 15756SyntaxKind.XmlElementAccessExpression, 15757SyntaxKind.XmlDescendantAccessExpression, 15758SyntaxKind.XmlAttributeAccessExpression, 15759SyntaxKind.InvocationExpression, 15760SyntaxKind.ObjectCreationExpression, 15761SyntaxKind.AnonymousObjectCreationExpression, 15762SyntaxKind.ArrayCreationExpression, 15763SyntaxKind.CollectionInitializer, 15764SyntaxKind.CTypeExpression, 15765SyntaxKind.DirectCastExpression, 15766SyntaxKind.TryCastExpression, 15767SyntaxKind.PredefinedCastExpression, 15768SyntaxKind.AddExpression, 15769SyntaxKind.SubtractExpression, 15770SyntaxKind.MultiplyExpression, 15771SyntaxKind.DivideExpression, 15772SyntaxKind.IntegerDivideExpression, 15773SyntaxKind.ExponentiateExpression, 15774SyntaxKind.LeftShiftExpression, 15775SyntaxKind.RightShiftExpression, 15776SyntaxKind.ConcatenateExpression, 15777SyntaxKind.ModuloExpression, 15778SyntaxKind.EqualsExpression, 15779SyntaxKind.NotEqualsExpression, 15780SyntaxKind.LessThanExpression, 15781SyntaxKind.LessThanOrEqualExpression, 15782SyntaxKind.GreaterThanOrEqualExpression, 15783SyntaxKind.GreaterThanExpression, 15784SyntaxKind.IsExpression, 15785SyntaxKind.IsNotExpression, 15786SyntaxKind.LikeExpression, 15787SyntaxKind.OrExpression, 15788SyntaxKind.ExclusiveOrExpression, 15789SyntaxKind.AndExpression, 15790SyntaxKind.OrElseExpression, 15791SyntaxKind.AndAlsoExpression, 15792SyntaxKind.UnaryPlusExpression, 15793SyntaxKind.UnaryMinusExpression, 15794SyntaxKind.NotExpression, 15795SyntaxKind.AddressOfExpression, 15796SyntaxKind.BinaryConditionalExpression, 15797SyntaxKind.TernaryConditionalExpression, 15798SyntaxKind.SingleLineFunctionLambdaExpression, 15799SyntaxKind.SingleLineSubLambdaExpression, 15800SyntaxKind.MultiLineFunctionLambdaExpression, 15801SyntaxKind.MultiLineSubLambdaExpression, 15802SyntaxKind.QueryExpression, 15803SyntaxKind.FunctionAggregation, 15804SyntaxKind.GroupAggregation, 15805SyntaxKind.XmlDocument, 15806SyntaxKind.XmlElement, 15807SyntaxKind.XmlText, 15808SyntaxKind.XmlElementStartTag, 15809SyntaxKind.XmlElementEndTag, 15810SyntaxKind.XmlEmptyElement, 15811SyntaxKind.XmlAttribute, 15812SyntaxKind.XmlString, 15813SyntaxKind.XmlPrefixName, 15814SyntaxKind.XmlName, 15815SyntaxKind.XmlBracketedName, 15816SyntaxKind.XmlComment, 15817SyntaxKind.XmlProcessingInstruction, 15818SyntaxKind.XmlCDataSection, 15819SyntaxKind.XmlEmbeddedExpression, 15820SyntaxKind.ArrayType, 15821SyntaxKind.NullableType, 15822SyntaxKind.PredefinedType, 15823SyntaxKind.IdentifierName, 15824SyntaxKind.GenericName, 15825SyntaxKind.QualifiedName, 15826SyntaxKind.GlobalName, 15827SyntaxKind.CrefOperatorReference, 15828SyntaxKind.QualifiedCrefOperatorReference, 15829SyntaxKind.AwaitExpression, 15830SyntaxKind.XmlCrefAttribute, 15831SyntaxKind.XmlNameAttribute, 15832SyntaxKind.ConditionalAccessExpression, 15833SyntaxKind.NameOfExpression, 15834SyntaxKind.InterpolatedStringExpression 15838Return New SelectStatementSyntax(SyntaxKind.SelectStatement, Nothing, Nothing, DirectCast(selectKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(caseKeyword.Node, InternalSyntax.KeywordSyntax), expression) 15850Return SyntaxFactory.SelectStatement(SyntaxFactory.Token(SyntaxKind.SelectKeyword), Nothing, expression) 15868Case SyntaxKind.CaseStatement, 15869SyntaxKind.CaseElseStatement 15873Return New CaseBlockSyntax(SyntaxKind.CaseBlock, Nothing, Nothing, caseStatement, statements.Node) 15884Return SyntaxFactory.CaseBlock(SyntaxKind.CaseBlock, caseStatement, Nothing) 15902Case SyntaxKind.CaseStatement, 15903SyntaxKind.CaseElseStatement 15907Return New CaseBlockSyntax(SyntaxKind.CaseElseBlock, Nothing, Nothing, caseStatement, statements.Node) 15926''' A <see cref="SyntaxKind"/> representing the specific kind of CaseBlockSyntax. 15935Public Shared Function CaseBlock(ByVal kind As SyntaxKind, caseStatement As CaseStatementSyntax, statements As SyntaxList(of StatementSyntax)) As CaseBlockSyntax 15943Case SyntaxKind.CaseStatement, 15944SyntaxKind.CaseElseStatement 15956''' A <see cref="SyntaxKind"/> representing the specific kind of CaseBlockSyntax. 15962Public Shared Function CaseBlock(ByVal kind As SyntaxKind, caseStatement As CaseStatementSyntax) As CaseBlockSyntax 15981Case SyntaxKind.CaseKeyword 15985Return New CaseStatementSyntax(SyntaxKind.CaseStatement, Nothing, Nothing, DirectCast(caseKeyword.Node, InternalSyntax.KeywordSyntax), cases.Node) 15999Return SyntaxFactory.CaseStatement(SyntaxKind.CaseStatement, SyntaxFactory.Token(SyntaxKind.CaseKeyword), cases) 16013Return SyntaxFactory.CaseStatement(SyntaxKind.CaseStatement, SyntaxFactory.Token(SyntaxKind.CaseKeyword), SyntaxFactory.SeparatedList(Of CaseClauseSyntax)().AddRange(cases)) 16031Case SyntaxKind.CaseKeyword 16035Return New CaseStatementSyntax(SyntaxKind.CaseElseStatement, Nothing, Nothing, DirectCast(caseKeyword.Node, InternalSyntax.KeywordSyntax), cases.Node) 16049Return SyntaxFactory.CaseElseStatement(SyntaxFactory.Token(SyntaxKind.CaseKeyword), cases) 16063Return SyntaxFactory.CaseElseStatement(SyntaxFactory.Token(SyntaxKind.CaseKeyword), SyntaxFactory.SeparatedList(Of CaseClauseSyntax)().AddRange(cases)) 16073''' A <see cref="SyntaxKind"/> representing the specific kind of 16083Public Shared Function CaseStatement(ByVal kind As SyntaxKind, caseKeyword As SyntaxToken, cases As SeparatedSyntaxList(Of CaseClauseSyntax)) As CaseStatementSyntax 16088Case SyntaxKind.CaseKeyword 16102''' A <see cref="SyntaxKind"/> representing the specific kind of 16109Public Shared Function CaseStatement(ByVal kind As SyntaxKind, cases As SeparatedSyntaxList(Of CaseClauseSyntax)) As CaseStatementSyntax 16110Return SyntaxFactory.CaseStatement(kind, SyntaxFactory.Token(SyntaxKind.CaseKeyword), cases) 16120''' A <see cref="SyntaxKind"/> representing the specific kind of 16127Public Shared Function CaseStatement(ByVal kind As SyntaxKind, ParamArray cases As CaseClauseSyntax()) As CaseStatementSyntax 16128Return SyntaxFactory.CaseStatement(kind, SyntaxFactory.Token(SyntaxKind.CaseKeyword), SyntaxFactory.SeparatedList(Of CaseClauseSyntax)().AddRange(cases)) 16140Case SyntaxKind.ElseKeyword 16144Return New ElseCaseClauseSyntax(SyntaxKind.ElseCaseClause, Nothing, Nothing, DirectCast(elseKeyword.Node, InternalSyntax.KeywordSyntax)) 16152Return SyntaxFactory.ElseCaseClause(SyntaxFactory.Token(SyntaxKind.ElseKeyword)) 16167Case SyntaxKind.KeywordEventContainer, 16168SyntaxKind.WithEventsEventContainer, 16169SyntaxKind.WithEventsPropertyEventContainer, 16170SyntaxKind.IdentifierLabel, 16171SyntaxKind.NumericLabel, 16172SyntaxKind.NextLabel, 16173SyntaxKind.MidExpression, 16174SyntaxKind.CharacterLiteralExpression, 16175SyntaxKind.TrueLiteralExpression, 16176SyntaxKind.FalseLiteralExpression, 16177SyntaxKind.NumericLiteralExpression, 16178SyntaxKind.DateLiteralExpression, 16179SyntaxKind.StringLiteralExpression, 16180SyntaxKind.NothingLiteralExpression, 16181SyntaxKind.ParenthesizedExpression, 16182SyntaxKind.TupleExpression, 16183SyntaxKind.TupleType, 16184SyntaxKind.MeExpression, 16185SyntaxKind.MyBaseExpression, 16186SyntaxKind.MyClassExpression, 16187SyntaxKind.GetTypeExpression, 16188SyntaxKind.TypeOfIsExpression, 16189SyntaxKind.TypeOfIsNotExpression, 16190SyntaxKind.GetXmlNamespaceExpression, 16191SyntaxKind.SimpleMemberAccessExpression, 16192SyntaxKind.DictionaryAccessExpression, 16193SyntaxKind.XmlElementAccessExpression, 16194SyntaxKind.XmlDescendantAccessExpression, 16195SyntaxKind.XmlAttributeAccessExpression, 16196SyntaxKind.InvocationExpression, 16197SyntaxKind.ObjectCreationExpression, 16198SyntaxKind.AnonymousObjectCreationExpression, 16199SyntaxKind.ArrayCreationExpression, 16200SyntaxKind.CollectionInitializer, 16201SyntaxKind.CTypeExpression, 16202SyntaxKind.DirectCastExpression, 16203SyntaxKind.TryCastExpression, 16204SyntaxKind.PredefinedCastExpression, 16205SyntaxKind.AddExpression, 16206SyntaxKind.SubtractExpression, 16207SyntaxKind.MultiplyExpression, 16208SyntaxKind.DivideExpression, 16209SyntaxKind.IntegerDivideExpression, 16210SyntaxKind.ExponentiateExpression, 16211SyntaxKind.LeftShiftExpression, 16212SyntaxKind.RightShiftExpression, 16213SyntaxKind.ConcatenateExpression, 16214SyntaxKind.ModuloExpression, 16215SyntaxKind.EqualsExpression, 16216SyntaxKind.NotEqualsExpression, 16217SyntaxKind.LessThanExpression, 16218SyntaxKind.LessThanOrEqualExpression, 16219SyntaxKind.GreaterThanOrEqualExpression, 16220SyntaxKind.GreaterThanExpression, 16221SyntaxKind.IsExpression, 16222SyntaxKind.IsNotExpression, 16223SyntaxKind.LikeExpression, 16224SyntaxKind.OrExpression, 16225SyntaxKind.ExclusiveOrExpression, 16226SyntaxKind.AndExpression, 16227SyntaxKind.OrElseExpression, 16228SyntaxKind.AndAlsoExpression, 16229SyntaxKind.UnaryPlusExpression, 16230SyntaxKind.UnaryMinusExpression, 16231SyntaxKind.NotExpression, 16232SyntaxKind.AddressOfExpression, 16233SyntaxKind.BinaryConditionalExpression, 16234SyntaxKind.TernaryConditionalExpression, 16235SyntaxKind.SingleLineFunctionLambdaExpression, 16236SyntaxKind.SingleLineSubLambdaExpression, 16237SyntaxKind.MultiLineFunctionLambdaExpression, 16238SyntaxKind.MultiLineSubLambdaExpression, 16239SyntaxKind.QueryExpression, 16240SyntaxKind.FunctionAggregation, 16241SyntaxKind.GroupAggregation, 16242SyntaxKind.XmlDocument, 16243SyntaxKind.XmlElement, 16244SyntaxKind.XmlText, 16245SyntaxKind.XmlElementStartTag, 16246SyntaxKind.XmlElementEndTag, 16247SyntaxKind.XmlEmptyElement, 16248SyntaxKind.XmlAttribute, 16249SyntaxKind.XmlString, 16250SyntaxKind.XmlPrefixName, 16251SyntaxKind.XmlName, 16252SyntaxKind.XmlBracketedName, 16253SyntaxKind.XmlComment, 16254SyntaxKind.XmlProcessingInstruction, 16255SyntaxKind.XmlCDataSection, 16256SyntaxKind.XmlEmbeddedExpression, 16257SyntaxKind.ArrayType, 16258SyntaxKind.NullableType, 16259SyntaxKind.PredefinedType, 16260SyntaxKind.IdentifierName, 16261SyntaxKind.GenericName, 16262SyntaxKind.QualifiedName, 16263SyntaxKind.GlobalName, 16264SyntaxKind.CrefOperatorReference, 16265SyntaxKind.QualifiedCrefOperatorReference, 16266SyntaxKind.AwaitExpression, 16267SyntaxKind.XmlCrefAttribute, 16268SyntaxKind.XmlNameAttribute, 16269SyntaxKind.ConditionalAccessExpression, 16270SyntaxKind.NameOfExpression, 16271SyntaxKind.InterpolatedStringExpression 16275Return New SimpleCaseClauseSyntax(SyntaxKind.SimpleCaseClause, Nothing, Nothing, value) 16296Case SyntaxKind.KeywordEventContainer, 16297SyntaxKind.WithEventsEventContainer, 16298SyntaxKind.WithEventsPropertyEventContainer, 16299SyntaxKind.IdentifierLabel, 16300SyntaxKind.NumericLabel, 16301SyntaxKind.NextLabel, 16302SyntaxKind.MidExpression, 16303SyntaxKind.CharacterLiteralExpression, 16304SyntaxKind.TrueLiteralExpression, 16305SyntaxKind.FalseLiteralExpression, 16306SyntaxKind.NumericLiteralExpression, 16307SyntaxKind.DateLiteralExpression, 16308SyntaxKind.StringLiteralExpression, 16309SyntaxKind.NothingLiteralExpression, 16310SyntaxKind.ParenthesizedExpression, 16311SyntaxKind.TupleExpression, 16312SyntaxKind.TupleType, 16313SyntaxKind.MeExpression, 16314SyntaxKind.MyBaseExpression, 16315SyntaxKind.MyClassExpression, 16316SyntaxKind.GetTypeExpression, 16317SyntaxKind.TypeOfIsExpression, 16318SyntaxKind.TypeOfIsNotExpression, 16319SyntaxKind.GetXmlNamespaceExpression, 16320SyntaxKind.SimpleMemberAccessExpression, 16321SyntaxKind.DictionaryAccessExpression, 16322SyntaxKind.XmlElementAccessExpression, 16323SyntaxKind.XmlDescendantAccessExpression, 16324SyntaxKind.XmlAttributeAccessExpression, 16325SyntaxKind.InvocationExpression, 16326SyntaxKind.ObjectCreationExpression, 16327SyntaxKind.AnonymousObjectCreationExpression, 16328SyntaxKind.ArrayCreationExpression, 16329SyntaxKind.CollectionInitializer, 16330SyntaxKind.CTypeExpression, 16331SyntaxKind.DirectCastExpression, 16332SyntaxKind.TryCastExpression, 16333SyntaxKind.PredefinedCastExpression, 16334SyntaxKind.AddExpression, 16335SyntaxKind.SubtractExpression, 16336SyntaxKind.MultiplyExpression, 16337SyntaxKind.DivideExpression, 16338SyntaxKind.IntegerDivideExpression, 16339SyntaxKind.ExponentiateExpression, 16340SyntaxKind.LeftShiftExpression, 16341SyntaxKind.RightShiftExpression, 16342SyntaxKind.ConcatenateExpression, 16343SyntaxKind.ModuloExpression, 16344SyntaxKind.EqualsExpression, 16345SyntaxKind.NotEqualsExpression, 16346SyntaxKind.LessThanExpression, 16347SyntaxKind.LessThanOrEqualExpression, 16348SyntaxKind.GreaterThanOrEqualExpression, 16349SyntaxKind.GreaterThanExpression, 16350SyntaxKind.IsExpression, 16351SyntaxKind.IsNotExpression, 16352SyntaxKind.LikeExpression, 16353SyntaxKind.OrExpression, 16354SyntaxKind.ExclusiveOrExpression, 16355SyntaxKind.AndExpression, 16356SyntaxKind.OrElseExpression, 16357SyntaxKind.AndAlsoExpression, 16358SyntaxKind.UnaryPlusExpression, 16359SyntaxKind.UnaryMinusExpression, 16360SyntaxKind.NotExpression, 16361SyntaxKind.AddressOfExpression, 16362SyntaxKind.BinaryConditionalExpression, 16363SyntaxKind.TernaryConditionalExpression, 16364SyntaxKind.SingleLineFunctionLambdaExpression, 16365SyntaxKind.SingleLineSubLambdaExpression, 16366SyntaxKind.MultiLineFunctionLambdaExpression, 16367SyntaxKind.MultiLineSubLambdaExpression, 16368SyntaxKind.QueryExpression, 16369SyntaxKind.FunctionAggregation, 16370SyntaxKind.GroupAggregation, 16371SyntaxKind.XmlDocument, 16372SyntaxKind.XmlElement, 16373SyntaxKind.XmlText, 16374SyntaxKind.XmlElementStartTag, 16375SyntaxKind.XmlElementEndTag, 16376SyntaxKind.XmlEmptyElement, 16377SyntaxKind.XmlAttribute, 16378SyntaxKind.XmlString, 16379SyntaxKind.XmlPrefixName, 16380SyntaxKind.XmlName, 16381SyntaxKind.XmlBracketedName, 16382SyntaxKind.XmlComment, 16383SyntaxKind.XmlProcessingInstruction, 16384SyntaxKind.XmlCDataSection, 16385SyntaxKind.XmlEmbeddedExpression, 16386SyntaxKind.ArrayType, 16387SyntaxKind.NullableType, 16388SyntaxKind.PredefinedType, 16389SyntaxKind.IdentifierName, 16390SyntaxKind.GenericName, 16391SyntaxKind.QualifiedName, 16392SyntaxKind.GlobalName, 16393SyntaxKind.CrefOperatorReference, 16394SyntaxKind.QualifiedCrefOperatorReference, 16395SyntaxKind.AwaitExpression, 16396SyntaxKind.XmlCrefAttribute, 16397SyntaxKind.XmlNameAttribute, 16398SyntaxKind.ConditionalAccessExpression, 16399SyntaxKind.NameOfExpression, 16400SyntaxKind.InterpolatedStringExpression 16405Case SyntaxKind.ToKeyword 16413Case SyntaxKind.KeywordEventContainer, 16414SyntaxKind.WithEventsEventContainer, 16415SyntaxKind.WithEventsPropertyEventContainer, 16416SyntaxKind.IdentifierLabel, 16417SyntaxKind.NumericLabel, 16418SyntaxKind.NextLabel, 16419SyntaxKind.MidExpression, 16420SyntaxKind.CharacterLiteralExpression, 16421SyntaxKind.TrueLiteralExpression, 16422SyntaxKind.FalseLiteralExpression, 16423SyntaxKind.NumericLiteralExpression, 16424SyntaxKind.DateLiteralExpression, 16425SyntaxKind.StringLiteralExpression, 16426SyntaxKind.NothingLiteralExpression, 16427SyntaxKind.ParenthesizedExpression, 16428SyntaxKind.TupleExpression, 16429SyntaxKind.TupleType, 16430SyntaxKind.MeExpression, 16431SyntaxKind.MyBaseExpression, 16432SyntaxKind.MyClassExpression, 16433SyntaxKind.GetTypeExpression, 16434SyntaxKind.TypeOfIsExpression, 16435SyntaxKind.TypeOfIsNotExpression, 16436SyntaxKind.GetXmlNamespaceExpression, 16437SyntaxKind.SimpleMemberAccessExpression, 16438SyntaxKind.DictionaryAccessExpression, 16439SyntaxKind.XmlElementAccessExpression, 16440SyntaxKind.XmlDescendantAccessExpression, 16441SyntaxKind.XmlAttributeAccessExpression, 16442SyntaxKind.InvocationExpression, 16443SyntaxKind.ObjectCreationExpression, 16444SyntaxKind.AnonymousObjectCreationExpression, 16445SyntaxKind.ArrayCreationExpression, 16446SyntaxKind.CollectionInitializer, 16447SyntaxKind.CTypeExpression, 16448SyntaxKind.DirectCastExpression, 16449SyntaxKind.TryCastExpression, 16450SyntaxKind.PredefinedCastExpression, 16451SyntaxKind.AddExpression, 16452SyntaxKind.SubtractExpression, 16453SyntaxKind.MultiplyExpression, 16454SyntaxKind.DivideExpression, 16455SyntaxKind.IntegerDivideExpression, 16456SyntaxKind.ExponentiateExpression, 16457SyntaxKind.LeftShiftExpression, 16458SyntaxKind.RightShiftExpression, 16459SyntaxKind.ConcatenateExpression, 16460SyntaxKind.ModuloExpression, 16461SyntaxKind.EqualsExpression, 16462SyntaxKind.NotEqualsExpression, 16463SyntaxKind.LessThanExpression, 16464SyntaxKind.LessThanOrEqualExpression, 16465SyntaxKind.GreaterThanOrEqualExpression, 16466SyntaxKind.GreaterThanExpression, 16467SyntaxKind.IsExpression, 16468SyntaxKind.IsNotExpression, 16469SyntaxKind.LikeExpression, 16470SyntaxKind.OrExpression, 16471SyntaxKind.ExclusiveOrExpression, 16472SyntaxKind.AndExpression, 16473SyntaxKind.OrElseExpression, 16474SyntaxKind.AndAlsoExpression, 16475SyntaxKind.UnaryPlusExpression, 16476SyntaxKind.UnaryMinusExpression, 16477SyntaxKind.NotExpression, 16478SyntaxKind.AddressOfExpression, 16479SyntaxKind.BinaryConditionalExpression, 16480SyntaxKind.TernaryConditionalExpression, 16481SyntaxKind.SingleLineFunctionLambdaExpression, 16482SyntaxKind.SingleLineSubLambdaExpression, 16483SyntaxKind.MultiLineFunctionLambdaExpression, 16484SyntaxKind.MultiLineSubLambdaExpression, 16485SyntaxKind.QueryExpression, 16486SyntaxKind.FunctionAggregation, 16487SyntaxKind.GroupAggregation, 16488SyntaxKind.XmlDocument, 16489SyntaxKind.XmlElement, 16490SyntaxKind.XmlText, 16491SyntaxKind.XmlElementStartTag, 16492SyntaxKind.XmlElementEndTag, 16493SyntaxKind.XmlEmptyElement, 16494SyntaxKind.XmlAttribute, 16495SyntaxKind.XmlString, 16496SyntaxKind.XmlPrefixName, 16497SyntaxKind.XmlName, 16498SyntaxKind.XmlBracketedName, 16499SyntaxKind.XmlComment, 16500SyntaxKind.XmlProcessingInstruction, 16501SyntaxKind.XmlCDataSection, 16502SyntaxKind.XmlEmbeddedExpression, 16503SyntaxKind.ArrayType, 16504SyntaxKind.NullableType, 16505SyntaxKind.PredefinedType, 16506SyntaxKind.IdentifierName, 16507SyntaxKind.GenericName, 16508SyntaxKind.QualifiedName, 16509SyntaxKind.GlobalName, 16510SyntaxKind.CrefOperatorReference, 16511SyntaxKind.QualifiedCrefOperatorReference, 16512SyntaxKind.AwaitExpression, 16513SyntaxKind.XmlCrefAttribute, 16514SyntaxKind.XmlNameAttribute, 16515SyntaxKind.ConditionalAccessExpression, 16516SyntaxKind.NameOfExpression, 16517SyntaxKind.InterpolatedStringExpression 16521Return New RangeCaseClauseSyntax(SyntaxKind.RangeCaseClause, Nothing, Nothing, lowerBound, DirectCast(toKeyword.Node, InternalSyntax.KeywordSyntax), upperBound) 16535Return SyntaxFactory.RangeCaseClause(lowerBound, SyntaxFactory.Token(SyntaxKind.ToKeyword), upperBound) 16554Case SyntaxKind.EqualsToken : 16555Case SyntaxKind.LessThanGreaterThanToken : 16556Case SyntaxKind.LessThanToken : 16557Case SyntaxKind.GreaterThanToken : 16558Case SyntaxKind.LessThanEqualsToken : 16559Case SyntaxKind.GreaterThanEqualsToken 16567Case SyntaxKind.KeywordEventContainer, 16568SyntaxKind.WithEventsEventContainer, 16569SyntaxKind.WithEventsPropertyEventContainer, 16570SyntaxKind.IdentifierLabel, 16571SyntaxKind.NumericLabel, 16572SyntaxKind.NextLabel, 16573SyntaxKind.MidExpression, 16574SyntaxKind.CharacterLiteralExpression, 16575SyntaxKind.TrueLiteralExpression, 16576SyntaxKind.FalseLiteralExpression, 16577SyntaxKind.NumericLiteralExpression, 16578SyntaxKind.DateLiteralExpression, 16579SyntaxKind.StringLiteralExpression, 16580SyntaxKind.NothingLiteralExpression, 16581SyntaxKind.ParenthesizedExpression, 16582SyntaxKind.TupleExpression, 16583SyntaxKind.TupleType, 16584SyntaxKind.MeExpression, 16585SyntaxKind.MyBaseExpression, 16586SyntaxKind.MyClassExpression, 16587SyntaxKind.GetTypeExpression, 16588SyntaxKind.TypeOfIsExpression, 16589SyntaxKind.TypeOfIsNotExpression, 16590SyntaxKind.GetXmlNamespaceExpression, 16591SyntaxKind.SimpleMemberAccessExpression, 16592SyntaxKind.DictionaryAccessExpression, 16593SyntaxKind.XmlElementAccessExpression, 16594SyntaxKind.XmlDescendantAccessExpression, 16595SyntaxKind.XmlAttributeAccessExpression, 16596SyntaxKind.InvocationExpression, 16597SyntaxKind.ObjectCreationExpression, 16598SyntaxKind.AnonymousObjectCreationExpression, 16599SyntaxKind.ArrayCreationExpression, 16600SyntaxKind.CollectionInitializer, 16601SyntaxKind.CTypeExpression, 16602SyntaxKind.DirectCastExpression, 16603SyntaxKind.TryCastExpression, 16604SyntaxKind.PredefinedCastExpression, 16605SyntaxKind.AddExpression, 16606SyntaxKind.SubtractExpression, 16607SyntaxKind.MultiplyExpression, 16608SyntaxKind.DivideExpression, 16609SyntaxKind.IntegerDivideExpression, 16610SyntaxKind.ExponentiateExpression, 16611SyntaxKind.LeftShiftExpression, 16612SyntaxKind.RightShiftExpression, 16613SyntaxKind.ConcatenateExpression, 16614SyntaxKind.ModuloExpression, 16615SyntaxKind.EqualsExpression, 16616SyntaxKind.NotEqualsExpression, 16617SyntaxKind.LessThanExpression, 16618SyntaxKind.LessThanOrEqualExpression, 16619SyntaxKind.GreaterThanOrEqualExpression, 16620SyntaxKind.GreaterThanExpression, 16621SyntaxKind.IsExpression, 16622SyntaxKind.IsNotExpression, 16623SyntaxKind.LikeExpression, 16624SyntaxKind.OrExpression, 16625SyntaxKind.ExclusiveOrExpression, 16626SyntaxKind.AndExpression, 16627SyntaxKind.OrElseExpression, 16628SyntaxKind.AndAlsoExpression, 16629SyntaxKind.UnaryPlusExpression, 16630SyntaxKind.UnaryMinusExpression, 16631SyntaxKind.NotExpression, 16632SyntaxKind.AddressOfExpression, 16633SyntaxKind.BinaryConditionalExpression, 16634SyntaxKind.TernaryConditionalExpression, 16635SyntaxKind.SingleLineFunctionLambdaExpression, 16636SyntaxKind.SingleLineSubLambdaExpression, 16637SyntaxKind.MultiLineFunctionLambdaExpression, 16638SyntaxKind.MultiLineSubLambdaExpression, 16639SyntaxKind.QueryExpression, 16640SyntaxKind.FunctionAggregation, 16641SyntaxKind.GroupAggregation, 16642SyntaxKind.XmlDocument, 16643SyntaxKind.XmlElement, 16644SyntaxKind.XmlText, 16645SyntaxKind.XmlElementStartTag, 16646SyntaxKind.XmlElementEndTag, 16647SyntaxKind.XmlEmptyElement, 16648SyntaxKind.XmlAttribute, 16649SyntaxKind.XmlString, 16650SyntaxKind.XmlPrefixName, 16651SyntaxKind.XmlName, 16652SyntaxKind.XmlBracketedName, 16653SyntaxKind.XmlComment, 16654SyntaxKind.XmlProcessingInstruction, 16655SyntaxKind.XmlCDataSection, 16656SyntaxKind.XmlEmbeddedExpression, 16657SyntaxKind.ArrayType, 16658SyntaxKind.NullableType, 16659SyntaxKind.PredefinedType, 16660SyntaxKind.IdentifierName, 16661SyntaxKind.GenericName, 16662SyntaxKind.QualifiedName, 16663SyntaxKind.GlobalName, 16664SyntaxKind.CrefOperatorReference, 16665SyntaxKind.QualifiedCrefOperatorReference, 16666SyntaxKind.AwaitExpression, 16667SyntaxKind.XmlCrefAttribute, 16668SyntaxKind.XmlNameAttribute, 16669SyntaxKind.ConditionalAccessExpression, 16670SyntaxKind.NameOfExpression, 16671SyntaxKind.InterpolatedStringExpression 16675Return New RelationalCaseClauseSyntax(SyntaxKind.CaseEqualsClause, Nothing, Nothing, DirectCast(isKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(operatorToken.Node, InternalSyntax.PunctuationSyntax), value) 16686Return SyntaxFactory.CaseEqualsClause(Nothing, SyntaxFactory.Token(SyntaxKind.EqualsToken), value) 16705Case SyntaxKind.LessThanGreaterThanToken 16713Case SyntaxKind.KeywordEventContainer, 16714SyntaxKind.WithEventsEventContainer, 16715SyntaxKind.WithEventsPropertyEventContainer, 16716SyntaxKind.IdentifierLabel, 16717SyntaxKind.NumericLabel, 16718SyntaxKind.NextLabel, 16719SyntaxKind.MidExpression, 16720SyntaxKind.CharacterLiteralExpression, 16721SyntaxKind.TrueLiteralExpression, 16722SyntaxKind.FalseLiteralExpression, 16723SyntaxKind.NumericLiteralExpression, 16724SyntaxKind.DateLiteralExpression, 16725SyntaxKind.StringLiteralExpression, 16726SyntaxKind.NothingLiteralExpression, 16727SyntaxKind.ParenthesizedExpression, 16728SyntaxKind.TupleExpression, 16729SyntaxKind.TupleType, 16730SyntaxKind.MeExpression, 16731SyntaxKind.MyBaseExpression, 16732SyntaxKind.MyClassExpression, 16733SyntaxKind.GetTypeExpression, 16734SyntaxKind.TypeOfIsExpression, 16735SyntaxKind.TypeOfIsNotExpression, 16736SyntaxKind.GetXmlNamespaceExpression, 16737SyntaxKind.SimpleMemberAccessExpression, 16738SyntaxKind.DictionaryAccessExpression, 16739SyntaxKind.XmlElementAccessExpression, 16740SyntaxKind.XmlDescendantAccessExpression, 16741SyntaxKind.XmlAttributeAccessExpression, 16742SyntaxKind.InvocationExpression, 16743SyntaxKind.ObjectCreationExpression, 16744SyntaxKind.AnonymousObjectCreationExpression, 16745SyntaxKind.ArrayCreationExpression, 16746SyntaxKind.CollectionInitializer, 16747SyntaxKind.CTypeExpression, 16748SyntaxKind.DirectCastExpression, 16749SyntaxKind.TryCastExpression, 16750SyntaxKind.PredefinedCastExpression, 16751SyntaxKind.AddExpression, 16752SyntaxKind.SubtractExpression, 16753SyntaxKind.MultiplyExpression, 16754SyntaxKind.DivideExpression, 16755SyntaxKind.IntegerDivideExpression, 16756SyntaxKind.ExponentiateExpression, 16757SyntaxKind.LeftShiftExpression, 16758SyntaxKind.RightShiftExpression, 16759SyntaxKind.ConcatenateExpression, 16760SyntaxKind.ModuloExpression, 16761SyntaxKind.EqualsExpression, 16762SyntaxKind.NotEqualsExpression, 16763SyntaxKind.LessThanExpression, 16764SyntaxKind.LessThanOrEqualExpression, 16765SyntaxKind.GreaterThanOrEqualExpression, 16766SyntaxKind.GreaterThanExpression, 16767SyntaxKind.IsExpression, 16768SyntaxKind.IsNotExpression, 16769SyntaxKind.LikeExpression, 16770SyntaxKind.OrExpression, 16771SyntaxKind.ExclusiveOrExpression, 16772SyntaxKind.AndExpression, 16773SyntaxKind.OrElseExpression, 16774SyntaxKind.AndAlsoExpression, 16775SyntaxKind.UnaryPlusExpression, 16776SyntaxKind.UnaryMinusExpression, 16777SyntaxKind.NotExpression, 16778SyntaxKind.AddressOfExpression, 16779SyntaxKind.BinaryConditionalExpression, 16780SyntaxKind.TernaryConditionalExpression, 16781SyntaxKind.SingleLineFunctionLambdaExpression, 16782SyntaxKind.SingleLineSubLambdaExpression, 16783SyntaxKind.MultiLineFunctionLambdaExpression, 16784SyntaxKind.MultiLineSubLambdaExpression, 16785SyntaxKind.QueryExpression, 16786SyntaxKind.FunctionAggregation, 16787SyntaxKind.GroupAggregation, 16788SyntaxKind.XmlDocument, 16789SyntaxKind.XmlElement, 16790SyntaxKind.XmlText, 16791SyntaxKind.XmlElementStartTag, 16792SyntaxKind.XmlElementEndTag, 16793SyntaxKind.XmlEmptyElement, 16794SyntaxKind.XmlAttribute, 16795SyntaxKind.XmlString, 16796SyntaxKind.XmlPrefixName, 16797SyntaxKind.XmlName, 16798SyntaxKind.XmlBracketedName, 16799SyntaxKind.XmlComment, 16800SyntaxKind.XmlProcessingInstruction, 16801SyntaxKind.XmlCDataSection, 16802SyntaxKind.XmlEmbeddedExpression, 16803SyntaxKind.ArrayType, 16804SyntaxKind.NullableType, 16805SyntaxKind.PredefinedType, 16806SyntaxKind.IdentifierName, 16807SyntaxKind.GenericName, 16808SyntaxKind.QualifiedName, 16809SyntaxKind.GlobalName, 16810SyntaxKind.CrefOperatorReference, 16811SyntaxKind.QualifiedCrefOperatorReference, 16812SyntaxKind.AwaitExpression, 16813SyntaxKind.XmlCrefAttribute, 16814SyntaxKind.XmlNameAttribute, 16815SyntaxKind.ConditionalAccessExpression, 16816SyntaxKind.NameOfExpression, 16817SyntaxKind.InterpolatedStringExpression 16821Return New RelationalCaseClauseSyntax(SyntaxKind.CaseNotEqualsClause, Nothing, Nothing, DirectCast(isKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(operatorToken.Node, InternalSyntax.PunctuationSyntax), value) 16832Return SyntaxFactory.CaseNotEqualsClause(Nothing, SyntaxFactory.Token(SyntaxKind.LessThanGreaterThanToken), value) 16851Case SyntaxKind.LessThanToken 16859Case SyntaxKind.KeywordEventContainer, 16860SyntaxKind.WithEventsEventContainer, 16861SyntaxKind.WithEventsPropertyEventContainer, 16862SyntaxKind.IdentifierLabel, 16863SyntaxKind.NumericLabel, 16864SyntaxKind.NextLabel, 16865SyntaxKind.MidExpression, 16866SyntaxKind.CharacterLiteralExpression, 16867SyntaxKind.TrueLiteralExpression, 16868SyntaxKind.FalseLiteralExpression, 16869SyntaxKind.NumericLiteralExpression, 16870SyntaxKind.DateLiteralExpression, 16871SyntaxKind.StringLiteralExpression, 16872SyntaxKind.NothingLiteralExpression, 16873SyntaxKind.ParenthesizedExpression, 16874SyntaxKind.TupleExpression, 16875SyntaxKind.TupleType, 16876SyntaxKind.MeExpression, 16877SyntaxKind.MyBaseExpression, 16878SyntaxKind.MyClassExpression, 16879SyntaxKind.GetTypeExpression, 16880SyntaxKind.TypeOfIsExpression, 16881SyntaxKind.TypeOfIsNotExpression, 16882SyntaxKind.GetXmlNamespaceExpression, 16883SyntaxKind.SimpleMemberAccessExpression, 16884SyntaxKind.DictionaryAccessExpression, 16885SyntaxKind.XmlElementAccessExpression, 16886SyntaxKind.XmlDescendantAccessExpression, 16887SyntaxKind.XmlAttributeAccessExpression, 16888SyntaxKind.InvocationExpression, 16889SyntaxKind.ObjectCreationExpression, 16890SyntaxKind.AnonymousObjectCreationExpression, 16891SyntaxKind.ArrayCreationExpression, 16892SyntaxKind.CollectionInitializer, 16893SyntaxKind.CTypeExpression, 16894SyntaxKind.DirectCastExpression, 16895SyntaxKind.TryCastExpression, 16896SyntaxKind.PredefinedCastExpression, 16897SyntaxKind.AddExpression, 16898SyntaxKind.SubtractExpression, 16899SyntaxKind.MultiplyExpression, 16900SyntaxKind.DivideExpression, 16901SyntaxKind.IntegerDivideExpression, 16902SyntaxKind.ExponentiateExpression, 16903SyntaxKind.LeftShiftExpression, 16904SyntaxKind.RightShiftExpression, 16905SyntaxKind.ConcatenateExpression, 16906SyntaxKind.ModuloExpression, 16907SyntaxKind.EqualsExpression, 16908SyntaxKind.NotEqualsExpression, 16909SyntaxKind.LessThanExpression, 16910SyntaxKind.LessThanOrEqualExpression, 16911SyntaxKind.GreaterThanOrEqualExpression, 16912SyntaxKind.GreaterThanExpression, 16913SyntaxKind.IsExpression, 16914SyntaxKind.IsNotExpression, 16915SyntaxKind.LikeExpression, 16916SyntaxKind.OrExpression, 16917SyntaxKind.ExclusiveOrExpression, 16918SyntaxKind.AndExpression, 16919SyntaxKind.OrElseExpression, 16920SyntaxKind.AndAlsoExpression, 16921SyntaxKind.UnaryPlusExpression, 16922SyntaxKind.UnaryMinusExpression, 16923SyntaxKind.NotExpression, 16924SyntaxKind.AddressOfExpression, 16925SyntaxKind.BinaryConditionalExpression, 16926SyntaxKind.TernaryConditionalExpression, 16927SyntaxKind.SingleLineFunctionLambdaExpression, 16928SyntaxKind.SingleLineSubLambdaExpression, 16929SyntaxKind.MultiLineFunctionLambdaExpression, 16930SyntaxKind.MultiLineSubLambdaExpression, 16931SyntaxKind.QueryExpression, 16932SyntaxKind.FunctionAggregation, 16933SyntaxKind.GroupAggregation, 16934SyntaxKind.XmlDocument, 16935SyntaxKind.XmlElement, 16936SyntaxKind.XmlText, 16937SyntaxKind.XmlElementStartTag, 16938SyntaxKind.XmlElementEndTag, 16939SyntaxKind.XmlEmptyElement, 16940SyntaxKind.XmlAttribute, 16941SyntaxKind.XmlString, 16942SyntaxKind.XmlPrefixName, 16943SyntaxKind.XmlName, 16944SyntaxKind.XmlBracketedName, 16945SyntaxKind.XmlComment, 16946SyntaxKind.XmlProcessingInstruction, 16947SyntaxKind.XmlCDataSection, 16948SyntaxKind.XmlEmbeddedExpression, 16949SyntaxKind.ArrayType, 16950SyntaxKind.NullableType, 16951SyntaxKind.PredefinedType, 16952SyntaxKind.IdentifierName, 16953SyntaxKind.GenericName, 16954SyntaxKind.QualifiedName, 16955SyntaxKind.GlobalName, 16956SyntaxKind.CrefOperatorReference, 16957SyntaxKind.QualifiedCrefOperatorReference, 16958SyntaxKind.AwaitExpression, 16959SyntaxKind.XmlCrefAttribute, 16960SyntaxKind.XmlNameAttribute, 16961SyntaxKind.ConditionalAccessExpression, 16962SyntaxKind.NameOfExpression, 16963SyntaxKind.InterpolatedStringExpression 16967Return New RelationalCaseClauseSyntax(SyntaxKind.CaseLessThanClause, Nothing, Nothing, DirectCast(isKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(operatorToken.Node, InternalSyntax.PunctuationSyntax), value) 16978Return SyntaxFactory.CaseLessThanClause(Nothing, SyntaxFactory.Token(SyntaxKind.LessThanToken), value) 16997Case SyntaxKind.LessThanEqualsToken 17005Case SyntaxKind.KeywordEventContainer, 17006SyntaxKind.WithEventsEventContainer, 17007SyntaxKind.WithEventsPropertyEventContainer, 17008SyntaxKind.IdentifierLabel, 17009SyntaxKind.NumericLabel, 17010SyntaxKind.NextLabel, 17011SyntaxKind.MidExpression, 17012SyntaxKind.CharacterLiteralExpression, 17013SyntaxKind.TrueLiteralExpression, 17014SyntaxKind.FalseLiteralExpression, 17015SyntaxKind.NumericLiteralExpression, 17016SyntaxKind.DateLiteralExpression, 17017SyntaxKind.StringLiteralExpression, 17018SyntaxKind.NothingLiteralExpression, 17019SyntaxKind.ParenthesizedExpression, 17020SyntaxKind.TupleExpression, 17021SyntaxKind.TupleType, 17022SyntaxKind.MeExpression, 17023SyntaxKind.MyBaseExpression, 17024SyntaxKind.MyClassExpression, 17025SyntaxKind.GetTypeExpression, 17026SyntaxKind.TypeOfIsExpression, 17027SyntaxKind.TypeOfIsNotExpression, 17028SyntaxKind.GetXmlNamespaceExpression, 17029SyntaxKind.SimpleMemberAccessExpression, 17030SyntaxKind.DictionaryAccessExpression, 17031SyntaxKind.XmlElementAccessExpression, 17032SyntaxKind.XmlDescendantAccessExpression, 17033SyntaxKind.XmlAttributeAccessExpression, 17034SyntaxKind.InvocationExpression, 17035SyntaxKind.ObjectCreationExpression, 17036SyntaxKind.AnonymousObjectCreationExpression, 17037SyntaxKind.ArrayCreationExpression, 17038SyntaxKind.CollectionInitializer, 17039SyntaxKind.CTypeExpression, 17040SyntaxKind.DirectCastExpression, 17041SyntaxKind.TryCastExpression, 17042SyntaxKind.PredefinedCastExpression, 17043SyntaxKind.AddExpression, 17044SyntaxKind.SubtractExpression, 17045SyntaxKind.MultiplyExpression, 17046SyntaxKind.DivideExpression, 17047SyntaxKind.IntegerDivideExpression, 17048SyntaxKind.ExponentiateExpression, 17049SyntaxKind.LeftShiftExpression, 17050SyntaxKind.RightShiftExpression, 17051SyntaxKind.ConcatenateExpression, 17052SyntaxKind.ModuloExpression, 17053SyntaxKind.EqualsExpression, 17054SyntaxKind.NotEqualsExpression, 17055SyntaxKind.LessThanExpression, 17056SyntaxKind.LessThanOrEqualExpression, 17057SyntaxKind.GreaterThanOrEqualExpression, 17058SyntaxKind.GreaterThanExpression, 17059SyntaxKind.IsExpression, 17060SyntaxKind.IsNotExpression, 17061SyntaxKind.LikeExpression, 17062SyntaxKind.OrExpression, 17063SyntaxKind.ExclusiveOrExpression, 17064SyntaxKind.AndExpression, 17065SyntaxKind.OrElseExpression, 17066SyntaxKind.AndAlsoExpression, 17067SyntaxKind.UnaryPlusExpression, 17068SyntaxKind.UnaryMinusExpression, 17069SyntaxKind.NotExpression, 17070SyntaxKind.AddressOfExpression, 17071SyntaxKind.BinaryConditionalExpression, 17072SyntaxKind.TernaryConditionalExpression, 17073SyntaxKind.SingleLineFunctionLambdaExpression, 17074SyntaxKind.SingleLineSubLambdaExpression, 17075SyntaxKind.MultiLineFunctionLambdaExpression, 17076SyntaxKind.MultiLineSubLambdaExpression, 17077SyntaxKind.QueryExpression, 17078SyntaxKind.FunctionAggregation, 17079SyntaxKind.GroupAggregation, 17080SyntaxKind.XmlDocument, 17081SyntaxKind.XmlElement, 17082SyntaxKind.XmlText, 17083SyntaxKind.XmlElementStartTag, 17084SyntaxKind.XmlElementEndTag, 17085SyntaxKind.XmlEmptyElement, 17086SyntaxKind.XmlAttribute, 17087SyntaxKind.XmlString, 17088SyntaxKind.XmlPrefixName, 17089SyntaxKind.XmlName, 17090SyntaxKind.XmlBracketedName, 17091SyntaxKind.XmlComment, 17092SyntaxKind.XmlProcessingInstruction, 17093SyntaxKind.XmlCDataSection, 17094SyntaxKind.XmlEmbeddedExpression, 17095SyntaxKind.ArrayType, 17096SyntaxKind.NullableType, 17097SyntaxKind.PredefinedType, 17098SyntaxKind.IdentifierName, 17099SyntaxKind.GenericName, 17100SyntaxKind.QualifiedName, 17101SyntaxKind.GlobalName, 17102SyntaxKind.CrefOperatorReference, 17103SyntaxKind.QualifiedCrefOperatorReference, 17104SyntaxKind.AwaitExpression, 17105SyntaxKind.XmlCrefAttribute, 17106SyntaxKind.XmlNameAttribute, 17107SyntaxKind.ConditionalAccessExpression, 17108SyntaxKind.NameOfExpression, 17109SyntaxKind.InterpolatedStringExpression 17113Return New RelationalCaseClauseSyntax(SyntaxKind.CaseLessThanOrEqualClause, Nothing, Nothing, DirectCast(isKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(operatorToken.Node, InternalSyntax.PunctuationSyntax), value) 17124Return SyntaxFactory.CaseLessThanOrEqualClause(Nothing, SyntaxFactory.Token(SyntaxKind.LessThanEqualsToken), value) 17143Case SyntaxKind.GreaterThanEqualsToken 17151Case SyntaxKind.KeywordEventContainer, 17152SyntaxKind.WithEventsEventContainer, 17153SyntaxKind.WithEventsPropertyEventContainer, 17154SyntaxKind.IdentifierLabel, 17155SyntaxKind.NumericLabel, 17156SyntaxKind.NextLabel, 17157SyntaxKind.MidExpression, 17158SyntaxKind.CharacterLiteralExpression, 17159SyntaxKind.TrueLiteralExpression, 17160SyntaxKind.FalseLiteralExpression, 17161SyntaxKind.NumericLiteralExpression, 17162SyntaxKind.DateLiteralExpression, 17163SyntaxKind.StringLiteralExpression, 17164SyntaxKind.NothingLiteralExpression, 17165SyntaxKind.ParenthesizedExpression, 17166SyntaxKind.TupleExpression, 17167SyntaxKind.TupleType, 17168SyntaxKind.MeExpression, 17169SyntaxKind.MyBaseExpression, 17170SyntaxKind.MyClassExpression, 17171SyntaxKind.GetTypeExpression, 17172SyntaxKind.TypeOfIsExpression, 17173SyntaxKind.TypeOfIsNotExpression, 17174SyntaxKind.GetXmlNamespaceExpression, 17175SyntaxKind.SimpleMemberAccessExpression, 17176SyntaxKind.DictionaryAccessExpression, 17177SyntaxKind.XmlElementAccessExpression, 17178SyntaxKind.XmlDescendantAccessExpression, 17179SyntaxKind.XmlAttributeAccessExpression, 17180SyntaxKind.InvocationExpression, 17181SyntaxKind.ObjectCreationExpression, 17182SyntaxKind.AnonymousObjectCreationExpression, 17183SyntaxKind.ArrayCreationExpression, 17184SyntaxKind.CollectionInitializer, 17185SyntaxKind.CTypeExpression, 17186SyntaxKind.DirectCastExpression, 17187SyntaxKind.TryCastExpression, 17188SyntaxKind.PredefinedCastExpression, 17189SyntaxKind.AddExpression, 17190SyntaxKind.SubtractExpression, 17191SyntaxKind.MultiplyExpression, 17192SyntaxKind.DivideExpression, 17193SyntaxKind.IntegerDivideExpression, 17194SyntaxKind.ExponentiateExpression, 17195SyntaxKind.LeftShiftExpression, 17196SyntaxKind.RightShiftExpression, 17197SyntaxKind.ConcatenateExpression, 17198SyntaxKind.ModuloExpression, 17199SyntaxKind.EqualsExpression, 17200SyntaxKind.NotEqualsExpression, 17201SyntaxKind.LessThanExpression, 17202SyntaxKind.LessThanOrEqualExpression, 17203SyntaxKind.GreaterThanOrEqualExpression, 17204SyntaxKind.GreaterThanExpression, 17205SyntaxKind.IsExpression, 17206SyntaxKind.IsNotExpression, 17207SyntaxKind.LikeExpression, 17208SyntaxKind.OrExpression, 17209SyntaxKind.ExclusiveOrExpression, 17210SyntaxKind.AndExpression, 17211SyntaxKind.OrElseExpression, 17212SyntaxKind.AndAlsoExpression, 17213SyntaxKind.UnaryPlusExpression, 17214SyntaxKind.UnaryMinusExpression, 17215SyntaxKind.NotExpression, 17216SyntaxKind.AddressOfExpression, 17217SyntaxKind.BinaryConditionalExpression, 17218SyntaxKind.TernaryConditionalExpression, 17219SyntaxKind.SingleLineFunctionLambdaExpression, 17220SyntaxKind.SingleLineSubLambdaExpression, 17221SyntaxKind.MultiLineFunctionLambdaExpression, 17222SyntaxKind.MultiLineSubLambdaExpression, 17223SyntaxKind.QueryExpression, 17224SyntaxKind.FunctionAggregation, 17225SyntaxKind.GroupAggregation, 17226SyntaxKind.XmlDocument, 17227SyntaxKind.XmlElement, 17228SyntaxKind.XmlText, 17229SyntaxKind.XmlElementStartTag, 17230SyntaxKind.XmlElementEndTag, 17231SyntaxKind.XmlEmptyElement, 17232SyntaxKind.XmlAttribute, 17233SyntaxKind.XmlString, 17234SyntaxKind.XmlPrefixName, 17235SyntaxKind.XmlName, 17236SyntaxKind.XmlBracketedName, 17237SyntaxKind.XmlComment, 17238SyntaxKind.XmlProcessingInstruction, 17239SyntaxKind.XmlCDataSection, 17240SyntaxKind.XmlEmbeddedExpression, 17241SyntaxKind.ArrayType, 17242SyntaxKind.NullableType, 17243SyntaxKind.PredefinedType, 17244SyntaxKind.IdentifierName, 17245SyntaxKind.GenericName, 17246SyntaxKind.QualifiedName, 17247SyntaxKind.GlobalName, 17248SyntaxKind.CrefOperatorReference, 17249SyntaxKind.QualifiedCrefOperatorReference, 17250SyntaxKind.AwaitExpression, 17251SyntaxKind.XmlCrefAttribute, 17252SyntaxKind.XmlNameAttribute, 17253SyntaxKind.ConditionalAccessExpression, 17254SyntaxKind.NameOfExpression, 17255SyntaxKind.InterpolatedStringExpression 17259Return New RelationalCaseClauseSyntax(SyntaxKind.CaseGreaterThanOrEqualClause, Nothing, Nothing, DirectCast(isKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(operatorToken.Node, InternalSyntax.PunctuationSyntax), value) 17270Return SyntaxFactory.CaseGreaterThanOrEqualClause(Nothing, SyntaxFactory.Token(SyntaxKind.GreaterThanEqualsToken), value) 17289Case SyntaxKind.GreaterThanToken 17297Case SyntaxKind.KeywordEventContainer, 17298SyntaxKind.WithEventsEventContainer, 17299SyntaxKind.WithEventsPropertyEventContainer, 17300SyntaxKind.IdentifierLabel, 17301SyntaxKind.NumericLabel, 17302SyntaxKind.NextLabel, 17303SyntaxKind.MidExpression, 17304SyntaxKind.CharacterLiteralExpression, 17305SyntaxKind.TrueLiteralExpression, 17306SyntaxKind.FalseLiteralExpression, 17307SyntaxKind.NumericLiteralExpression, 17308SyntaxKind.DateLiteralExpression, 17309SyntaxKind.StringLiteralExpression, 17310SyntaxKind.NothingLiteralExpression, 17311SyntaxKind.ParenthesizedExpression, 17312SyntaxKind.TupleExpression, 17313SyntaxKind.TupleType, 17314SyntaxKind.MeExpression, 17315SyntaxKind.MyBaseExpression, 17316SyntaxKind.MyClassExpression, 17317SyntaxKind.GetTypeExpression, 17318SyntaxKind.TypeOfIsExpression, 17319SyntaxKind.TypeOfIsNotExpression, 17320SyntaxKind.GetXmlNamespaceExpression, 17321SyntaxKind.SimpleMemberAccessExpression, 17322SyntaxKind.DictionaryAccessExpression, 17323SyntaxKind.XmlElementAccessExpression, 17324SyntaxKind.XmlDescendantAccessExpression, 17325SyntaxKind.XmlAttributeAccessExpression, 17326SyntaxKind.InvocationExpression, 17327SyntaxKind.ObjectCreationExpression, 17328SyntaxKind.AnonymousObjectCreationExpression, 17329SyntaxKind.ArrayCreationExpression, 17330SyntaxKind.CollectionInitializer, 17331SyntaxKind.CTypeExpression, 17332SyntaxKind.DirectCastExpression, 17333SyntaxKind.TryCastExpression, 17334SyntaxKind.PredefinedCastExpression, 17335SyntaxKind.AddExpression, 17336SyntaxKind.SubtractExpression, 17337SyntaxKind.MultiplyExpression, 17338SyntaxKind.DivideExpression, 17339SyntaxKind.IntegerDivideExpression, 17340SyntaxKind.ExponentiateExpression, 17341SyntaxKind.LeftShiftExpression, 17342SyntaxKind.RightShiftExpression, 17343SyntaxKind.ConcatenateExpression, 17344SyntaxKind.ModuloExpression, 17345SyntaxKind.EqualsExpression, 17346SyntaxKind.NotEqualsExpression, 17347SyntaxKind.LessThanExpression, 17348SyntaxKind.LessThanOrEqualExpression, 17349SyntaxKind.GreaterThanOrEqualExpression, 17350SyntaxKind.GreaterThanExpression, 17351SyntaxKind.IsExpression, 17352SyntaxKind.IsNotExpression, 17353SyntaxKind.LikeExpression, 17354SyntaxKind.OrExpression, 17355SyntaxKind.ExclusiveOrExpression, 17356SyntaxKind.AndExpression, 17357SyntaxKind.OrElseExpression, 17358SyntaxKind.AndAlsoExpression, 17359SyntaxKind.UnaryPlusExpression, 17360SyntaxKind.UnaryMinusExpression, 17361SyntaxKind.NotExpression, 17362SyntaxKind.AddressOfExpression, 17363SyntaxKind.BinaryConditionalExpression, 17364SyntaxKind.TernaryConditionalExpression, 17365SyntaxKind.SingleLineFunctionLambdaExpression, 17366SyntaxKind.SingleLineSubLambdaExpression, 17367SyntaxKind.MultiLineFunctionLambdaExpression, 17368SyntaxKind.MultiLineSubLambdaExpression, 17369SyntaxKind.QueryExpression, 17370SyntaxKind.FunctionAggregation, 17371SyntaxKind.GroupAggregation, 17372SyntaxKind.XmlDocument, 17373SyntaxKind.XmlElement, 17374SyntaxKind.XmlText, 17375SyntaxKind.XmlElementStartTag, 17376SyntaxKind.XmlElementEndTag, 17377SyntaxKind.XmlEmptyElement, 17378SyntaxKind.XmlAttribute, 17379SyntaxKind.XmlString, 17380SyntaxKind.XmlPrefixName, 17381SyntaxKind.XmlName, 17382SyntaxKind.XmlBracketedName, 17383SyntaxKind.XmlComment, 17384SyntaxKind.XmlProcessingInstruction, 17385SyntaxKind.XmlCDataSection, 17386SyntaxKind.XmlEmbeddedExpression, 17387SyntaxKind.ArrayType, 17388SyntaxKind.NullableType, 17389SyntaxKind.PredefinedType, 17390SyntaxKind.IdentifierName, 17391SyntaxKind.GenericName, 17392SyntaxKind.QualifiedName, 17393SyntaxKind.GlobalName, 17394SyntaxKind.CrefOperatorReference, 17395SyntaxKind.QualifiedCrefOperatorReference, 17396SyntaxKind.AwaitExpression, 17397SyntaxKind.XmlCrefAttribute, 17398SyntaxKind.XmlNameAttribute, 17399SyntaxKind.ConditionalAccessExpression, 17400SyntaxKind.NameOfExpression, 17401SyntaxKind.InterpolatedStringExpression 17405Return New RelationalCaseClauseSyntax(SyntaxKind.CaseGreaterThanClause, Nothing, Nothing, DirectCast(isKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(operatorToken.Node, InternalSyntax.PunctuationSyntax), value) 17416Return SyntaxFactory.CaseGreaterThanClause(Nothing, SyntaxFactory.Token(SyntaxKind.GreaterThanToken), value) 17424''' A <see cref="SyntaxKind"/> representing the specific kind of 17439Public Shared Function RelationalCaseClause(ByVal kind As SyntaxKind, isKeyword As SyntaxToken, operatorToken As SyntaxToken, value As ExpressionSyntax) As RelationalCaseClauseSyntax 17450Case SyntaxKind.KeywordEventContainer, 17451SyntaxKind.WithEventsEventContainer, 17452SyntaxKind.WithEventsPropertyEventContainer, 17453SyntaxKind.IdentifierLabel, 17454SyntaxKind.NumericLabel, 17455SyntaxKind.NextLabel, 17456SyntaxKind.MidExpression, 17457SyntaxKind.CharacterLiteralExpression, 17458SyntaxKind.TrueLiteralExpression, 17459SyntaxKind.FalseLiteralExpression, 17460SyntaxKind.NumericLiteralExpression, 17461SyntaxKind.DateLiteralExpression, 17462SyntaxKind.StringLiteralExpression, 17463SyntaxKind.NothingLiteralExpression, 17464SyntaxKind.ParenthesizedExpression, 17465SyntaxKind.TupleExpression, 17466SyntaxKind.TupleType, 17467SyntaxKind.MeExpression, 17468SyntaxKind.MyBaseExpression, 17469SyntaxKind.MyClassExpression, 17470SyntaxKind.GetTypeExpression, 17471SyntaxKind.TypeOfIsExpression, 17472SyntaxKind.TypeOfIsNotExpression, 17473SyntaxKind.GetXmlNamespaceExpression, 17474SyntaxKind.SimpleMemberAccessExpression, 17475SyntaxKind.DictionaryAccessExpression, 17476SyntaxKind.XmlElementAccessExpression, 17477SyntaxKind.XmlDescendantAccessExpression, 17478SyntaxKind.XmlAttributeAccessExpression, 17479SyntaxKind.InvocationExpression, 17480SyntaxKind.ObjectCreationExpression, 17481SyntaxKind.AnonymousObjectCreationExpression, 17482SyntaxKind.ArrayCreationExpression, 17483SyntaxKind.CollectionInitializer, 17484SyntaxKind.CTypeExpression, 17485SyntaxKind.DirectCastExpression, 17486SyntaxKind.TryCastExpression, 17487SyntaxKind.PredefinedCastExpression, 17488SyntaxKind.AddExpression, 17489SyntaxKind.SubtractExpression, 17490SyntaxKind.MultiplyExpression, 17491SyntaxKind.DivideExpression, 17492SyntaxKind.IntegerDivideExpression, 17493SyntaxKind.ExponentiateExpression, 17494SyntaxKind.LeftShiftExpression, 17495SyntaxKind.RightShiftExpression, 17496SyntaxKind.ConcatenateExpression, 17497SyntaxKind.ModuloExpression, 17498SyntaxKind.EqualsExpression, 17499SyntaxKind.NotEqualsExpression, 17500SyntaxKind.LessThanExpression, 17501SyntaxKind.LessThanOrEqualExpression, 17502SyntaxKind.GreaterThanOrEqualExpression, 17503SyntaxKind.GreaterThanExpression, 17504SyntaxKind.IsExpression, 17505SyntaxKind.IsNotExpression, 17506SyntaxKind.LikeExpression, 17507SyntaxKind.OrExpression, 17508SyntaxKind.ExclusiveOrExpression, 17509SyntaxKind.AndExpression, 17510SyntaxKind.OrElseExpression, 17511SyntaxKind.AndAlsoExpression, 17512SyntaxKind.UnaryPlusExpression, 17513SyntaxKind.UnaryMinusExpression, 17514SyntaxKind.NotExpression, 17515SyntaxKind.AddressOfExpression, 17516SyntaxKind.BinaryConditionalExpression, 17517SyntaxKind.TernaryConditionalExpression, 17518SyntaxKind.SingleLineFunctionLambdaExpression, 17519SyntaxKind.SingleLineSubLambdaExpression, 17520SyntaxKind.MultiLineFunctionLambdaExpression, 17521SyntaxKind.MultiLineSubLambdaExpression, 17522SyntaxKind.QueryExpression, 17523SyntaxKind.FunctionAggregation, 17524SyntaxKind.GroupAggregation, 17525SyntaxKind.XmlDocument, 17526SyntaxKind.XmlElement, 17527SyntaxKind.XmlText, 17528SyntaxKind.XmlElementStartTag, 17529SyntaxKind.XmlElementEndTag, 17530SyntaxKind.XmlEmptyElement, 17531SyntaxKind.XmlAttribute, 17532SyntaxKind.XmlString, 17533SyntaxKind.XmlPrefixName, 17534SyntaxKind.XmlName, 17535SyntaxKind.XmlBracketedName, 17536SyntaxKind.XmlComment, 17537SyntaxKind.XmlProcessingInstruction, 17538SyntaxKind.XmlCDataSection, 17539SyntaxKind.XmlEmbeddedExpression, 17540SyntaxKind.ArrayType, 17541SyntaxKind.NullableType, 17542SyntaxKind.PredefinedType, 17543SyntaxKind.IdentifierName, 17544SyntaxKind.GenericName, 17545SyntaxKind.QualifiedName, 17546SyntaxKind.GlobalName, 17547SyntaxKind.CrefOperatorReference, 17548SyntaxKind.QualifiedCrefOperatorReference, 17549SyntaxKind.AwaitExpression, 17550SyntaxKind.XmlCrefAttribute, 17551SyntaxKind.XmlNameAttribute, 17552SyntaxKind.ConditionalAccessExpression, 17553SyntaxKind.NameOfExpression, 17554SyntaxKind.InterpolatedStringExpression 17561Private Shared Function GetRelationalCaseClauseOperatorTokenKind(kind As SyntaxKind) As SyntaxKind 17563Case SyntaxKind.CaseEqualsClause 17564Return SyntaxKind.EqualsToken 17565Case SyntaxKind.CaseNotEqualsClause 17566Return SyntaxKind.LessThanGreaterThanToken 17567Case SyntaxKind.CaseLessThanClause 17568Return SyntaxKind.LessThanToken 17569Case SyntaxKind.CaseLessThanOrEqualClause 17570Return SyntaxKind.LessThanEqualsToken 17571Case SyntaxKind.CaseGreaterThanOrEqualClause 17572Return SyntaxKind.GreaterThanEqualsToken 17573Case SyntaxKind.CaseGreaterThanClause 17574Return SyntaxKind.GreaterThanToken 17584''' A <see cref="SyntaxKind"/> representing the specific kind of 17596Public Shared Function RelationalCaseClause(ByVal kind As SyntaxKind, operatorToken As SyntaxToken, value As ExpressionSyntax) As RelationalCaseClauseSyntax 17613Case SyntaxKind.SyncLockKeyword 17621Case SyntaxKind.KeywordEventContainer, 17622SyntaxKind.WithEventsEventContainer, 17623SyntaxKind.WithEventsPropertyEventContainer, 17624SyntaxKind.IdentifierLabel, 17625SyntaxKind.NumericLabel, 17626SyntaxKind.NextLabel, 17627SyntaxKind.MidExpression, 17628SyntaxKind.CharacterLiteralExpression, 17629SyntaxKind.TrueLiteralExpression, 17630SyntaxKind.FalseLiteralExpression, 17631SyntaxKind.NumericLiteralExpression, 17632SyntaxKind.DateLiteralExpression, 17633SyntaxKind.StringLiteralExpression, 17634SyntaxKind.NothingLiteralExpression, 17635SyntaxKind.ParenthesizedExpression, 17636SyntaxKind.TupleExpression, 17637SyntaxKind.TupleType, 17638SyntaxKind.MeExpression, 17639SyntaxKind.MyBaseExpression, 17640SyntaxKind.MyClassExpression, 17641SyntaxKind.GetTypeExpression, 17642SyntaxKind.TypeOfIsExpression, 17643SyntaxKind.TypeOfIsNotExpression, 17644SyntaxKind.GetXmlNamespaceExpression, 17645SyntaxKind.SimpleMemberAccessExpression, 17646SyntaxKind.DictionaryAccessExpression, 17647SyntaxKind.XmlElementAccessExpression, 17648SyntaxKind.XmlDescendantAccessExpression, 17649SyntaxKind.XmlAttributeAccessExpression, 17650SyntaxKind.InvocationExpression, 17651SyntaxKind.ObjectCreationExpression, 17652SyntaxKind.AnonymousObjectCreationExpression, 17653SyntaxKind.ArrayCreationExpression, 17654SyntaxKind.CollectionInitializer, 17655SyntaxKind.CTypeExpression, 17656SyntaxKind.DirectCastExpression, 17657SyntaxKind.TryCastExpression, 17658SyntaxKind.PredefinedCastExpression, 17659SyntaxKind.AddExpression, 17660SyntaxKind.SubtractExpression, 17661SyntaxKind.MultiplyExpression, 17662SyntaxKind.DivideExpression, 17663SyntaxKind.IntegerDivideExpression, 17664SyntaxKind.ExponentiateExpression, 17665SyntaxKind.LeftShiftExpression, 17666SyntaxKind.RightShiftExpression, 17667SyntaxKind.ConcatenateExpression, 17668SyntaxKind.ModuloExpression, 17669SyntaxKind.EqualsExpression, 17670SyntaxKind.NotEqualsExpression, 17671SyntaxKind.LessThanExpression, 17672SyntaxKind.LessThanOrEqualExpression, 17673SyntaxKind.GreaterThanOrEqualExpression, 17674SyntaxKind.GreaterThanExpression, 17675SyntaxKind.IsExpression, 17676SyntaxKind.IsNotExpression, 17677SyntaxKind.LikeExpression, 17678SyntaxKind.OrExpression, 17679SyntaxKind.ExclusiveOrExpression, 17680SyntaxKind.AndExpression, 17681SyntaxKind.OrElseExpression, 17682SyntaxKind.AndAlsoExpression, 17683SyntaxKind.UnaryPlusExpression, 17684SyntaxKind.UnaryMinusExpression, 17685SyntaxKind.NotExpression, 17686SyntaxKind.AddressOfExpression, 17687SyntaxKind.BinaryConditionalExpression, 17688SyntaxKind.TernaryConditionalExpression, 17689SyntaxKind.SingleLineFunctionLambdaExpression, 17690SyntaxKind.SingleLineSubLambdaExpression, 17691SyntaxKind.MultiLineFunctionLambdaExpression, 17692SyntaxKind.MultiLineSubLambdaExpression, 17693SyntaxKind.QueryExpression, 17694SyntaxKind.FunctionAggregation, 17695SyntaxKind.GroupAggregation, 17696SyntaxKind.XmlDocument, 17697SyntaxKind.XmlElement, 17698SyntaxKind.XmlText, 17699SyntaxKind.XmlElementStartTag, 17700SyntaxKind.XmlElementEndTag, 17701SyntaxKind.XmlEmptyElement, 17702SyntaxKind.XmlAttribute, 17703SyntaxKind.XmlString, 17704SyntaxKind.XmlPrefixName, 17705SyntaxKind.XmlName, 17706SyntaxKind.XmlBracketedName, 17707SyntaxKind.XmlComment, 17708SyntaxKind.XmlProcessingInstruction, 17709SyntaxKind.XmlCDataSection, 17710SyntaxKind.XmlEmbeddedExpression, 17711SyntaxKind.ArrayType, 17712SyntaxKind.NullableType, 17713SyntaxKind.PredefinedType, 17714SyntaxKind.IdentifierName, 17715SyntaxKind.GenericName, 17716SyntaxKind.QualifiedName, 17717SyntaxKind.GlobalName, 17718SyntaxKind.CrefOperatorReference, 17719SyntaxKind.QualifiedCrefOperatorReference, 17720SyntaxKind.AwaitExpression, 17721SyntaxKind.XmlCrefAttribute, 17722SyntaxKind.XmlNameAttribute, 17723SyntaxKind.ConditionalAccessExpression, 17724SyntaxKind.NameOfExpression, 17725SyntaxKind.InterpolatedStringExpression 17729Return New SyncLockStatementSyntax(SyntaxKind.SyncLockStatement, Nothing, Nothing, DirectCast(syncLockKeyword.Node, InternalSyntax.KeywordSyntax), expression) 17741Return SyntaxFactory.SyncLockStatement(SyntaxFactory.Token(SyntaxKind.SyncLockKeyword), expression) 17763Case SyntaxKind.SimpleDoStatement, 17764SyntaxKind.DoWhileStatement, 17765SyntaxKind.DoUntilStatement 17773Case SyntaxKind.SimpleLoopStatement, 17774SyntaxKind.LoopWhileStatement, 17775SyntaxKind.LoopUntilStatement 17779Return New DoLoopBlockSyntax(SyntaxKind.SimpleDoLoopBlock, Nothing, Nothing, doStatement, statements.Node, loopStatement) 17816Case SyntaxKind.DoWhileStatement 17824Case SyntaxKind.SimpleLoopStatement 17828Return New DoLoopBlockSyntax(SyntaxKind.DoWhileLoopBlock, Nothing, Nothing, doStatement, statements.Node, loopStatement) 17865Case SyntaxKind.DoUntilStatement 17873Case SyntaxKind.SimpleLoopStatement 17877Return New DoLoopBlockSyntax(SyntaxKind.DoUntilLoopBlock, Nothing, Nothing, doStatement, statements.Node, loopStatement) 17914Case SyntaxKind.SimpleDoStatement 17922Case SyntaxKind.LoopWhileStatement 17926Return New DoLoopBlockSyntax(SyntaxKind.DoLoopWhileBlock, Nothing, Nothing, doStatement, statements.Node, loopStatement) 17963Case SyntaxKind.SimpleDoStatement 17971Case SyntaxKind.LoopUntilStatement 17975Return New DoLoopBlockSyntax(SyntaxKind.DoLoopUntilBlock, Nothing, Nothing, doStatement, statements.Node, loopStatement) 17999''' A <see cref="SyntaxKind"/> representing the specific kind of DoLoopBlockSyntax. 18012Public Shared Function DoLoopBlock(ByVal kind As SyntaxKind, doStatement As DoStatementSyntax, statements As SyntaxList(of StatementSyntax), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 18031Private Shared Function GetDoLoopBlockDoStatementKind(kind As SyntaxKind) As SyntaxKind 18033Case SyntaxKind.SimpleDoLoopBlock 18034Return SyntaxKind.SimpleDoStatement 18035Case SyntaxKind.DoWhileLoopBlock 18036Return SyntaxKind.DoWhileStatement 18037Case SyntaxKind.DoUntilLoopBlock 18038Return SyntaxKind.DoUntilStatement 18039Case SyntaxKind.DoLoopWhileBlock 18040Return SyntaxKind.SimpleDoStatement 18041Case SyntaxKind.DoLoopUntilBlock 18042Return SyntaxKind.SimpleDoStatement 18047Private Shared Function GetDoLoopBlockLoopStatementKind(kind As SyntaxKind) As SyntaxKind 18049Case SyntaxKind.SimpleDoLoopBlock 18050Return SyntaxKind.SimpleLoopStatement 18051Case SyntaxKind.DoWhileLoopBlock 18052Return SyntaxKind.SimpleLoopStatement 18053Case SyntaxKind.DoUntilLoopBlock 18054Return SyntaxKind.SimpleLoopStatement 18055Case SyntaxKind.DoLoopWhileBlock 18056Return SyntaxKind.LoopWhileStatement 18057Case SyntaxKind.DoLoopUntilBlock 18058Return SyntaxKind.LoopUntilStatement 18069''' A <see cref="SyntaxKind"/> representing the specific kind of DoLoopBlockSyntax. 18079Public Shared Function DoLoopBlock(ByVal kind As SyntaxKind, doStatement As DoStatementSyntax, loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 18096Case SyntaxKind.DoKeyword 18100Return New DoStatementSyntax(SyntaxKind.SimpleDoStatement, Nothing, Nothing, DirectCast(doKeyword.Node, InternalSyntax.KeywordSyntax), whileOrUntilClause) 18112Return SyntaxFactory.SimpleDoStatement(SyntaxFactory.Token(SyntaxKind.DoKeyword), whileOrUntilClause) 18120Return SyntaxFactory.SimpleDoStatement(SyntaxFactory.Token(SyntaxKind.DoKeyword), Nothing) 18136Case SyntaxKind.DoKeyword 18140Return New DoStatementSyntax(SyntaxKind.DoWhileStatement, Nothing, Nothing, DirectCast(doKeyword.Node, InternalSyntax.KeywordSyntax), whileOrUntilClause) 18152Return SyntaxFactory.DoWhileStatement(SyntaxFactory.Token(SyntaxKind.DoKeyword), whileOrUntilClause) 18160Return SyntaxFactory.DoWhileStatement(SyntaxFactory.Token(SyntaxKind.DoKeyword), Nothing) 18176Case SyntaxKind.DoKeyword 18180Return New DoStatementSyntax(SyntaxKind.DoUntilStatement, Nothing, Nothing, DirectCast(doKeyword.Node, InternalSyntax.KeywordSyntax), whileOrUntilClause) 18192Return SyntaxFactory.DoUntilStatement(SyntaxFactory.Token(SyntaxKind.DoKeyword), whileOrUntilClause) 18200Return SyntaxFactory.DoUntilStatement(SyntaxFactory.Token(SyntaxKind.DoKeyword), Nothing) 18208''' A <see cref="SyntaxKind"/> representing the specific kind of DoStatementSyntax. 18218Public Shared Function DoStatement(ByVal kind As SyntaxKind, doKeyword As SyntaxToken, whileOrUntilClause As WhileOrUntilClauseSyntax) As DoStatementSyntax 18223Case SyntaxKind.DoKeyword 18230Private Shared Function GetDoStatementWhileOrUntilClauseKind(kind As SyntaxKind) As SyntaxKind 18232Case SyntaxKind.DoWhileStatement 18233Return SyntaxKind.WhileClause 18234Case SyntaxKind.DoUntilStatement 18235Return SyntaxKind.UntilClause 18245''' A <see cref="SyntaxKind"/> representing the specific kind of DoStatementSyntax. 18252Public Shared Function DoStatement(ByVal kind As SyntaxKind, whileOrUntilClause As WhileOrUntilClauseSyntax) As DoStatementSyntax 18253Return SyntaxFactory.DoStatement(kind, SyntaxFactory.Token(SyntaxKind.DoKeyword), whileOrUntilClause) 18261''' A <see cref="SyntaxKind"/> representing the specific kind of DoStatementSyntax. 18264Public Shared Function DoStatement(ByVal kind As SyntaxKind) As DoStatementSyntax 18265Return SyntaxFactory.DoStatement(kind, SyntaxFactory.Token(SyntaxKind.DoKeyword), Nothing) 18281Case SyntaxKind.LoopKeyword 18285Return New LoopStatementSyntax(SyntaxKind.SimpleLoopStatement, Nothing, Nothing, DirectCast(loopKeyword.Node, InternalSyntax.KeywordSyntax), whileOrUntilClause) 18297Return SyntaxFactory.SimpleLoopStatement(SyntaxFactory.Token(SyntaxKind.LoopKeyword), whileOrUntilClause) 18305Return SyntaxFactory.SimpleLoopStatement(SyntaxFactory.Token(SyntaxKind.LoopKeyword), Nothing) 18321Case SyntaxKind.LoopKeyword 18325Return New LoopStatementSyntax(SyntaxKind.LoopWhileStatement, Nothing, Nothing, DirectCast(loopKeyword.Node, InternalSyntax.KeywordSyntax), whileOrUntilClause) 18337Return SyntaxFactory.LoopWhileStatement(SyntaxFactory.Token(SyntaxKind.LoopKeyword), whileOrUntilClause) 18345Return SyntaxFactory.LoopWhileStatement(SyntaxFactory.Token(SyntaxKind.LoopKeyword), Nothing) 18361Case SyntaxKind.LoopKeyword 18365Return New LoopStatementSyntax(SyntaxKind.LoopUntilStatement, Nothing, Nothing, DirectCast(loopKeyword.Node, InternalSyntax.KeywordSyntax), whileOrUntilClause) 18377Return SyntaxFactory.LoopUntilStatement(SyntaxFactory.Token(SyntaxKind.LoopKeyword), whileOrUntilClause) 18385Return SyntaxFactory.LoopUntilStatement(SyntaxFactory.Token(SyntaxKind.LoopKeyword), Nothing) 18393''' A <see cref="SyntaxKind"/> representing the specific kind of 18404Public Shared Function LoopStatement(ByVal kind As SyntaxKind, loopKeyword As SyntaxToken, whileOrUntilClause As WhileOrUntilClauseSyntax) As LoopStatementSyntax 18409Case SyntaxKind.LoopKeyword 18416Private Shared Function GetLoopStatementWhileOrUntilClauseKind(kind As SyntaxKind) As SyntaxKind 18418Case SyntaxKind.LoopWhileStatement 18419Return SyntaxKind.WhileClause 18420Case SyntaxKind.LoopUntilStatement 18421Return SyntaxKind.UntilClause 18431''' A <see cref="SyntaxKind"/> representing the specific kind of 18439Public Shared Function LoopStatement(ByVal kind As SyntaxKind, whileOrUntilClause As WhileOrUntilClauseSyntax) As LoopStatementSyntax 18440Return SyntaxFactory.LoopStatement(kind, SyntaxFactory.Token(SyntaxKind.LoopKeyword), whileOrUntilClause) 18448''' A <see cref="SyntaxKind"/> representing the specific kind of 18452Public Shared Function LoopStatement(ByVal kind As SyntaxKind) As LoopStatementSyntax 18453Return SyntaxFactory.LoopStatement(kind, SyntaxFactory.Token(SyntaxKind.LoopKeyword), Nothing) 18470Case SyntaxKind.WhileKeyword 18478Case SyntaxKind.KeywordEventContainer, 18479SyntaxKind.WithEventsEventContainer, 18480SyntaxKind.WithEventsPropertyEventContainer, 18481SyntaxKind.IdentifierLabel, 18482SyntaxKind.NumericLabel, 18483SyntaxKind.NextLabel, 18484SyntaxKind.MidExpression, 18485SyntaxKind.CharacterLiteralExpression, 18486SyntaxKind.TrueLiteralExpression, 18487SyntaxKind.FalseLiteralExpression, 18488SyntaxKind.NumericLiteralExpression, 18489SyntaxKind.DateLiteralExpression, 18490SyntaxKind.StringLiteralExpression, 18491SyntaxKind.NothingLiteralExpression, 18492SyntaxKind.ParenthesizedExpression, 18493SyntaxKind.TupleExpression, 18494SyntaxKind.TupleType, 18495SyntaxKind.MeExpression, 18496SyntaxKind.MyBaseExpression, 18497SyntaxKind.MyClassExpression, 18498SyntaxKind.GetTypeExpression, 18499SyntaxKind.TypeOfIsExpression, 18500SyntaxKind.TypeOfIsNotExpression, 18501SyntaxKind.GetXmlNamespaceExpression, 18502SyntaxKind.SimpleMemberAccessExpression, 18503SyntaxKind.DictionaryAccessExpression, 18504SyntaxKind.XmlElementAccessExpression, 18505SyntaxKind.XmlDescendantAccessExpression, 18506SyntaxKind.XmlAttributeAccessExpression, 18507SyntaxKind.InvocationExpression, 18508SyntaxKind.ObjectCreationExpression, 18509SyntaxKind.AnonymousObjectCreationExpression, 18510SyntaxKind.ArrayCreationExpression, 18511SyntaxKind.CollectionInitializer, 18512SyntaxKind.CTypeExpression, 18513SyntaxKind.DirectCastExpression, 18514SyntaxKind.TryCastExpression, 18515SyntaxKind.PredefinedCastExpression, 18516SyntaxKind.AddExpression, 18517SyntaxKind.SubtractExpression, 18518SyntaxKind.MultiplyExpression, 18519SyntaxKind.DivideExpression, 18520SyntaxKind.IntegerDivideExpression, 18521SyntaxKind.ExponentiateExpression, 18522SyntaxKind.LeftShiftExpression, 18523SyntaxKind.RightShiftExpression, 18524SyntaxKind.ConcatenateExpression, 18525SyntaxKind.ModuloExpression, 18526SyntaxKind.EqualsExpression, 18527SyntaxKind.NotEqualsExpression, 18528SyntaxKind.LessThanExpression, 18529SyntaxKind.LessThanOrEqualExpression, 18530SyntaxKind.GreaterThanOrEqualExpression, 18531SyntaxKind.GreaterThanExpression, 18532SyntaxKind.IsExpression, 18533SyntaxKind.IsNotExpression, 18534SyntaxKind.LikeExpression, 18535SyntaxKind.OrExpression, 18536SyntaxKind.ExclusiveOrExpression, 18537SyntaxKind.AndExpression, 18538SyntaxKind.OrElseExpression, 18539SyntaxKind.AndAlsoExpression, 18540SyntaxKind.UnaryPlusExpression, 18541SyntaxKind.UnaryMinusExpression, 18542SyntaxKind.NotExpression, 18543SyntaxKind.AddressOfExpression, 18544SyntaxKind.BinaryConditionalExpression, 18545SyntaxKind.TernaryConditionalExpression, 18546SyntaxKind.SingleLineFunctionLambdaExpression, 18547SyntaxKind.SingleLineSubLambdaExpression, 18548SyntaxKind.MultiLineFunctionLambdaExpression, 18549SyntaxKind.MultiLineSubLambdaExpression, 18550SyntaxKind.QueryExpression, 18551SyntaxKind.FunctionAggregation, 18552SyntaxKind.GroupAggregation, 18553SyntaxKind.XmlDocument, 18554SyntaxKind.XmlElement, 18555SyntaxKind.XmlText, 18556SyntaxKind.XmlElementStartTag, 18557SyntaxKind.XmlElementEndTag, 18558SyntaxKind.XmlEmptyElement, 18559SyntaxKind.XmlAttribute, 18560SyntaxKind.XmlString, 18561SyntaxKind.XmlPrefixName, 18562SyntaxKind.XmlName, 18563SyntaxKind.XmlBracketedName, 18564SyntaxKind.XmlComment, 18565SyntaxKind.XmlProcessingInstruction, 18566SyntaxKind.XmlCDataSection, 18567SyntaxKind.XmlEmbeddedExpression, 18568SyntaxKind.ArrayType, 18569SyntaxKind.NullableType, 18570SyntaxKind.PredefinedType, 18571SyntaxKind.IdentifierName, 18572SyntaxKind.GenericName, 18573SyntaxKind.QualifiedName, 18574SyntaxKind.GlobalName, 18575SyntaxKind.CrefOperatorReference, 18576SyntaxKind.QualifiedCrefOperatorReference, 18577SyntaxKind.AwaitExpression, 18578SyntaxKind.XmlCrefAttribute, 18579SyntaxKind.XmlNameAttribute, 18580SyntaxKind.ConditionalAccessExpression, 18581SyntaxKind.NameOfExpression, 18582SyntaxKind.InterpolatedStringExpression 18586Return New WhileOrUntilClauseSyntax(SyntaxKind.WhileClause, Nothing, Nothing, DirectCast(whileOrUntilKeyword.Node, InternalSyntax.KeywordSyntax), condition) 18599Return SyntaxFactory.WhileClause(SyntaxFactory.Token(SyntaxKind.WhileKeyword), condition) 18616Case SyntaxKind.UntilKeyword 18624Case SyntaxKind.KeywordEventContainer, 18625SyntaxKind.WithEventsEventContainer, 18626SyntaxKind.WithEventsPropertyEventContainer, 18627SyntaxKind.IdentifierLabel, 18628SyntaxKind.NumericLabel, 18629SyntaxKind.NextLabel, 18630SyntaxKind.MidExpression, 18631SyntaxKind.CharacterLiteralExpression, 18632SyntaxKind.TrueLiteralExpression, 18633SyntaxKind.FalseLiteralExpression, 18634SyntaxKind.NumericLiteralExpression, 18635SyntaxKind.DateLiteralExpression, 18636SyntaxKind.StringLiteralExpression, 18637SyntaxKind.NothingLiteralExpression, 18638SyntaxKind.ParenthesizedExpression, 18639SyntaxKind.TupleExpression, 18640SyntaxKind.TupleType, 18641SyntaxKind.MeExpression, 18642SyntaxKind.MyBaseExpression, 18643SyntaxKind.MyClassExpression, 18644SyntaxKind.GetTypeExpression, 18645SyntaxKind.TypeOfIsExpression, 18646SyntaxKind.TypeOfIsNotExpression, 18647SyntaxKind.GetXmlNamespaceExpression, 18648SyntaxKind.SimpleMemberAccessExpression, 18649SyntaxKind.DictionaryAccessExpression, 18650SyntaxKind.XmlElementAccessExpression, 18651SyntaxKind.XmlDescendantAccessExpression, 18652SyntaxKind.XmlAttributeAccessExpression, 18653SyntaxKind.InvocationExpression, 18654SyntaxKind.ObjectCreationExpression, 18655SyntaxKind.AnonymousObjectCreationExpression, 18656SyntaxKind.ArrayCreationExpression, 18657SyntaxKind.CollectionInitializer, 18658SyntaxKind.CTypeExpression, 18659SyntaxKind.DirectCastExpression, 18660SyntaxKind.TryCastExpression, 18661SyntaxKind.PredefinedCastExpression, 18662SyntaxKind.AddExpression, 18663SyntaxKind.SubtractExpression, 18664SyntaxKind.MultiplyExpression, 18665SyntaxKind.DivideExpression, 18666SyntaxKind.IntegerDivideExpression, 18667SyntaxKind.ExponentiateExpression, 18668SyntaxKind.LeftShiftExpression, 18669SyntaxKind.RightShiftExpression, 18670SyntaxKind.ConcatenateExpression, 18671SyntaxKind.ModuloExpression, 18672SyntaxKind.EqualsExpression, 18673SyntaxKind.NotEqualsExpression, 18674SyntaxKind.LessThanExpression, 18675SyntaxKind.LessThanOrEqualExpression, 18676SyntaxKind.GreaterThanOrEqualExpression, 18677SyntaxKind.GreaterThanExpression, 18678SyntaxKind.IsExpression, 18679SyntaxKind.IsNotExpression, 18680SyntaxKind.LikeExpression, 18681SyntaxKind.OrExpression, 18682SyntaxKind.ExclusiveOrExpression, 18683SyntaxKind.AndExpression, 18684SyntaxKind.OrElseExpression, 18685SyntaxKind.AndAlsoExpression, 18686SyntaxKind.UnaryPlusExpression, 18687SyntaxKind.UnaryMinusExpression, 18688SyntaxKind.NotExpression, 18689SyntaxKind.AddressOfExpression, 18690SyntaxKind.BinaryConditionalExpression, 18691SyntaxKind.TernaryConditionalExpression, 18692SyntaxKind.SingleLineFunctionLambdaExpression, 18693SyntaxKind.SingleLineSubLambdaExpression, 18694SyntaxKind.MultiLineFunctionLambdaExpression, 18695SyntaxKind.MultiLineSubLambdaExpression, 18696SyntaxKind.QueryExpression, 18697SyntaxKind.FunctionAggregation, 18698SyntaxKind.GroupAggregation, 18699SyntaxKind.XmlDocument, 18700SyntaxKind.XmlElement, 18701SyntaxKind.XmlText, 18702SyntaxKind.XmlElementStartTag, 18703SyntaxKind.XmlElementEndTag, 18704SyntaxKind.XmlEmptyElement, 18705SyntaxKind.XmlAttribute, 18706SyntaxKind.XmlString, 18707SyntaxKind.XmlPrefixName, 18708SyntaxKind.XmlName, 18709SyntaxKind.XmlBracketedName, 18710SyntaxKind.XmlComment, 18711SyntaxKind.XmlProcessingInstruction, 18712SyntaxKind.XmlCDataSection, 18713SyntaxKind.XmlEmbeddedExpression, 18714SyntaxKind.ArrayType, 18715SyntaxKind.NullableType, 18716SyntaxKind.PredefinedType, 18717SyntaxKind.IdentifierName, 18718SyntaxKind.GenericName, 18719SyntaxKind.QualifiedName, 18720SyntaxKind.GlobalName, 18721SyntaxKind.CrefOperatorReference, 18722SyntaxKind.QualifiedCrefOperatorReference, 18723SyntaxKind.AwaitExpression, 18724SyntaxKind.XmlCrefAttribute, 18725SyntaxKind.XmlNameAttribute, 18726SyntaxKind.ConditionalAccessExpression, 18727SyntaxKind.NameOfExpression, 18728SyntaxKind.InterpolatedStringExpression 18732Return New WhileOrUntilClauseSyntax(SyntaxKind.UntilClause, Nothing, Nothing, DirectCast(whileOrUntilKeyword.Node, InternalSyntax.KeywordSyntax), condition) 18745Return SyntaxFactory.UntilClause(SyntaxFactory.Token(SyntaxKind.UntilKeyword), condition) 18755''' A <see cref="SyntaxKind"/> representing the specific kind of 18764Public Shared Function WhileOrUntilClause(ByVal kind As SyntaxKind, whileOrUntilKeyword As SyntaxToken, condition As ExpressionSyntax) As WhileOrUntilClauseSyntax 18775Case SyntaxKind.KeywordEventContainer, 18776SyntaxKind.WithEventsEventContainer, 18777SyntaxKind.WithEventsPropertyEventContainer, 18778SyntaxKind.IdentifierLabel, 18779SyntaxKind.NumericLabel, 18780SyntaxKind.NextLabel, 18781SyntaxKind.MidExpression, 18782SyntaxKind.CharacterLiteralExpression, 18783SyntaxKind.TrueLiteralExpression, 18784SyntaxKind.FalseLiteralExpression, 18785SyntaxKind.NumericLiteralExpression, 18786SyntaxKind.DateLiteralExpression, 18787SyntaxKind.StringLiteralExpression, 18788SyntaxKind.NothingLiteralExpression, 18789SyntaxKind.ParenthesizedExpression, 18790SyntaxKind.TupleExpression, 18791SyntaxKind.TupleType, 18792SyntaxKind.MeExpression, 18793SyntaxKind.MyBaseExpression, 18794SyntaxKind.MyClassExpression, 18795SyntaxKind.GetTypeExpression, 18796SyntaxKind.TypeOfIsExpression, 18797SyntaxKind.TypeOfIsNotExpression, 18798SyntaxKind.GetXmlNamespaceExpression, 18799SyntaxKind.SimpleMemberAccessExpression, 18800SyntaxKind.DictionaryAccessExpression, 18801SyntaxKind.XmlElementAccessExpression, 18802SyntaxKind.XmlDescendantAccessExpression, 18803SyntaxKind.XmlAttributeAccessExpression, 18804SyntaxKind.InvocationExpression, 18805SyntaxKind.ObjectCreationExpression, 18806SyntaxKind.AnonymousObjectCreationExpression, 18807SyntaxKind.ArrayCreationExpression, 18808SyntaxKind.CollectionInitializer, 18809SyntaxKind.CTypeExpression, 18810SyntaxKind.DirectCastExpression, 18811SyntaxKind.TryCastExpression, 18812SyntaxKind.PredefinedCastExpression, 18813SyntaxKind.AddExpression, 18814SyntaxKind.SubtractExpression, 18815SyntaxKind.MultiplyExpression, 18816SyntaxKind.DivideExpression, 18817SyntaxKind.IntegerDivideExpression, 18818SyntaxKind.ExponentiateExpression, 18819SyntaxKind.LeftShiftExpression, 18820SyntaxKind.RightShiftExpression, 18821SyntaxKind.ConcatenateExpression, 18822SyntaxKind.ModuloExpression, 18823SyntaxKind.EqualsExpression, 18824SyntaxKind.NotEqualsExpression, 18825SyntaxKind.LessThanExpression, 18826SyntaxKind.LessThanOrEqualExpression, 18827SyntaxKind.GreaterThanOrEqualExpression, 18828SyntaxKind.GreaterThanExpression, 18829SyntaxKind.IsExpression, 18830SyntaxKind.IsNotExpression, 18831SyntaxKind.LikeExpression, 18832SyntaxKind.OrExpression, 18833SyntaxKind.ExclusiveOrExpression, 18834SyntaxKind.AndExpression, 18835SyntaxKind.OrElseExpression, 18836SyntaxKind.AndAlsoExpression, 18837SyntaxKind.UnaryPlusExpression, 18838SyntaxKind.UnaryMinusExpression, 18839SyntaxKind.NotExpression, 18840SyntaxKind.AddressOfExpression, 18841SyntaxKind.BinaryConditionalExpression, 18842SyntaxKind.TernaryConditionalExpression, 18843SyntaxKind.SingleLineFunctionLambdaExpression, 18844SyntaxKind.SingleLineSubLambdaExpression, 18845SyntaxKind.MultiLineFunctionLambdaExpression, 18846SyntaxKind.MultiLineSubLambdaExpression, 18847SyntaxKind.QueryExpression, 18848SyntaxKind.FunctionAggregation, 18849SyntaxKind.GroupAggregation, 18850SyntaxKind.XmlDocument, 18851SyntaxKind.XmlElement, 18852SyntaxKind.XmlText, 18853SyntaxKind.XmlElementStartTag, 18854SyntaxKind.XmlElementEndTag, 18855SyntaxKind.XmlEmptyElement, 18856SyntaxKind.XmlAttribute, 18857SyntaxKind.XmlString, 18858SyntaxKind.XmlPrefixName, 18859SyntaxKind.XmlName, 18860SyntaxKind.XmlBracketedName, 18861SyntaxKind.XmlComment, 18862SyntaxKind.XmlProcessingInstruction, 18863SyntaxKind.XmlCDataSection, 18864SyntaxKind.XmlEmbeddedExpression, 18865SyntaxKind.ArrayType, 18866SyntaxKind.NullableType, 18867SyntaxKind.PredefinedType, 18868SyntaxKind.IdentifierName, 18869SyntaxKind.GenericName, 18870SyntaxKind.QualifiedName, 18871SyntaxKind.GlobalName, 18872SyntaxKind.CrefOperatorReference, 18873SyntaxKind.QualifiedCrefOperatorReference, 18874SyntaxKind.AwaitExpression, 18875SyntaxKind.XmlCrefAttribute, 18876SyntaxKind.XmlNameAttribute, 18877SyntaxKind.ConditionalAccessExpression, 18878SyntaxKind.NameOfExpression, 18879SyntaxKind.InterpolatedStringExpression 18886Private Shared Function GetWhileOrUntilClauseWhileOrUntilKeywordKind(kind As SyntaxKind) As SyntaxKind 18888Case SyntaxKind.WhileClause 18889Return SyntaxKind.WhileKeyword 18890Case SyntaxKind.UntilClause 18891Return SyntaxKind.UntilKeyword 18909Case SyntaxKind.WhileKeyword 18917Case SyntaxKind.KeywordEventContainer, 18918SyntaxKind.WithEventsEventContainer, 18919SyntaxKind.WithEventsPropertyEventContainer, 18920SyntaxKind.IdentifierLabel, 18921SyntaxKind.NumericLabel, 18922SyntaxKind.NextLabel, 18923SyntaxKind.MidExpression, 18924SyntaxKind.CharacterLiteralExpression, 18925SyntaxKind.TrueLiteralExpression, 18926SyntaxKind.FalseLiteralExpression, 18927SyntaxKind.NumericLiteralExpression, 18928SyntaxKind.DateLiteralExpression, 18929SyntaxKind.StringLiteralExpression, 18930SyntaxKind.NothingLiteralExpression, 18931SyntaxKind.ParenthesizedExpression, 18932SyntaxKind.TupleExpression, 18933SyntaxKind.TupleType, 18934SyntaxKind.MeExpression, 18935SyntaxKind.MyBaseExpression, 18936SyntaxKind.MyClassExpression, 18937SyntaxKind.GetTypeExpression, 18938SyntaxKind.TypeOfIsExpression, 18939SyntaxKind.TypeOfIsNotExpression, 18940SyntaxKind.GetXmlNamespaceExpression, 18941SyntaxKind.SimpleMemberAccessExpression, 18942SyntaxKind.DictionaryAccessExpression, 18943SyntaxKind.XmlElementAccessExpression, 18944SyntaxKind.XmlDescendantAccessExpression, 18945SyntaxKind.XmlAttributeAccessExpression, 18946SyntaxKind.InvocationExpression, 18947SyntaxKind.ObjectCreationExpression, 18948SyntaxKind.AnonymousObjectCreationExpression, 18949SyntaxKind.ArrayCreationExpression, 18950SyntaxKind.CollectionInitializer, 18951SyntaxKind.CTypeExpression, 18952SyntaxKind.DirectCastExpression, 18953SyntaxKind.TryCastExpression, 18954SyntaxKind.PredefinedCastExpression, 18955SyntaxKind.AddExpression, 18956SyntaxKind.SubtractExpression, 18957SyntaxKind.MultiplyExpression, 18958SyntaxKind.DivideExpression, 18959SyntaxKind.IntegerDivideExpression, 18960SyntaxKind.ExponentiateExpression, 18961SyntaxKind.LeftShiftExpression, 18962SyntaxKind.RightShiftExpression, 18963SyntaxKind.ConcatenateExpression, 18964SyntaxKind.ModuloExpression, 18965SyntaxKind.EqualsExpression, 18966SyntaxKind.NotEqualsExpression, 18967SyntaxKind.LessThanExpression, 18968SyntaxKind.LessThanOrEqualExpression, 18969SyntaxKind.GreaterThanOrEqualExpression, 18970SyntaxKind.GreaterThanExpression, 18971SyntaxKind.IsExpression, 18972SyntaxKind.IsNotExpression, 18973SyntaxKind.LikeExpression, 18974SyntaxKind.OrExpression, 18975SyntaxKind.ExclusiveOrExpression, 18976SyntaxKind.AndExpression, 18977SyntaxKind.OrElseExpression, 18978SyntaxKind.AndAlsoExpression, 18979SyntaxKind.UnaryPlusExpression, 18980SyntaxKind.UnaryMinusExpression, 18981SyntaxKind.NotExpression, 18982SyntaxKind.AddressOfExpression, 18983SyntaxKind.BinaryConditionalExpression, 18984SyntaxKind.TernaryConditionalExpression, 18985SyntaxKind.SingleLineFunctionLambdaExpression, 18986SyntaxKind.SingleLineSubLambdaExpression, 18987SyntaxKind.MultiLineFunctionLambdaExpression, 18988SyntaxKind.MultiLineSubLambdaExpression, 18989SyntaxKind.QueryExpression, 18990SyntaxKind.FunctionAggregation, 18991SyntaxKind.GroupAggregation, 18992SyntaxKind.XmlDocument, 18993SyntaxKind.XmlElement, 18994SyntaxKind.XmlText, 18995SyntaxKind.XmlElementStartTag, 18996SyntaxKind.XmlElementEndTag, 18997SyntaxKind.XmlEmptyElement, 18998SyntaxKind.XmlAttribute, 18999SyntaxKind.XmlString, 19000SyntaxKind.XmlPrefixName, 19001SyntaxKind.XmlName, 19002SyntaxKind.XmlBracketedName, 19003SyntaxKind.XmlComment, 19004SyntaxKind.XmlProcessingInstruction, 19005SyntaxKind.XmlCDataSection, 19006SyntaxKind.XmlEmbeddedExpression, 19007SyntaxKind.ArrayType, 19008SyntaxKind.NullableType, 19009SyntaxKind.PredefinedType, 19010SyntaxKind.IdentifierName, 19011SyntaxKind.GenericName, 19012SyntaxKind.QualifiedName, 19013SyntaxKind.GlobalName, 19014SyntaxKind.CrefOperatorReference, 19015SyntaxKind.QualifiedCrefOperatorReference, 19016SyntaxKind.AwaitExpression, 19017SyntaxKind.XmlCrefAttribute, 19018SyntaxKind.XmlNameAttribute, 19019SyntaxKind.ConditionalAccessExpression, 19020SyntaxKind.NameOfExpression, 19021SyntaxKind.InterpolatedStringExpression 19025Return New WhileStatementSyntax(SyntaxKind.WhileStatement, Nothing, Nothing, DirectCast(whileKeyword.Node, InternalSyntax.KeywordSyntax), condition) 19037Return SyntaxFactory.WhileStatement(SyntaxFactory.Token(SyntaxKind.WhileKeyword), condition) 19062Case SyntaxKind.ForStatement 19066Return New ForBlockSyntax(SyntaxKind.ForBlock, Nothing, Nothing, forStatement, statements.Node, nextStatement) 19104Case SyntaxKind.ForEachStatement 19108Return New ForEachBlockSyntax(SyntaxKind.ForEachBlock, Nothing, Nothing, forEachStatement, statements.Node, nextStatement) 19159Case SyntaxKind.ForKeyword 19167Case SyntaxKind.KeywordEventContainer, 19168SyntaxKind.WithEventsEventContainer, 19169SyntaxKind.WithEventsPropertyEventContainer, 19170SyntaxKind.IdentifierLabel, 19171SyntaxKind.NumericLabel, 19172SyntaxKind.NextLabel, 19173SyntaxKind.MidExpression, 19174SyntaxKind.CharacterLiteralExpression, 19175SyntaxKind.TrueLiteralExpression, 19176SyntaxKind.FalseLiteralExpression, 19177SyntaxKind.NumericLiteralExpression, 19178SyntaxKind.DateLiteralExpression, 19179SyntaxKind.StringLiteralExpression, 19180SyntaxKind.NothingLiteralExpression, 19181SyntaxKind.ParenthesizedExpression, 19182SyntaxKind.TupleExpression, 19183SyntaxKind.TupleType, 19184SyntaxKind.MeExpression, 19185SyntaxKind.MyBaseExpression, 19186SyntaxKind.MyClassExpression, 19187SyntaxKind.GetTypeExpression, 19188SyntaxKind.TypeOfIsExpression, 19189SyntaxKind.TypeOfIsNotExpression, 19190SyntaxKind.GetXmlNamespaceExpression, 19191SyntaxKind.SimpleMemberAccessExpression, 19192SyntaxKind.DictionaryAccessExpression, 19193SyntaxKind.XmlElementAccessExpression, 19194SyntaxKind.XmlDescendantAccessExpression, 19195SyntaxKind.XmlAttributeAccessExpression, 19196SyntaxKind.InvocationExpression, 19197SyntaxKind.ObjectCreationExpression, 19198SyntaxKind.AnonymousObjectCreationExpression, 19199SyntaxKind.ArrayCreationExpression, 19200SyntaxKind.CollectionInitializer, 19201SyntaxKind.CTypeExpression, 19202SyntaxKind.DirectCastExpression, 19203SyntaxKind.TryCastExpression, 19204SyntaxKind.PredefinedCastExpression, 19205SyntaxKind.AddExpression, 19206SyntaxKind.SubtractExpression, 19207SyntaxKind.MultiplyExpression, 19208SyntaxKind.DivideExpression, 19209SyntaxKind.IntegerDivideExpression, 19210SyntaxKind.ExponentiateExpression, 19211SyntaxKind.LeftShiftExpression, 19212SyntaxKind.RightShiftExpression, 19213SyntaxKind.ConcatenateExpression, 19214SyntaxKind.ModuloExpression, 19215SyntaxKind.EqualsExpression, 19216SyntaxKind.NotEqualsExpression, 19217SyntaxKind.LessThanExpression, 19218SyntaxKind.LessThanOrEqualExpression, 19219SyntaxKind.GreaterThanOrEqualExpression, 19220SyntaxKind.GreaterThanExpression, 19221SyntaxKind.IsExpression, 19222SyntaxKind.IsNotExpression, 19223SyntaxKind.LikeExpression, 19224SyntaxKind.OrExpression, 19225SyntaxKind.ExclusiveOrExpression, 19226SyntaxKind.AndExpression, 19227SyntaxKind.OrElseExpression, 19228SyntaxKind.AndAlsoExpression, 19229SyntaxKind.UnaryPlusExpression, 19230SyntaxKind.UnaryMinusExpression, 19231SyntaxKind.NotExpression, 19232SyntaxKind.AddressOfExpression, 19233SyntaxKind.BinaryConditionalExpression, 19234SyntaxKind.TernaryConditionalExpression, 19235SyntaxKind.SingleLineFunctionLambdaExpression, 19236SyntaxKind.SingleLineSubLambdaExpression, 19237SyntaxKind.MultiLineFunctionLambdaExpression, 19238SyntaxKind.MultiLineSubLambdaExpression, 19239SyntaxKind.QueryExpression, 19240SyntaxKind.FunctionAggregation, 19241SyntaxKind.GroupAggregation, 19242SyntaxKind.XmlDocument, 19243SyntaxKind.XmlElement, 19244SyntaxKind.XmlText, 19245SyntaxKind.XmlElementStartTag, 19246SyntaxKind.XmlElementEndTag, 19247SyntaxKind.XmlEmptyElement, 19248SyntaxKind.XmlAttribute, 19249SyntaxKind.XmlString, 19250SyntaxKind.XmlPrefixName, 19251SyntaxKind.XmlName, 19252SyntaxKind.XmlBracketedName, 19253SyntaxKind.XmlComment, 19254SyntaxKind.XmlProcessingInstruction, 19255SyntaxKind.XmlCDataSection, 19256SyntaxKind.XmlEmbeddedExpression, 19257SyntaxKind.ArrayType, 19258SyntaxKind.NullableType, 19259SyntaxKind.PredefinedType, 19260SyntaxKind.IdentifierName, 19261SyntaxKind.GenericName, 19262SyntaxKind.QualifiedName, 19263SyntaxKind.GlobalName, 19264SyntaxKind.CrefOperatorReference, 19265SyntaxKind.QualifiedCrefOperatorReference, 19266SyntaxKind.AwaitExpression, 19267SyntaxKind.XmlCrefAttribute, 19268SyntaxKind.XmlNameAttribute, 19269SyntaxKind.ConditionalAccessExpression, 19270SyntaxKind.NameOfExpression, 19271SyntaxKind.InterpolatedStringExpression, 19272SyntaxKind.VariableDeclarator 19277Case SyntaxKind.EqualsToken 19285Case SyntaxKind.KeywordEventContainer, 19286SyntaxKind.WithEventsEventContainer, 19287SyntaxKind.WithEventsPropertyEventContainer, 19288SyntaxKind.IdentifierLabel, 19289SyntaxKind.NumericLabel, 19290SyntaxKind.NextLabel, 19291SyntaxKind.MidExpression, 19292SyntaxKind.CharacterLiteralExpression, 19293SyntaxKind.TrueLiteralExpression, 19294SyntaxKind.FalseLiteralExpression, 19295SyntaxKind.NumericLiteralExpression, 19296SyntaxKind.DateLiteralExpression, 19297SyntaxKind.StringLiteralExpression, 19298SyntaxKind.NothingLiteralExpression, 19299SyntaxKind.ParenthesizedExpression, 19300SyntaxKind.TupleExpression, 19301SyntaxKind.TupleType, 19302SyntaxKind.MeExpression, 19303SyntaxKind.MyBaseExpression, 19304SyntaxKind.MyClassExpression, 19305SyntaxKind.GetTypeExpression, 19306SyntaxKind.TypeOfIsExpression, 19307SyntaxKind.TypeOfIsNotExpression, 19308SyntaxKind.GetXmlNamespaceExpression, 19309SyntaxKind.SimpleMemberAccessExpression, 19310SyntaxKind.DictionaryAccessExpression, 19311SyntaxKind.XmlElementAccessExpression, 19312SyntaxKind.XmlDescendantAccessExpression, 19313SyntaxKind.XmlAttributeAccessExpression, 19314SyntaxKind.InvocationExpression, 19315SyntaxKind.ObjectCreationExpression, 19316SyntaxKind.AnonymousObjectCreationExpression, 19317SyntaxKind.ArrayCreationExpression, 19318SyntaxKind.CollectionInitializer, 19319SyntaxKind.CTypeExpression, 19320SyntaxKind.DirectCastExpression, 19321SyntaxKind.TryCastExpression, 19322SyntaxKind.PredefinedCastExpression, 19323SyntaxKind.AddExpression, 19324SyntaxKind.SubtractExpression, 19325SyntaxKind.MultiplyExpression, 19326SyntaxKind.DivideExpression, 19327SyntaxKind.IntegerDivideExpression, 19328SyntaxKind.ExponentiateExpression, 19329SyntaxKind.LeftShiftExpression, 19330SyntaxKind.RightShiftExpression, 19331SyntaxKind.ConcatenateExpression, 19332SyntaxKind.ModuloExpression, 19333SyntaxKind.EqualsExpression, 19334SyntaxKind.NotEqualsExpression, 19335SyntaxKind.LessThanExpression, 19336SyntaxKind.LessThanOrEqualExpression, 19337SyntaxKind.GreaterThanOrEqualExpression, 19338SyntaxKind.GreaterThanExpression, 19339SyntaxKind.IsExpression, 19340SyntaxKind.IsNotExpression, 19341SyntaxKind.LikeExpression, 19342SyntaxKind.OrExpression, 19343SyntaxKind.ExclusiveOrExpression, 19344SyntaxKind.AndExpression, 19345SyntaxKind.OrElseExpression, 19346SyntaxKind.AndAlsoExpression, 19347SyntaxKind.UnaryPlusExpression, 19348SyntaxKind.UnaryMinusExpression, 19349SyntaxKind.NotExpression, 19350SyntaxKind.AddressOfExpression, 19351SyntaxKind.BinaryConditionalExpression, 19352SyntaxKind.TernaryConditionalExpression, 19353SyntaxKind.SingleLineFunctionLambdaExpression, 19354SyntaxKind.SingleLineSubLambdaExpression, 19355SyntaxKind.MultiLineFunctionLambdaExpression, 19356SyntaxKind.MultiLineSubLambdaExpression, 19357SyntaxKind.QueryExpression, 19358SyntaxKind.FunctionAggregation, 19359SyntaxKind.GroupAggregation, 19360SyntaxKind.XmlDocument, 19361SyntaxKind.XmlElement, 19362SyntaxKind.XmlText, 19363SyntaxKind.XmlElementStartTag, 19364SyntaxKind.XmlElementEndTag, 19365SyntaxKind.XmlEmptyElement, 19366SyntaxKind.XmlAttribute, 19367SyntaxKind.XmlString, 19368SyntaxKind.XmlPrefixName, 19369SyntaxKind.XmlName, 19370SyntaxKind.XmlBracketedName, 19371SyntaxKind.XmlComment, 19372SyntaxKind.XmlProcessingInstruction, 19373SyntaxKind.XmlCDataSection, 19374SyntaxKind.XmlEmbeddedExpression, 19375SyntaxKind.ArrayType, 19376SyntaxKind.NullableType, 19377SyntaxKind.PredefinedType, 19378SyntaxKind.IdentifierName, 19379SyntaxKind.GenericName, 19380SyntaxKind.QualifiedName, 19381SyntaxKind.GlobalName, 19382SyntaxKind.CrefOperatorReference, 19383SyntaxKind.QualifiedCrefOperatorReference, 19384SyntaxKind.AwaitExpression, 19385SyntaxKind.XmlCrefAttribute, 19386SyntaxKind.XmlNameAttribute, 19387SyntaxKind.ConditionalAccessExpression, 19388SyntaxKind.NameOfExpression, 19389SyntaxKind.InterpolatedStringExpression 19394Case SyntaxKind.ToKeyword 19402Case SyntaxKind.KeywordEventContainer, 19403SyntaxKind.WithEventsEventContainer, 19404SyntaxKind.WithEventsPropertyEventContainer, 19405SyntaxKind.IdentifierLabel, 19406SyntaxKind.NumericLabel, 19407SyntaxKind.NextLabel, 19408SyntaxKind.MidExpression, 19409SyntaxKind.CharacterLiteralExpression, 19410SyntaxKind.TrueLiteralExpression, 19411SyntaxKind.FalseLiteralExpression, 19412SyntaxKind.NumericLiteralExpression, 19413SyntaxKind.DateLiteralExpression, 19414SyntaxKind.StringLiteralExpression, 19415SyntaxKind.NothingLiteralExpression, 19416SyntaxKind.ParenthesizedExpression, 19417SyntaxKind.TupleExpression, 19418SyntaxKind.TupleType, 19419SyntaxKind.MeExpression, 19420SyntaxKind.MyBaseExpression, 19421SyntaxKind.MyClassExpression, 19422SyntaxKind.GetTypeExpression, 19423SyntaxKind.TypeOfIsExpression, 19424SyntaxKind.TypeOfIsNotExpression, 19425SyntaxKind.GetXmlNamespaceExpression, 19426SyntaxKind.SimpleMemberAccessExpression, 19427SyntaxKind.DictionaryAccessExpression, 19428SyntaxKind.XmlElementAccessExpression, 19429SyntaxKind.XmlDescendantAccessExpression, 19430SyntaxKind.XmlAttributeAccessExpression, 19431SyntaxKind.InvocationExpression, 19432SyntaxKind.ObjectCreationExpression, 19433SyntaxKind.AnonymousObjectCreationExpression, 19434SyntaxKind.ArrayCreationExpression, 19435SyntaxKind.CollectionInitializer, 19436SyntaxKind.CTypeExpression, 19437SyntaxKind.DirectCastExpression, 19438SyntaxKind.TryCastExpression, 19439SyntaxKind.PredefinedCastExpression, 19440SyntaxKind.AddExpression, 19441SyntaxKind.SubtractExpression, 19442SyntaxKind.MultiplyExpression, 19443SyntaxKind.DivideExpression, 19444SyntaxKind.IntegerDivideExpression, 19445SyntaxKind.ExponentiateExpression, 19446SyntaxKind.LeftShiftExpression, 19447SyntaxKind.RightShiftExpression, 19448SyntaxKind.ConcatenateExpression, 19449SyntaxKind.ModuloExpression, 19450SyntaxKind.EqualsExpression, 19451SyntaxKind.NotEqualsExpression, 19452SyntaxKind.LessThanExpression, 19453SyntaxKind.LessThanOrEqualExpression, 19454SyntaxKind.GreaterThanOrEqualExpression, 19455SyntaxKind.GreaterThanExpression, 19456SyntaxKind.IsExpression, 19457SyntaxKind.IsNotExpression, 19458SyntaxKind.LikeExpression, 19459SyntaxKind.OrExpression, 19460SyntaxKind.ExclusiveOrExpression, 19461SyntaxKind.AndExpression, 19462SyntaxKind.OrElseExpression, 19463SyntaxKind.AndAlsoExpression, 19464SyntaxKind.UnaryPlusExpression, 19465SyntaxKind.UnaryMinusExpression, 19466SyntaxKind.NotExpression, 19467SyntaxKind.AddressOfExpression, 19468SyntaxKind.BinaryConditionalExpression, 19469SyntaxKind.TernaryConditionalExpression, 19470SyntaxKind.SingleLineFunctionLambdaExpression, 19471SyntaxKind.SingleLineSubLambdaExpression, 19472SyntaxKind.MultiLineFunctionLambdaExpression, 19473SyntaxKind.MultiLineSubLambdaExpression, 19474SyntaxKind.QueryExpression, 19475SyntaxKind.FunctionAggregation, 19476SyntaxKind.GroupAggregation, 19477SyntaxKind.XmlDocument, 19478SyntaxKind.XmlElement, 19479SyntaxKind.XmlText, 19480SyntaxKind.XmlElementStartTag, 19481SyntaxKind.XmlElementEndTag, 19482SyntaxKind.XmlEmptyElement, 19483SyntaxKind.XmlAttribute, 19484SyntaxKind.XmlString, 19485SyntaxKind.XmlPrefixName, 19486SyntaxKind.XmlName, 19487SyntaxKind.XmlBracketedName, 19488SyntaxKind.XmlComment, 19489SyntaxKind.XmlProcessingInstruction, 19490SyntaxKind.XmlCDataSection, 19491SyntaxKind.XmlEmbeddedExpression, 19492SyntaxKind.ArrayType, 19493SyntaxKind.NullableType, 19494SyntaxKind.PredefinedType, 19495SyntaxKind.IdentifierName, 19496SyntaxKind.GenericName, 19497SyntaxKind.QualifiedName, 19498SyntaxKind.GlobalName, 19499SyntaxKind.CrefOperatorReference, 19500SyntaxKind.QualifiedCrefOperatorReference, 19501SyntaxKind.AwaitExpression, 19502SyntaxKind.XmlCrefAttribute, 19503SyntaxKind.XmlNameAttribute, 19504SyntaxKind.ConditionalAccessExpression, 19505SyntaxKind.NameOfExpression, 19506SyntaxKind.InterpolatedStringExpression 19510Return New ForStatementSyntax(SyntaxKind.ForStatement, Nothing, Nothing, DirectCast(forKeyword.Node, InternalSyntax.KeywordSyntax), controlVariable, DirectCast(equalsToken.Node, InternalSyntax.PunctuationSyntax), fromValue, DirectCast(toKeyword.Node, InternalSyntax.KeywordSyntax), toValue, stepClause) 19538Return SyntaxFactory.ForStatement(SyntaxFactory.Token(SyntaxKind.ForKeyword), controlVariable, SyntaxFactory.Token(SyntaxKind.EqualsToken), fromValue, SyntaxFactory.Token(SyntaxKind.ToKeyword), toValue, stepClause) 19563Return SyntaxFactory.ForStatement(SyntaxFactory.Token(SyntaxKind.ForKeyword), controlVariable, SyntaxFactory.Token(SyntaxKind.EqualsToken), fromValue, SyntaxFactory.Token(SyntaxKind.ToKeyword), toValue, Nothing) 19578Case SyntaxKind.StepKeyword 19586Case SyntaxKind.KeywordEventContainer, 19587SyntaxKind.WithEventsEventContainer, 19588SyntaxKind.WithEventsPropertyEventContainer, 19589SyntaxKind.IdentifierLabel, 19590SyntaxKind.NumericLabel, 19591SyntaxKind.NextLabel, 19592SyntaxKind.MidExpression, 19593SyntaxKind.CharacterLiteralExpression, 19594SyntaxKind.TrueLiteralExpression, 19595SyntaxKind.FalseLiteralExpression, 19596SyntaxKind.NumericLiteralExpression, 19597SyntaxKind.DateLiteralExpression, 19598SyntaxKind.StringLiteralExpression, 19599SyntaxKind.NothingLiteralExpression, 19600SyntaxKind.ParenthesizedExpression, 19601SyntaxKind.TupleExpression, 19602SyntaxKind.TupleType, 19603SyntaxKind.MeExpression, 19604SyntaxKind.MyBaseExpression, 19605SyntaxKind.MyClassExpression, 19606SyntaxKind.GetTypeExpression, 19607SyntaxKind.TypeOfIsExpression, 19608SyntaxKind.TypeOfIsNotExpression, 19609SyntaxKind.GetXmlNamespaceExpression, 19610SyntaxKind.SimpleMemberAccessExpression, 19611SyntaxKind.DictionaryAccessExpression, 19612SyntaxKind.XmlElementAccessExpression, 19613SyntaxKind.XmlDescendantAccessExpression, 19614SyntaxKind.XmlAttributeAccessExpression, 19615SyntaxKind.InvocationExpression, 19616SyntaxKind.ObjectCreationExpression, 19617SyntaxKind.AnonymousObjectCreationExpression, 19618SyntaxKind.ArrayCreationExpression, 19619SyntaxKind.CollectionInitializer, 19620SyntaxKind.CTypeExpression, 19621SyntaxKind.DirectCastExpression, 19622SyntaxKind.TryCastExpression, 19623SyntaxKind.PredefinedCastExpression, 19624SyntaxKind.AddExpression, 19625SyntaxKind.SubtractExpression, 19626SyntaxKind.MultiplyExpression, 19627SyntaxKind.DivideExpression, 19628SyntaxKind.IntegerDivideExpression, 19629SyntaxKind.ExponentiateExpression, 19630SyntaxKind.LeftShiftExpression, 19631SyntaxKind.RightShiftExpression, 19632SyntaxKind.ConcatenateExpression, 19633SyntaxKind.ModuloExpression, 19634SyntaxKind.EqualsExpression, 19635SyntaxKind.NotEqualsExpression, 19636SyntaxKind.LessThanExpression, 19637SyntaxKind.LessThanOrEqualExpression, 19638SyntaxKind.GreaterThanOrEqualExpression, 19639SyntaxKind.GreaterThanExpression, 19640SyntaxKind.IsExpression, 19641SyntaxKind.IsNotExpression, 19642SyntaxKind.LikeExpression, 19643SyntaxKind.OrExpression, 19644SyntaxKind.ExclusiveOrExpression, 19645SyntaxKind.AndExpression, 19646SyntaxKind.OrElseExpression, 19647SyntaxKind.AndAlsoExpression, 19648SyntaxKind.UnaryPlusExpression, 19649SyntaxKind.UnaryMinusExpression, 19650SyntaxKind.NotExpression, 19651SyntaxKind.AddressOfExpression, 19652SyntaxKind.BinaryConditionalExpression, 19653SyntaxKind.TernaryConditionalExpression, 19654SyntaxKind.SingleLineFunctionLambdaExpression, 19655SyntaxKind.SingleLineSubLambdaExpression, 19656SyntaxKind.MultiLineFunctionLambdaExpression, 19657SyntaxKind.MultiLineSubLambdaExpression, 19658SyntaxKind.QueryExpression, 19659SyntaxKind.FunctionAggregation, 19660SyntaxKind.GroupAggregation, 19661SyntaxKind.XmlDocument, 19662SyntaxKind.XmlElement, 19663SyntaxKind.XmlText, 19664SyntaxKind.XmlElementStartTag, 19665SyntaxKind.XmlElementEndTag, 19666SyntaxKind.XmlEmptyElement, 19667SyntaxKind.XmlAttribute, 19668SyntaxKind.XmlString, 19669SyntaxKind.XmlPrefixName, 19670SyntaxKind.XmlName, 19671SyntaxKind.XmlBracketedName, 19672SyntaxKind.XmlComment, 19673SyntaxKind.XmlProcessingInstruction, 19674SyntaxKind.XmlCDataSection, 19675SyntaxKind.XmlEmbeddedExpression, 19676SyntaxKind.ArrayType, 19677SyntaxKind.NullableType, 19678SyntaxKind.PredefinedType, 19679SyntaxKind.IdentifierName, 19680SyntaxKind.GenericName, 19681SyntaxKind.QualifiedName, 19682SyntaxKind.GlobalName, 19683SyntaxKind.CrefOperatorReference, 19684SyntaxKind.QualifiedCrefOperatorReference, 19685SyntaxKind.AwaitExpression, 19686SyntaxKind.XmlCrefAttribute, 19687SyntaxKind.XmlNameAttribute, 19688SyntaxKind.ConditionalAccessExpression, 19689SyntaxKind.NameOfExpression, 19690SyntaxKind.InterpolatedStringExpression 19694Return New ForStepClauseSyntax(SyntaxKind.ForStepClause, Nothing, Nothing, DirectCast(stepKeyword.Node, InternalSyntax.KeywordSyntax), stepValue) 19705Return SyntaxFactory.ForStepClause(SyntaxFactory.Token(SyntaxKind.StepKeyword), stepValue) 19738Case SyntaxKind.ForKeyword 19743Case SyntaxKind.EachKeyword 19751Case SyntaxKind.KeywordEventContainer, 19752SyntaxKind.WithEventsEventContainer, 19753SyntaxKind.WithEventsPropertyEventContainer, 19754SyntaxKind.IdentifierLabel, 19755SyntaxKind.NumericLabel, 19756SyntaxKind.NextLabel, 19757SyntaxKind.MidExpression, 19758SyntaxKind.CharacterLiteralExpression, 19759SyntaxKind.TrueLiteralExpression, 19760SyntaxKind.FalseLiteralExpression, 19761SyntaxKind.NumericLiteralExpression, 19762SyntaxKind.DateLiteralExpression, 19763SyntaxKind.StringLiteralExpression, 19764SyntaxKind.NothingLiteralExpression, 19765SyntaxKind.ParenthesizedExpression, 19766SyntaxKind.TupleExpression, 19767SyntaxKind.TupleType, 19768SyntaxKind.MeExpression, 19769SyntaxKind.MyBaseExpression, 19770SyntaxKind.MyClassExpression, 19771SyntaxKind.GetTypeExpression, 19772SyntaxKind.TypeOfIsExpression, 19773SyntaxKind.TypeOfIsNotExpression, 19774SyntaxKind.GetXmlNamespaceExpression, 19775SyntaxKind.SimpleMemberAccessExpression, 19776SyntaxKind.DictionaryAccessExpression, 19777SyntaxKind.XmlElementAccessExpression, 19778SyntaxKind.XmlDescendantAccessExpression, 19779SyntaxKind.XmlAttributeAccessExpression, 19780SyntaxKind.InvocationExpression, 19781SyntaxKind.ObjectCreationExpression, 19782SyntaxKind.AnonymousObjectCreationExpression, 19783SyntaxKind.ArrayCreationExpression, 19784SyntaxKind.CollectionInitializer, 19785SyntaxKind.CTypeExpression, 19786SyntaxKind.DirectCastExpression, 19787SyntaxKind.TryCastExpression, 19788SyntaxKind.PredefinedCastExpression, 19789SyntaxKind.AddExpression, 19790SyntaxKind.SubtractExpression, 19791SyntaxKind.MultiplyExpression, 19792SyntaxKind.DivideExpression, 19793SyntaxKind.IntegerDivideExpression, 19794SyntaxKind.ExponentiateExpression, 19795SyntaxKind.LeftShiftExpression, 19796SyntaxKind.RightShiftExpression, 19797SyntaxKind.ConcatenateExpression, 19798SyntaxKind.ModuloExpression, 19799SyntaxKind.EqualsExpression, 19800SyntaxKind.NotEqualsExpression, 19801SyntaxKind.LessThanExpression, 19802SyntaxKind.LessThanOrEqualExpression, 19803SyntaxKind.GreaterThanOrEqualExpression, 19804SyntaxKind.GreaterThanExpression, 19805SyntaxKind.IsExpression, 19806SyntaxKind.IsNotExpression, 19807SyntaxKind.LikeExpression, 19808SyntaxKind.OrExpression, 19809SyntaxKind.ExclusiveOrExpression, 19810SyntaxKind.AndExpression, 19811SyntaxKind.OrElseExpression, 19812SyntaxKind.AndAlsoExpression, 19813SyntaxKind.UnaryPlusExpression, 19814SyntaxKind.UnaryMinusExpression, 19815SyntaxKind.NotExpression, 19816SyntaxKind.AddressOfExpression, 19817SyntaxKind.BinaryConditionalExpression, 19818SyntaxKind.TernaryConditionalExpression, 19819SyntaxKind.SingleLineFunctionLambdaExpression, 19820SyntaxKind.SingleLineSubLambdaExpression, 19821SyntaxKind.MultiLineFunctionLambdaExpression, 19822SyntaxKind.MultiLineSubLambdaExpression, 19823SyntaxKind.QueryExpression, 19824SyntaxKind.FunctionAggregation, 19825SyntaxKind.GroupAggregation, 19826SyntaxKind.XmlDocument, 19827SyntaxKind.XmlElement, 19828SyntaxKind.XmlText, 19829SyntaxKind.XmlElementStartTag, 19830SyntaxKind.XmlElementEndTag, 19831SyntaxKind.XmlEmptyElement, 19832SyntaxKind.XmlAttribute, 19833SyntaxKind.XmlString, 19834SyntaxKind.XmlPrefixName, 19835SyntaxKind.XmlName, 19836SyntaxKind.XmlBracketedName, 19837SyntaxKind.XmlComment, 19838SyntaxKind.XmlProcessingInstruction, 19839SyntaxKind.XmlCDataSection, 19840SyntaxKind.XmlEmbeddedExpression, 19841SyntaxKind.ArrayType, 19842SyntaxKind.NullableType, 19843SyntaxKind.PredefinedType, 19844SyntaxKind.IdentifierName, 19845SyntaxKind.GenericName, 19846SyntaxKind.QualifiedName, 19847SyntaxKind.GlobalName, 19848SyntaxKind.CrefOperatorReference, 19849SyntaxKind.QualifiedCrefOperatorReference, 19850SyntaxKind.AwaitExpression, 19851SyntaxKind.XmlCrefAttribute, 19852SyntaxKind.XmlNameAttribute, 19853SyntaxKind.ConditionalAccessExpression, 19854SyntaxKind.NameOfExpression, 19855SyntaxKind.InterpolatedStringExpression, 19856SyntaxKind.VariableDeclarator 19861Case SyntaxKind.InKeyword 19869Case SyntaxKind.KeywordEventContainer, 19870SyntaxKind.WithEventsEventContainer, 19871SyntaxKind.WithEventsPropertyEventContainer, 19872SyntaxKind.IdentifierLabel, 19873SyntaxKind.NumericLabel, 19874SyntaxKind.NextLabel, 19875SyntaxKind.MidExpression, 19876SyntaxKind.CharacterLiteralExpression, 19877SyntaxKind.TrueLiteralExpression, 19878SyntaxKind.FalseLiteralExpression, 19879SyntaxKind.NumericLiteralExpression, 19880SyntaxKind.DateLiteralExpression, 19881SyntaxKind.StringLiteralExpression, 19882SyntaxKind.NothingLiteralExpression, 19883SyntaxKind.ParenthesizedExpression, 19884SyntaxKind.TupleExpression, 19885SyntaxKind.TupleType, 19886SyntaxKind.MeExpression, 19887SyntaxKind.MyBaseExpression, 19888SyntaxKind.MyClassExpression, 19889SyntaxKind.GetTypeExpression, 19890SyntaxKind.TypeOfIsExpression, 19891SyntaxKind.TypeOfIsNotExpression, 19892SyntaxKind.GetXmlNamespaceExpression, 19893SyntaxKind.SimpleMemberAccessExpression, 19894SyntaxKind.DictionaryAccessExpression, 19895SyntaxKind.XmlElementAccessExpression, 19896SyntaxKind.XmlDescendantAccessExpression, 19897SyntaxKind.XmlAttributeAccessExpression, 19898SyntaxKind.InvocationExpression, 19899SyntaxKind.ObjectCreationExpression, 19900SyntaxKind.AnonymousObjectCreationExpression, 19901SyntaxKind.ArrayCreationExpression, 19902SyntaxKind.CollectionInitializer, 19903SyntaxKind.CTypeExpression, 19904SyntaxKind.DirectCastExpression, 19905SyntaxKind.TryCastExpression, 19906SyntaxKind.PredefinedCastExpression, 19907SyntaxKind.AddExpression, 19908SyntaxKind.SubtractExpression, 19909SyntaxKind.MultiplyExpression, 19910SyntaxKind.DivideExpression, 19911SyntaxKind.IntegerDivideExpression, 19912SyntaxKind.ExponentiateExpression, 19913SyntaxKind.LeftShiftExpression, 19914SyntaxKind.RightShiftExpression, 19915SyntaxKind.ConcatenateExpression, 19916SyntaxKind.ModuloExpression, 19917SyntaxKind.EqualsExpression, 19918SyntaxKind.NotEqualsExpression, 19919SyntaxKind.LessThanExpression, 19920SyntaxKind.LessThanOrEqualExpression, 19921SyntaxKind.GreaterThanOrEqualExpression, 19922SyntaxKind.GreaterThanExpression, 19923SyntaxKind.IsExpression, 19924SyntaxKind.IsNotExpression, 19925SyntaxKind.LikeExpression, 19926SyntaxKind.OrExpression, 19927SyntaxKind.ExclusiveOrExpression, 19928SyntaxKind.AndExpression, 19929SyntaxKind.OrElseExpression, 19930SyntaxKind.AndAlsoExpression, 19931SyntaxKind.UnaryPlusExpression, 19932SyntaxKind.UnaryMinusExpression, 19933SyntaxKind.NotExpression, 19934SyntaxKind.AddressOfExpression, 19935SyntaxKind.BinaryConditionalExpression, 19936SyntaxKind.TernaryConditionalExpression, 19937SyntaxKind.SingleLineFunctionLambdaExpression, 19938SyntaxKind.SingleLineSubLambdaExpression, 19939SyntaxKind.MultiLineFunctionLambdaExpression, 19940SyntaxKind.MultiLineSubLambdaExpression, 19941SyntaxKind.QueryExpression, 19942SyntaxKind.FunctionAggregation, 19943SyntaxKind.GroupAggregation, 19944SyntaxKind.XmlDocument, 19945SyntaxKind.XmlElement, 19946SyntaxKind.XmlText, 19947SyntaxKind.XmlElementStartTag, 19948SyntaxKind.XmlElementEndTag, 19949SyntaxKind.XmlEmptyElement, 19950SyntaxKind.XmlAttribute, 19951SyntaxKind.XmlString, 19952SyntaxKind.XmlPrefixName, 19953SyntaxKind.XmlName, 19954SyntaxKind.XmlBracketedName, 19955SyntaxKind.XmlComment, 19956SyntaxKind.XmlProcessingInstruction, 19957SyntaxKind.XmlCDataSection, 19958SyntaxKind.XmlEmbeddedExpression, 19959SyntaxKind.ArrayType, 19960SyntaxKind.NullableType, 19961SyntaxKind.PredefinedType, 19962SyntaxKind.IdentifierName, 19963SyntaxKind.GenericName, 19964SyntaxKind.QualifiedName, 19965SyntaxKind.GlobalName, 19966SyntaxKind.CrefOperatorReference, 19967SyntaxKind.QualifiedCrefOperatorReference, 19968SyntaxKind.AwaitExpression, 19969SyntaxKind.XmlCrefAttribute, 19970SyntaxKind.XmlNameAttribute, 19971SyntaxKind.ConditionalAccessExpression, 19972SyntaxKind.NameOfExpression, 19973SyntaxKind.InterpolatedStringExpression 19977Return New ForEachStatementSyntax(SyntaxKind.ForEachStatement, Nothing, Nothing, DirectCast(forKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(eachKeyword.Node, InternalSyntax.KeywordSyntax), controlVariable, DirectCast(inKeyword.Node, InternalSyntax.KeywordSyntax), expression) 20000Return SyntaxFactory.ForEachStatement(SyntaxFactory.Token(SyntaxKind.ForKeyword), SyntaxFactory.Token(SyntaxKind.EachKeyword), controlVariable, SyntaxFactory.Token(SyntaxKind.InKeyword), expression) 20018Case SyntaxKind.NextKeyword 20022Return New NextStatementSyntax(SyntaxKind.NextStatement, Nothing, Nothing, DirectCast(nextKeyword.Node, InternalSyntax.KeywordSyntax), controlVariables.Node) 20036Return SyntaxFactory.NextStatement(SyntaxFactory.Token(SyntaxKind.NextKeyword), controlVariables) 20047Return SyntaxFactory.NextStatement(SyntaxFactory.Token(SyntaxKind.NextKeyword), Nothing) 20069Case SyntaxKind.UsingKeyword 20073Return New UsingStatementSyntax(SyntaxKind.UsingStatement, Nothing, Nothing, DirectCast(usingKeyword.Node, InternalSyntax.KeywordSyntax), expression, variables.Node) 20091Return SyntaxFactory.UsingStatement(SyntaxFactory.Token(SyntaxKind.UsingKeyword), expression, variables) 20101Return SyntaxFactory.UsingStatement(SyntaxFactory.Token(SyntaxKind.UsingKeyword), Nothing, Nothing) 20116Case SyntaxKind.ThrowKeyword 20120Return New ThrowStatementSyntax(SyntaxKind.ThrowStatement, Nothing, Nothing, DirectCast(throwKeyword.Node, InternalSyntax.KeywordSyntax), expression) 20131Return SyntaxFactory.ThrowStatement(SyntaxFactory.Token(SyntaxKind.ThrowKeyword), expression) 20139Return SyntaxFactory.ThrowStatement(SyntaxFactory.Token(SyntaxKind.ThrowKeyword), Nothing) 20162Case SyntaxKind.KeywordEventContainer, 20163SyntaxKind.WithEventsEventContainer, 20164SyntaxKind.WithEventsPropertyEventContainer, 20165SyntaxKind.IdentifierLabel, 20166SyntaxKind.NumericLabel, 20167SyntaxKind.NextLabel, 20168SyntaxKind.MidExpression, 20169SyntaxKind.CharacterLiteralExpression, 20170SyntaxKind.TrueLiteralExpression, 20171SyntaxKind.FalseLiteralExpression, 20172SyntaxKind.NumericLiteralExpression, 20173SyntaxKind.DateLiteralExpression, 20174SyntaxKind.StringLiteralExpression, 20175SyntaxKind.NothingLiteralExpression, 20176SyntaxKind.ParenthesizedExpression, 20177SyntaxKind.TupleExpression, 20178SyntaxKind.TupleType, 20179SyntaxKind.MeExpression, 20180SyntaxKind.MyBaseExpression, 20181SyntaxKind.MyClassExpression, 20182SyntaxKind.GetTypeExpression, 20183SyntaxKind.TypeOfIsExpression, 20184SyntaxKind.TypeOfIsNotExpression, 20185SyntaxKind.GetXmlNamespaceExpression, 20186SyntaxKind.SimpleMemberAccessExpression, 20187SyntaxKind.DictionaryAccessExpression, 20188SyntaxKind.XmlElementAccessExpression, 20189SyntaxKind.XmlDescendantAccessExpression, 20190SyntaxKind.XmlAttributeAccessExpression, 20191SyntaxKind.InvocationExpression, 20192SyntaxKind.ObjectCreationExpression, 20193SyntaxKind.AnonymousObjectCreationExpression, 20194SyntaxKind.ArrayCreationExpression, 20195SyntaxKind.CollectionInitializer, 20196SyntaxKind.CTypeExpression, 20197SyntaxKind.DirectCastExpression, 20198SyntaxKind.TryCastExpression, 20199SyntaxKind.PredefinedCastExpression, 20200SyntaxKind.AddExpression, 20201SyntaxKind.SubtractExpression, 20202SyntaxKind.MultiplyExpression, 20203SyntaxKind.DivideExpression, 20204SyntaxKind.IntegerDivideExpression, 20205SyntaxKind.ExponentiateExpression, 20206SyntaxKind.LeftShiftExpression, 20207SyntaxKind.RightShiftExpression, 20208SyntaxKind.ConcatenateExpression, 20209SyntaxKind.ModuloExpression, 20210SyntaxKind.EqualsExpression, 20211SyntaxKind.NotEqualsExpression, 20212SyntaxKind.LessThanExpression, 20213SyntaxKind.LessThanOrEqualExpression, 20214SyntaxKind.GreaterThanOrEqualExpression, 20215SyntaxKind.GreaterThanExpression, 20216SyntaxKind.IsExpression, 20217SyntaxKind.IsNotExpression, 20218SyntaxKind.LikeExpression, 20219SyntaxKind.OrExpression, 20220SyntaxKind.ExclusiveOrExpression, 20221SyntaxKind.AndExpression, 20222SyntaxKind.OrElseExpression, 20223SyntaxKind.AndAlsoExpression, 20224SyntaxKind.UnaryPlusExpression, 20225SyntaxKind.UnaryMinusExpression, 20226SyntaxKind.NotExpression, 20227SyntaxKind.AddressOfExpression, 20228SyntaxKind.BinaryConditionalExpression, 20229SyntaxKind.TernaryConditionalExpression, 20230SyntaxKind.SingleLineFunctionLambdaExpression, 20231SyntaxKind.SingleLineSubLambdaExpression, 20232SyntaxKind.MultiLineFunctionLambdaExpression, 20233SyntaxKind.MultiLineSubLambdaExpression, 20234SyntaxKind.QueryExpression, 20235SyntaxKind.FunctionAggregation, 20236SyntaxKind.GroupAggregation, 20237SyntaxKind.XmlDocument, 20238SyntaxKind.XmlElement, 20239SyntaxKind.XmlText, 20240SyntaxKind.XmlElementStartTag, 20241SyntaxKind.XmlElementEndTag, 20242SyntaxKind.XmlEmptyElement, 20243SyntaxKind.XmlAttribute, 20244SyntaxKind.XmlString, 20245SyntaxKind.XmlPrefixName, 20246SyntaxKind.XmlName, 20247SyntaxKind.XmlBracketedName, 20248SyntaxKind.XmlComment, 20249SyntaxKind.XmlProcessingInstruction, 20250SyntaxKind.XmlCDataSection, 20251SyntaxKind.XmlEmbeddedExpression, 20252SyntaxKind.ArrayType, 20253SyntaxKind.NullableType, 20254SyntaxKind.PredefinedType, 20255SyntaxKind.IdentifierName, 20256SyntaxKind.GenericName, 20257SyntaxKind.QualifiedName, 20258SyntaxKind.GlobalName, 20259SyntaxKind.CrefOperatorReference, 20260SyntaxKind.QualifiedCrefOperatorReference, 20261SyntaxKind.AwaitExpression, 20262SyntaxKind.XmlCrefAttribute, 20263SyntaxKind.XmlNameAttribute, 20264SyntaxKind.ConditionalAccessExpression, 20265SyntaxKind.NameOfExpression, 20266SyntaxKind.InterpolatedStringExpression 20271Case SyntaxKind.EqualsToken : 20272Case SyntaxKind.PlusEqualsToken : 20273Case SyntaxKind.MinusEqualsToken : 20274Case SyntaxKind.AsteriskEqualsToken : 20275Case SyntaxKind.SlashEqualsToken : 20276Case SyntaxKind.BackslashEqualsToken : 20277Case SyntaxKind.CaretEqualsToken : 20278Case SyntaxKind.LessThanLessThanEqualsToken : 20279Case SyntaxKind.GreaterThanGreaterThanEqualsToken : 20280Case SyntaxKind.AmpersandEqualsToken 20288Case SyntaxKind.KeywordEventContainer, 20289SyntaxKind.WithEventsEventContainer, 20290SyntaxKind.WithEventsPropertyEventContainer, 20291SyntaxKind.IdentifierLabel, 20292SyntaxKind.NumericLabel, 20293SyntaxKind.NextLabel, 20294SyntaxKind.MidExpression, 20295SyntaxKind.CharacterLiteralExpression, 20296SyntaxKind.TrueLiteralExpression, 20297SyntaxKind.FalseLiteralExpression, 20298SyntaxKind.NumericLiteralExpression, 20299SyntaxKind.DateLiteralExpression, 20300SyntaxKind.StringLiteralExpression, 20301SyntaxKind.NothingLiteralExpression, 20302SyntaxKind.ParenthesizedExpression, 20303SyntaxKind.TupleExpression, 20304SyntaxKind.TupleType, 20305SyntaxKind.MeExpression, 20306SyntaxKind.MyBaseExpression, 20307SyntaxKind.MyClassExpression, 20308SyntaxKind.GetTypeExpression, 20309SyntaxKind.TypeOfIsExpression, 20310SyntaxKind.TypeOfIsNotExpression, 20311SyntaxKind.GetXmlNamespaceExpression, 20312SyntaxKind.SimpleMemberAccessExpression, 20313SyntaxKind.DictionaryAccessExpression, 20314SyntaxKind.XmlElementAccessExpression, 20315SyntaxKind.XmlDescendantAccessExpression, 20316SyntaxKind.XmlAttributeAccessExpression, 20317SyntaxKind.InvocationExpression, 20318SyntaxKind.ObjectCreationExpression, 20319SyntaxKind.AnonymousObjectCreationExpression, 20320SyntaxKind.ArrayCreationExpression, 20321SyntaxKind.CollectionInitializer, 20322SyntaxKind.CTypeExpression, 20323SyntaxKind.DirectCastExpression, 20324SyntaxKind.TryCastExpression, 20325SyntaxKind.PredefinedCastExpression, 20326SyntaxKind.AddExpression, 20327SyntaxKind.SubtractExpression, 20328SyntaxKind.MultiplyExpression, 20329SyntaxKind.DivideExpression, 20330SyntaxKind.IntegerDivideExpression, 20331SyntaxKind.ExponentiateExpression, 20332SyntaxKind.LeftShiftExpression, 20333SyntaxKind.RightShiftExpression, 20334SyntaxKind.ConcatenateExpression, 20335SyntaxKind.ModuloExpression, 20336SyntaxKind.EqualsExpression, 20337SyntaxKind.NotEqualsExpression, 20338SyntaxKind.LessThanExpression, 20339SyntaxKind.LessThanOrEqualExpression, 20340SyntaxKind.GreaterThanOrEqualExpression, 20341SyntaxKind.GreaterThanExpression, 20342SyntaxKind.IsExpression, 20343SyntaxKind.IsNotExpression, 20344SyntaxKind.LikeExpression, 20345SyntaxKind.OrExpression, 20346SyntaxKind.ExclusiveOrExpression, 20347SyntaxKind.AndExpression, 20348SyntaxKind.OrElseExpression, 20349SyntaxKind.AndAlsoExpression, 20350SyntaxKind.UnaryPlusExpression, 20351SyntaxKind.UnaryMinusExpression, 20352SyntaxKind.NotExpression, 20353SyntaxKind.AddressOfExpression, 20354SyntaxKind.BinaryConditionalExpression, 20355SyntaxKind.TernaryConditionalExpression, 20356SyntaxKind.SingleLineFunctionLambdaExpression, 20357SyntaxKind.SingleLineSubLambdaExpression, 20358SyntaxKind.MultiLineFunctionLambdaExpression, 20359SyntaxKind.MultiLineSubLambdaExpression, 20360SyntaxKind.QueryExpression, 20361SyntaxKind.FunctionAggregation, 20362SyntaxKind.GroupAggregation, 20363SyntaxKind.XmlDocument, 20364SyntaxKind.XmlElement, 20365SyntaxKind.XmlText, 20366SyntaxKind.XmlElementStartTag, 20367SyntaxKind.XmlElementEndTag, 20368SyntaxKind.XmlEmptyElement, 20369SyntaxKind.XmlAttribute, 20370SyntaxKind.XmlString, 20371SyntaxKind.XmlPrefixName, 20372SyntaxKind.XmlName, 20373SyntaxKind.XmlBracketedName, 20374SyntaxKind.XmlComment, 20375SyntaxKind.XmlProcessingInstruction, 20376SyntaxKind.XmlCDataSection, 20377SyntaxKind.XmlEmbeddedExpression, 20378SyntaxKind.ArrayType, 20379SyntaxKind.NullableType, 20380SyntaxKind.PredefinedType, 20381SyntaxKind.IdentifierName, 20382SyntaxKind.GenericName, 20383SyntaxKind.QualifiedName, 20384SyntaxKind.GlobalName, 20385SyntaxKind.CrefOperatorReference, 20386SyntaxKind.QualifiedCrefOperatorReference, 20387SyntaxKind.AwaitExpression, 20388SyntaxKind.XmlCrefAttribute, 20389SyntaxKind.XmlNameAttribute, 20390SyntaxKind.ConditionalAccessExpression, 20391SyntaxKind.NameOfExpression, 20392SyntaxKind.InterpolatedStringExpression 20396Return New AssignmentStatementSyntax(SyntaxKind.SimpleAssignmentStatement, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.PunctuationSyntax), right) 20411Return SyntaxFactory.SimpleAssignmentStatement(left, SyntaxFactory.Token(SyntaxKind.EqualsToken), right) 20434Case SyntaxKind.KeywordEventContainer, 20435SyntaxKind.WithEventsEventContainer, 20436SyntaxKind.WithEventsPropertyEventContainer, 20437SyntaxKind.IdentifierLabel, 20438SyntaxKind.NumericLabel, 20439SyntaxKind.NextLabel, 20440SyntaxKind.MidExpression, 20441SyntaxKind.CharacterLiteralExpression, 20442SyntaxKind.TrueLiteralExpression, 20443SyntaxKind.FalseLiteralExpression, 20444SyntaxKind.NumericLiteralExpression, 20445SyntaxKind.DateLiteralExpression, 20446SyntaxKind.StringLiteralExpression, 20447SyntaxKind.NothingLiteralExpression, 20448SyntaxKind.ParenthesizedExpression, 20449SyntaxKind.TupleExpression, 20450SyntaxKind.TupleType, 20451SyntaxKind.MeExpression, 20452SyntaxKind.MyBaseExpression, 20453SyntaxKind.MyClassExpression, 20454SyntaxKind.GetTypeExpression, 20455SyntaxKind.TypeOfIsExpression, 20456SyntaxKind.TypeOfIsNotExpression, 20457SyntaxKind.GetXmlNamespaceExpression, 20458SyntaxKind.SimpleMemberAccessExpression, 20459SyntaxKind.DictionaryAccessExpression, 20460SyntaxKind.XmlElementAccessExpression, 20461SyntaxKind.XmlDescendantAccessExpression, 20462SyntaxKind.XmlAttributeAccessExpression, 20463SyntaxKind.InvocationExpression, 20464SyntaxKind.ObjectCreationExpression, 20465SyntaxKind.AnonymousObjectCreationExpression, 20466SyntaxKind.ArrayCreationExpression, 20467SyntaxKind.CollectionInitializer, 20468SyntaxKind.CTypeExpression, 20469SyntaxKind.DirectCastExpression, 20470SyntaxKind.TryCastExpression, 20471SyntaxKind.PredefinedCastExpression, 20472SyntaxKind.AddExpression, 20473SyntaxKind.SubtractExpression, 20474SyntaxKind.MultiplyExpression, 20475SyntaxKind.DivideExpression, 20476SyntaxKind.IntegerDivideExpression, 20477SyntaxKind.ExponentiateExpression, 20478SyntaxKind.LeftShiftExpression, 20479SyntaxKind.RightShiftExpression, 20480SyntaxKind.ConcatenateExpression, 20481SyntaxKind.ModuloExpression, 20482SyntaxKind.EqualsExpression, 20483SyntaxKind.NotEqualsExpression, 20484SyntaxKind.LessThanExpression, 20485SyntaxKind.LessThanOrEqualExpression, 20486SyntaxKind.GreaterThanOrEqualExpression, 20487SyntaxKind.GreaterThanExpression, 20488SyntaxKind.IsExpression, 20489SyntaxKind.IsNotExpression, 20490SyntaxKind.LikeExpression, 20491SyntaxKind.OrExpression, 20492SyntaxKind.ExclusiveOrExpression, 20493SyntaxKind.AndExpression, 20494SyntaxKind.OrElseExpression, 20495SyntaxKind.AndAlsoExpression, 20496SyntaxKind.UnaryPlusExpression, 20497SyntaxKind.UnaryMinusExpression, 20498SyntaxKind.NotExpression, 20499SyntaxKind.AddressOfExpression, 20500SyntaxKind.BinaryConditionalExpression, 20501SyntaxKind.TernaryConditionalExpression, 20502SyntaxKind.SingleLineFunctionLambdaExpression, 20503SyntaxKind.SingleLineSubLambdaExpression, 20504SyntaxKind.MultiLineFunctionLambdaExpression, 20505SyntaxKind.MultiLineSubLambdaExpression, 20506SyntaxKind.QueryExpression, 20507SyntaxKind.FunctionAggregation, 20508SyntaxKind.GroupAggregation, 20509SyntaxKind.XmlDocument, 20510SyntaxKind.XmlElement, 20511SyntaxKind.XmlText, 20512SyntaxKind.XmlElementStartTag, 20513SyntaxKind.XmlElementEndTag, 20514SyntaxKind.XmlEmptyElement, 20515SyntaxKind.XmlAttribute, 20516SyntaxKind.XmlString, 20517SyntaxKind.XmlPrefixName, 20518SyntaxKind.XmlName, 20519SyntaxKind.XmlBracketedName, 20520SyntaxKind.XmlComment, 20521SyntaxKind.XmlProcessingInstruction, 20522SyntaxKind.XmlCDataSection, 20523SyntaxKind.XmlEmbeddedExpression, 20524SyntaxKind.ArrayType, 20525SyntaxKind.NullableType, 20526SyntaxKind.PredefinedType, 20527SyntaxKind.IdentifierName, 20528SyntaxKind.GenericName, 20529SyntaxKind.QualifiedName, 20530SyntaxKind.GlobalName, 20531SyntaxKind.CrefOperatorReference, 20532SyntaxKind.QualifiedCrefOperatorReference, 20533SyntaxKind.AwaitExpression, 20534SyntaxKind.XmlCrefAttribute, 20535SyntaxKind.XmlNameAttribute, 20536SyntaxKind.ConditionalAccessExpression, 20537SyntaxKind.NameOfExpression, 20538SyntaxKind.InterpolatedStringExpression 20543Case SyntaxKind.EqualsToken 20551Case SyntaxKind.KeywordEventContainer, 20552SyntaxKind.WithEventsEventContainer, 20553SyntaxKind.WithEventsPropertyEventContainer, 20554SyntaxKind.IdentifierLabel, 20555SyntaxKind.NumericLabel, 20556SyntaxKind.NextLabel, 20557SyntaxKind.MidExpression, 20558SyntaxKind.CharacterLiteralExpression, 20559SyntaxKind.TrueLiteralExpression, 20560SyntaxKind.FalseLiteralExpression, 20561SyntaxKind.NumericLiteralExpression, 20562SyntaxKind.DateLiteralExpression, 20563SyntaxKind.StringLiteralExpression, 20564SyntaxKind.NothingLiteralExpression, 20565SyntaxKind.ParenthesizedExpression, 20566SyntaxKind.TupleExpression, 20567SyntaxKind.TupleType, 20568SyntaxKind.MeExpression, 20569SyntaxKind.MyBaseExpression, 20570SyntaxKind.MyClassExpression, 20571SyntaxKind.GetTypeExpression, 20572SyntaxKind.TypeOfIsExpression, 20573SyntaxKind.TypeOfIsNotExpression, 20574SyntaxKind.GetXmlNamespaceExpression, 20575SyntaxKind.SimpleMemberAccessExpression, 20576SyntaxKind.DictionaryAccessExpression, 20577SyntaxKind.XmlElementAccessExpression, 20578SyntaxKind.XmlDescendantAccessExpression, 20579SyntaxKind.XmlAttributeAccessExpression, 20580SyntaxKind.InvocationExpression, 20581SyntaxKind.ObjectCreationExpression, 20582SyntaxKind.AnonymousObjectCreationExpression, 20583SyntaxKind.ArrayCreationExpression, 20584SyntaxKind.CollectionInitializer, 20585SyntaxKind.CTypeExpression, 20586SyntaxKind.DirectCastExpression, 20587SyntaxKind.TryCastExpression, 20588SyntaxKind.PredefinedCastExpression, 20589SyntaxKind.AddExpression, 20590SyntaxKind.SubtractExpression, 20591SyntaxKind.MultiplyExpression, 20592SyntaxKind.DivideExpression, 20593SyntaxKind.IntegerDivideExpression, 20594SyntaxKind.ExponentiateExpression, 20595SyntaxKind.LeftShiftExpression, 20596SyntaxKind.RightShiftExpression, 20597SyntaxKind.ConcatenateExpression, 20598SyntaxKind.ModuloExpression, 20599SyntaxKind.EqualsExpression, 20600SyntaxKind.NotEqualsExpression, 20601SyntaxKind.LessThanExpression, 20602SyntaxKind.LessThanOrEqualExpression, 20603SyntaxKind.GreaterThanOrEqualExpression, 20604SyntaxKind.GreaterThanExpression, 20605SyntaxKind.IsExpression, 20606SyntaxKind.IsNotExpression, 20607SyntaxKind.LikeExpression, 20608SyntaxKind.OrExpression, 20609SyntaxKind.ExclusiveOrExpression, 20610SyntaxKind.AndExpression, 20611SyntaxKind.OrElseExpression, 20612SyntaxKind.AndAlsoExpression, 20613SyntaxKind.UnaryPlusExpression, 20614SyntaxKind.UnaryMinusExpression, 20615SyntaxKind.NotExpression, 20616SyntaxKind.AddressOfExpression, 20617SyntaxKind.BinaryConditionalExpression, 20618SyntaxKind.TernaryConditionalExpression, 20619SyntaxKind.SingleLineFunctionLambdaExpression, 20620SyntaxKind.SingleLineSubLambdaExpression, 20621SyntaxKind.MultiLineFunctionLambdaExpression, 20622SyntaxKind.MultiLineSubLambdaExpression, 20623SyntaxKind.QueryExpression, 20624SyntaxKind.FunctionAggregation, 20625SyntaxKind.GroupAggregation, 20626SyntaxKind.XmlDocument, 20627SyntaxKind.XmlElement, 20628SyntaxKind.XmlText, 20629SyntaxKind.XmlElementStartTag, 20630SyntaxKind.XmlElementEndTag, 20631SyntaxKind.XmlEmptyElement, 20632SyntaxKind.XmlAttribute, 20633SyntaxKind.XmlString, 20634SyntaxKind.XmlPrefixName, 20635SyntaxKind.XmlName, 20636SyntaxKind.XmlBracketedName, 20637SyntaxKind.XmlComment, 20638SyntaxKind.XmlProcessingInstruction, 20639SyntaxKind.XmlCDataSection, 20640SyntaxKind.XmlEmbeddedExpression, 20641SyntaxKind.ArrayType, 20642SyntaxKind.NullableType, 20643SyntaxKind.PredefinedType, 20644SyntaxKind.IdentifierName, 20645SyntaxKind.GenericName, 20646SyntaxKind.QualifiedName, 20647SyntaxKind.GlobalName, 20648SyntaxKind.CrefOperatorReference, 20649SyntaxKind.QualifiedCrefOperatorReference, 20650SyntaxKind.AwaitExpression, 20651SyntaxKind.XmlCrefAttribute, 20652SyntaxKind.XmlNameAttribute, 20653SyntaxKind.ConditionalAccessExpression, 20654SyntaxKind.NameOfExpression, 20655SyntaxKind.InterpolatedStringExpression 20659Return New AssignmentStatementSyntax(SyntaxKind.MidAssignmentStatement, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.PunctuationSyntax), right) 20674Return SyntaxFactory.MidAssignmentStatement(left, SyntaxFactory.Token(SyntaxKind.EqualsToken), right) 20697Case SyntaxKind.KeywordEventContainer, 20698SyntaxKind.WithEventsEventContainer, 20699SyntaxKind.WithEventsPropertyEventContainer, 20700SyntaxKind.IdentifierLabel, 20701SyntaxKind.NumericLabel, 20702SyntaxKind.NextLabel, 20703SyntaxKind.MidExpression, 20704SyntaxKind.CharacterLiteralExpression, 20705SyntaxKind.TrueLiteralExpression, 20706SyntaxKind.FalseLiteralExpression, 20707SyntaxKind.NumericLiteralExpression, 20708SyntaxKind.DateLiteralExpression, 20709SyntaxKind.StringLiteralExpression, 20710SyntaxKind.NothingLiteralExpression, 20711SyntaxKind.ParenthesizedExpression, 20712SyntaxKind.TupleExpression, 20713SyntaxKind.TupleType, 20714SyntaxKind.MeExpression, 20715SyntaxKind.MyBaseExpression, 20716SyntaxKind.MyClassExpression, 20717SyntaxKind.GetTypeExpression, 20718SyntaxKind.TypeOfIsExpression, 20719SyntaxKind.TypeOfIsNotExpression, 20720SyntaxKind.GetXmlNamespaceExpression, 20721SyntaxKind.SimpleMemberAccessExpression, 20722SyntaxKind.DictionaryAccessExpression, 20723SyntaxKind.XmlElementAccessExpression, 20724SyntaxKind.XmlDescendantAccessExpression, 20725SyntaxKind.XmlAttributeAccessExpression, 20726SyntaxKind.InvocationExpression, 20727SyntaxKind.ObjectCreationExpression, 20728SyntaxKind.AnonymousObjectCreationExpression, 20729SyntaxKind.ArrayCreationExpression, 20730SyntaxKind.CollectionInitializer, 20731SyntaxKind.CTypeExpression, 20732SyntaxKind.DirectCastExpression, 20733SyntaxKind.TryCastExpression, 20734SyntaxKind.PredefinedCastExpression, 20735SyntaxKind.AddExpression, 20736SyntaxKind.SubtractExpression, 20737SyntaxKind.MultiplyExpression, 20738SyntaxKind.DivideExpression, 20739SyntaxKind.IntegerDivideExpression, 20740SyntaxKind.ExponentiateExpression, 20741SyntaxKind.LeftShiftExpression, 20742SyntaxKind.RightShiftExpression, 20743SyntaxKind.ConcatenateExpression, 20744SyntaxKind.ModuloExpression, 20745SyntaxKind.EqualsExpression, 20746SyntaxKind.NotEqualsExpression, 20747SyntaxKind.LessThanExpression, 20748SyntaxKind.LessThanOrEqualExpression, 20749SyntaxKind.GreaterThanOrEqualExpression, 20750SyntaxKind.GreaterThanExpression, 20751SyntaxKind.IsExpression, 20752SyntaxKind.IsNotExpression, 20753SyntaxKind.LikeExpression, 20754SyntaxKind.OrExpression, 20755SyntaxKind.ExclusiveOrExpression, 20756SyntaxKind.AndExpression, 20757SyntaxKind.OrElseExpression, 20758SyntaxKind.AndAlsoExpression, 20759SyntaxKind.UnaryPlusExpression, 20760SyntaxKind.UnaryMinusExpression, 20761SyntaxKind.NotExpression, 20762SyntaxKind.AddressOfExpression, 20763SyntaxKind.BinaryConditionalExpression, 20764SyntaxKind.TernaryConditionalExpression, 20765SyntaxKind.SingleLineFunctionLambdaExpression, 20766SyntaxKind.SingleLineSubLambdaExpression, 20767SyntaxKind.MultiLineFunctionLambdaExpression, 20768SyntaxKind.MultiLineSubLambdaExpression, 20769SyntaxKind.QueryExpression, 20770SyntaxKind.FunctionAggregation, 20771SyntaxKind.GroupAggregation, 20772SyntaxKind.XmlDocument, 20773SyntaxKind.XmlElement, 20774SyntaxKind.XmlText, 20775SyntaxKind.XmlElementStartTag, 20776SyntaxKind.XmlElementEndTag, 20777SyntaxKind.XmlEmptyElement, 20778SyntaxKind.XmlAttribute, 20779SyntaxKind.XmlString, 20780SyntaxKind.XmlPrefixName, 20781SyntaxKind.XmlName, 20782SyntaxKind.XmlBracketedName, 20783SyntaxKind.XmlComment, 20784SyntaxKind.XmlProcessingInstruction, 20785SyntaxKind.XmlCDataSection, 20786SyntaxKind.XmlEmbeddedExpression, 20787SyntaxKind.ArrayType, 20788SyntaxKind.NullableType, 20789SyntaxKind.PredefinedType, 20790SyntaxKind.IdentifierName, 20791SyntaxKind.GenericName, 20792SyntaxKind.QualifiedName, 20793SyntaxKind.GlobalName, 20794SyntaxKind.CrefOperatorReference, 20795SyntaxKind.QualifiedCrefOperatorReference, 20796SyntaxKind.AwaitExpression, 20797SyntaxKind.XmlCrefAttribute, 20798SyntaxKind.XmlNameAttribute, 20799SyntaxKind.ConditionalAccessExpression, 20800SyntaxKind.NameOfExpression, 20801SyntaxKind.InterpolatedStringExpression 20806Case SyntaxKind.PlusEqualsToken 20814Case SyntaxKind.KeywordEventContainer, 20815SyntaxKind.WithEventsEventContainer, 20816SyntaxKind.WithEventsPropertyEventContainer, 20817SyntaxKind.IdentifierLabel, 20818SyntaxKind.NumericLabel, 20819SyntaxKind.NextLabel, 20820SyntaxKind.MidExpression, 20821SyntaxKind.CharacterLiteralExpression, 20822SyntaxKind.TrueLiteralExpression, 20823SyntaxKind.FalseLiteralExpression, 20824SyntaxKind.NumericLiteralExpression, 20825SyntaxKind.DateLiteralExpression, 20826SyntaxKind.StringLiteralExpression, 20827SyntaxKind.NothingLiteralExpression, 20828SyntaxKind.ParenthesizedExpression, 20829SyntaxKind.TupleExpression, 20830SyntaxKind.TupleType, 20831SyntaxKind.MeExpression, 20832SyntaxKind.MyBaseExpression, 20833SyntaxKind.MyClassExpression, 20834SyntaxKind.GetTypeExpression, 20835SyntaxKind.TypeOfIsExpression, 20836SyntaxKind.TypeOfIsNotExpression, 20837SyntaxKind.GetXmlNamespaceExpression, 20838SyntaxKind.SimpleMemberAccessExpression, 20839SyntaxKind.DictionaryAccessExpression, 20840SyntaxKind.XmlElementAccessExpression, 20841SyntaxKind.XmlDescendantAccessExpression, 20842SyntaxKind.XmlAttributeAccessExpression, 20843SyntaxKind.InvocationExpression, 20844SyntaxKind.ObjectCreationExpression, 20845SyntaxKind.AnonymousObjectCreationExpression, 20846SyntaxKind.ArrayCreationExpression, 20847SyntaxKind.CollectionInitializer, 20848SyntaxKind.CTypeExpression, 20849SyntaxKind.DirectCastExpression, 20850SyntaxKind.TryCastExpression, 20851SyntaxKind.PredefinedCastExpression, 20852SyntaxKind.AddExpression, 20853SyntaxKind.SubtractExpression, 20854SyntaxKind.MultiplyExpression, 20855SyntaxKind.DivideExpression, 20856SyntaxKind.IntegerDivideExpression, 20857SyntaxKind.ExponentiateExpression, 20858SyntaxKind.LeftShiftExpression, 20859SyntaxKind.RightShiftExpression, 20860SyntaxKind.ConcatenateExpression, 20861SyntaxKind.ModuloExpression, 20862SyntaxKind.EqualsExpression, 20863SyntaxKind.NotEqualsExpression, 20864SyntaxKind.LessThanExpression, 20865SyntaxKind.LessThanOrEqualExpression, 20866SyntaxKind.GreaterThanOrEqualExpression, 20867SyntaxKind.GreaterThanExpression, 20868SyntaxKind.IsExpression, 20869SyntaxKind.IsNotExpression, 20870SyntaxKind.LikeExpression, 20871SyntaxKind.OrExpression, 20872SyntaxKind.ExclusiveOrExpression, 20873SyntaxKind.AndExpression, 20874SyntaxKind.OrElseExpression, 20875SyntaxKind.AndAlsoExpression, 20876SyntaxKind.UnaryPlusExpression, 20877SyntaxKind.UnaryMinusExpression, 20878SyntaxKind.NotExpression, 20879SyntaxKind.AddressOfExpression, 20880SyntaxKind.BinaryConditionalExpression, 20881SyntaxKind.TernaryConditionalExpression, 20882SyntaxKind.SingleLineFunctionLambdaExpression, 20883SyntaxKind.SingleLineSubLambdaExpression, 20884SyntaxKind.MultiLineFunctionLambdaExpression, 20885SyntaxKind.MultiLineSubLambdaExpression, 20886SyntaxKind.QueryExpression, 20887SyntaxKind.FunctionAggregation, 20888SyntaxKind.GroupAggregation, 20889SyntaxKind.XmlDocument, 20890SyntaxKind.XmlElement, 20891SyntaxKind.XmlText, 20892SyntaxKind.XmlElementStartTag, 20893SyntaxKind.XmlElementEndTag, 20894SyntaxKind.XmlEmptyElement, 20895SyntaxKind.XmlAttribute, 20896SyntaxKind.XmlString, 20897SyntaxKind.XmlPrefixName, 20898SyntaxKind.XmlName, 20899SyntaxKind.XmlBracketedName, 20900SyntaxKind.XmlComment, 20901SyntaxKind.XmlProcessingInstruction, 20902SyntaxKind.XmlCDataSection, 20903SyntaxKind.XmlEmbeddedExpression, 20904SyntaxKind.ArrayType, 20905SyntaxKind.NullableType, 20906SyntaxKind.PredefinedType, 20907SyntaxKind.IdentifierName, 20908SyntaxKind.GenericName, 20909SyntaxKind.QualifiedName, 20910SyntaxKind.GlobalName, 20911SyntaxKind.CrefOperatorReference, 20912SyntaxKind.QualifiedCrefOperatorReference, 20913SyntaxKind.AwaitExpression, 20914SyntaxKind.XmlCrefAttribute, 20915SyntaxKind.XmlNameAttribute, 20916SyntaxKind.ConditionalAccessExpression, 20917SyntaxKind.NameOfExpression, 20918SyntaxKind.InterpolatedStringExpression 20922Return New AssignmentStatementSyntax(SyntaxKind.AddAssignmentStatement, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.PunctuationSyntax), right) 20937Return SyntaxFactory.AddAssignmentStatement(left, SyntaxFactory.Token(SyntaxKind.PlusEqualsToken), right) 20960Case SyntaxKind.KeywordEventContainer, 20961SyntaxKind.WithEventsEventContainer, 20962SyntaxKind.WithEventsPropertyEventContainer, 20963SyntaxKind.IdentifierLabel, 20964SyntaxKind.NumericLabel, 20965SyntaxKind.NextLabel, 20966SyntaxKind.MidExpression, 20967SyntaxKind.CharacterLiteralExpression, 20968SyntaxKind.TrueLiteralExpression, 20969SyntaxKind.FalseLiteralExpression, 20970SyntaxKind.NumericLiteralExpression, 20971SyntaxKind.DateLiteralExpression, 20972SyntaxKind.StringLiteralExpression, 20973SyntaxKind.NothingLiteralExpression, 20974SyntaxKind.ParenthesizedExpression, 20975SyntaxKind.TupleExpression, 20976SyntaxKind.TupleType, 20977SyntaxKind.MeExpression, 20978SyntaxKind.MyBaseExpression, 20979SyntaxKind.MyClassExpression, 20980SyntaxKind.GetTypeExpression, 20981SyntaxKind.TypeOfIsExpression, 20982SyntaxKind.TypeOfIsNotExpression, 20983SyntaxKind.GetXmlNamespaceExpression, 20984SyntaxKind.SimpleMemberAccessExpression, 20985SyntaxKind.DictionaryAccessExpression, 20986SyntaxKind.XmlElementAccessExpression, 20987SyntaxKind.XmlDescendantAccessExpression, 20988SyntaxKind.XmlAttributeAccessExpression, 20989SyntaxKind.InvocationExpression, 20990SyntaxKind.ObjectCreationExpression, 20991SyntaxKind.AnonymousObjectCreationExpression, 20992SyntaxKind.ArrayCreationExpression, 20993SyntaxKind.CollectionInitializer, 20994SyntaxKind.CTypeExpression, 20995SyntaxKind.DirectCastExpression, 20996SyntaxKind.TryCastExpression, 20997SyntaxKind.PredefinedCastExpression, 20998SyntaxKind.AddExpression, 20999SyntaxKind.SubtractExpression, 21000SyntaxKind.MultiplyExpression, 21001SyntaxKind.DivideExpression, 21002SyntaxKind.IntegerDivideExpression, 21003SyntaxKind.ExponentiateExpression, 21004SyntaxKind.LeftShiftExpression, 21005SyntaxKind.RightShiftExpression, 21006SyntaxKind.ConcatenateExpression, 21007SyntaxKind.ModuloExpression, 21008SyntaxKind.EqualsExpression, 21009SyntaxKind.NotEqualsExpression, 21010SyntaxKind.LessThanExpression, 21011SyntaxKind.LessThanOrEqualExpression, 21012SyntaxKind.GreaterThanOrEqualExpression, 21013SyntaxKind.GreaterThanExpression, 21014SyntaxKind.IsExpression, 21015SyntaxKind.IsNotExpression, 21016SyntaxKind.LikeExpression, 21017SyntaxKind.OrExpression, 21018SyntaxKind.ExclusiveOrExpression, 21019SyntaxKind.AndExpression, 21020SyntaxKind.OrElseExpression, 21021SyntaxKind.AndAlsoExpression, 21022SyntaxKind.UnaryPlusExpression, 21023SyntaxKind.UnaryMinusExpression, 21024SyntaxKind.NotExpression, 21025SyntaxKind.AddressOfExpression, 21026SyntaxKind.BinaryConditionalExpression, 21027SyntaxKind.TernaryConditionalExpression, 21028SyntaxKind.SingleLineFunctionLambdaExpression, 21029SyntaxKind.SingleLineSubLambdaExpression, 21030SyntaxKind.MultiLineFunctionLambdaExpression, 21031SyntaxKind.MultiLineSubLambdaExpression, 21032SyntaxKind.QueryExpression, 21033SyntaxKind.FunctionAggregation, 21034SyntaxKind.GroupAggregation, 21035SyntaxKind.XmlDocument, 21036SyntaxKind.XmlElement, 21037SyntaxKind.XmlText, 21038SyntaxKind.XmlElementStartTag, 21039SyntaxKind.XmlElementEndTag, 21040SyntaxKind.XmlEmptyElement, 21041SyntaxKind.XmlAttribute, 21042SyntaxKind.XmlString, 21043SyntaxKind.XmlPrefixName, 21044SyntaxKind.XmlName, 21045SyntaxKind.XmlBracketedName, 21046SyntaxKind.XmlComment, 21047SyntaxKind.XmlProcessingInstruction, 21048SyntaxKind.XmlCDataSection, 21049SyntaxKind.XmlEmbeddedExpression, 21050SyntaxKind.ArrayType, 21051SyntaxKind.NullableType, 21052SyntaxKind.PredefinedType, 21053SyntaxKind.IdentifierName, 21054SyntaxKind.GenericName, 21055SyntaxKind.QualifiedName, 21056SyntaxKind.GlobalName, 21057SyntaxKind.CrefOperatorReference, 21058SyntaxKind.QualifiedCrefOperatorReference, 21059SyntaxKind.AwaitExpression, 21060SyntaxKind.XmlCrefAttribute, 21061SyntaxKind.XmlNameAttribute, 21062SyntaxKind.ConditionalAccessExpression, 21063SyntaxKind.NameOfExpression, 21064SyntaxKind.InterpolatedStringExpression 21069Case SyntaxKind.MinusEqualsToken 21077Case SyntaxKind.KeywordEventContainer, 21078SyntaxKind.WithEventsEventContainer, 21079SyntaxKind.WithEventsPropertyEventContainer, 21080SyntaxKind.IdentifierLabel, 21081SyntaxKind.NumericLabel, 21082SyntaxKind.NextLabel, 21083SyntaxKind.MidExpression, 21084SyntaxKind.CharacterLiteralExpression, 21085SyntaxKind.TrueLiteralExpression, 21086SyntaxKind.FalseLiteralExpression, 21087SyntaxKind.NumericLiteralExpression, 21088SyntaxKind.DateLiteralExpression, 21089SyntaxKind.StringLiteralExpression, 21090SyntaxKind.NothingLiteralExpression, 21091SyntaxKind.ParenthesizedExpression, 21092SyntaxKind.TupleExpression, 21093SyntaxKind.TupleType, 21094SyntaxKind.MeExpression, 21095SyntaxKind.MyBaseExpression, 21096SyntaxKind.MyClassExpression, 21097SyntaxKind.GetTypeExpression, 21098SyntaxKind.TypeOfIsExpression, 21099SyntaxKind.TypeOfIsNotExpression, 21100SyntaxKind.GetXmlNamespaceExpression, 21101SyntaxKind.SimpleMemberAccessExpression, 21102SyntaxKind.DictionaryAccessExpression, 21103SyntaxKind.XmlElementAccessExpression, 21104SyntaxKind.XmlDescendantAccessExpression, 21105SyntaxKind.XmlAttributeAccessExpression, 21106SyntaxKind.InvocationExpression, 21107SyntaxKind.ObjectCreationExpression, 21108SyntaxKind.AnonymousObjectCreationExpression, 21109SyntaxKind.ArrayCreationExpression, 21110SyntaxKind.CollectionInitializer, 21111SyntaxKind.CTypeExpression, 21112SyntaxKind.DirectCastExpression, 21113SyntaxKind.TryCastExpression, 21114SyntaxKind.PredefinedCastExpression, 21115SyntaxKind.AddExpression, 21116SyntaxKind.SubtractExpression, 21117SyntaxKind.MultiplyExpression, 21118SyntaxKind.DivideExpression, 21119SyntaxKind.IntegerDivideExpression, 21120SyntaxKind.ExponentiateExpression, 21121SyntaxKind.LeftShiftExpression, 21122SyntaxKind.RightShiftExpression, 21123SyntaxKind.ConcatenateExpression, 21124SyntaxKind.ModuloExpression, 21125SyntaxKind.EqualsExpression, 21126SyntaxKind.NotEqualsExpression, 21127SyntaxKind.LessThanExpression, 21128SyntaxKind.LessThanOrEqualExpression, 21129SyntaxKind.GreaterThanOrEqualExpression, 21130SyntaxKind.GreaterThanExpression, 21131SyntaxKind.IsExpression, 21132SyntaxKind.IsNotExpression, 21133SyntaxKind.LikeExpression, 21134SyntaxKind.OrExpression, 21135SyntaxKind.ExclusiveOrExpression, 21136SyntaxKind.AndExpression, 21137SyntaxKind.OrElseExpression, 21138SyntaxKind.AndAlsoExpression, 21139SyntaxKind.UnaryPlusExpression, 21140SyntaxKind.UnaryMinusExpression, 21141SyntaxKind.NotExpression, 21142SyntaxKind.AddressOfExpression, 21143SyntaxKind.BinaryConditionalExpression, 21144SyntaxKind.TernaryConditionalExpression, 21145SyntaxKind.SingleLineFunctionLambdaExpression, 21146SyntaxKind.SingleLineSubLambdaExpression, 21147SyntaxKind.MultiLineFunctionLambdaExpression, 21148SyntaxKind.MultiLineSubLambdaExpression, 21149SyntaxKind.QueryExpression, 21150SyntaxKind.FunctionAggregation, 21151SyntaxKind.GroupAggregation, 21152SyntaxKind.XmlDocument, 21153SyntaxKind.XmlElement, 21154SyntaxKind.XmlText, 21155SyntaxKind.XmlElementStartTag, 21156SyntaxKind.XmlElementEndTag, 21157SyntaxKind.XmlEmptyElement, 21158SyntaxKind.XmlAttribute, 21159SyntaxKind.XmlString, 21160SyntaxKind.XmlPrefixName, 21161SyntaxKind.XmlName, 21162SyntaxKind.XmlBracketedName, 21163SyntaxKind.XmlComment, 21164SyntaxKind.XmlProcessingInstruction, 21165SyntaxKind.XmlCDataSection, 21166SyntaxKind.XmlEmbeddedExpression, 21167SyntaxKind.ArrayType, 21168SyntaxKind.NullableType, 21169SyntaxKind.PredefinedType, 21170SyntaxKind.IdentifierName, 21171SyntaxKind.GenericName, 21172SyntaxKind.QualifiedName, 21173SyntaxKind.GlobalName, 21174SyntaxKind.CrefOperatorReference, 21175SyntaxKind.QualifiedCrefOperatorReference, 21176SyntaxKind.AwaitExpression, 21177SyntaxKind.XmlCrefAttribute, 21178SyntaxKind.XmlNameAttribute, 21179SyntaxKind.ConditionalAccessExpression, 21180SyntaxKind.NameOfExpression, 21181SyntaxKind.InterpolatedStringExpression 21185Return New AssignmentStatementSyntax(SyntaxKind.SubtractAssignmentStatement, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.PunctuationSyntax), right) 21200Return SyntaxFactory.SubtractAssignmentStatement(left, SyntaxFactory.Token(SyntaxKind.MinusEqualsToken), right) 21223Case SyntaxKind.KeywordEventContainer, 21224SyntaxKind.WithEventsEventContainer, 21225SyntaxKind.WithEventsPropertyEventContainer, 21226SyntaxKind.IdentifierLabel, 21227SyntaxKind.NumericLabel, 21228SyntaxKind.NextLabel, 21229SyntaxKind.MidExpression, 21230SyntaxKind.CharacterLiteralExpression, 21231SyntaxKind.TrueLiteralExpression, 21232SyntaxKind.FalseLiteralExpression, 21233SyntaxKind.NumericLiteralExpression, 21234SyntaxKind.DateLiteralExpression, 21235SyntaxKind.StringLiteralExpression, 21236SyntaxKind.NothingLiteralExpression, 21237SyntaxKind.ParenthesizedExpression, 21238SyntaxKind.TupleExpression, 21239SyntaxKind.TupleType, 21240SyntaxKind.MeExpression, 21241SyntaxKind.MyBaseExpression, 21242SyntaxKind.MyClassExpression, 21243SyntaxKind.GetTypeExpression, 21244SyntaxKind.TypeOfIsExpression, 21245SyntaxKind.TypeOfIsNotExpression, 21246SyntaxKind.GetXmlNamespaceExpression, 21247SyntaxKind.SimpleMemberAccessExpression, 21248SyntaxKind.DictionaryAccessExpression, 21249SyntaxKind.XmlElementAccessExpression, 21250SyntaxKind.XmlDescendantAccessExpression, 21251SyntaxKind.XmlAttributeAccessExpression, 21252SyntaxKind.InvocationExpression, 21253SyntaxKind.ObjectCreationExpression, 21254SyntaxKind.AnonymousObjectCreationExpression, 21255SyntaxKind.ArrayCreationExpression, 21256SyntaxKind.CollectionInitializer, 21257SyntaxKind.CTypeExpression, 21258SyntaxKind.DirectCastExpression, 21259SyntaxKind.TryCastExpression, 21260SyntaxKind.PredefinedCastExpression, 21261SyntaxKind.AddExpression, 21262SyntaxKind.SubtractExpression, 21263SyntaxKind.MultiplyExpression, 21264SyntaxKind.DivideExpression, 21265SyntaxKind.IntegerDivideExpression, 21266SyntaxKind.ExponentiateExpression, 21267SyntaxKind.LeftShiftExpression, 21268SyntaxKind.RightShiftExpression, 21269SyntaxKind.ConcatenateExpression, 21270SyntaxKind.ModuloExpression, 21271SyntaxKind.EqualsExpression, 21272SyntaxKind.NotEqualsExpression, 21273SyntaxKind.LessThanExpression, 21274SyntaxKind.LessThanOrEqualExpression, 21275SyntaxKind.GreaterThanOrEqualExpression, 21276SyntaxKind.GreaterThanExpression, 21277SyntaxKind.IsExpression, 21278SyntaxKind.IsNotExpression, 21279SyntaxKind.LikeExpression, 21280SyntaxKind.OrExpression, 21281SyntaxKind.ExclusiveOrExpression, 21282SyntaxKind.AndExpression, 21283SyntaxKind.OrElseExpression, 21284SyntaxKind.AndAlsoExpression, 21285SyntaxKind.UnaryPlusExpression, 21286SyntaxKind.UnaryMinusExpression, 21287SyntaxKind.NotExpression, 21288SyntaxKind.AddressOfExpression, 21289SyntaxKind.BinaryConditionalExpression, 21290SyntaxKind.TernaryConditionalExpression, 21291SyntaxKind.SingleLineFunctionLambdaExpression, 21292SyntaxKind.SingleLineSubLambdaExpression, 21293SyntaxKind.MultiLineFunctionLambdaExpression, 21294SyntaxKind.MultiLineSubLambdaExpression, 21295SyntaxKind.QueryExpression, 21296SyntaxKind.FunctionAggregation, 21297SyntaxKind.GroupAggregation, 21298SyntaxKind.XmlDocument, 21299SyntaxKind.XmlElement, 21300SyntaxKind.XmlText, 21301SyntaxKind.XmlElementStartTag, 21302SyntaxKind.XmlElementEndTag, 21303SyntaxKind.XmlEmptyElement, 21304SyntaxKind.XmlAttribute, 21305SyntaxKind.XmlString, 21306SyntaxKind.XmlPrefixName, 21307SyntaxKind.XmlName, 21308SyntaxKind.XmlBracketedName, 21309SyntaxKind.XmlComment, 21310SyntaxKind.XmlProcessingInstruction, 21311SyntaxKind.XmlCDataSection, 21312SyntaxKind.XmlEmbeddedExpression, 21313SyntaxKind.ArrayType, 21314SyntaxKind.NullableType, 21315SyntaxKind.PredefinedType, 21316SyntaxKind.IdentifierName, 21317SyntaxKind.GenericName, 21318SyntaxKind.QualifiedName, 21319SyntaxKind.GlobalName, 21320SyntaxKind.CrefOperatorReference, 21321SyntaxKind.QualifiedCrefOperatorReference, 21322SyntaxKind.AwaitExpression, 21323SyntaxKind.XmlCrefAttribute, 21324SyntaxKind.XmlNameAttribute, 21325SyntaxKind.ConditionalAccessExpression, 21326SyntaxKind.NameOfExpression, 21327SyntaxKind.InterpolatedStringExpression 21332Case SyntaxKind.AsteriskEqualsToken 21340Case SyntaxKind.KeywordEventContainer, 21341SyntaxKind.WithEventsEventContainer, 21342SyntaxKind.WithEventsPropertyEventContainer, 21343SyntaxKind.IdentifierLabel, 21344SyntaxKind.NumericLabel, 21345SyntaxKind.NextLabel, 21346SyntaxKind.MidExpression, 21347SyntaxKind.CharacterLiteralExpression, 21348SyntaxKind.TrueLiteralExpression, 21349SyntaxKind.FalseLiteralExpression, 21350SyntaxKind.NumericLiteralExpression, 21351SyntaxKind.DateLiteralExpression, 21352SyntaxKind.StringLiteralExpression, 21353SyntaxKind.NothingLiteralExpression, 21354SyntaxKind.ParenthesizedExpression, 21355SyntaxKind.TupleExpression, 21356SyntaxKind.TupleType, 21357SyntaxKind.MeExpression, 21358SyntaxKind.MyBaseExpression, 21359SyntaxKind.MyClassExpression, 21360SyntaxKind.GetTypeExpression, 21361SyntaxKind.TypeOfIsExpression, 21362SyntaxKind.TypeOfIsNotExpression, 21363SyntaxKind.GetXmlNamespaceExpression, 21364SyntaxKind.SimpleMemberAccessExpression, 21365SyntaxKind.DictionaryAccessExpression, 21366SyntaxKind.XmlElementAccessExpression, 21367SyntaxKind.XmlDescendantAccessExpression, 21368SyntaxKind.XmlAttributeAccessExpression, 21369SyntaxKind.InvocationExpression, 21370SyntaxKind.ObjectCreationExpression, 21371SyntaxKind.AnonymousObjectCreationExpression, 21372SyntaxKind.ArrayCreationExpression, 21373SyntaxKind.CollectionInitializer, 21374SyntaxKind.CTypeExpression, 21375SyntaxKind.DirectCastExpression, 21376SyntaxKind.TryCastExpression, 21377SyntaxKind.PredefinedCastExpression, 21378SyntaxKind.AddExpression, 21379SyntaxKind.SubtractExpression, 21380SyntaxKind.MultiplyExpression, 21381SyntaxKind.DivideExpression, 21382SyntaxKind.IntegerDivideExpression, 21383SyntaxKind.ExponentiateExpression, 21384SyntaxKind.LeftShiftExpression, 21385SyntaxKind.RightShiftExpression, 21386SyntaxKind.ConcatenateExpression, 21387SyntaxKind.ModuloExpression, 21388SyntaxKind.EqualsExpression, 21389SyntaxKind.NotEqualsExpression, 21390SyntaxKind.LessThanExpression, 21391SyntaxKind.LessThanOrEqualExpression, 21392SyntaxKind.GreaterThanOrEqualExpression, 21393SyntaxKind.GreaterThanExpression, 21394SyntaxKind.IsExpression, 21395SyntaxKind.IsNotExpression, 21396SyntaxKind.LikeExpression, 21397SyntaxKind.OrExpression, 21398SyntaxKind.ExclusiveOrExpression, 21399SyntaxKind.AndExpression, 21400SyntaxKind.OrElseExpression, 21401SyntaxKind.AndAlsoExpression, 21402SyntaxKind.UnaryPlusExpression, 21403SyntaxKind.UnaryMinusExpression, 21404SyntaxKind.NotExpression, 21405SyntaxKind.AddressOfExpression, 21406SyntaxKind.BinaryConditionalExpression, 21407SyntaxKind.TernaryConditionalExpression, 21408SyntaxKind.SingleLineFunctionLambdaExpression, 21409SyntaxKind.SingleLineSubLambdaExpression, 21410SyntaxKind.MultiLineFunctionLambdaExpression, 21411SyntaxKind.MultiLineSubLambdaExpression, 21412SyntaxKind.QueryExpression, 21413SyntaxKind.FunctionAggregation, 21414SyntaxKind.GroupAggregation, 21415SyntaxKind.XmlDocument, 21416SyntaxKind.XmlElement, 21417SyntaxKind.XmlText, 21418SyntaxKind.XmlElementStartTag, 21419SyntaxKind.XmlElementEndTag, 21420SyntaxKind.XmlEmptyElement, 21421SyntaxKind.XmlAttribute, 21422SyntaxKind.XmlString, 21423SyntaxKind.XmlPrefixName, 21424SyntaxKind.XmlName, 21425SyntaxKind.XmlBracketedName, 21426SyntaxKind.XmlComment, 21427SyntaxKind.XmlProcessingInstruction, 21428SyntaxKind.XmlCDataSection, 21429SyntaxKind.XmlEmbeddedExpression, 21430SyntaxKind.ArrayType, 21431SyntaxKind.NullableType, 21432SyntaxKind.PredefinedType, 21433SyntaxKind.IdentifierName, 21434SyntaxKind.GenericName, 21435SyntaxKind.QualifiedName, 21436SyntaxKind.GlobalName, 21437SyntaxKind.CrefOperatorReference, 21438SyntaxKind.QualifiedCrefOperatorReference, 21439SyntaxKind.AwaitExpression, 21440SyntaxKind.XmlCrefAttribute, 21441SyntaxKind.XmlNameAttribute, 21442SyntaxKind.ConditionalAccessExpression, 21443SyntaxKind.NameOfExpression, 21444SyntaxKind.InterpolatedStringExpression 21448Return New AssignmentStatementSyntax(SyntaxKind.MultiplyAssignmentStatement, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.PunctuationSyntax), right) 21463Return SyntaxFactory.MultiplyAssignmentStatement(left, SyntaxFactory.Token(SyntaxKind.AsteriskEqualsToken), right) 21486Case SyntaxKind.KeywordEventContainer, 21487SyntaxKind.WithEventsEventContainer, 21488SyntaxKind.WithEventsPropertyEventContainer, 21489SyntaxKind.IdentifierLabel, 21490SyntaxKind.NumericLabel, 21491SyntaxKind.NextLabel, 21492SyntaxKind.MidExpression, 21493SyntaxKind.CharacterLiteralExpression, 21494SyntaxKind.TrueLiteralExpression, 21495SyntaxKind.FalseLiteralExpression, 21496SyntaxKind.NumericLiteralExpression, 21497SyntaxKind.DateLiteralExpression, 21498SyntaxKind.StringLiteralExpression, 21499SyntaxKind.NothingLiteralExpression, 21500SyntaxKind.ParenthesizedExpression, 21501SyntaxKind.TupleExpression, 21502SyntaxKind.TupleType, 21503SyntaxKind.MeExpression, 21504SyntaxKind.MyBaseExpression, 21505SyntaxKind.MyClassExpression, 21506SyntaxKind.GetTypeExpression, 21507SyntaxKind.TypeOfIsExpression, 21508SyntaxKind.TypeOfIsNotExpression, 21509SyntaxKind.GetXmlNamespaceExpression, 21510SyntaxKind.SimpleMemberAccessExpression, 21511SyntaxKind.DictionaryAccessExpression, 21512SyntaxKind.XmlElementAccessExpression, 21513SyntaxKind.XmlDescendantAccessExpression, 21514SyntaxKind.XmlAttributeAccessExpression, 21515SyntaxKind.InvocationExpression, 21516SyntaxKind.ObjectCreationExpression, 21517SyntaxKind.AnonymousObjectCreationExpression, 21518SyntaxKind.ArrayCreationExpression, 21519SyntaxKind.CollectionInitializer, 21520SyntaxKind.CTypeExpression, 21521SyntaxKind.DirectCastExpression, 21522SyntaxKind.TryCastExpression, 21523SyntaxKind.PredefinedCastExpression, 21524SyntaxKind.AddExpression, 21525SyntaxKind.SubtractExpression, 21526SyntaxKind.MultiplyExpression, 21527SyntaxKind.DivideExpression, 21528SyntaxKind.IntegerDivideExpression, 21529SyntaxKind.ExponentiateExpression, 21530SyntaxKind.LeftShiftExpression, 21531SyntaxKind.RightShiftExpression, 21532SyntaxKind.ConcatenateExpression, 21533SyntaxKind.ModuloExpression, 21534SyntaxKind.EqualsExpression, 21535SyntaxKind.NotEqualsExpression, 21536SyntaxKind.LessThanExpression, 21537SyntaxKind.LessThanOrEqualExpression, 21538SyntaxKind.GreaterThanOrEqualExpression, 21539SyntaxKind.GreaterThanExpression, 21540SyntaxKind.IsExpression, 21541SyntaxKind.IsNotExpression, 21542SyntaxKind.LikeExpression, 21543SyntaxKind.OrExpression, 21544SyntaxKind.ExclusiveOrExpression, 21545SyntaxKind.AndExpression, 21546SyntaxKind.OrElseExpression, 21547SyntaxKind.AndAlsoExpression, 21548SyntaxKind.UnaryPlusExpression, 21549SyntaxKind.UnaryMinusExpression, 21550SyntaxKind.NotExpression, 21551SyntaxKind.AddressOfExpression, 21552SyntaxKind.BinaryConditionalExpression, 21553SyntaxKind.TernaryConditionalExpression, 21554SyntaxKind.SingleLineFunctionLambdaExpression, 21555SyntaxKind.SingleLineSubLambdaExpression, 21556SyntaxKind.MultiLineFunctionLambdaExpression, 21557SyntaxKind.MultiLineSubLambdaExpression, 21558SyntaxKind.QueryExpression, 21559SyntaxKind.FunctionAggregation, 21560SyntaxKind.GroupAggregation, 21561SyntaxKind.XmlDocument, 21562SyntaxKind.XmlElement, 21563SyntaxKind.XmlText, 21564SyntaxKind.XmlElementStartTag, 21565SyntaxKind.XmlElementEndTag, 21566SyntaxKind.XmlEmptyElement, 21567SyntaxKind.XmlAttribute, 21568SyntaxKind.XmlString, 21569SyntaxKind.XmlPrefixName, 21570SyntaxKind.XmlName, 21571SyntaxKind.XmlBracketedName, 21572SyntaxKind.XmlComment, 21573SyntaxKind.XmlProcessingInstruction, 21574SyntaxKind.XmlCDataSection, 21575SyntaxKind.XmlEmbeddedExpression, 21576SyntaxKind.ArrayType, 21577SyntaxKind.NullableType, 21578SyntaxKind.PredefinedType, 21579SyntaxKind.IdentifierName, 21580SyntaxKind.GenericName, 21581SyntaxKind.QualifiedName, 21582SyntaxKind.GlobalName, 21583SyntaxKind.CrefOperatorReference, 21584SyntaxKind.QualifiedCrefOperatorReference, 21585SyntaxKind.AwaitExpression, 21586SyntaxKind.XmlCrefAttribute, 21587SyntaxKind.XmlNameAttribute, 21588SyntaxKind.ConditionalAccessExpression, 21589SyntaxKind.NameOfExpression, 21590SyntaxKind.InterpolatedStringExpression 21595Case SyntaxKind.SlashEqualsToken 21603Case SyntaxKind.KeywordEventContainer, 21604SyntaxKind.WithEventsEventContainer, 21605SyntaxKind.WithEventsPropertyEventContainer, 21606SyntaxKind.IdentifierLabel, 21607SyntaxKind.NumericLabel, 21608SyntaxKind.NextLabel, 21609SyntaxKind.MidExpression, 21610SyntaxKind.CharacterLiteralExpression, 21611SyntaxKind.TrueLiteralExpression, 21612SyntaxKind.FalseLiteralExpression, 21613SyntaxKind.NumericLiteralExpression, 21614SyntaxKind.DateLiteralExpression, 21615SyntaxKind.StringLiteralExpression, 21616SyntaxKind.NothingLiteralExpression, 21617SyntaxKind.ParenthesizedExpression, 21618SyntaxKind.TupleExpression, 21619SyntaxKind.TupleType, 21620SyntaxKind.MeExpression, 21621SyntaxKind.MyBaseExpression, 21622SyntaxKind.MyClassExpression, 21623SyntaxKind.GetTypeExpression, 21624SyntaxKind.TypeOfIsExpression, 21625SyntaxKind.TypeOfIsNotExpression, 21626SyntaxKind.GetXmlNamespaceExpression, 21627SyntaxKind.SimpleMemberAccessExpression, 21628SyntaxKind.DictionaryAccessExpression, 21629SyntaxKind.XmlElementAccessExpression, 21630SyntaxKind.XmlDescendantAccessExpression, 21631SyntaxKind.XmlAttributeAccessExpression, 21632SyntaxKind.InvocationExpression, 21633SyntaxKind.ObjectCreationExpression, 21634SyntaxKind.AnonymousObjectCreationExpression, 21635SyntaxKind.ArrayCreationExpression, 21636SyntaxKind.CollectionInitializer, 21637SyntaxKind.CTypeExpression, 21638SyntaxKind.DirectCastExpression, 21639SyntaxKind.TryCastExpression, 21640SyntaxKind.PredefinedCastExpression, 21641SyntaxKind.AddExpression, 21642SyntaxKind.SubtractExpression, 21643SyntaxKind.MultiplyExpression, 21644SyntaxKind.DivideExpression, 21645SyntaxKind.IntegerDivideExpression, 21646SyntaxKind.ExponentiateExpression, 21647SyntaxKind.LeftShiftExpression, 21648SyntaxKind.RightShiftExpression, 21649SyntaxKind.ConcatenateExpression, 21650SyntaxKind.ModuloExpression, 21651SyntaxKind.EqualsExpression, 21652SyntaxKind.NotEqualsExpression, 21653SyntaxKind.LessThanExpression, 21654SyntaxKind.LessThanOrEqualExpression, 21655SyntaxKind.GreaterThanOrEqualExpression, 21656SyntaxKind.GreaterThanExpression, 21657SyntaxKind.IsExpression, 21658SyntaxKind.IsNotExpression, 21659SyntaxKind.LikeExpression, 21660SyntaxKind.OrExpression, 21661SyntaxKind.ExclusiveOrExpression, 21662SyntaxKind.AndExpression, 21663SyntaxKind.OrElseExpression, 21664SyntaxKind.AndAlsoExpression, 21665SyntaxKind.UnaryPlusExpression, 21666SyntaxKind.UnaryMinusExpression, 21667SyntaxKind.NotExpression, 21668SyntaxKind.AddressOfExpression, 21669SyntaxKind.BinaryConditionalExpression, 21670SyntaxKind.TernaryConditionalExpression, 21671SyntaxKind.SingleLineFunctionLambdaExpression, 21672SyntaxKind.SingleLineSubLambdaExpression, 21673SyntaxKind.MultiLineFunctionLambdaExpression, 21674SyntaxKind.MultiLineSubLambdaExpression, 21675SyntaxKind.QueryExpression, 21676SyntaxKind.FunctionAggregation, 21677SyntaxKind.GroupAggregation, 21678SyntaxKind.XmlDocument, 21679SyntaxKind.XmlElement, 21680SyntaxKind.XmlText, 21681SyntaxKind.XmlElementStartTag, 21682SyntaxKind.XmlElementEndTag, 21683SyntaxKind.XmlEmptyElement, 21684SyntaxKind.XmlAttribute, 21685SyntaxKind.XmlString, 21686SyntaxKind.XmlPrefixName, 21687SyntaxKind.XmlName, 21688SyntaxKind.XmlBracketedName, 21689SyntaxKind.XmlComment, 21690SyntaxKind.XmlProcessingInstruction, 21691SyntaxKind.XmlCDataSection, 21692SyntaxKind.XmlEmbeddedExpression, 21693SyntaxKind.ArrayType, 21694SyntaxKind.NullableType, 21695SyntaxKind.PredefinedType, 21696SyntaxKind.IdentifierName, 21697SyntaxKind.GenericName, 21698SyntaxKind.QualifiedName, 21699SyntaxKind.GlobalName, 21700SyntaxKind.CrefOperatorReference, 21701SyntaxKind.QualifiedCrefOperatorReference, 21702SyntaxKind.AwaitExpression, 21703SyntaxKind.XmlCrefAttribute, 21704SyntaxKind.XmlNameAttribute, 21705SyntaxKind.ConditionalAccessExpression, 21706SyntaxKind.NameOfExpression, 21707SyntaxKind.InterpolatedStringExpression 21711Return New AssignmentStatementSyntax(SyntaxKind.DivideAssignmentStatement, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.PunctuationSyntax), right) 21726Return SyntaxFactory.DivideAssignmentStatement(left, SyntaxFactory.Token(SyntaxKind.SlashEqualsToken), right) 21749Case SyntaxKind.KeywordEventContainer, 21750SyntaxKind.WithEventsEventContainer, 21751SyntaxKind.WithEventsPropertyEventContainer, 21752SyntaxKind.IdentifierLabel, 21753SyntaxKind.NumericLabel, 21754SyntaxKind.NextLabel, 21755SyntaxKind.MidExpression, 21756SyntaxKind.CharacterLiteralExpression, 21757SyntaxKind.TrueLiteralExpression, 21758SyntaxKind.FalseLiteralExpression, 21759SyntaxKind.NumericLiteralExpression, 21760SyntaxKind.DateLiteralExpression, 21761SyntaxKind.StringLiteralExpression, 21762SyntaxKind.NothingLiteralExpression, 21763SyntaxKind.ParenthesizedExpression, 21764SyntaxKind.TupleExpression, 21765SyntaxKind.TupleType, 21766SyntaxKind.MeExpression, 21767SyntaxKind.MyBaseExpression, 21768SyntaxKind.MyClassExpression, 21769SyntaxKind.GetTypeExpression, 21770SyntaxKind.TypeOfIsExpression, 21771SyntaxKind.TypeOfIsNotExpression, 21772SyntaxKind.GetXmlNamespaceExpression, 21773SyntaxKind.SimpleMemberAccessExpression, 21774SyntaxKind.DictionaryAccessExpression, 21775SyntaxKind.XmlElementAccessExpression, 21776SyntaxKind.XmlDescendantAccessExpression, 21777SyntaxKind.XmlAttributeAccessExpression, 21778SyntaxKind.InvocationExpression, 21779SyntaxKind.ObjectCreationExpression, 21780SyntaxKind.AnonymousObjectCreationExpression, 21781SyntaxKind.ArrayCreationExpression, 21782SyntaxKind.CollectionInitializer, 21783SyntaxKind.CTypeExpression, 21784SyntaxKind.DirectCastExpression, 21785SyntaxKind.TryCastExpression, 21786SyntaxKind.PredefinedCastExpression, 21787SyntaxKind.AddExpression, 21788SyntaxKind.SubtractExpression, 21789SyntaxKind.MultiplyExpression, 21790SyntaxKind.DivideExpression, 21791SyntaxKind.IntegerDivideExpression, 21792SyntaxKind.ExponentiateExpression, 21793SyntaxKind.LeftShiftExpression, 21794SyntaxKind.RightShiftExpression, 21795SyntaxKind.ConcatenateExpression, 21796SyntaxKind.ModuloExpression, 21797SyntaxKind.EqualsExpression, 21798SyntaxKind.NotEqualsExpression, 21799SyntaxKind.LessThanExpression, 21800SyntaxKind.LessThanOrEqualExpression, 21801SyntaxKind.GreaterThanOrEqualExpression, 21802SyntaxKind.GreaterThanExpression, 21803SyntaxKind.IsExpression, 21804SyntaxKind.IsNotExpression, 21805SyntaxKind.LikeExpression, 21806SyntaxKind.OrExpression, 21807SyntaxKind.ExclusiveOrExpression, 21808SyntaxKind.AndExpression, 21809SyntaxKind.OrElseExpression, 21810SyntaxKind.AndAlsoExpression, 21811SyntaxKind.UnaryPlusExpression, 21812SyntaxKind.UnaryMinusExpression, 21813SyntaxKind.NotExpression, 21814SyntaxKind.AddressOfExpression, 21815SyntaxKind.BinaryConditionalExpression, 21816SyntaxKind.TernaryConditionalExpression, 21817SyntaxKind.SingleLineFunctionLambdaExpression, 21818SyntaxKind.SingleLineSubLambdaExpression, 21819SyntaxKind.MultiLineFunctionLambdaExpression, 21820SyntaxKind.MultiLineSubLambdaExpression, 21821SyntaxKind.QueryExpression, 21822SyntaxKind.FunctionAggregation, 21823SyntaxKind.GroupAggregation, 21824SyntaxKind.XmlDocument, 21825SyntaxKind.XmlElement, 21826SyntaxKind.XmlText, 21827SyntaxKind.XmlElementStartTag, 21828SyntaxKind.XmlElementEndTag, 21829SyntaxKind.XmlEmptyElement, 21830SyntaxKind.XmlAttribute, 21831SyntaxKind.XmlString, 21832SyntaxKind.XmlPrefixName, 21833SyntaxKind.XmlName, 21834SyntaxKind.XmlBracketedName, 21835SyntaxKind.XmlComment, 21836SyntaxKind.XmlProcessingInstruction, 21837SyntaxKind.XmlCDataSection, 21838SyntaxKind.XmlEmbeddedExpression, 21839SyntaxKind.ArrayType, 21840SyntaxKind.NullableType, 21841SyntaxKind.PredefinedType, 21842SyntaxKind.IdentifierName, 21843SyntaxKind.GenericName, 21844SyntaxKind.QualifiedName, 21845SyntaxKind.GlobalName, 21846SyntaxKind.CrefOperatorReference, 21847SyntaxKind.QualifiedCrefOperatorReference, 21848SyntaxKind.AwaitExpression, 21849SyntaxKind.XmlCrefAttribute, 21850SyntaxKind.XmlNameAttribute, 21851SyntaxKind.ConditionalAccessExpression, 21852SyntaxKind.NameOfExpression, 21853SyntaxKind.InterpolatedStringExpression 21858Case SyntaxKind.BackslashEqualsToken 21866Case SyntaxKind.KeywordEventContainer, 21867SyntaxKind.WithEventsEventContainer, 21868SyntaxKind.WithEventsPropertyEventContainer, 21869SyntaxKind.IdentifierLabel, 21870SyntaxKind.NumericLabel, 21871SyntaxKind.NextLabel, 21872SyntaxKind.MidExpression, 21873SyntaxKind.CharacterLiteralExpression, 21874SyntaxKind.TrueLiteralExpression, 21875SyntaxKind.FalseLiteralExpression, 21876SyntaxKind.NumericLiteralExpression, 21877SyntaxKind.DateLiteralExpression, 21878SyntaxKind.StringLiteralExpression, 21879SyntaxKind.NothingLiteralExpression, 21880SyntaxKind.ParenthesizedExpression, 21881SyntaxKind.TupleExpression, 21882SyntaxKind.TupleType, 21883SyntaxKind.MeExpression, 21884SyntaxKind.MyBaseExpression, 21885SyntaxKind.MyClassExpression, 21886SyntaxKind.GetTypeExpression, 21887SyntaxKind.TypeOfIsExpression, 21888SyntaxKind.TypeOfIsNotExpression, 21889SyntaxKind.GetXmlNamespaceExpression, 21890SyntaxKind.SimpleMemberAccessExpression, 21891SyntaxKind.DictionaryAccessExpression, 21892SyntaxKind.XmlElementAccessExpression, 21893SyntaxKind.XmlDescendantAccessExpression, 21894SyntaxKind.XmlAttributeAccessExpression, 21895SyntaxKind.InvocationExpression, 21896SyntaxKind.ObjectCreationExpression, 21897SyntaxKind.AnonymousObjectCreationExpression, 21898SyntaxKind.ArrayCreationExpression, 21899SyntaxKind.CollectionInitializer, 21900SyntaxKind.CTypeExpression, 21901SyntaxKind.DirectCastExpression, 21902SyntaxKind.TryCastExpression, 21903SyntaxKind.PredefinedCastExpression, 21904SyntaxKind.AddExpression, 21905SyntaxKind.SubtractExpression, 21906SyntaxKind.MultiplyExpression, 21907SyntaxKind.DivideExpression, 21908SyntaxKind.IntegerDivideExpression, 21909SyntaxKind.ExponentiateExpression, 21910SyntaxKind.LeftShiftExpression, 21911SyntaxKind.RightShiftExpression, 21912SyntaxKind.ConcatenateExpression, 21913SyntaxKind.ModuloExpression, 21914SyntaxKind.EqualsExpression, 21915SyntaxKind.NotEqualsExpression, 21916SyntaxKind.LessThanExpression, 21917SyntaxKind.LessThanOrEqualExpression, 21918SyntaxKind.GreaterThanOrEqualExpression, 21919SyntaxKind.GreaterThanExpression, 21920SyntaxKind.IsExpression, 21921SyntaxKind.IsNotExpression, 21922SyntaxKind.LikeExpression, 21923SyntaxKind.OrExpression, 21924SyntaxKind.ExclusiveOrExpression, 21925SyntaxKind.AndExpression, 21926SyntaxKind.OrElseExpression, 21927SyntaxKind.AndAlsoExpression, 21928SyntaxKind.UnaryPlusExpression, 21929SyntaxKind.UnaryMinusExpression, 21930SyntaxKind.NotExpression, 21931SyntaxKind.AddressOfExpression, 21932SyntaxKind.BinaryConditionalExpression, 21933SyntaxKind.TernaryConditionalExpression, 21934SyntaxKind.SingleLineFunctionLambdaExpression, 21935SyntaxKind.SingleLineSubLambdaExpression, 21936SyntaxKind.MultiLineFunctionLambdaExpression, 21937SyntaxKind.MultiLineSubLambdaExpression, 21938SyntaxKind.QueryExpression, 21939SyntaxKind.FunctionAggregation, 21940SyntaxKind.GroupAggregation, 21941SyntaxKind.XmlDocument, 21942SyntaxKind.XmlElement, 21943SyntaxKind.XmlText, 21944SyntaxKind.XmlElementStartTag, 21945SyntaxKind.XmlElementEndTag, 21946SyntaxKind.XmlEmptyElement, 21947SyntaxKind.XmlAttribute, 21948SyntaxKind.XmlString, 21949SyntaxKind.XmlPrefixName, 21950SyntaxKind.XmlName, 21951SyntaxKind.XmlBracketedName, 21952SyntaxKind.XmlComment, 21953SyntaxKind.XmlProcessingInstruction, 21954SyntaxKind.XmlCDataSection, 21955SyntaxKind.XmlEmbeddedExpression, 21956SyntaxKind.ArrayType, 21957SyntaxKind.NullableType, 21958SyntaxKind.PredefinedType, 21959SyntaxKind.IdentifierName, 21960SyntaxKind.GenericName, 21961SyntaxKind.QualifiedName, 21962SyntaxKind.GlobalName, 21963SyntaxKind.CrefOperatorReference, 21964SyntaxKind.QualifiedCrefOperatorReference, 21965SyntaxKind.AwaitExpression, 21966SyntaxKind.XmlCrefAttribute, 21967SyntaxKind.XmlNameAttribute, 21968SyntaxKind.ConditionalAccessExpression, 21969SyntaxKind.NameOfExpression, 21970SyntaxKind.InterpolatedStringExpression 21974Return New AssignmentStatementSyntax(SyntaxKind.IntegerDivideAssignmentStatement, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.PunctuationSyntax), right) 21989Return SyntaxFactory.IntegerDivideAssignmentStatement(left, SyntaxFactory.Token(SyntaxKind.BackslashEqualsToken), right) 22012Case SyntaxKind.KeywordEventContainer, 22013SyntaxKind.WithEventsEventContainer, 22014SyntaxKind.WithEventsPropertyEventContainer, 22015SyntaxKind.IdentifierLabel, 22016SyntaxKind.NumericLabel, 22017SyntaxKind.NextLabel, 22018SyntaxKind.MidExpression, 22019SyntaxKind.CharacterLiteralExpression, 22020SyntaxKind.TrueLiteralExpression, 22021SyntaxKind.FalseLiteralExpression, 22022SyntaxKind.NumericLiteralExpression, 22023SyntaxKind.DateLiteralExpression, 22024SyntaxKind.StringLiteralExpression, 22025SyntaxKind.NothingLiteralExpression, 22026SyntaxKind.ParenthesizedExpression, 22027SyntaxKind.TupleExpression, 22028SyntaxKind.TupleType, 22029SyntaxKind.MeExpression, 22030SyntaxKind.MyBaseExpression, 22031SyntaxKind.MyClassExpression, 22032SyntaxKind.GetTypeExpression, 22033SyntaxKind.TypeOfIsExpression, 22034SyntaxKind.TypeOfIsNotExpression, 22035SyntaxKind.GetXmlNamespaceExpression, 22036SyntaxKind.SimpleMemberAccessExpression, 22037SyntaxKind.DictionaryAccessExpression, 22038SyntaxKind.XmlElementAccessExpression, 22039SyntaxKind.XmlDescendantAccessExpression, 22040SyntaxKind.XmlAttributeAccessExpression, 22041SyntaxKind.InvocationExpression, 22042SyntaxKind.ObjectCreationExpression, 22043SyntaxKind.AnonymousObjectCreationExpression, 22044SyntaxKind.ArrayCreationExpression, 22045SyntaxKind.CollectionInitializer, 22046SyntaxKind.CTypeExpression, 22047SyntaxKind.DirectCastExpression, 22048SyntaxKind.TryCastExpression, 22049SyntaxKind.PredefinedCastExpression, 22050SyntaxKind.AddExpression, 22051SyntaxKind.SubtractExpression, 22052SyntaxKind.MultiplyExpression, 22053SyntaxKind.DivideExpression, 22054SyntaxKind.IntegerDivideExpression, 22055SyntaxKind.ExponentiateExpression, 22056SyntaxKind.LeftShiftExpression, 22057SyntaxKind.RightShiftExpression, 22058SyntaxKind.ConcatenateExpression, 22059SyntaxKind.ModuloExpression, 22060SyntaxKind.EqualsExpression, 22061SyntaxKind.NotEqualsExpression, 22062SyntaxKind.LessThanExpression, 22063SyntaxKind.LessThanOrEqualExpression, 22064SyntaxKind.GreaterThanOrEqualExpression, 22065SyntaxKind.GreaterThanExpression, 22066SyntaxKind.IsExpression, 22067SyntaxKind.IsNotExpression, 22068SyntaxKind.LikeExpression, 22069SyntaxKind.OrExpression, 22070SyntaxKind.ExclusiveOrExpression, 22071SyntaxKind.AndExpression, 22072SyntaxKind.OrElseExpression, 22073SyntaxKind.AndAlsoExpression, 22074SyntaxKind.UnaryPlusExpression, 22075SyntaxKind.UnaryMinusExpression, 22076SyntaxKind.NotExpression, 22077SyntaxKind.AddressOfExpression, 22078SyntaxKind.BinaryConditionalExpression, 22079SyntaxKind.TernaryConditionalExpression, 22080SyntaxKind.SingleLineFunctionLambdaExpression, 22081SyntaxKind.SingleLineSubLambdaExpression, 22082SyntaxKind.MultiLineFunctionLambdaExpression, 22083SyntaxKind.MultiLineSubLambdaExpression, 22084SyntaxKind.QueryExpression, 22085SyntaxKind.FunctionAggregation, 22086SyntaxKind.GroupAggregation, 22087SyntaxKind.XmlDocument, 22088SyntaxKind.XmlElement, 22089SyntaxKind.XmlText, 22090SyntaxKind.XmlElementStartTag, 22091SyntaxKind.XmlElementEndTag, 22092SyntaxKind.XmlEmptyElement, 22093SyntaxKind.XmlAttribute, 22094SyntaxKind.XmlString, 22095SyntaxKind.XmlPrefixName, 22096SyntaxKind.XmlName, 22097SyntaxKind.XmlBracketedName, 22098SyntaxKind.XmlComment, 22099SyntaxKind.XmlProcessingInstruction, 22100SyntaxKind.XmlCDataSection, 22101SyntaxKind.XmlEmbeddedExpression, 22102SyntaxKind.ArrayType, 22103SyntaxKind.NullableType, 22104SyntaxKind.PredefinedType, 22105SyntaxKind.IdentifierName, 22106SyntaxKind.GenericName, 22107SyntaxKind.QualifiedName, 22108SyntaxKind.GlobalName, 22109SyntaxKind.CrefOperatorReference, 22110SyntaxKind.QualifiedCrefOperatorReference, 22111SyntaxKind.AwaitExpression, 22112SyntaxKind.XmlCrefAttribute, 22113SyntaxKind.XmlNameAttribute, 22114SyntaxKind.ConditionalAccessExpression, 22115SyntaxKind.NameOfExpression, 22116SyntaxKind.InterpolatedStringExpression 22121Case SyntaxKind.CaretEqualsToken 22129Case SyntaxKind.KeywordEventContainer, 22130SyntaxKind.WithEventsEventContainer, 22131SyntaxKind.WithEventsPropertyEventContainer, 22132SyntaxKind.IdentifierLabel, 22133SyntaxKind.NumericLabel, 22134SyntaxKind.NextLabel, 22135SyntaxKind.MidExpression, 22136SyntaxKind.CharacterLiteralExpression, 22137SyntaxKind.TrueLiteralExpression, 22138SyntaxKind.FalseLiteralExpression, 22139SyntaxKind.NumericLiteralExpression, 22140SyntaxKind.DateLiteralExpression, 22141SyntaxKind.StringLiteralExpression, 22142SyntaxKind.NothingLiteralExpression, 22143SyntaxKind.ParenthesizedExpression, 22144SyntaxKind.TupleExpression, 22145SyntaxKind.TupleType, 22146SyntaxKind.MeExpression, 22147SyntaxKind.MyBaseExpression, 22148SyntaxKind.MyClassExpression, 22149SyntaxKind.GetTypeExpression, 22150SyntaxKind.TypeOfIsExpression, 22151SyntaxKind.TypeOfIsNotExpression, 22152SyntaxKind.GetXmlNamespaceExpression, 22153SyntaxKind.SimpleMemberAccessExpression, 22154SyntaxKind.DictionaryAccessExpression, 22155SyntaxKind.XmlElementAccessExpression, 22156SyntaxKind.XmlDescendantAccessExpression, 22157SyntaxKind.XmlAttributeAccessExpression, 22158SyntaxKind.InvocationExpression, 22159SyntaxKind.ObjectCreationExpression, 22160SyntaxKind.AnonymousObjectCreationExpression, 22161SyntaxKind.ArrayCreationExpression, 22162SyntaxKind.CollectionInitializer, 22163SyntaxKind.CTypeExpression, 22164SyntaxKind.DirectCastExpression, 22165SyntaxKind.TryCastExpression, 22166SyntaxKind.PredefinedCastExpression, 22167SyntaxKind.AddExpression, 22168SyntaxKind.SubtractExpression, 22169SyntaxKind.MultiplyExpression, 22170SyntaxKind.DivideExpression, 22171SyntaxKind.IntegerDivideExpression, 22172SyntaxKind.ExponentiateExpression, 22173SyntaxKind.LeftShiftExpression, 22174SyntaxKind.RightShiftExpression, 22175SyntaxKind.ConcatenateExpression, 22176SyntaxKind.ModuloExpression, 22177SyntaxKind.EqualsExpression, 22178SyntaxKind.NotEqualsExpression, 22179SyntaxKind.LessThanExpression, 22180SyntaxKind.LessThanOrEqualExpression, 22181SyntaxKind.GreaterThanOrEqualExpression, 22182SyntaxKind.GreaterThanExpression, 22183SyntaxKind.IsExpression, 22184SyntaxKind.IsNotExpression, 22185SyntaxKind.LikeExpression, 22186SyntaxKind.OrExpression, 22187SyntaxKind.ExclusiveOrExpression, 22188SyntaxKind.AndExpression, 22189SyntaxKind.OrElseExpression, 22190SyntaxKind.AndAlsoExpression, 22191SyntaxKind.UnaryPlusExpression, 22192SyntaxKind.UnaryMinusExpression, 22193SyntaxKind.NotExpression, 22194SyntaxKind.AddressOfExpression, 22195SyntaxKind.BinaryConditionalExpression, 22196SyntaxKind.TernaryConditionalExpression, 22197SyntaxKind.SingleLineFunctionLambdaExpression, 22198SyntaxKind.SingleLineSubLambdaExpression, 22199SyntaxKind.MultiLineFunctionLambdaExpression, 22200SyntaxKind.MultiLineSubLambdaExpression, 22201SyntaxKind.QueryExpression, 22202SyntaxKind.FunctionAggregation, 22203SyntaxKind.GroupAggregation, 22204SyntaxKind.XmlDocument, 22205SyntaxKind.XmlElement, 22206SyntaxKind.XmlText, 22207SyntaxKind.XmlElementStartTag, 22208SyntaxKind.XmlElementEndTag, 22209SyntaxKind.XmlEmptyElement, 22210SyntaxKind.XmlAttribute, 22211SyntaxKind.XmlString, 22212SyntaxKind.XmlPrefixName, 22213SyntaxKind.XmlName, 22214SyntaxKind.XmlBracketedName, 22215SyntaxKind.XmlComment, 22216SyntaxKind.XmlProcessingInstruction, 22217SyntaxKind.XmlCDataSection, 22218SyntaxKind.XmlEmbeddedExpression, 22219SyntaxKind.ArrayType, 22220SyntaxKind.NullableType, 22221SyntaxKind.PredefinedType, 22222SyntaxKind.IdentifierName, 22223SyntaxKind.GenericName, 22224SyntaxKind.QualifiedName, 22225SyntaxKind.GlobalName, 22226SyntaxKind.CrefOperatorReference, 22227SyntaxKind.QualifiedCrefOperatorReference, 22228SyntaxKind.AwaitExpression, 22229SyntaxKind.XmlCrefAttribute, 22230SyntaxKind.XmlNameAttribute, 22231SyntaxKind.ConditionalAccessExpression, 22232SyntaxKind.NameOfExpression, 22233SyntaxKind.InterpolatedStringExpression 22237Return New AssignmentStatementSyntax(SyntaxKind.ExponentiateAssignmentStatement, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.PunctuationSyntax), right) 22252Return SyntaxFactory.ExponentiateAssignmentStatement(left, SyntaxFactory.Token(SyntaxKind.CaretEqualsToken), right) 22275Case SyntaxKind.KeywordEventContainer, 22276SyntaxKind.WithEventsEventContainer, 22277SyntaxKind.WithEventsPropertyEventContainer, 22278SyntaxKind.IdentifierLabel, 22279SyntaxKind.NumericLabel, 22280SyntaxKind.NextLabel, 22281SyntaxKind.MidExpression, 22282SyntaxKind.CharacterLiteralExpression, 22283SyntaxKind.TrueLiteralExpression, 22284SyntaxKind.FalseLiteralExpression, 22285SyntaxKind.NumericLiteralExpression, 22286SyntaxKind.DateLiteralExpression, 22287SyntaxKind.StringLiteralExpression, 22288SyntaxKind.NothingLiteralExpression, 22289SyntaxKind.ParenthesizedExpression, 22290SyntaxKind.TupleExpression, 22291SyntaxKind.TupleType, 22292SyntaxKind.MeExpression, 22293SyntaxKind.MyBaseExpression, 22294SyntaxKind.MyClassExpression, 22295SyntaxKind.GetTypeExpression, 22296SyntaxKind.TypeOfIsExpression, 22297SyntaxKind.TypeOfIsNotExpression, 22298SyntaxKind.GetXmlNamespaceExpression, 22299SyntaxKind.SimpleMemberAccessExpression, 22300SyntaxKind.DictionaryAccessExpression, 22301SyntaxKind.XmlElementAccessExpression, 22302SyntaxKind.XmlDescendantAccessExpression, 22303SyntaxKind.XmlAttributeAccessExpression, 22304SyntaxKind.InvocationExpression, 22305SyntaxKind.ObjectCreationExpression, 22306SyntaxKind.AnonymousObjectCreationExpression, 22307SyntaxKind.ArrayCreationExpression, 22308SyntaxKind.CollectionInitializer, 22309SyntaxKind.CTypeExpression, 22310SyntaxKind.DirectCastExpression, 22311SyntaxKind.TryCastExpression, 22312SyntaxKind.PredefinedCastExpression, 22313SyntaxKind.AddExpression, 22314SyntaxKind.SubtractExpression, 22315SyntaxKind.MultiplyExpression, 22316SyntaxKind.DivideExpression, 22317SyntaxKind.IntegerDivideExpression, 22318SyntaxKind.ExponentiateExpression, 22319SyntaxKind.LeftShiftExpression, 22320SyntaxKind.RightShiftExpression, 22321SyntaxKind.ConcatenateExpression, 22322SyntaxKind.ModuloExpression, 22323SyntaxKind.EqualsExpression, 22324SyntaxKind.NotEqualsExpression, 22325SyntaxKind.LessThanExpression, 22326SyntaxKind.LessThanOrEqualExpression, 22327SyntaxKind.GreaterThanOrEqualExpression, 22328SyntaxKind.GreaterThanExpression, 22329SyntaxKind.IsExpression, 22330SyntaxKind.IsNotExpression, 22331SyntaxKind.LikeExpression, 22332SyntaxKind.OrExpression, 22333SyntaxKind.ExclusiveOrExpression, 22334SyntaxKind.AndExpression, 22335SyntaxKind.OrElseExpression, 22336SyntaxKind.AndAlsoExpression, 22337SyntaxKind.UnaryPlusExpression, 22338SyntaxKind.UnaryMinusExpression, 22339SyntaxKind.NotExpression, 22340SyntaxKind.AddressOfExpression, 22341SyntaxKind.BinaryConditionalExpression, 22342SyntaxKind.TernaryConditionalExpression, 22343SyntaxKind.SingleLineFunctionLambdaExpression, 22344SyntaxKind.SingleLineSubLambdaExpression, 22345SyntaxKind.MultiLineFunctionLambdaExpression, 22346SyntaxKind.MultiLineSubLambdaExpression, 22347SyntaxKind.QueryExpression, 22348SyntaxKind.FunctionAggregation, 22349SyntaxKind.GroupAggregation, 22350SyntaxKind.XmlDocument, 22351SyntaxKind.XmlElement, 22352SyntaxKind.XmlText, 22353SyntaxKind.XmlElementStartTag, 22354SyntaxKind.XmlElementEndTag, 22355SyntaxKind.XmlEmptyElement, 22356SyntaxKind.XmlAttribute, 22357SyntaxKind.XmlString, 22358SyntaxKind.XmlPrefixName, 22359SyntaxKind.XmlName, 22360SyntaxKind.XmlBracketedName, 22361SyntaxKind.XmlComment, 22362SyntaxKind.XmlProcessingInstruction, 22363SyntaxKind.XmlCDataSection, 22364SyntaxKind.XmlEmbeddedExpression, 22365SyntaxKind.ArrayType, 22366SyntaxKind.NullableType, 22367SyntaxKind.PredefinedType, 22368SyntaxKind.IdentifierName, 22369SyntaxKind.GenericName, 22370SyntaxKind.QualifiedName, 22371SyntaxKind.GlobalName, 22372SyntaxKind.CrefOperatorReference, 22373SyntaxKind.QualifiedCrefOperatorReference, 22374SyntaxKind.AwaitExpression, 22375SyntaxKind.XmlCrefAttribute, 22376SyntaxKind.XmlNameAttribute, 22377SyntaxKind.ConditionalAccessExpression, 22378SyntaxKind.NameOfExpression, 22379SyntaxKind.InterpolatedStringExpression 22384Case SyntaxKind.LessThanLessThanEqualsToken 22392Case SyntaxKind.KeywordEventContainer, 22393SyntaxKind.WithEventsEventContainer, 22394SyntaxKind.WithEventsPropertyEventContainer, 22395SyntaxKind.IdentifierLabel, 22396SyntaxKind.NumericLabel, 22397SyntaxKind.NextLabel, 22398SyntaxKind.MidExpression, 22399SyntaxKind.CharacterLiteralExpression, 22400SyntaxKind.TrueLiteralExpression, 22401SyntaxKind.FalseLiteralExpression, 22402SyntaxKind.NumericLiteralExpression, 22403SyntaxKind.DateLiteralExpression, 22404SyntaxKind.StringLiteralExpression, 22405SyntaxKind.NothingLiteralExpression, 22406SyntaxKind.ParenthesizedExpression, 22407SyntaxKind.TupleExpression, 22408SyntaxKind.TupleType, 22409SyntaxKind.MeExpression, 22410SyntaxKind.MyBaseExpression, 22411SyntaxKind.MyClassExpression, 22412SyntaxKind.GetTypeExpression, 22413SyntaxKind.TypeOfIsExpression, 22414SyntaxKind.TypeOfIsNotExpression, 22415SyntaxKind.GetXmlNamespaceExpression, 22416SyntaxKind.SimpleMemberAccessExpression, 22417SyntaxKind.DictionaryAccessExpression, 22418SyntaxKind.XmlElementAccessExpression, 22419SyntaxKind.XmlDescendantAccessExpression, 22420SyntaxKind.XmlAttributeAccessExpression, 22421SyntaxKind.InvocationExpression, 22422SyntaxKind.ObjectCreationExpression, 22423SyntaxKind.AnonymousObjectCreationExpression, 22424SyntaxKind.ArrayCreationExpression, 22425SyntaxKind.CollectionInitializer, 22426SyntaxKind.CTypeExpression, 22427SyntaxKind.DirectCastExpression, 22428SyntaxKind.TryCastExpression, 22429SyntaxKind.PredefinedCastExpression, 22430SyntaxKind.AddExpression, 22431SyntaxKind.SubtractExpression, 22432SyntaxKind.MultiplyExpression, 22433SyntaxKind.DivideExpression, 22434SyntaxKind.IntegerDivideExpression, 22435SyntaxKind.ExponentiateExpression, 22436SyntaxKind.LeftShiftExpression, 22437SyntaxKind.RightShiftExpression, 22438SyntaxKind.ConcatenateExpression, 22439SyntaxKind.ModuloExpression, 22440SyntaxKind.EqualsExpression, 22441SyntaxKind.NotEqualsExpression, 22442SyntaxKind.LessThanExpression, 22443SyntaxKind.LessThanOrEqualExpression, 22444SyntaxKind.GreaterThanOrEqualExpression, 22445SyntaxKind.GreaterThanExpression, 22446SyntaxKind.IsExpression, 22447SyntaxKind.IsNotExpression, 22448SyntaxKind.LikeExpression, 22449SyntaxKind.OrExpression, 22450SyntaxKind.ExclusiveOrExpression, 22451SyntaxKind.AndExpression, 22452SyntaxKind.OrElseExpression, 22453SyntaxKind.AndAlsoExpression, 22454SyntaxKind.UnaryPlusExpression, 22455SyntaxKind.UnaryMinusExpression, 22456SyntaxKind.NotExpression, 22457SyntaxKind.AddressOfExpression, 22458SyntaxKind.BinaryConditionalExpression, 22459SyntaxKind.TernaryConditionalExpression, 22460SyntaxKind.SingleLineFunctionLambdaExpression, 22461SyntaxKind.SingleLineSubLambdaExpression, 22462SyntaxKind.MultiLineFunctionLambdaExpression, 22463SyntaxKind.MultiLineSubLambdaExpression, 22464SyntaxKind.QueryExpression, 22465SyntaxKind.FunctionAggregation, 22466SyntaxKind.GroupAggregation, 22467SyntaxKind.XmlDocument, 22468SyntaxKind.XmlElement, 22469SyntaxKind.XmlText, 22470SyntaxKind.XmlElementStartTag, 22471SyntaxKind.XmlElementEndTag, 22472SyntaxKind.XmlEmptyElement, 22473SyntaxKind.XmlAttribute, 22474SyntaxKind.XmlString, 22475SyntaxKind.XmlPrefixName, 22476SyntaxKind.XmlName, 22477SyntaxKind.XmlBracketedName, 22478SyntaxKind.XmlComment, 22479SyntaxKind.XmlProcessingInstruction, 22480SyntaxKind.XmlCDataSection, 22481SyntaxKind.XmlEmbeddedExpression, 22482SyntaxKind.ArrayType, 22483SyntaxKind.NullableType, 22484SyntaxKind.PredefinedType, 22485SyntaxKind.IdentifierName, 22486SyntaxKind.GenericName, 22487SyntaxKind.QualifiedName, 22488SyntaxKind.GlobalName, 22489SyntaxKind.CrefOperatorReference, 22490SyntaxKind.QualifiedCrefOperatorReference, 22491SyntaxKind.AwaitExpression, 22492SyntaxKind.XmlCrefAttribute, 22493SyntaxKind.XmlNameAttribute, 22494SyntaxKind.ConditionalAccessExpression, 22495SyntaxKind.NameOfExpression, 22496SyntaxKind.InterpolatedStringExpression 22500Return New AssignmentStatementSyntax(SyntaxKind.LeftShiftAssignmentStatement, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.PunctuationSyntax), right) 22515Return SyntaxFactory.LeftShiftAssignmentStatement(left, SyntaxFactory.Token(SyntaxKind.LessThanLessThanEqualsToken), right) 22538Case SyntaxKind.KeywordEventContainer, 22539SyntaxKind.WithEventsEventContainer, 22540SyntaxKind.WithEventsPropertyEventContainer, 22541SyntaxKind.IdentifierLabel, 22542SyntaxKind.NumericLabel, 22543SyntaxKind.NextLabel, 22544SyntaxKind.MidExpression, 22545SyntaxKind.CharacterLiteralExpression, 22546SyntaxKind.TrueLiteralExpression, 22547SyntaxKind.FalseLiteralExpression, 22548SyntaxKind.NumericLiteralExpression, 22549SyntaxKind.DateLiteralExpression, 22550SyntaxKind.StringLiteralExpression, 22551SyntaxKind.NothingLiteralExpression, 22552SyntaxKind.ParenthesizedExpression, 22553SyntaxKind.TupleExpression, 22554SyntaxKind.TupleType, 22555SyntaxKind.MeExpression, 22556SyntaxKind.MyBaseExpression, 22557SyntaxKind.MyClassExpression, 22558SyntaxKind.GetTypeExpression, 22559SyntaxKind.TypeOfIsExpression, 22560SyntaxKind.TypeOfIsNotExpression, 22561SyntaxKind.GetXmlNamespaceExpression, 22562SyntaxKind.SimpleMemberAccessExpression, 22563SyntaxKind.DictionaryAccessExpression, 22564SyntaxKind.XmlElementAccessExpression, 22565SyntaxKind.XmlDescendantAccessExpression, 22566SyntaxKind.XmlAttributeAccessExpression, 22567SyntaxKind.InvocationExpression, 22568SyntaxKind.ObjectCreationExpression, 22569SyntaxKind.AnonymousObjectCreationExpression, 22570SyntaxKind.ArrayCreationExpression, 22571SyntaxKind.CollectionInitializer, 22572SyntaxKind.CTypeExpression, 22573SyntaxKind.DirectCastExpression, 22574SyntaxKind.TryCastExpression, 22575SyntaxKind.PredefinedCastExpression, 22576SyntaxKind.AddExpression, 22577SyntaxKind.SubtractExpression, 22578SyntaxKind.MultiplyExpression, 22579SyntaxKind.DivideExpression, 22580SyntaxKind.IntegerDivideExpression, 22581SyntaxKind.ExponentiateExpression, 22582SyntaxKind.LeftShiftExpression, 22583SyntaxKind.RightShiftExpression, 22584SyntaxKind.ConcatenateExpression, 22585SyntaxKind.ModuloExpression, 22586SyntaxKind.EqualsExpression, 22587SyntaxKind.NotEqualsExpression, 22588SyntaxKind.LessThanExpression, 22589SyntaxKind.LessThanOrEqualExpression, 22590SyntaxKind.GreaterThanOrEqualExpression, 22591SyntaxKind.GreaterThanExpression, 22592SyntaxKind.IsExpression, 22593SyntaxKind.IsNotExpression, 22594SyntaxKind.LikeExpression, 22595SyntaxKind.OrExpression, 22596SyntaxKind.ExclusiveOrExpression, 22597SyntaxKind.AndExpression, 22598SyntaxKind.OrElseExpression, 22599SyntaxKind.AndAlsoExpression, 22600SyntaxKind.UnaryPlusExpression, 22601SyntaxKind.UnaryMinusExpression, 22602SyntaxKind.NotExpression, 22603SyntaxKind.AddressOfExpression, 22604SyntaxKind.BinaryConditionalExpression, 22605SyntaxKind.TernaryConditionalExpression, 22606SyntaxKind.SingleLineFunctionLambdaExpression, 22607SyntaxKind.SingleLineSubLambdaExpression, 22608SyntaxKind.MultiLineFunctionLambdaExpression, 22609SyntaxKind.MultiLineSubLambdaExpression, 22610SyntaxKind.QueryExpression, 22611SyntaxKind.FunctionAggregation, 22612SyntaxKind.GroupAggregation, 22613SyntaxKind.XmlDocument, 22614SyntaxKind.XmlElement, 22615SyntaxKind.XmlText, 22616SyntaxKind.XmlElementStartTag, 22617SyntaxKind.XmlElementEndTag, 22618SyntaxKind.XmlEmptyElement, 22619SyntaxKind.XmlAttribute, 22620SyntaxKind.XmlString, 22621SyntaxKind.XmlPrefixName, 22622SyntaxKind.XmlName, 22623SyntaxKind.XmlBracketedName, 22624SyntaxKind.XmlComment, 22625SyntaxKind.XmlProcessingInstruction, 22626SyntaxKind.XmlCDataSection, 22627SyntaxKind.XmlEmbeddedExpression, 22628SyntaxKind.ArrayType, 22629SyntaxKind.NullableType, 22630SyntaxKind.PredefinedType, 22631SyntaxKind.IdentifierName, 22632SyntaxKind.GenericName, 22633SyntaxKind.QualifiedName, 22634SyntaxKind.GlobalName, 22635SyntaxKind.CrefOperatorReference, 22636SyntaxKind.QualifiedCrefOperatorReference, 22637SyntaxKind.AwaitExpression, 22638SyntaxKind.XmlCrefAttribute, 22639SyntaxKind.XmlNameAttribute, 22640SyntaxKind.ConditionalAccessExpression, 22641SyntaxKind.NameOfExpression, 22642SyntaxKind.InterpolatedStringExpression 22647Case SyntaxKind.GreaterThanGreaterThanEqualsToken 22655Case SyntaxKind.KeywordEventContainer, 22656SyntaxKind.WithEventsEventContainer, 22657SyntaxKind.WithEventsPropertyEventContainer, 22658SyntaxKind.IdentifierLabel, 22659SyntaxKind.NumericLabel, 22660SyntaxKind.NextLabel, 22661SyntaxKind.MidExpression, 22662SyntaxKind.CharacterLiteralExpression, 22663SyntaxKind.TrueLiteralExpression, 22664SyntaxKind.FalseLiteralExpression, 22665SyntaxKind.NumericLiteralExpression, 22666SyntaxKind.DateLiteralExpression, 22667SyntaxKind.StringLiteralExpression, 22668SyntaxKind.NothingLiteralExpression, 22669SyntaxKind.ParenthesizedExpression, 22670SyntaxKind.TupleExpression, 22671SyntaxKind.TupleType, 22672SyntaxKind.MeExpression, 22673SyntaxKind.MyBaseExpression, 22674SyntaxKind.MyClassExpression, 22675SyntaxKind.GetTypeExpression, 22676SyntaxKind.TypeOfIsExpression, 22677SyntaxKind.TypeOfIsNotExpression, 22678SyntaxKind.GetXmlNamespaceExpression, 22679SyntaxKind.SimpleMemberAccessExpression, 22680SyntaxKind.DictionaryAccessExpression, 22681SyntaxKind.XmlElementAccessExpression, 22682SyntaxKind.XmlDescendantAccessExpression, 22683SyntaxKind.XmlAttributeAccessExpression, 22684SyntaxKind.InvocationExpression, 22685SyntaxKind.ObjectCreationExpression, 22686SyntaxKind.AnonymousObjectCreationExpression, 22687SyntaxKind.ArrayCreationExpression, 22688SyntaxKind.CollectionInitializer, 22689SyntaxKind.CTypeExpression, 22690SyntaxKind.DirectCastExpression, 22691SyntaxKind.TryCastExpression, 22692SyntaxKind.PredefinedCastExpression, 22693SyntaxKind.AddExpression, 22694SyntaxKind.SubtractExpression, 22695SyntaxKind.MultiplyExpression, 22696SyntaxKind.DivideExpression, 22697SyntaxKind.IntegerDivideExpression, 22698SyntaxKind.ExponentiateExpression, 22699SyntaxKind.LeftShiftExpression, 22700SyntaxKind.RightShiftExpression, 22701SyntaxKind.ConcatenateExpression, 22702SyntaxKind.ModuloExpression, 22703SyntaxKind.EqualsExpression, 22704SyntaxKind.NotEqualsExpression, 22705SyntaxKind.LessThanExpression, 22706SyntaxKind.LessThanOrEqualExpression, 22707SyntaxKind.GreaterThanOrEqualExpression, 22708SyntaxKind.GreaterThanExpression, 22709SyntaxKind.IsExpression, 22710SyntaxKind.IsNotExpression, 22711SyntaxKind.LikeExpression, 22712SyntaxKind.OrExpression, 22713SyntaxKind.ExclusiveOrExpression, 22714SyntaxKind.AndExpression, 22715SyntaxKind.OrElseExpression, 22716SyntaxKind.AndAlsoExpression, 22717SyntaxKind.UnaryPlusExpression, 22718SyntaxKind.UnaryMinusExpression, 22719SyntaxKind.NotExpression, 22720SyntaxKind.AddressOfExpression, 22721SyntaxKind.BinaryConditionalExpression, 22722SyntaxKind.TernaryConditionalExpression, 22723SyntaxKind.SingleLineFunctionLambdaExpression, 22724SyntaxKind.SingleLineSubLambdaExpression, 22725SyntaxKind.MultiLineFunctionLambdaExpression, 22726SyntaxKind.MultiLineSubLambdaExpression, 22727SyntaxKind.QueryExpression, 22728SyntaxKind.FunctionAggregation, 22729SyntaxKind.GroupAggregation, 22730SyntaxKind.XmlDocument, 22731SyntaxKind.XmlElement, 22732SyntaxKind.XmlText, 22733SyntaxKind.XmlElementStartTag, 22734SyntaxKind.XmlElementEndTag, 22735SyntaxKind.XmlEmptyElement, 22736SyntaxKind.XmlAttribute, 22737SyntaxKind.XmlString, 22738SyntaxKind.XmlPrefixName, 22739SyntaxKind.XmlName, 22740SyntaxKind.XmlBracketedName, 22741SyntaxKind.XmlComment, 22742SyntaxKind.XmlProcessingInstruction, 22743SyntaxKind.XmlCDataSection, 22744SyntaxKind.XmlEmbeddedExpression, 22745SyntaxKind.ArrayType, 22746SyntaxKind.NullableType, 22747SyntaxKind.PredefinedType, 22748SyntaxKind.IdentifierName, 22749SyntaxKind.GenericName, 22750SyntaxKind.QualifiedName, 22751SyntaxKind.GlobalName, 22752SyntaxKind.CrefOperatorReference, 22753SyntaxKind.QualifiedCrefOperatorReference, 22754SyntaxKind.AwaitExpression, 22755SyntaxKind.XmlCrefAttribute, 22756SyntaxKind.XmlNameAttribute, 22757SyntaxKind.ConditionalAccessExpression, 22758SyntaxKind.NameOfExpression, 22759SyntaxKind.InterpolatedStringExpression 22763Return New AssignmentStatementSyntax(SyntaxKind.RightShiftAssignmentStatement, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.PunctuationSyntax), right) 22778Return SyntaxFactory.RightShiftAssignmentStatement(left, SyntaxFactory.Token(SyntaxKind.GreaterThanGreaterThanEqualsToken), right) 22801Case SyntaxKind.KeywordEventContainer, 22802SyntaxKind.WithEventsEventContainer, 22803SyntaxKind.WithEventsPropertyEventContainer, 22804SyntaxKind.IdentifierLabel, 22805SyntaxKind.NumericLabel, 22806SyntaxKind.NextLabel, 22807SyntaxKind.MidExpression, 22808SyntaxKind.CharacterLiteralExpression, 22809SyntaxKind.TrueLiteralExpression, 22810SyntaxKind.FalseLiteralExpression, 22811SyntaxKind.NumericLiteralExpression, 22812SyntaxKind.DateLiteralExpression, 22813SyntaxKind.StringLiteralExpression, 22814SyntaxKind.NothingLiteralExpression, 22815SyntaxKind.ParenthesizedExpression, 22816SyntaxKind.TupleExpression, 22817SyntaxKind.TupleType, 22818SyntaxKind.MeExpression, 22819SyntaxKind.MyBaseExpression, 22820SyntaxKind.MyClassExpression, 22821SyntaxKind.GetTypeExpression, 22822SyntaxKind.TypeOfIsExpression, 22823SyntaxKind.TypeOfIsNotExpression, 22824SyntaxKind.GetXmlNamespaceExpression, 22825SyntaxKind.SimpleMemberAccessExpression, 22826SyntaxKind.DictionaryAccessExpression, 22827SyntaxKind.XmlElementAccessExpression, 22828SyntaxKind.XmlDescendantAccessExpression, 22829SyntaxKind.XmlAttributeAccessExpression, 22830SyntaxKind.InvocationExpression, 22831SyntaxKind.ObjectCreationExpression, 22832SyntaxKind.AnonymousObjectCreationExpression, 22833SyntaxKind.ArrayCreationExpression, 22834SyntaxKind.CollectionInitializer, 22835SyntaxKind.CTypeExpression, 22836SyntaxKind.DirectCastExpression, 22837SyntaxKind.TryCastExpression, 22838SyntaxKind.PredefinedCastExpression, 22839SyntaxKind.AddExpression, 22840SyntaxKind.SubtractExpression, 22841SyntaxKind.MultiplyExpression, 22842SyntaxKind.DivideExpression, 22843SyntaxKind.IntegerDivideExpression, 22844SyntaxKind.ExponentiateExpression, 22845SyntaxKind.LeftShiftExpression, 22846SyntaxKind.RightShiftExpression, 22847SyntaxKind.ConcatenateExpression, 22848SyntaxKind.ModuloExpression, 22849SyntaxKind.EqualsExpression, 22850SyntaxKind.NotEqualsExpression, 22851SyntaxKind.LessThanExpression, 22852SyntaxKind.LessThanOrEqualExpression, 22853SyntaxKind.GreaterThanOrEqualExpression, 22854SyntaxKind.GreaterThanExpression, 22855SyntaxKind.IsExpression, 22856SyntaxKind.IsNotExpression, 22857SyntaxKind.LikeExpression, 22858SyntaxKind.OrExpression, 22859SyntaxKind.ExclusiveOrExpression, 22860SyntaxKind.AndExpression, 22861SyntaxKind.OrElseExpression, 22862SyntaxKind.AndAlsoExpression, 22863SyntaxKind.UnaryPlusExpression, 22864SyntaxKind.UnaryMinusExpression, 22865SyntaxKind.NotExpression, 22866SyntaxKind.AddressOfExpression, 22867SyntaxKind.BinaryConditionalExpression, 22868SyntaxKind.TernaryConditionalExpression, 22869SyntaxKind.SingleLineFunctionLambdaExpression, 22870SyntaxKind.SingleLineSubLambdaExpression, 22871SyntaxKind.MultiLineFunctionLambdaExpression, 22872SyntaxKind.MultiLineSubLambdaExpression, 22873SyntaxKind.QueryExpression, 22874SyntaxKind.FunctionAggregation, 22875SyntaxKind.GroupAggregation, 22876SyntaxKind.XmlDocument, 22877SyntaxKind.XmlElement, 22878SyntaxKind.XmlText, 22879SyntaxKind.XmlElementStartTag, 22880SyntaxKind.XmlElementEndTag, 22881SyntaxKind.XmlEmptyElement, 22882SyntaxKind.XmlAttribute, 22883SyntaxKind.XmlString, 22884SyntaxKind.XmlPrefixName, 22885SyntaxKind.XmlName, 22886SyntaxKind.XmlBracketedName, 22887SyntaxKind.XmlComment, 22888SyntaxKind.XmlProcessingInstruction, 22889SyntaxKind.XmlCDataSection, 22890SyntaxKind.XmlEmbeddedExpression, 22891SyntaxKind.ArrayType, 22892SyntaxKind.NullableType, 22893SyntaxKind.PredefinedType, 22894SyntaxKind.IdentifierName, 22895SyntaxKind.GenericName, 22896SyntaxKind.QualifiedName, 22897SyntaxKind.GlobalName, 22898SyntaxKind.CrefOperatorReference, 22899SyntaxKind.QualifiedCrefOperatorReference, 22900SyntaxKind.AwaitExpression, 22901SyntaxKind.XmlCrefAttribute, 22902SyntaxKind.XmlNameAttribute, 22903SyntaxKind.ConditionalAccessExpression, 22904SyntaxKind.NameOfExpression, 22905SyntaxKind.InterpolatedStringExpression 22910Case SyntaxKind.AmpersandEqualsToken 22918Case SyntaxKind.KeywordEventContainer, 22919SyntaxKind.WithEventsEventContainer, 22920SyntaxKind.WithEventsPropertyEventContainer, 22921SyntaxKind.IdentifierLabel, 22922SyntaxKind.NumericLabel, 22923SyntaxKind.NextLabel, 22924SyntaxKind.MidExpression, 22925SyntaxKind.CharacterLiteralExpression, 22926SyntaxKind.TrueLiteralExpression, 22927SyntaxKind.FalseLiteralExpression, 22928SyntaxKind.NumericLiteralExpression, 22929SyntaxKind.DateLiteralExpression, 22930SyntaxKind.StringLiteralExpression, 22931SyntaxKind.NothingLiteralExpression, 22932SyntaxKind.ParenthesizedExpression, 22933SyntaxKind.TupleExpression, 22934SyntaxKind.TupleType, 22935SyntaxKind.MeExpression, 22936SyntaxKind.MyBaseExpression, 22937SyntaxKind.MyClassExpression, 22938SyntaxKind.GetTypeExpression, 22939SyntaxKind.TypeOfIsExpression, 22940SyntaxKind.TypeOfIsNotExpression, 22941SyntaxKind.GetXmlNamespaceExpression, 22942SyntaxKind.SimpleMemberAccessExpression, 22943SyntaxKind.DictionaryAccessExpression, 22944SyntaxKind.XmlElementAccessExpression, 22945SyntaxKind.XmlDescendantAccessExpression, 22946SyntaxKind.XmlAttributeAccessExpression, 22947SyntaxKind.InvocationExpression, 22948SyntaxKind.ObjectCreationExpression, 22949SyntaxKind.AnonymousObjectCreationExpression, 22950SyntaxKind.ArrayCreationExpression, 22951SyntaxKind.CollectionInitializer, 22952SyntaxKind.CTypeExpression, 22953SyntaxKind.DirectCastExpression, 22954SyntaxKind.TryCastExpression, 22955SyntaxKind.PredefinedCastExpression, 22956SyntaxKind.AddExpression, 22957SyntaxKind.SubtractExpression, 22958SyntaxKind.MultiplyExpression, 22959SyntaxKind.DivideExpression, 22960SyntaxKind.IntegerDivideExpression, 22961SyntaxKind.ExponentiateExpression, 22962SyntaxKind.LeftShiftExpression, 22963SyntaxKind.RightShiftExpression, 22964SyntaxKind.ConcatenateExpression, 22965SyntaxKind.ModuloExpression, 22966SyntaxKind.EqualsExpression, 22967SyntaxKind.NotEqualsExpression, 22968SyntaxKind.LessThanExpression, 22969SyntaxKind.LessThanOrEqualExpression, 22970SyntaxKind.GreaterThanOrEqualExpression, 22971SyntaxKind.GreaterThanExpression, 22972SyntaxKind.IsExpression, 22973SyntaxKind.IsNotExpression, 22974SyntaxKind.LikeExpression, 22975SyntaxKind.OrExpression, 22976SyntaxKind.ExclusiveOrExpression, 22977SyntaxKind.AndExpression, 22978SyntaxKind.OrElseExpression, 22979SyntaxKind.AndAlsoExpression, 22980SyntaxKind.UnaryPlusExpression, 22981SyntaxKind.UnaryMinusExpression, 22982SyntaxKind.NotExpression, 22983SyntaxKind.AddressOfExpression, 22984SyntaxKind.BinaryConditionalExpression, 22985SyntaxKind.TernaryConditionalExpression, 22986SyntaxKind.SingleLineFunctionLambdaExpression, 22987SyntaxKind.SingleLineSubLambdaExpression, 22988SyntaxKind.MultiLineFunctionLambdaExpression, 22989SyntaxKind.MultiLineSubLambdaExpression, 22990SyntaxKind.QueryExpression, 22991SyntaxKind.FunctionAggregation, 22992SyntaxKind.GroupAggregation, 22993SyntaxKind.XmlDocument, 22994SyntaxKind.XmlElement, 22995SyntaxKind.XmlText, 22996SyntaxKind.XmlElementStartTag, 22997SyntaxKind.XmlElementEndTag, 22998SyntaxKind.XmlEmptyElement, 22999SyntaxKind.XmlAttribute, 23000SyntaxKind.XmlString, 23001SyntaxKind.XmlPrefixName, 23002SyntaxKind.XmlName, 23003SyntaxKind.XmlBracketedName, 23004SyntaxKind.XmlComment, 23005SyntaxKind.XmlProcessingInstruction, 23006SyntaxKind.XmlCDataSection, 23007SyntaxKind.XmlEmbeddedExpression, 23008SyntaxKind.ArrayType, 23009SyntaxKind.NullableType, 23010SyntaxKind.PredefinedType, 23011SyntaxKind.IdentifierName, 23012SyntaxKind.GenericName, 23013SyntaxKind.QualifiedName, 23014SyntaxKind.GlobalName, 23015SyntaxKind.CrefOperatorReference, 23016SyntaxKind.QualifiedCrefOperatorReference, 23017SyntaxKind.AwaitExpression, 23018SyntaxKind.XmlCrefAttribute, 23019SyntaxKind.XmlNameAttribute, 23020SyntaxKind.ConditionalAccessExpression, 23021SyntaxKind.NameOfExpression, 23022SyntaxKind.InterpolatedStringExpression 23026Return New AssignmentStatementSyntax(SyntaxKind.ConcatenateAssignmentStatement, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.PunctuationSyntax), right) 23041Return SyntaxFactory.ConcatenateAssignmentStatement(left, SyntaxFactory.Token(SyntaxKind.AmpersandEqualsToken), right) 23050''' A <see cref="SyntaxKind"/> representing the specific kind of 23068Public Shared Function AssignmentStatement(ByVal kind As SyntaxKind, left As ExpressionSyntax, operatorToken As SyntaxToken, right As ExpressionSyntax) As AssignmentStatementSyntax 23076Case SyntaxKind.KeywordEventContainer, 23077SyntaxKind.WithEventsEventContainer, 23078SyntaxKind.WithEventsPropertyEventContainer, 23079SyntaxKind.IdentifierLabel, 23080SyntaxKind.NumericLabel, 23081SyntaxKind.NextLabel, 23082SyntaxKind.MidExpression, 23083SyntaxKind.CharacterLiteralExpression, 23084SyntaxKind.TrueLiteralExpression, 23085SyntaxKind.FalseLiteralExpression, 23086SyntaxKind.NumericLiteralExpression, 23087SyntaxKind.DateLiteralExpression, 23088SyntaxKind.StringLiteralExpression, 23089SyntaxKind.NothingLiteralExpression, 23090SyntaxKind.ParenthesizedExpression, 23091SyntaxKind.TupleExpression, 23092SyntaxKind.TupleType, 23093SyntaxKind.MeExpression, 23094SyntaxKind.MyBaseExpression, 23095SyntaxKind.MyClassExpression, 23096SyntaxKind.GetTypeExpression, 23097SyntaxKind.TypeOfIsExpression, 23098SyntaxKind.TypeOfIsNotExpression, 23099SyntaxKind.GetXmlNamespaceExpression, 23100SyntaxKind.SimpleMemberAccessExpression, 23101SyntaxKind.DictionaryAccessExpression, 23102SyntaxKind.XmlElementAccessExpression, 23103SyntaxKind.XmlDescendantAccessExpression, 23104SyntaxKind.XmlAttributeAccessExpression, 23105SyntaxKind.InvocationExpression, 23106SyntaxKind.ObjectCreationExpression, 23107SyntaxKind.AnonymousObjectCreationExpression, 23108SyntaxKind.ArrayCreationExpression, 23109SyntaxKind.CollectionInitializer, 23110SyntaxKind.CTypeExpression, 23111SyntaxKind.DirectCastExpression, 23112SyntaxKind.TryCastExpression, 23113SyntaxKind.PredefinedCastExpression, 23114SyntaxKind.AddExpression, 23115SyntaxKind.SubtractExpression, 23116SyntaxKind.MultiplyExpression, 23117SyntaxKind.DivideExpression, 23118SyntaxKind.IntegerDivideExpression, 23119SyntaxKind.ExponentiateExpression, 23120SyntaxKind.LeftShiftExpression, 23121SyntaxKind.RightShiftExpression, 23122SyntaxKind.ConcatenateExpression, 23123SyntaxKind.ModuloExpression, 23124SyntaxKind.EqualsExpression, 23125SyntaxKind.NotEqualsExpression, 23126SyntaxKind.LessThanExpression, 23127SyntaxKind.LessThanOrEqualExpression, 23128SyntaxKind.GreaterThanOrEqualExpression, 23129SyntaxKind.GreaterThanExpression, 23130SyntaxKind.IsExpression, 23131SyntaxKind.IsNotExpression, 23132SyntaxKind.LikeExpression, 23133SyntaxKind.OrExpression, 23134SyntaxKind.ExclusiveOrExpression, 23135SyntaxKind.AndExpression, 23136SyntaxKind.OrElseExpression, 23137SyntaxKind.AndAlsoExpression, 23138SyntaxKind.UnaryPlusExpression, 23139SyntaxKind.UnaryMinusExpression, 23140SyntaxKind.NotExpression, 23141SyntaxKind.AddressOfExpression, 23142SyntaxKind.BinaryConditionalExpression, 23143SyntaxKind.TernaryConditionalExpression, 23144SyntaxKind.SingleLineFunctionLambdaExpression, 23145SyntaxKind.SingleLineSubLambdaExpression, 23146SyntaxKind.MultiLineFunctionLambdaExpression, 23147SyntaxKind.MultiLineSubLambdaExpression, 23148SyntaxKind.QueryExpression, 23149SyntaxKind.FunctionAggregation, 23150SyntaxKind.GroupAggregation, 23151SyntaxKind.XmlDocument, 23152SyntaxKind.XmlElement, 23153SyntaxKind.XmlText, 23154SyntaxKind.XmlElementStartTag, 23155SyntaxKind.XmlElementEndTag, 23156SyntaxKind.XmlEmptyElement, 23157SyntaxKind.XmlAttribute, 23158SyntaxKind.XmlString, 23159SyntaxKind.XmlPrefixName, 23160SyntaxKind.XmlName, 23161SyntaxKind.XmlBracketedName, 23162SyntaxKind.XmlComment, 23163SyntaxKind.XmlProcessingInstruction, 23164SyntaxKind.XmlCDataSection, 23165SyntaxKind.XmlEmbeddedExpression, 23166SyntaxKind.ArrayType, 23167SyntaxKind.NullableType, 23168SyntaxKind.PredefinedType, 23169SyntaxKind.IdentifierName, 23170SyntaxKind.GenericName, 23171SyntaxKind.QualifiedName, 23172SyntaxKind.GlobalName, 23173SyntaxKind.CrefOperatorReference, 23174SyntaxKind.QualifiedCrefOperatorReference, 23175SyntaxKind.AwaitExpression, 23176SyntaxKind.XmlCrefAttribute, 23177SyntaxKind.XmlNameAttribute, 23178SyntaxKind.ConditionalAccessExpression, 23179SyntaxKind.NameOfExpression, 23180SyntaxKind.InterpolatedStringExpression 23191Case SyntaxKind.KeywordEventContainer, 23192SyntaxKind.WithEventsEventContainer, 23193SyntaxKind.WithEventsPropertyEventContainer, 23194SyntaxKind.IdentifierLabel, 23195SyntaxKind.NumericLabel, 23196SyntaxKind.NextLabel, 23197SyntaxKind.MidExpression, 23198SyntaxKind.CharacterLiteralExpression, 23199SyntaxKind.TrueLiteralExpression, 23200SyntaxKind.FalseLiteralExpression, 23201SyntaxKind.NumericLiteralExpression, 23202SyntaxKind.DateLiteralExpression, 23203SyntaxKind.StringLiteralExpression, 23204SyntaxKind.NothingLiteralExpression, 23205SyntaxKind.ParenthesizedExpression, 23206SyntaxKind.TupleExpression, 23207SyntaxKind.TupleType, 23208SyntaxKind.MeExpression, 23209SyntaxKind.MyBaseExpression, 23210SyntaxKind.MyClassExpression, 23211SyntaxKind.GetTypeExpression, 23212SyntaxKind.TypeOfIsExpression, 23213SyntaxKind.TypeOfIsNotExpression, 23214SyntaxKind.GetXmlNamespaceExpression, 23215SyntaxKind.SimpleMemberAccessExpression, 23216SyntaxKind.DictionaryAccessExpression, 23217SyntaxKind.XmlElementAccessExpression, 23218SyntaxKind.XmlDescendantAccessExpression, 23219SyntaxKind.XmlAttributeAccessExpression, 23220SyntaxKind.InvocationExpression, 23221SyntaxKind.ObjectCreationExpression, 23222SyntaxKind.AnonymousObjectCreationExpression, 23223SyntaxKind.ArrayCreationExpression, 23224SyntaxKind.CollectionInitializer, 23225SyntaxKind.CTypeExpression, 23226SyntaxKind.DirectCastExpression, 23227SyntaxKind.TryCastExpression, 23228SyntaxKind.PredefinedCastExpression, 23229SyntaxKind.AddExpression, 23230SyntaxKind.SubtractExpression, 23231SyntaxKind.MultiplyExpression, 23232SyntaxKind.DivideExpression, 23233SyntaxKind.IntegerDivideExpression, 23234SyntaxKind.ExponentiateExpression, 23235SyntaxKind.LeftShiftExpression, 23236SyntaxKind.RightShiftExpression, 23237SyntaxKind.ConcatenateExpression, 23238SyntaxKind.ModuloExpression, 23239SyntaxKind.EqualsExpression, 23240SyntaxKind.NotEqualsExpression, 23241SyntaxKind.LessThanExpression, 23242SyntaxKind.LessThanOrEqualExpression, 23243SyntaxKind.GreaterThanOrEqualExpression, 23244SyntaxKind.GreaterThanExpression, 23245SyntaxKind.IsExpression, 23246SyntaxKind.IsNotExpression, 23247SyntaxKind.LikeExpression, 23248SyntaxKind.OrExpression, 23249SyntaxKind.ExclusiveOrExpression, 23250SyntaxKind.AndExpression, 23251SyntaxKind.OrElseExpression, 23252SyntaxKind.AndAlsoExpression, 23253SyntaxKind.UnaryPlusExpression, 23254SyntaxKind.UnaryMinusExpression, 23255SyntaxKind.NotExpression, 23256SyntaxKind.AddressOfExpression, 23257SyntaxKind.BinaryConditionalExpression, 23258SyntaxKind.TernaryConditionalExpression, 23259SyntaxKind.SingleLineFunctionLambdaExpression, 23260SyntaxKind.SingleLineSubLambdaExpression, 23261SyntaxKind.MultiLineFunctionLambdaExpression, 23262SyntaxKind.MultiLineSubLambdaExpression, 23263SyntaxKind.QueryExpression, 23264SyntaxKind.FunctionAggregation, 23265SyntaxKind.GroupAggregation, 23266SyntaxKind.XmlDocument, 23267SyntaxKind.XmlElement, 23268SyntaxKind.XmlText, 23269SyntaxKind.XmlElementStartTag, 23270SyntaxKind.XmlElementEndTag, 23271SyntaxKind.XmlEmptyElement, 23272SyntaxKind.XmlAttribute, 23273SyntaxKind.XmlString, 23274SyntaxKind.XmlPrefixName, 23275SyntaxKind.XmlName, 23276SyntaxKind.XmlBracketedName, 23277SyntaxKind.XmlComment, 23278SyntaxKind.XmlProcessingInstruction, 23279SyntaxKind.XmlCDataSection, 23280SyntaxKind.XmlEmbeddedExpression, 23281SyntaxKind.ArrayType, 23282SyntaxKind.NullableType, 23283SyntaxKind.PredefinedType, 23284SyntaxKind.IdentifierName, 23285SyntaxKind.GenericName, 23286SyntaxKind.QualifiedName, 23287SyntaxKind.GlobalName, 23288SyntaxKind.CrefOperatorReference, 23289SyntaxKind.QualifiedCrefOperatorReference, 23290SyntaxKind.AwaitExpression, 23291SyntaxKind.XmlCrefAttribute, 23292SyntaxKind.XmlNameAttribute, 23293SyntaxKind.ConditionalAccessExpression, 23294SyntaxKind.NameOfExpression, 23295SyntaxKind.InterpolatedStringExpression 23302Private Shared Function GetAssignmentStatementOperatorTokenKind(kind As SyntaxKind) As SyntaxKind 23304Case SyntaxKind.SimpleAssignmentStatement 23305Return SyntaxKind.EqualsToken 23306Case SyntaxKind.MidAssignmentStatement 23307Return SyntaxKind.EqualsToken 23308Case SyntaxKind.AddAssignmentStatement 23309Return SyntaxKind.PlusEqualsToken 23310Case SyntaxKind.SubtractAssignmentStatement 23311Return SyntaxKind.MinusEqualsToken 23312Case SyntaxKind.MultiplyAssignmentStatement 23313Return SyntaxKind.AsteriskEqualsToken 23314Case SyntaxKind.DivideAssignmentStatement 23315Return SyntaxKind.SlashEqualsToken 23316Case SyntaxKind.IntegerDivideAssignmentStatement 23317Return SyntaxKind.BackslashEqualsToken 23318Case SyntaxKind.ExponentiateAssignmentStatement 23319Return SyntaxKind.CaretEqualsToken 23320Case SyntaxKind.LeftShiftAssignmentStatement 23321Return SyntaxKind.LessThanLessThanEqualsToken 23322Case SyntaxKind.RightShiftAssignmentStatement 23323Return SyntaxKind.GreaterThanGreaterThanEqualsToken 23324Case SyntaxKind.ConcatenateAssignmentStatement 23325Return SyntaxKind.AmpersandEqualsToken 23342Case SyntaxKind.IdentifierToken 23350Case SyntaxKind.ArgumentList 23354Return New MidExpressionSyntax(SyntaxKind.MidExpression, Nothing, Nothing, DirectCast(mid.Node, InternalSyntax.IdentifierTokenSyntax), argumentList) 23384Case SyntaxKind.CallKeyword 23392Case SyntaxKind.InvocationExpression, 23393SyntaxKind.SimpleMemberAccessExpression 23397Return New CallStatementSyntax(SyntaxKind.CallStatement, Nothing, Nothing, DirectCast(callKeyword.Node, InternalSyntax.KeywordSyntax), invocation) 23409Return SyntaxFactory.CallStatement(SyntaxFactory.Token(SyntaxKind.CallKeyword), invocation) 23431Case SyntaxKind.AddHandlerKeyword : 23432Case SyntaxKind.RemoveHandlerKeyword 23440Case SyntaxKind.KeywordEventContainer, 23441SyntaxKind.WithEventsEventContainer, 23442SyntaxKind.WithEventsPropertyEventContainer, 23443SyntaxKind.IdentifierLabel, 23444SyntaxKind.NumericLabel, 23445SyntaxKind.NextLabel, 23446SyntaxKind.MidExpression, 23447SyntaxKind.CharacterLiteralExpression, 23448SyntaxKind.TrueLiteralExpression, 23449SyntaxKind.FalseLiteralExpression, 23450SyntaxKind.NumericLiteralExpression, 23451SyntaxKind.DateLiteralExpression, 23452SyntaxKind.StringLiteralExpression, 23453SyntaxKind.NothingLiteralExpression, 23454SyntaxKind.ParenthesizedExpression, 23455SyntaxKind.TupleExpression, 23456SyntaxKind.TupleType, 23457SyntaxKind.MeExpression, 23458SyntaxKind.MyBaseExpression, 23459SyntaxKind.MyClassExpression, 23460SyntaxKind.GetTypeExpression, 23461SyntaxKind.TypeOfIsExpression, 23462SyntaxKind.TypeOfIsNotExpression, 23463SyntaxKind.GetXmlNamespaceExpression, 23464SyntaxKind.SimpleMemberAccessExpression, 23465SyntaxKind.DictionaryAccessExpression, 23466SyntaxKind.XmlElementAccessExpression, 23467SyntaxKind.XmlDescendantAccessExpression, 23468SyntaxKind.XmlAttributeAccessExpression, 23469SyntaxKind.InvocationExpression, 23470SyntaxKind.ObjectCreationExpression, 23471SyntaxKind.AnonymousObjectCreationExpression, 23472SyntaxKind.ArrayCreationExpression, 23473SyntaxKind.CollectionInitializer, 23474SyntaxKind.CTypeExpression, 23475SyntaxKind.DirectCastExpression, 23476SyntaxKind.TryCastExpression, 23477SyntaxKind.PredefinedCastExpression, 23478SyntaxKind.AddExpression, 23479SyntaxKind.SubtractExpression, 23480SyntaxKind.MultiplyExpression, 23481SyntaxKind.DivideExpression, 23482SyntaxKind.IntegerDivideExpression, 23483SyntaxKind.ExponentiateExpression, 23484SyntaxKind.LeftShiftExpression, 23485SyntaxKind.RightShiftExpression, 23486SyntaxKind.ConcatenateExpression, 23487SyntaxKind.ModuloExpression, 23488SyntaxKind.EqualsExpression, 23489SyntaxKind.NotEqualsExpression, 23490SyntaxKind.LessThanExpression, 23491SyntaxKind.LessThanOrEqualExpression, 23492SyntaxKind.GreaterThanOrEqualExpression, 23493SyntaxKind.GreaterThanExpression, 23494SyntaxKind.IsExpression, 23495SyntaxKind.IsNotExpression, 23496SyntaxKind.LikeExpression, 23497SyntaxKind.OrExpression, 23498SyntaxKind.ExclusiveOrExpression, 23499SyntaxKind.AndExpression, 23500SyntaxKind.OrElseExpression, 23501SyntaxKind.AndAlsoExpression, 23502SyntaxKind.UnaryPlusExpression, 23503SyntaxKind.UnaryMinusExpression, 23504SyntaxKind.NotExpression, 23505SyntaxKind.AddressOfExpression, 23506SyntaxKind.BinaryConditionalExpression, 23507SyntaxKind.TernaryConditionalExpression, 23508SyntaxKind.SingleLineFunctionLambdaExpression, 23509SyntaxKind.SingleLineSubLambdaExpression, 23510SyntaxKind.MultiLineFunctionLambdaExpression, 23511SyntaxKind.MultiLineSubLambdaExpression, 23512SyntaxKind.QueryExpression, 23513SyntaxKind.FunctionAggregation, 23514SyntaxKind.GroupAggregation, 23515SyntaxKind.XmlDocument, 23516SyntaxKind.XmlElement, 23517SyntaxKind.XmlText, 23518SyntaxKind.XmlElementStartTag, 23519SyntaxKind.XmlElementEndTag, 23520SyntaxKind.XmlEmptyElement, 23521SyntaxKind.XmlAttribute, 23522SyntaxKind.XmlString, 23523SyntaxKind.XmlPrefixName, 23524SyntaxKind.XmlName, 23525SyntaxKind.XmlBracketedName, 23526SyntaxKind.XmlComment, 23527SyntaxKind.XmlProcessingInstruction, 23528SyntaxKind.XmlCDataSection, 23529SyntaxKind.XmlEmbeddedExpression, 23530SyntaxKind.ArrayType, 23531SyntaxKind.NullableType, 23532SyntaxKind.PredefinedType, 23533SyntaxKind.IdentifierName, 23534SyntaxKind.GenericName, 23535SyntaxKind.QualifiedName, 23536SyntaxKind.GlobalName, 23537SyntaxKind.CrefOperatorReference, 23538SyntaxKind.QualifiedCrefOperatorReference, 23539SyntaxKind.AwaitExpression, 23540SyntaxKind.XmlCrefAttribute, 23541SyntaxKind.XmlNameAttribute, 23542SyntaxKind.ConditionalAccessExpression, 23543SyntaxKind.NameOfExpression, 23544SyntaxKind.InterpolatedStringExpression 23549Case SyntaxKind.CommaToken 23557Case SyntaxKind.KeywordEventContainer, 23558SyntaxKind.WithEventsEventContainer, 23559SyntaxKind.WithEventsPropertyEventContainer, 23560SyntaxKind.IdentifierLabel, 23561SyntaxKind.NumericLabel, 23562SyntaxKind.NextLabel, 23563SyntaxKind.MidExpression, 23564SyntaxKind.CharacterLiteralExpression, 23565SyntaxKind.TrueLiteralExpression, 23566SyntaxKind.FalseLiteralExpression, 23567SyntaxKind.NumericLiteralExpression, 23568SyntaxKind.DateLiteralExpression, 23569SyntaxKind.StringLiteralExpression, 23570SyntaxKind.NothingLiteralExpression, 23571SyntaxKind.ParenthesizedExpression, 23572SyntaxKind.TupleExpression, 23573SyntaxKind.TupleType, 23574SyntaxKind.MeExpression, 23575SyntaxKind.MyBaseExpression, 23576SyntaxKind.MyClassExpression, 23577SyntaxKind.GetTypeExpression, 23578SyntaxKind.TypeOfIsExpression, 23579SyntaxKind.TypeOfIsNotExpression, 23580SyntaxKind.GetXmlNamespaceExpression, 23581SyntaxKind.SimpleMemberAccessExpression, 23582SyntaxKind.DictionaryAccessExpression, 23583SyntaxKind.XmlElementAccessExpression, 23584SyntaxKind.XmlDescendantAccessExpression, 23585SyntaxKind.XmlAttributeAccessExpression, 23586SyntaxKind.InvocationExpression, 23587SyntaxKind.ObjectCreationExpression, 23588SyntaxKind.AnonymousObjectCreationExpression, 23589SyntaxKind.ArrayCreationExpression, 23590SyntaxKind.CollectionInitializer, 23591SyntaxKind.CTypeExpression, 23592SyntaxKind.DirectCastExpression, 23593SyntaxKind.TryCastExpression, 23594SyntaxKind.PredefinedCastExpression, 23595SyntaxKind.AddExpression, 23596SyntaxKind.SubtractExpression, 23597SyntaxKind.MultiplyExpression, 23598SyntaxKind.DivideExpression, 23599SyntaxKind.IntegerDivideExpression, 23600SyntaxKind.ExponentiateExpression, 23601SyntaxKind.LeftShiftExpression, 23602SyntaxKind.RightShiftExpression, 23603SyntaxKind.ConcatenateExpression, 23604SyntaxKind.ModuloExpression, 23605SyntaxKind.EqualsExpression, 23606SyntaxKind.NotEqualsExpression, 23607SyntaxKind.LessThanExpression, 23608SyntaxKind.LessThanOrEqualExpression, 23609SyntaxKind.GreaterThanOrEqualExpression, 23610SyntaxKind.GreaterThanExpression, 23611SyntaxKind.IsExpression, 23612SyntaxKind.IsNotExpression, 23613SyntaxKind.LikeExpression, 23614SyntaxKind.OrExpression, 23615SyntaxKind.ExclusiveOrExpression, 23616SyntaxKind.AndExpression, 23617SyntaxKind.OrElseExpression, 23618SyntaxKind.AndAlsoExpression, 23619SyntaxKind.UnaryPlusExpression, 23620SyntaxKind.UnaryMinusExpression, 23621SyntaxKind.NotExpression, 23622SyntaxKind.AddressOfExpression, 23623SyntaxKind.BinaryConditionalExpression, 23624SyntaxKind.TernaryConditionalExpression, 23625SyntaxKind.SingleLineFunctionLambdaExpression, 23626SyntaxKind.SingleLineSubLambdaExpression, 23627SyntaxKind.MultiLineFunctionLambdaExpression, 23628SyntaxKind.MultiLineSubLambdaExpression, 23629SyntaxKind.QueryExpression, 23630SyntaxKind.FunctionAggregation, 23631SyntaxKind.GroupAggregation, 23632SyntaxKind.XmlDocument, 23633SyntaxKind.XmlElement, 23634SyntaxKind.XmlText, 23635SyntaxKind.XmlElementStartTag, 23636SyntaxKind.XmlElementEndTag, 23637SyntaxKind.XmlEmptyElement, 23638SyntaxKind.XmlAttribute, 23639SyntaxKind.XmlString, 23640SyntaxKind.XmlPrefixName, 23641SyntaxKind.XmlName, 23642SyntaxKind.XmlBracketedName, 23643SyntaxKind.XmlComment, 23644SyntaxKind.XmlProcessingInstruction, 23645SyntaxKind.XmlCDataSection, 23646SyntaxKind.XmlEmbeddedExpression, 23647SyntaxKind.ArrayType, 23648SyntaxKind.NullableType, 23649SyntaxKind.PredefinedType, 23650SyntaxKind.IdentifierName, 23651SyntaxKind.GenericName, 23652SyntaxKind.QualifiedName, 23653SyntaxKind.GlobalName, 23654SyntaxKind.CrefOperatorReference, 23655SyntaxKind.QualifiedCrefOperatorReference, 23656SyntaxKind.AwaitExpression, 23657SyntaxKind.XmlCrefAttribute, 23658SyntaxKind.XmlNameAttribute, 23659SyntaxKind.ConditionalAccessExpression, 23660SyntaxKind.NameOfExpression, 23661SyntaxKind.InterpolatedStringExpression 23665Return New AddRemoveHandlerStatementSyntax(SyntaxKind.AddHandlerStatement, Nothing, Nothing, DirectCast(addHandlerOrRemoveHandlerKeyword.Node, InternalSyntax.KeywordSyntax), eventExpression, DirectCast(commaToken.Node, InternalSyntax.PunctuationSyntax), delegateExpression) 23680Return SyntaxFactory.AddHandlerStatement(SyntaxFactory.Token(SyntaxKind.AddHandlerKeyword), eventExpression, SyntaxFactory.Token(SyntaxKind.CommaToken), delegateExpression) 23702Case SyntaxKind.RemoveHandlerKeyword 23710Case SyntaxKind.KeywordEventContainer, 23711SyntaxKind.WithEventsEventContainer, 23712SyntaxKind.WithEventsPropertyEventContainer, 23713SyntaxKind.IdentifierLabel, 23714SyntaxKind.NumericLabel, 23715SyntaxKind.NextLabel, 23716SyntaxKind.MidExpression, 23717SyntaxKind.CharacterLiteralExpression, 23718SyntaxKind.TrueLiteralExpression, 23719SyntaxKind.FalseLiteralExpression, 23720SyntaxKind.NumericLiteralExpression, 23721SyntaxKind.DateLiteralExpression, 23722SyntaxKind.StringLiteralExpression, 23723SyntaxKind.NothingLiteralExpression, 23724SyntaxKind.ParenthesizedExpression, 23725SyntaxKind.TupleExpression, 23726SyntaxKind.TupleType, 23727SyntaxKind.MeExpression, 23728SyntaxKind.MyBaseExpression, 23729SyntaxKind.MyClassExpression, 23730SyntaxKind.GetTypeExpression, 23731SyntaxKind.TypeOfIsExpression, 23732SyntaxKind.TypeOfIsNotExpression, 23733SyntaxKind.GetXmlNamespaceExpression, 23734SyntaxKind.SimpleMemberAccessExpression, 23735SyntaxKind.DictionaryAccessExpression, 23736SyntaxKind.XmlElementAccessExpression, 23737SyntaxKind.XmlDescendantAccessExpression, 23738SyntaxKind.XmlAttributeAccessExpression, 23739SyntaxKind.InvocationExpression, 23740SyntaxKind.ObjectCreationExpression, 23741SyntaxKind.AnonymousObjectCreationExpression, 23742SyntaxKind.ArrayCreationExpression, 23743SyntaxKind.CollectionInitializer, 23744SyntaxKind.CTypeExpression, 23745SyntaxKind.DirectCastExpression, 23746SyntaxKind.TryCastExpression, 23747SyntaxKind.PredefinedCastExpression, 23748SyntaxKind.AddExpression, 23749SyntaxKind.SubtractExpression, 23750SyntaxKind.MultiplyExpression, 23751SyntaxKind.DivideExpression, 23752SyntaxKind.IntegerDivideExpression, 23753SyntaxKind.ExponentiateExpression, 23754SyntaxKind.LeftShiftExpression, 23755SyntaxKind.RightShiftExpression, 23756SyntaxKind.ConcatenateExpression, 23757SyntaxKind.ModuloExpression, 23758SyntaxKind.EqualsExpression, 23759SyntaxKind.NotEqualsExpression, 23760SyntaxKind.LessThanExpression, 23761SyntaxKind.LessThanOrEqualExpression, 23762SyntaxKind.GreaterThanOrEqualExpression, 23763SyntaxKind.GreaterThanExpression, 23764SyntaxKind.IsExpression, 23765SyntaxKind.IsNotExpression, 23766SyntaxKind.LikeExpression, 23767SyntaxKind.OrExpression, 23768SyntaxKind.ExclusiveOrExpression, 23769SyntaxKind.AndExpression, 23770SyntaxKind.OrElseExpression, 23771SyntaxKind.AndAlsoExpression, 23772SyntaxKind.UnaryPlusExpression, 23773SyntaxKind.UnaryMinusExpression, 23774SyntaxKind.NotExpression, 23775SyntaxKind.AddressOfExpression, 23776SyntaxKind.BinaryConditionalExpression, 23777SyntaxKind.TernaryConditionalExpression, 23778SyntaxKind.SingleLineFunctionLambdaExpression, 23779SyntaxKind.SingleLineSubLambdaExpression, 23780SyntaxKind.MultiLineFunctionLambdaExpression, 23781SyntaxKind.MultiLineSubLambdaExpression, 23782SyntaxKind.QueryExpression, 23783SyntaxKind.FunctionAggregation, 23784SyntaxKind.GroupAggregation, 23785SyntaxKind.XmlDocument, 23786SyntaxKind.XmlElement, 23787SyntaxKind.XmlText, 23788SyntaxKind.XmlElementStartTag, 23789SyntaxKind.XmlElementEndTag, 23790SyntaxKind.XmlEmptyElement, 23791SyntaxKind.XmlAttribute, 23792SyntaxKind.XmlString, 23793SyntaxKind.XmlPrefixName, 23794SyntaxKind.XmlName, 23795SyntaxKind.XmlBracketedName, 23796SyntaxKind.XmlComment, 23797SyntaxKind.XmlProcessingInstruction, 23798SyntaxKind.XmlCDataSection, 23799SyntaxKind.XmlEmbeddedExpression, 23800SyntaxKind.ArrayType, 23801SyntaxKind.NullableType, 23802SyntaxKind.PredefinedType, 23803SyntaxKind.IdentifierName, 23804SyntaxKind.GenericName, 23805SyntaxKind.QualifiedName, 23806SyntaxKind.GlobalName, 23807SyntaxKind.CrefOperatorReference, 23808SyntaxKind.QualifiedCrefOperatorReference, 23809SyntaxKind.AwaitExpression, 23810SyntaxKind.XmlCrefAttribute, 23811SyntaxKind.XmlNameAttribute, 23812SyntaxKind.ConditionalAccessExpression, 23813SyntaxKind.NameOfExpression, 23814SyntaxKind.InterpolatedStringExpression 23819Case SyntaxKind.CommaToken 23827Case SyntaxKind.KeywordEventContainer, 23828SyntaxKind.WithEventsEventContainer, 23829SyntaxKind.WithEventsPropertyEventContainer, 23830SyntaxKind.IdentifierLabel, 23831SyntaxKind.NumericLabel, 23832SyntaxKind.NextLabel, 23833SyntaxKind.MidExpression, 23834SyntaxKind.CharacterLiteralExpression, 23835SyntaxKind.TrueLiteralExpression, 23836SyntaxKind.FalseLiteralExpression, 23837SyntaxKind.NumericLiteralExpression, 23838SyntaxKind.DateLiteralExpression, 23839SyntaxKind.StringLiteralExpression, 23840SyntaxKind.NothingLiteralExpression, 23841SyntaxKind.ParenthesizedExpression, 23842SyntaxKind.TupleExpression, 23843SyntaxKind.TupleType, 23844SyntaxKind.MeExpression, 23845SyntaxKind.MyBaseExpression, 23846SyntaxKind.MyClassExpression, 23847SyntaxKind.GetTypeExpression, 23848SyntaxKind.TypeOfIsExpression, 23849SyntaxKind.TypeOfIsNotExpression, 23850SyntaxKind.GetXmlNamespaceExpression, 23851SyntaxKind.SimpleMemberAccessExpression, 23852SyntaxKind.DictionaryAccessExpression, 23853SyntaxKind.XmlElementAccessExpression, 23854SyntaxKind.XmlDescendantAccessExpression, 23855SyntaxKind.XmlAttributeAccessExpression, 23856SyntaxKind.InvocationExpression, 23857SyntaxKind.ObjectCreationExpression, 23858SyntaxKind.AnonymousObjectCreationExpression, 23859SyntaxKind.ArrayCreationExpression, 23860SyntaxKind.CollectionInitializer, 23861SyntaxKind.CTypeExpression, 23862SyntaxKind.DirectCastExpression, 23863SyntaxKind.TryCastExpression, 23864SyntaxKind.PredefinedCastExpression, 23865SyntaxKind.AddExpression, 23866SyntaxKind.SubtractExpression, 23867SyntaxKind.MultiplyExpression, 23868SyntaxKind.DivideExpression, 23869SyntaxKind.IntegerDivideExpression, 23870SyntaxKind.ExponentiateExpression, 23871SyntaxKind.LeftShiftExpression, 23872SyntaxKind.RightShiftExpression, 23873SyntaxKind.ConcatenateExpression, 23874SyntaxKind.ModuloExpression, 23875SyntaxKind.EqualsExpression, 23876SyntaxKind.NotEqualsExpression, 23877SyntaxKind.LessThanExpression, 23878SyntaxKind.LessThanOrEqualExpression, 23879SyntaxKind.GreaterThanOrEqualExpression, 23880SyntaxKind.GreaterThanExpression, 23881SyntaxKind.IsExpression, 23882SyntaxKind.IsNotExpression, 23883SyntaxKind.LikeExpression, 23884SyntaxKind.OrExpression, 23885SyntaxKind.ExclusiveOrExpression, 23886SyntaxKind.AndExpression, 23887SyntaxKind.OrElseExpression, 23888SyntaxKind.AndAlsoExpression, 23889SyntaxKind.UnaryPlusExpression, 23890SyntaxKind.UnaryMinusExpression, 23891SyntaxKind.NotExpression, 23892SyntaxKind.AddressOfExpression, 23893SyntaxKind.BinaryConditionalExpression, 23894SyntaxKind.TernaryConditionalExpression, 23895SyntaxKind.SingleLineFunctionLambdaExpression, 23896SyntaxKind.SingleLineSubLambdaExpression, 23897SyntaxKind.MultiLineFunctionLambdaExpression, 23898SyntaxKind.MultiLineSubLambdaExpression, 23899SyntaxKind.QueryExpression, 23900SyntaxKind.FunctionAggregation, 23901SyntaxKind.GroupAggregation, 23902SyntaxKind.XmlDocument, 23903SyntaxKind.XmlElement, 23904SyntaxKind.XmlText, 23905SyntaxKind.XmlElementStartTag, 23906SyntaxKind.XmlElementEndTag, 23907SyntaxKind.XmlEmptyElement, 23908SyntaxKind.XmlAttribute, 23909SyntaxKind.XmlString, 23910SyntaxKind.XmlPrefixName, 23911SyntaxKind.XmlName, 23912SyntaxKind.XmlBracketedName, 23913SyntaxKind.XmlComment, 23914SyntaxKind.XmlProcessingInstruction, 23915SyntaxKind.XmlCDataSection, 23916SyntaxKind.XmlEmbeddedExpression, 23917SyntaxKind.ArrayType, 23918SyntaxKind.NullableType, 23919SyntaxKind.PredefinedType, 23920SyntaxKind.IdentifierName, 23921SyntaxKind.GenericName, 23922SyntaxKind.QualifiedName, 23923SyntaxKind.GlobalName, 23924SyntaxKind.CrefOperatorReference, 23925SyntaxKind.QualifiedCrefOperatorReference, 23926SyntaxKind.AwaitExpression, 23927SyntaxKind.XmlCrefAttribute, 23928SyntaxKind.XmlNameAttribute, 23929SyntaxKind.ConditionalAccessExpression, 23930SyntaxKind.NameOfExpression, 23931SyntaxKind.InterpolatedStringExpression 23935Return New AddRemoveHandlerStatementSyntax(SyntaxKind.RemoveHandlerStatement, Nothing, Nothing, DirectCast(addHandlerOrRemoveHandlerKeyword.Node, InternalSyntax.KeywordSyntax), eventExpression, DirectCast(commaToken.Node, InternalSyntax.PunctuationSyntax), delegateExpression) 23950Return SyntaxFactory.RemoveHandlerStatement(SyntaxFactory.Token(SyntaxKind.RemoveHandlerKeyword), eventExpression, SyntaxFactory.Token(SyntaxKind.CommaToken), delegateExpression) 23959''' A <see cref="SyntaxKind"/> representing the specific kind of 23975Public Shared Function AddRemoveHandlerStatement(ByVal kind As SyntaxKind, addHandlerOrRemoveHandlerKeyword As SyntaxToken, eventExpression As ExpressionSyntax, commaToken As SyntaxToken, delegateExpression As ExpressionSyntax) As AddRemoveHandlerStatementSyntax 23986Case SyntaxKind.KeywordEventContainer, 23987SyntaxKind.WithEventsEventContainer, 23988SyntaxKind.WithEventsPropertyEventContainer, 23989SyntaxKind.IdentifierLabel, 23990SyntaxKind.NumericLabel, 23991SyntaxKind.NextLabel, 23992SyntaxKind.MidExpression, 23993SyntaxKind.CharacterLiteralExpression, 23994SyntaxKind.TrueLiteralExpression, 23995SyntaxKind.FalseLiteralExpression, 23996SyntaxKind.NumericLiteralExpression, 23997SyntaxKind.DateLiteralExpression, 23998SyntaxKind.StringLiteralExpression, 23999SyntaxKind.NothingLiteralExpression, 24000SyntaxKind.ParenthesizedExpression, 24001SyntaxKind.TupleExpression, 24002SyntaxKind.TupleType, 24003SyntaxKind.MeExpression, 24004SyntaxKind.MyBaseExpression, 24005SyntaxKind.MyClassExpression, 24006SyntaxKind.GetTypeExpression, 24007SyntaxKind.TypeOfIsExpression, 24008SyntaxKind.TypeOfIsNotExpression, 24009SyntaxKind.GetXmlNamespaceExpression, 24010SyntaxKind.SimpleMemberAccessExpression, 24011SyntaxKind.DictionaryAccessExpression, 24012SyntaxKind.XmlElementAccessExpression, 24013SyntaxKind.XmlDescendantAccessExpression, 24014SyntaxKind.XmlAttributeAccessExpression, 24015SyntaxKind.InvocationExpression, 24016SyntaxKind.ObjectCreationExpression, 24017SyntaxKind.AnonymousObjectCreationExpression, 24018SyntaxKind.ArrayCreationExpression, 24019SyntaxKind.CollectionInitializer, 24020SyntaxKind.CTypeExpression, 24021SyntaxKind.DirectCastExpression, 24022SyntaxKind.TryCastExpression, 24023SyntaxKind.PredefinedCastExpression, 24024SyntaxKind.AddExpression, 24025SyntaxKind.SubtractExpression, 24026SyntaxKind.MultiplyExpression, 24027SyntaxKind.DivideExpression, 24028SyntaxKind.IntegerDivideExpression, 24029SyntaxKind.ExponentiateExpression, 24030SyntaxKind.LeftShiftExpression, 24031SyntaxKind.RightShiftExpression, 24032SyntaxKind.ConcatenateExpression, 24033SyntaxKind.ModuloExpression, 24034SyntaxKind.EqualsExpression, 24035SyntaxKind.NotEqualsExpression, 24036SyntaxKind.LessThanExpression, 24037SyntaxKind.LessThanOrEqualExpression, 24038SyntaxKind.GreaterThanOrEqualExpression, 24039SyntaxKind.GreaterThanExpression, 24040SyntaxKind.IsExpression, 24041SyntaxKind.IsNotExpression, 24042SyntaxKind.LikeExpression, 24043SyntaxKind.OrExpression, 24044SyntaxKind.ExclusiveOrExpression, 24045SyntaxKind.AndExpression, 24046SyntaxKind.OrElseExpression, 24047SyntaxKind.AndAlsoExpression, 24048SyntaxKind.UnaryPlusExpression, 24049SyntaxKind.UnaryMinusExpression, 24050SyntaxKind.NotExpression, 24051SyntaxKind.AddressOfExpression, 24052SyntaxKind.BinaryConditionalExpression, 24053SyntaxKind.TernaryConditionalExpression, 24054SyntaxKind.SingleLineFunctionLambdaExpression, 24055SyntaxKind.SingleLineSubLambdaExpression, 24056SyntaxKind.MultiLineFunctionLambdaExpression, 24057SyntaxKind.MultiLineSubLambdaExpression, 24058SyntaxKind.QueryExpression, 24059SyntaxKind.FunctionAggregation, 24060SyntaxKind.GroupAggregation, 24061SyntaxKind.XmlDocument, 24062SyntaxKind.XmlElement, 24063SyntaxKind.XmlText, 24064SyntaxKind.XmlElementStartTag, 24065SyntaxKind.XmlElementEndTag, 24066SyntaxKind.XmlEmptyElement, 24067SyntaxKind.XmlAttribute, 24068SyntaxKind.XmlString, 24069SyntaxKind.XmlPrefixName, 24070SyntaxKind.XmlName, 24071SyntaxKind.XmlBracketedName, 24072SyntaxKind.XmlComment, 24073SyntaxKind.XmlProcessingInstruction, 24074SyntaxKind.XmlCDataSection, 24075SyntaxKind.XmlEmbeddedExpression, 24076SyntaxKind.ArrayType, 24077SyntaxKind.NullableType, 24078SyntaxKind.PredefinedType, 24079SyntaxKind.IdentifierName, 24080SyntaxKind.GenericName, 24081SyntaxKind.QualifiedName, 24082SyntaxKind.GlobalName, 24083SyntaxKind.CrefOperatorReference, 24084SyntaxKind.QualifiedCrefOperatorReference, 24085SyntaxKind.AwaitExpression, 24086SyntaxKind.XmlCrefAttribute, 24087SyntaxKind.XmlNameAttribute, 24088SyntaxKind.ConditionalAccessExpression, 24089SyntaxKind.NameOfExpression, 24090SyntaxKind.InterpolatedStringExpression 24095Case SyntaxKind.CommaToken 24103Case SyntaxKind.KeywordEventContainer, 24104SyntaxKind.WithEventsEventContainer, 24105SyntaxKind.WithEventsPropertyEventContainer, 24106SyntaxKind.IdentifierLabel, 24107SyntaxKind.NumericLabel, 24108SyntaxKind.NextLabel, 24109SyntaxKind.MidExpression, 24110SyntaxKind.CharacterLiteralExpression, 24111SyntaxKind.TrueLiteralExpression, 24112SyntaxKind.FalseLiteralExpression, 24113SyntaxKind.NumericLiteralExpression, 24114SyntaxKind.DateLiteralExpression, 24115SyntaxKind.StringLiteralExpression, 24116SyntaxKind.NothingLiteralExpression, 24117SyntaxKind.ParenthesizedExpression, 24118SyntaxKind.TupleExpression, 24119SyntaxKind.TupleType, 24120SyntaxKind.MeExpression, 24121SyntaxKind.MyBaseExpression, 24122SyntaxKind.MyClassExpression, 24123SyntaxKind.GetTypeExpression, 24124SyntaxKind.TypeOfIsExpression, 24125SyntaxKind.TypeOfIsNotExpression, 24126SyntaxKind.GetXmlNamespaceExpression, 24127SyntaxKind.SimpleMemberAccessExpression, 24128SyntaxKind.DictionaryAccessExpression, 24129SyntaxKind.XmlElementAccessExpression, 24130SyntaxKind.XmlDescendantAccessExpression, 24131SyntaxKind.XmlAttributeAccessExpression, 24132SyntaxKind.InvocationExpression, 24133SyntaxKind.ObjectCreationExpression, 24134SyntaxKind.AnonymousObjectCreationExpression, 24135SyntaxKind.ArrayCreationExpression, 24136SyntaxKind.CollectionInitializer, 24137SyntaxKind.CTypeExpression, 24138SyntaxKind.DirectCastExpression, 24139SyntaxKind.TryCastExpression, 24140SyntaxKind.PredefinedCastExpression, 24141SyntaxKind.AddExpression, 24142SyntaxKind.SubtractExpression, 24143SyntaxKind.MultiplyExpression, 24144SyntaxKind.DivideExpression, 24145SyntaxKind.IntegerDivideExpression, 24146SyntaxKind.ExponentiateExpression, 24147SyntaxKind.LeftShiftExpression, 24148SyntaxKind.RightShiftExpression, 24149SyntaxKind.ConcatenateExpression, 24150SyntaxKind.ModuloExpression, 24151SyntaxKind.EqualsExpression, 24152SyntaxKind.NotEqualsExpression, 24153SyntaxKind.LessThanExpression, 24154SyntaxKind.LessThanOrEqualExpression, 24155SyntaxKind.GreaterThanOrEqualExpression, 24156SyntaxKind.GreaterThanExpression, 24157SyntaxKind.IsExpression, 24158SyntaxKind.IsNotExpression, 24159SyntaxKind.LikeExpression, 24160SyntaxKind.OrExpression, 24161SyntaxKind.ExclusiveOrExpression, 24162SyntaxKind.AndExpression, 24163SyntaxKind.OrElseExpression, 24164SyntaxKind.AndAlsoExpression, 24165SyntaxKind.UnaryPlusExpression, 24166SyntaxKind.UnaryMinusExpression, 24167SyntaxKind.NotExpression, 24168SyntaxKind.AddressOfExpression, 24169SyntaxKind.BinaryConditionalExpression, 24170SyntaxKind.TernaryConditionalExpression, 24171SyntaxKind.SingleLineFunctionLambdaExpression, 24172SyntaxKind.SingleLineSubLambdaExpression, 24173SyntaxKind.MultiLineFunctionLambdaExpression, 24174SyntaxKind.MultiLineSubLambdaExpression, 24175SyntaxKind.QueryExpression, 24176SyntaxKind.FunctionAggregation, 24177SyntaxKind.GroupAggregation, 24178SyntaxKind.XmlDocument, 24179SyntaxKind.XmlElement, 24180SyntaxKind.XmlText, 24181SyntaxKind.XmlElementStartTag, 24182SyntaxKind.XmlElementEndTag, 24183SyntaxKind.XmlEmptyElement, 24184SyntaxKind.XmlAttribute, 24185SyntaxKind.XmlString, 24186SyntaxKind.XmlPrefixName, 24187SyntaxKind.XmlName, 24188SyntaxKind.XmlBracketedName, 24189SyntaxKind.XmlComment, 24190SyntaxKind.XmlProcessingInstruction, 24191SyntaxKind.XmlCDataSection, 24192SyntaxKind.XmlEmbeddedExpression, 24193SyntaxKind.ArrayType, 24194SyntaxKind.NullableType, 24195SyntaxKind.PredefinedType, 24196SyntaxKind.IdentifierName, 24197SyntaxKind.GenericName, 24198SyntaxKind.QualifiedName, 24199SyntaxKind.GlobalName, 24200SyntaxKind.CrefOperatorReference, 24201SyntaxKind.QualifiedCrefOperatorReference, 24202SyntaxKind.AwaitExpression, 24203SyntaxKind.XmlCrefAttribute, 24204SyntaxKind.XmlNameAttribute, 24205SyntaxKind.ConditionalAccessExpression, 24206SyntaxKind.NameOfExpression, 24207SyntaxKind.InterpolatedStringExpression 24214Private Shared Function GetAddRemoveHandlerStatementAddHandlerOrRemoveHandlerKeywordKind(kind As SyntaxKind) As SyntaxKind 24216Case SyntaxKind.AddHandlerStatement 24217Return SyntaxKind.AddHandlerKeyword 24218Case SyntaxKind.RemoveHandlerStatement 24219Return SyntaxKind.RemoveHandlerKeyword 24230''' A <see cref="SyntaxKind"/> representing the specific kind of 24243Public Shared Function AddRemoveHandlerStatement(ByVal kind As SyntaxKind, addHandlerOrRemoveHandlerKeyword As SyntaxToken, eventExpression As ExpressionSyntax, delegateExpression As ExpressionSyntax) As AddRemoveHandlerStatementSyntax 24244Return SyntaxFactory.AddRemoveHandlerStatement(kind, addHandlerOrRemoveHandlerKeyword, eventExpression, SyntaxFactory.Token(SyntaxKind.CommaToken), delegateExpression) 24262Case SyntaxKind.RaiseEventKeyword 24270Case SyntaxKind.IdentifierName 24274Return New RaiseEventStatementSyntax(SyntaxKind.RaiseEventStatement, Nothing, Nothing, DirectCast(raiseEventKeyword.Node, InternalSyntax.KeywordSyntax), name, argumentList) 24288Return SyntaxFactory.RaiseEventStatement(SyntaxFactory.Token(SyntaxKind.RaiseEventKeyword), name, argumentList) 24299Return SyntaxFactory.RaiseEventStatement(SyntaxFactory.Token(SyntaxKind.RaiseEventKeyword), name, Nothing) 24316Case SyntaxKind.WithKeyword 24324Case SyntaxKind.KeywordEventContainer, 24325SyntaxKind.WithEventsEventContainer, 24326SyntaxKind.WithEventsPropertyEventContainer, 24327SyntaxKind.IdentifierLabel, 24328SyntaxKind.NumericLabel, 24329SyntaxKind.NextLabel, 24330SyntaxKind.MidExpression, 24331SyntaxKind.CharacterLiteralExpression, 24332SyntaxKind.TrueLiteralExpression, 24333SyntaxKind.FalseLiteralExpression, 24334SyntaxKind.NumericLiteralExpression, 24335SyntaxKind.DateLiteralExpression, 24336SyntaxKind.StringLiteralExpression, 24337SyntaxKind.NothingLiteralExpression, 24338SyntaxKind.ParenthesizedExpression, 24339SyntaxKind.TupleExpression, 24340SyntaxKind.TupleType, 24341SyntaxKind.MeExpression, 24342SyntaxKind.MyBaseExpression, 24343SyntaxKind.MyClassExpression, 24344SyntaxKind.GetTypeExpression, 24345SyntaxKind.TypeOfIsExpression, 24346SyntaxKind.TypeOfIsNotExpression, 24347SyntaxKind.GetXmlNamespaceExpression, 24348SyntaxKind.SimpleMemberAccessExpression, 24349SyntaxKind.DictionaryAccessExpression, 24350SyntaxKind.XmlElementAccessExpression, 24351SyntaxKind.XmlDescendantAccessExpression, 24352SyntaxKind.XmlAttributeAccessExpression, 24353SyntaxKind.InvocationExpression, 24354SyntaxKind.ObjectCreationExpression, 24355SyntaxKind.AnonymousObjectCreationExpression, 24356SyntaxKind.ArrayCreationExpression, 24357SyntaxKind.CollectionInitializer, 24358SyntaxKind.CTypeExpression, 24359SyntaxKind.DirectCastExpression, 24360SyntaxKind.TryCastExpression, 24361SyntaxKind.PredefinedCastExpression, 24362SyntaxKind.AddExpression, 24363SyntaxKind.SubtractExpression, 24364SyntaxKind.MultiplyExpression, 24365SyntaxKind.DivideExpression, 24366SyntaxKind.IntegerDivideExpression, 24367SyntaxKind.ExponentiateExpression, 24368SyntaxKind.LeftShiftExpression, 24369SyntaxKind.RightShiftExpression, 24370SyntaxKind.ConcatenateExpression, 24371SyntaxKind.ModuloExpression, 24372SyntaxKind.EqualsExpression, 24373SyntaxKind.NotEqualsExpression, 24374SyntaxKind.LessThanExpression, 24375SyntaxKind.LessThanOrEqualExpression, 24376SyntaxKind.GreaterThanOrEqualExpression, 24377SyntaxKind.GreaterThanExpression, 24378SyntaxKind.IsExpression, 24379SyntaxKind.IsNotExpression, 24380SyntaxKind.LikeExpression, 24381SyntaxKind.OrExpression, 24382SyntaxKind.ExclusiveOrExpression, 24383SyntaxKind.AndExpression, 24384SyntaxKind.OrElseExpression, 24385SyntaxKind.AndAlsoExpression, 24386SyntaxKind.UnaryPlusExpression, 24387SyntaxKind.UnaryMinusExpression, 24388SyntaxKind.NotExpression, 24389SyntaxKind.AddressOfExpression, 24390SyntaxKind.BinaryConditionalExpression, 24391SyntaxKind.TernaryConditionalExpression, 24392SyntaxKind.SingleLineFunctionLambdaExpression, 24393SyntaxKind.SingleLineSubLambdaExpression, 24394SyntaxKind.MultiLineFunctionLambdaExpression, 24395SyntaxKind.MultiLineSubLambdaExpression, 24396SyntaxKind.QueryExpression, 24397SyntaxKind.FunctionAggregation, 24398SyntaxKind.GroupAggregation, 24399SyntaxKind.XmlDocument, 24400SyntaxKind.XmlElement, 24401SyntaxKind.XmlText, 24402SyntaxKind.XmlElementStartTag, 24403SyntaxKind.XmlElementEndTag, 24404SyntaxKind.XmlEmptyElement, 24405SyntaxKind.XmlAttribute, 24406SyntaxKind.XmlString, 24407SyntaxKind.XmlPrefixName, 24408SyntaxKind.XmlName, 24409SyntaxKind.XmlBracketedName, 24410SyntaxKind.XmlComment, 24411SyntaxKind.XmlProcessingInstruction, 24412SyntaxKind.XmlCDataSection, 24413SyntaxKind.XmlEmbeddedExpression, 24414SyntaxKind.ArrayType, 24415SyntaxKind.NullableType, 24416SyntaxKind.PredefinedType, 24417SyntaxKind.IdentifierName, 24418SyntaxKind.GenericName, 24419SyntaxKind.QualifiedName, 24420SyntaxKind.GlobalName, 24421SyntaxKind.CrefOperatorReference, 24422SyntaxKind.QualifiedCrefOperatorReference, 24423SyntaxKind.AwaitExpression, 24424SyntaxKind.XmlCrefAttribute, 24425SyntaxKind.XmlNameAttribute, 24426SyntaxKind.ConditionalAccessExpression, 24427SyntaxKind.NameOfExpression, 24428SyntaxKind.InterpolatedStringExpression 24432Return New WithStatementSyntax(SyntaxKind.WithStatement, Nothing, Nothing, DirectCast(withKeyword.Node, InternalSyntax.KeywordSyntax), expression) 24445Return SyntaxFactory.WithStatement(SyntaxFactory.Token(SyntaxKind.WithKeyword), expression) 24464Case SyntaxKind.ReDimKeyword 24468Return New ReDimStatementSyntax(SyntaxKind.ReDimStatement, Nothing, Nothing, DirectCast(reDimKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(preserveKeyword.Node, InternalSyntax.KeywordSyntax), clauses.Node) 24479Return SyntaxFactory.ReDimStatement(SyntaxKind.ReDimStatement, SyntaxFactory.Token(SyntaxKind.ReDimKeyword), Nothing, clauses) 24490Return SyntaxFactory.ReDimStatement(SyntaxKind.ReDimStatement, SyntaxFactory.Token(SyntaxKind.ReDimKeyword), Nothing, SyntaxFactory.SeparatedList(Of RedimClauseSyntax)().AddRange(clauses)) 24509Case SyntaxKind.ReDimKeyword 24513Return New ReDimStatementSyntax(SyntaxKind.ReDimPreserveStatement, Nothing, Nothing, DirectCast(reDimKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(preserveKeyword.Node, InternalSyntax.KeywordSyntax), clauses.Node) 24524Return SyntaxFactory.ReDimPreserveStatement(SyntaxFactory.Token(SyntaxKind.ReDimKeyword), Nothing, clauses) 24535Return SyntaxFactory.ReDimPreserveStatement(SyntaxFactory.Token(SyntaxKind.ReDimKeyword), Nothing, SyntaxFactory.SeparatedList(Of RedimClauseSyntax)().AddRange(clauses)) 24543''' A <see cref="SyntaxKind"/> representing the specific kind of 24556Public Shared Function ReDimStatement(ByVal kind As SyntaxKind, reDimKeyword As SyntaxToken, preserveKeyword As SyntaxToken, clauses As SeparatedSyntaxList(Of RedimClauseSyntax)) As ReDimStatementSyntax 24561Case SyntaxKind.ReDimKeyword 24573''' A <see cref="SyntaxKind"/> representing the specific kind of 24579Public Shared Function ReDimStatement(ByVal kind As SyntaxKind, clauses As SeparatedSyntaxList(Of RedimClauseSyntax)) As ReDimStatementSyntax 24580Return SyntaxFactory.ReDimStatement(kind, SyntaxFactory.Token(SyntaxKind.ReDimKeyword), Nothing, clauses) 24588''' A <see cref="SyntaxKind"/> representing the specific kind of 24594Public Shared Function ReDimStatement(ByVal kind As SyntaxKind, ParamArray clauses As RedimClauseSyntax()) As ReDimStatementSyntax 24595Return SyntaxFactory.ReDimStatement(kind, SyntaxFactory.Token(SyntaxKind.ReDimKeyword), Nothing, SyntaxFactory.SeparatedList(Of RedimClauseSyntax)().AddRange(clauses)) 24613Case SyntaxKind.KeywordEventContainer, 24614SyntaxKind.WithEventsEventContainer, 24615SyntaxKind.WithEventsPropertyEventContainer, 24616SyntaxKind.IdentifierLabel, 24617SyntaxKind.NumericLabel, 24618SyntaxKind.NextLabel, 24619SyntaxKind.MidExpression, 24620SyntaxKind.CharacterLiteralExpression, 24621SyntaxKind.TrueLiteralExpression, 24622SyntaxKind.FalseLiteralExpression, 24623SyntaxKind.NumericLiteralExpression, 24624SyntaxKind.DateLiteralExpression, 24625SyntaxKind.StringLiteralExpression, 24626SyntaxKind.NothingLiteralExpression, 24627SyntaxKind.ParenthesizedExpression, 24628SyntaxKind.TupleExpression, 24629SyntaxKind.TupleType, 24630SyntaxKind.MeExpression, 24631SyntaxKind.MyBaseExpression, 24632SyntaxKind.MyClassExpression, 24633SyntaxKind.GetTypeExpression, 24634SyntaxKind.TypeOfIsExpression, 24635SyntaxKind.TypeOfIsNotExpression, 24636SyntaxKind.GetXmlNamespaceExpression, 24637SyntaxKind.SimpleMemberAccessExpression, 24638SyntaxKind.DictionaryAccessExpression, 24639SyntaxKind.XmlElementAccessExpression, 24640SyntaxKind.XmlDescendantAccessExpression, 24641SyntaxKind.XmlAttributeAccessExpression, 24642SyntaxKind.InvocationExpression, 24643SyntaxKind.ObjectCreationExpression, 24644SyntaxKind.AnonymousObjectCreationExpression, 24645SyntaxKind.ArrayCreationExpression, 24646SyntaxKind.CollectionInitializer, 24647SyntaxKind.CTypeExpression, 24648SyntaxKind.DirectCastExpression, 24649SyntaxKind.TryCastExpression, 24650SyntaxKind.PredefinedCastExpression, 24651SyntaxKind.AddExpression, 24652SyntaxKind.SubtractExpression, 24653SyntaxKind.MultiplyExpression, 24654SyntaxKind.DivideExpression, 24655SyntaxKind.IntegerDivideExpression, 24656SyntaxKind.ExponentiateExpression, 24657SyntaxKind.LeftShiftExpression, 24658SyntaxKind.RightShiftExpression, 24659SyntaxKind.ConcatenateExpression, 24660SyntaxKind.ModuloExpression, 24661SyntaxKind.EqualsExpression, 24662SyntaxKind.NotEqualsExpression, 24663SyntaxKind.LessThanExpression, 24664SyntaxKind.LessThanOrEqualExpression, 24665SyntaxKind.GreaterThanOrEqualExpression, 24666SyntaxKind.GreaterThanExpression, 24667SyntaxKind.IsExpression, 24668SyntaxKind.IsNotExpression, 24669SyntaxKind.LikeExpression, 24670SyntaxKind.OrExpression, 24671SyntaxKind.ExclusiveOrExpression, 24672SyntaxKind.AndExpression, 24673SyntaxKind.OrElseExpression, 24674SyntaxKind.AndAlsoExpression, 24675SyntaxKind.UnaryPlusExpression, 24676SyntaxKind.UnaryMinusExpression, 24677SyntaxKind.NotExpression, 24678SyntaxKind.AddressOfExpression, 24679SyntaxKind.BinaryConditionalExpression, 24680SyntaxKind.TernaryConditionalExpression, 24681SyntaxKind.SingleLineFunctionLambdaExpression, 24682SyntaxKind.SingleLineSubLambdaExpression, 24683SyntaxKind.MultiLineFunctionLambdaExpression, 24684SyntaxKind.MultiLineSubLambdaExpression, 24685SyntaxKind.QueryExpression, 24686SyntaxKind.FunctionAggregation, 24687SyntaxKind.GroupAggregation, 24688SyntaxKind.XmlDocument, 24689SyntaxKind.XmlElement, 24690SyntaxKind.XmlText, 24691SyntaxKind.XmlElementStartTag, 24692SyntaxKind.XmlElementEndTag, 24693SyntaxKind.XmlEmptyElement, 24694SyntaxKind.XmlAttribute, 24695SyntaxKind.XmlString, 24696SyntaxKind.XmlPrefixName, 24697SyntaxKind.XmlName, 24698SyntaxKind.XmlBracketedName, 24699SyntaxKind.XmlComment, 24700SyntaxKind.XmlProcessingInstruction, 24701SyntaxKind.XmlCDataSection, 24702SyntaxKind.XmlEmbeddedExpression, 24703SyntaxKind.ArrayType, 24704SyntaxKind.NullableType, 24705SyntaxKind.PredefinedType, 24706SyntaxKind.IdentifierName, 24707SyntaxKind.GenericName, 24708SyntaxKind.QualifiedName, 24709SyntaxKind.GlobalName, 24710SyntaxKind.CrefOperatorReference, 24711SyntaxKind.QualifiedCrefOperatorReference, 24712SyntaxKind.AwaitExpression, 24713SyntaxKind.XmlCrefAttribute, 24714SyntaxKind.XmlNameAttribute, 24715SyntaxKind.ConditionalAccessExpression, 24716SyntaxKind.NameOfExpression, 24717SyntaxKind.InterpolatedStringExpression 24725Case SyntaxKind.ArgumentList 24729Return New RedimClauseSyntax(SyntaxKind.RedimClause, Nothing, Nothing, expression, arrayBounds) 24744Case SyntaxKind.EraseKeyword 24748Return New EraseStatementSyntax(SyntaxKind.EraseStatement, Nothing, Nothing, DirectCast(eraseKeyword.Node, InternalSyntax.KeywordSyntax), expressions.Node) 24759Return SyntaxFactory.EraseStatement(SyntaxFactory.Token(SyntaxKind.EraseKeyword), expressions) 24770Return SyntaxFactory.EraseStatement(SyntaxFactory.Token(SyntaxKind.EraseKeyword), SyntaxFactory.SeparatedList(Of ExpressionSyntax)().AddRange(expressions)) 24794Case SyntaxKind.IntegerLiteralToken : 24795Case SyntaxKind.CharacterLiteralToken : 24796Case SyntaxKind.DecimalLiteralToken : 24797Case SyntaxKind.FloatingLiteralToken : 24798Case SyntaxKind.DateLiteralToken : 24799Case SyntaxKind.StringLiteralToken : 24800Case SyntaxKind.TrueKeyword : 24801Case SyntaxKind.FalseKeyword : 24802Case SyntaxKind.NothingKeyword 24806Return New LiteralExpressionSyntax(SyntaxKind.CharacterLiteralExpression, Nothing, Nothing, DirectCast(token.Node, InternalSyntax.SyntaxToken)) 24830Case SyntaxKind.IntegerLiteralToken : 24831Case SyntaxKind.CharacterLiteralToken : 24832Case SyntaxKind.DecimalLiteralToken : 24833Case SyntaxKind.FloatingLiteralToken : 24834Case SyntaxKind.DateLiteralToken : 24835Case SyntaxKind.StringLiteralToken : 24836Case SyntaxKind.TrueKeyword : 24837Case SyntaxKind.FalseKeyword : 24838Case SyntaxKind.NothingKeyword 24842Return New LiteralExpressionSyntax(SyntaxKind.TrueLiteralExpression, Nothing, Nothing, DirectCast(token.Node, InternalSyntax.SyntaxToken)) 24866Case SyntaxKind.IntegerLiteralToken : 24867Case SyntaxKind.CharacterLiteralToken : 24868Case SyntaxKind.DecimalLiteralToken : 24869Case SyntaxKind.FloatingLiteralToken : 24870Case SyntaxKind.DateLiteralToken : 24871Case SyntaxKind.StringLiteralToken : 24872Case SyntaxKind.TrueKeyword : 24873Case SyntaxKind.FalseKeyword : 24874Case SyntaxKind.NothingKeyword 24878Return New LiteralExpressionSyntax(SyntaxKind.FalseLiteralExpression, Nothing, Nothing, DirectCast(token.Node, InternalSyntax.SyntaxToken)) 24902Case SyntaxKind.IntegerLiteralToken : 24903Case SyntaxKind.CharacterLiteralToken : 24904Case SyntaxKind.DecimalLiteralToken : 24905Case SyntaxKind.FloatingLiteralToken : 24906Case SyntaxKind.DateLiteralToken : 24907Case SyntaxKind.StringLiteralToken : 24908Case SyntaxKind.TrueKeyword : 24909Case SyntaxKind.FalseKeyword : 24910Case SyntaxKind.NothingKeyword 24914Return New LiteralExpressionSyntax(SyntaxKind.NumericLiteralExpression, Nothing, Nothing, DirectCast(token.Node, InternalSyntax.SyntaxToken)) 24938Case SyntaxKind.IntegerLiteralToken : 24939Case SyntaxKind.CharacterLiteralToken : 24940Case SyntaxKind.DecimalLiteralToken : 24941Case SyntaxKind.FloatingLiteralToken : 24942Case SyntaxKind.DateLiteralToken : 24943Case SyntaxKind.StringLiteralToken : 24944Case SyntaxKind.TrueKeyword : 24945Case SyntaxKind.FalseKeyword : 24946Case SyntaxKind.NothingKeyword 24950Return New LiteralExpressionSyntax(SyntaxKind.DateLiteralExpression, Nothing, Nothing, DirectCast(token.Node, InternalSyntax.SyntaxToken)) 24974Case SyntaxKind.IntegerLiteralToken : 24975Case SyntaxKind.CharacterLiteralToken : 24976Case SyntaxKind.DecimalLiteralToken : 24977Case SyntaxKind.FloatingLiteralToken : 24978Case SyntaxKind.DateLiteralToken : 24979Case SyntaxKind.StringLiteralToken : 24980Case SyntaxKind.TrueKeyword : 24981Case SyntaxKind.FalseKeyword : 24982Case SyntaxKind.NothingKeyword 24986Return New LiteralExpressionSyntax(SyntaxKind.StringLiteralExpression, Nothing, Nothing, DirectCast(token.Node, InternalSyntax.SyntaxToken)) 25010Case SyntaxKind.IntegerLiteralToken : 25011Case SyntaxKind.CharacterLiteralToken : 25012Case SyntaxKind.DecimalLiteralToken : 25013Case SyntaxKind.FloatingLiteralToken : 25014Case SyntaxKind.DateLiteralToken : 25015Case SyntaxKind.StringLiteralToken : 25016Case SyntaxKind.TrueKeyword : 25017Case SyntaxKind.FalseKeyword : 25018Case SyntaxKind.NothingKeyword 25022Return New LiteralExpressionSyntax(SyntaxKind.NothingLiteralExpression, Nothing, Nothing, DirectCast(token.Node, InternalSyntax.SyntaxToken)) 25034''' A <see cref="SyntaxKind"/> representing the specific kind of 25050Public Shared Function LiteralExpression(ByVal kind As SyntaxKind, token As SyntaxToken) As LiteralExpressionSyntax 25055Case SyntaxKind.IntegerLiteralToken : 25056Case SyntaxKind.CharacterLiteralToken : 25057Case SyntaxKind.DecimalLiteralToken : 25058Case SyntaxKind.FloatingLiteralToken : 25059Case SyntaxKind.DateLiteralToken : 25060Case SyntaxKind.StringLiteralToken : 25061Case SyntaxKind.TrueKeyword : 25062Case SyntaxKind.FalseKeyword : 25063Case SyntaxKind.NothingKeyword 25085Case SyntaxKind.OpenParenToken 25093Case SyntaxKind.KeywordEventContainer, 25094SyntaxKind.WithEventsEventContainer, 25095SyntaxKind.WithEventsPropertyEventContainer, 25096SyntaxKind.IdentifierLabel, 25097SyntaxKind.NumericLabel, 25098SyntaxKind.NextLabel, 25099SyntaxKind.MidExpression, 25100SyntaxKind.CharacterLiteralExpression, 25101SyntaxKind.TrueLiteralExpression, 25102SyntaxKind.FalseLiteralExpression, 25103SyntaxKind.NumericLiteralExpression, 25104SyntaxKind.DateLiteralExpression, 25105SyntaxKind.StringLiteralExpression, 25106SyntaxKind.NothingLiteralExpression, 25107SyntaxKind.ParenthesizedExpression, 25108SyntaxKind.TupleExpression, 25109SyntaxKind.TupleType, 25110SyntaxKind.MeExpression, 25111SyntaxKind.MyBaseExpression, 25112SyntaxKind.MyClassExpression, 25113SyntaxKind.GetTypeExpression, 25114SyntaxKind.TypeOfIsExpression, 25115SyntaxKind.TypeOfIsNotExpression, 25116SyntaxKind.GetXmlNamespaceExpression, 25117SyntaxKind.SimpleMemberAccessExpression, 25118SyntaxKind.DictionaryAccessExpression, 25119SyntaxKind.XmlElementAccessExpression, 25120SyntaxKind.XmlDescendantAccessExpression, 25121SyntaxKind.XmlAttributeAccessExpression, 25122SyntaxKind.InvocationExpression, 25123SyntaxKind.ObjectCreationExpression, 25124SyntaxKind.AnonymousObjectCreationExpression, 25125SyntaxKind.ArrayCreationExpression, 25126SyntaxKind.CollectionInitializer, 25127SyntaxKind.CTypeExpression, 25128SyntaxKind.DirectCastExpression, 25129SyntaxKind.TryCastExpression, 25130SyntaxKind.PredefinedCastExpression, 25131SyntaxKind.AddExpression, 25132SyntaxKind.SubtractExpression, 25133SyntaxKind.MultiplyExpression, 25134SyntaxKind.DivideExpression, 25135SyntaxKind.IntegerDivideExpression, 25136SyntaxKind.ExponentiateExpression, 25137SyntaxKind.LeftShiftExpression, 25138SyntaxKind.RightShiftExpression, 25139SyntaxKind.ConcatenateExpression, 25140SyntaxKind.ModuloExpression, 25141SyntaxKind.EqualsExpression, 25142SyntaxKind.NotEqualsExpression, 25143SyntaxKind.LessThanExpression, 25144SyntaxKind.LessThanOrEqualExpression, 25145SyntaxKind.GreaterThanOrEqualExpression, 25146SyntaxKind.GreaterThanExpression, 25147SyntaxKind.IsExpression, 25148SyntaxKind.IsNotExpression, 25149SyntaxKind.LikeExpression, 25150SyntaxKind.OrExpression, 25151SyntaxKind.ExclusiveOrExpression, 25152SyntaxKind.AndExpression, 25153SyntaxKind.OrElseExpression, 25154SyntaxKind.AndAlsoExpression, 25155SyntaxKind.UnaryPlusExpression, 25156SyntaxKind.UnaryMinusExpression, 25157SyntaxKind.NotExpression, 25158SyntaxKind.AddressOfExpression, 25159SyntaxKind.BinaryConditionalExpression, 25160SyntaxKind.TernaryConditionalExpression, 25161SyntaxKind.SingleLineFunctionLambdaExpression, 25162SyntaxKind.SingleLineSubLambdaExpression, 25163SyntaxKind.MultiLineFunctionLambdaExpression, 25164SyntaxKind.MultiLineSubLambdaExpression, 25165SyntaxKind.QueryExpression, 25166SyntaxKind.FunctionAggregation, 25167SyntaxKind.GroupAggregation, 25168SyntaxKind.XmlDocument, 25169SyntaxKind.XmlElement, 25170SyntaxKind.XmlText, 25171SyntaxKind.XmlElementStartTag, 25172SyntaxKind.XmlElementEndTag, 25173SyntaxKind.XmlEmptyElement, 25174SyntaxKind.XmlAttribute, 25175SyntaxKind.XmlString, 25176SyntaxKind.XmlPrefixName, 25177SyntaxKind.XmlName, 25178SyntaxKind.XmlBracketedName, 25179SyntaxKind.XmlComment, 25180SyntaxKind.XmlProcessingInstruction, 25181SyntaxKind.XmlCDataSection, 25182SyntaxKind.XmlEmbeddedExpression, 25183SyntaxKind.ArrayType, 25184SyntaxKind.NullableType, 25185SyntaxKind.PredefinedType, 25186SyntaxKind.IdentifierName, 25187SyntaxKind.GenericName, 25188SyntaxKind.QualifiedName, 25189SyntaxKind.GlobalName, 25190SyntaxKind.CrefOperatorReference, 25191SyntaxKind.QualifiedCrefOperatorReference, 25192SyntaxKind.AwaitExpression, 25193SyntaxKind.XmlCrefAttribute, 25194SyntaxKind.XmlNameAttribute, 25195SyntaxKind.ConditionalAccessExpression, 25196SyntaxKind.NameOfExpression, 25197SyntaxKind.InterpolatedStringExpression 25202Case SyntaxKind.CloseParenToken 25206Return New ParenthesizedExpressionSyntax(SyntaxKind.ParenthesizedExpression, Nothing, Nothing, DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), expression, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 25217Return SyntaxFactory.ParenthesizedExpression(SyntaxFactory.Token(SyntaxKind.OpenParenToken), expression, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 25235Case SyntaxKind.OpenParenToken 25240Case SyntaxKind.CloseParenToken 25244Return New TupleExpressionSyntax(SyntaxKind.TupleExpression, Nothing, Nothing, DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), arguments.Node, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 25255Return SyntaxFactory.TupleExpression(SyntaxFactory.Token(SyntaxKind.OpenParenToken), arguments, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 25266Return SyntaxFactory.TupleExpression(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.SeparatedList(Of SimpleArgumentSyntax)().AddRange(arguments), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 25284Case SyntaxKind.OpenParenToken 25289Case SyntaxKind.CloseParenToken 25293Return New TupleTypeSyntax(SyntaxKind.TupleType, Nothing, Nothing, DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), elements.Node, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 25304Return SyntaxFactory.TupleType(SyntaxFactory.Token(SyntaxKind.OpenParenToken), elements, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 25315Return SyntaxFactory.TupleType(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.SeparatedList(Of TupleElementSyntax)().AddRange(elements), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 25330Case SyntaxKind.TupleType, 25331SyntaxKind.ArrayType, 25332SyntaxKind.NullableType, 25333SyntaxKind.PredefinedType, 25334SyntaxKind.IdentifierName, 25335SyntaxKind.GenericName, 25336SyntaxKind.QualifiedName, 25337SyntaxKind.GlobalName, 25338SyntaxKind.CrefOperatorReference, 25339SyntaxKind.QualifiedCrefOperatorReference 25343Return New TypedTupleElementSyntax(SyntaxKind.TypedTupleElement, Nothing, Nothing, type) 25359Case SyntaxKind.IdentifierToken 25363Return New NamedTupleElementSyntax(SyntaxKind.NamedTupleElement, Nothing, Nothing, DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), asClause) 25399Case SyntaxKind.MeKeyword : 25400Case SyntaxKind.MyClassKeyword : 25401Case SyntaxKind.MyBaseKeyword 25405Return New MeExpressionSyntax(SyntaxKind.MeExpression, Nothing, Nothing, DirectCast(keyword.Node, InternalSyntax.KeywordSyntax)) 25413Return SyntaxFactory.MeExpression(SyntaxFactory.Token(SyntaxKind.MeKeyword)) 25425Case SyntaxKind.MyBaseKeyword 25429Return New MyBaseExpressionSyntax(SyntaxKind.MyBaseExpression, Nothing, Nothing, DirectCast(keyword.Node, InternalSyntax.KeywordSyntax)) 25437Return SyntaxFactory.MyBaseExpression(SyntaxFactory.Token(SyntaxKind.MyBaseKeyword)) 25449Case SyntaxKind.MyClassKeyword 25453Return New MyClassExpressionSyntax(SyntaxKind.MyClassExpression, Nothing, Nothing, DirectCast(keyword.Node, InternalSyntax.KeywordSyntax)) 25461Return SyntaxFactory.MyClassExpression(SyntaxFactory.Token(SyntaxKind.MyClassKeyword)) 25482Case SyntaxKind.GetTypeKeyword 25487Case SyntaxKind.OpenParenToken 25495Case SyntaxKind.TupleType, 25496SyntaxKind.ArrayType, 25497SyntaxKind.NullableType, 25498SyntaxKind.PredefinedType, 25499SyntaxKind.IdentifierName, 25500SyntaxKind.GenericName, 25501SyntaxKind.QualifiedName, 25502SyntaxKind.GlobalName, 25503SyntaxKind.CrefOperatorReference, 25504SyntaxKind.QualifiedCrefOperatorReference 25509Case SyntaxKind.CloseParenToken 25513Return New GetTypeExpressionSyntax(SyntaxKind.GetTypeExpression, Nothing, Nothing, DirectCast(getTypeKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), type, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 25524Return SyntaxFactory.GetTypeExpression(SyntaxFactory.Token(SyntaxKind.GetTypeKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), type, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 25545Case SyntaxKind.TypeOfKeyword 25553Case SyntaxKind.KeywordEventContainer, 25554SyntaxKind.WithEventsEventContainer, 25555SyntaxKind.WithEventsPropertyEventContainer, 25556SyntaxKind.IdentifierLabel, 25557SyntaxKind.NumericLabel, 25558SyntaxKind.NextLabel, 25559SyntaxKind.MidExpression, 25560SyntaxKind.CharacterLiteralExpression, 25561SyntaxKind.TrueLiteralExpression, 25562SyntaxKind.FalseLiteralExpression, 25563SyntaxKind.NumericLiteralExpression, 25564SyntaxKind.DateLiteralExpression, 25565SyntaxKind.StringLiteralExpression, 25566SyntaxKind.NothingLiteralExpression, 25567SyntaxKind.ParenthesizedExpression, 25568SyntaxKind.TupleExpression, 25569SyntaxKind.TupleType, 25570SyntaxKind.MeExpression, 25571SyntaxKind.MyBaseExpression, 25572SyntaxKind.MyClassExpression, 25573SyntaxKind.GetTypeExpression, 25574SyntaxKind.TypeOfIsExpression, 25575SyntaxKind.TypeOfIsNotExpression, 25576SyntaxKind.GetXmlNamespaceExpression, 25577SyntaxKind.SimpleMemberAccessExpression, 25578SyntaxKind.DictionaryAccessExpression, 25579SyntaxKind.XmlElementAccessExpression, 25580SyntaxKind.XmlDescendantAccessExpression, 25581SyntaxKind.XmlAttributeAccessExpression, 25582SyntaxKind.InvocationExpression, 25583SyntaxKind.ObjectCreationExpression, 25584SyntaxKind.AnonymousObjectCreationExpression, 25585SyntaxKind.ArrayCreationExpression, 25586SyntaxKind.CollectionInitializer, 25587SyntaxKind.CTypeExpression, 25588SyntaxKind.DirectCastExpression, 25589SyntaxKind.TryCastExpression, 25590SyntaxKind.PredefinedCastExpression, 25591SyntaxKind.AddExpression, 25592SyntaxKind.SubtractExpression, 25593SyntaxKind.MultiplyExpression, 25594SyntaxKind.DivideExpression, 25595SyntaxKind.IntegerDivideExpression, 25596SyntaxKind.ExponentiateExpression, 25597SyntaxKind.LeftShiftExpression, 25598SyntaxKind.RightShiftExpression, 25599SyntaxKind.ConcatenateExpression, 25600SyntaxKind.ModuloExpression, 25601SyntaxKind.EqualsExpression, 25602SyntaxKind.NotEqualsExpression, 25603SyntaxKind.LessThanExpression, 25604SyntaxKind.LessThanOrEqualExpression, 25605SyntaxKind.GreaterThanOrEqualExpression, 25606SyntaxKind.GreaterThanExpression, 25607SyntaxKind.IsExpression, 25608SyntaxKind.IsNotExpression, 25609SyntaxKind.LikeExpression, 25610SyntaxKind.OrExpression, 25611SyntaxKind.ExclusiveOrExpression, 25612SyntaxKind.AndExpression, 25613SyntaxKind.OrElseExpression, 25614SyntaxKind.AndAlsoExpression, 25615SyntaxKind.UnaryPlusExpression, 25616SyntaxKind.UnaryMinusExpression, 25617SyntaxKind.NotExpression, 25618SyntaxKind.AddressOfExpression, 25619SyntaxKind.BinaryConditionalExpression, 25620SyntaxKind.TernaryConditionalExpression, 25621SyntaxKind.SingleLineFunctionLambdaExpression, 25622SyntaxKind.SingleLineSubLambdaExpression, 25623SyntaxKind.MultiLineFunctionLambdaExpression, 25624SyntaxKind.MultiLineSubLambdaExpression, 25625SyntaxKind.QueryExpression, 25626SyntaxKind.FunctionAggregation, 25627SyntaxKind.GroupAggregation, 25628SyntaxKind.XmlDocument, 25629SyntaxKind.XmlElement, 25630SyntaxKind.XmlText, 25631SyntaxKind.XmlElementStartTag, 25632SyntaxKind.XmlElementEndTag, 25633SyntaxKind.XmlEmptyElement, 25634SyntaxKind.XmlAttribute, 25635SyntaxKind.XmlString, 25636SyntaxKind.XmlPrefixName, 25637SyntaxKind.XmlName, 25638SyntaxKind.XmlBracketedName, 25639SyntaxKind.XmlComment, 25640SyntaxKind.XmlProcessingInstruction, 25641SyntaxKind.XmlCDataSection, 25642SyntaxKind.XmlEmbeddedExpression, 25643SyntaxKind.ArrayType, 25644SyntaxKind.NullableType, 25645SyntaxKind.PredefinedType, 25646SyntaxKind.IdentifierName, 25647SyntaxKind.GenericName, 25648SyntaxKind.QualifiedName, 25649SyntaxKind.GlobalName, 25650SyntaxKind.CrefOperatorReference, 25651SyntaxKind.QualifiedCrefOperatorReference, 25652SyntaxKind.AwaitExpression, 25653SyntaxKind.XmlCrefAttribute, 25654SyntaxKind.XmlNameAttribute, 25655SyntaxKind.ConditionalAccessExpression, 25656SyntaxKind.NameOfExpression, 25657SyntaxKind.InterpolatedStringExpression 25662Case SyntaxKind.IsKeyword : 25663Case SyntaxKind.IsNotKeyword 25671Case SyntaxKind.TupleType, 25672SyntaxKind.ArrayType, 25673SyntaxKind.NullableType, 25674SyntaxKind.PredefinedType, 25675SyntaxKind.IdentifierName, 25676SyntaxKind.GenericName, 25677SyntaxKind.QualifiedName, 25678SyntaxKind.GlobalName, 25679SyntaxKind.CrefOperatorReference, 25680SyntaxKind.QualifiedCrefOperatorReference 25684Return New TypeOfExpressionSyntax(SyntaxKind.TypeOfIsExpression, Nothing, Nothing, DirectCast(typeOfKeyword.Node, InternalSyntax.KeywordSyntax), expression, DirectCast(operatorToken.Node, InternalSyntax.KeywordSyntax), type) 25698Return SyntaxFactory.TypeOfIsExpression(SyntaxFactory.Token(SyntaxKind.TypeOfKeyword), expression, SyntaxFactory.Token(SyntaxKind.IsKeyword), type) 25719Case SyntaxKind.TypeOfKeyword 25727Case SyntaxKind.KeywordEventContainer, 25728SyntaxKind.WithEventsEventContainer, 25729SyntaxKind.WithEventsPropertyEventContainer, 25730SyntaxKind.IdentifierLabel, 25731SyntaxKind.NumericLabel, 25732SyntaxKind.NextLabel, 25733SyntaxKind.MidExpression, 25734SyntaxKind.CharacterLiteralExpression, 25735SyntaxKind.TrueLiteralExpression, 25736SyntaxKind.FalseLiteralExpression, 25737SyntaxKind.NumericLiteralExpression, 25738SyntaxKind.DateLiteralExpression, 25739SyntaxKind.StringLiteralExpression, 25740SyntaxKind.NothingLiteralExpression, 25741SyntaxKind.ParenthesizedExpression, 25742SyntaxKind.TupleExpression, 25743SyntaxKind.TupleType, 25744SyntaxKind.MeExpression, 25745SyntaxKind.MyBaseExpression, 25746SyntaxKind.MyClassExpression, 25747SyntaxKind.GetTypeExpression, 25748SyntaxKind.TypeOfIsExpression, 25749SyntaxKind.TypeOfIsNotExpression, 25750SyntaxKind.GetXmlNamespaceExpression, 25751SyntaxKind.SimpleMemberAccessExpression, 25752SyntaxKind.DictionaryAccessExpression, 25753SyntaxKind.XmlElementAccessExpression, 25754SyntaxKind.XmlDescendantAccessExpression, 25755SyntaxKind.XmlAttributeAccessExpression, 25756SyntaxKind.InvocationExpression, 25757SyntaxKind.ObjectCreationExpression, 25758SyntaxKind.AnonymousObjectCreationExpression, 25759SyntaxKind.ArrayCreationExpression, 25760SyntaxKind.CollectionInitializer, 25761SyntaxKind.CTypeExpression, 25762SyntaxKind.DirectCastExpression, 25763SyntaxKind.TryCastExpression, 25764SyntaxKind.PredefinedCastExpression, 25765SyntaxKind.AddExpression, 25766SyntaxKind.SubtractExpression, 25767SyntaxKind.MultiplyExpression, 25768SyntaxKind.DivideExpression, 25769SyntaxKind.IntegerDivideExpression, 25770SyntaxKind.ExponentiateExpression, 25771SyntaxKind.LeftShiftExpression, 25772SyntaxKind.RightShiftExpression, 25773SyntaxKind.ConcatenateExpression, 25774SyntaxKind.ModuloExpression, 25775SyntaxKind.EqualsExpression, 25776SyntaxKind.NotEqualsExpression, 25777SyntaxKind.LessThanExpression, 25778SyntaxKind.LessThanOrEqualExpression, 25779SyntaxKind.GreaterThanOrEqualExpression, 25780SyntaxKind.GreaterThanExpression, 25781SyntaxKind.IsExpression, 25782SyntaxKind.IsNotExpression, 25783SyntaxKind.LikeExpression, 25784SyntaxKind.OrExpression, 25785SyntaxKind.ExclusiveOrExpression, 25786SyntaxKind.AndExpression, 25787SyntaxKind.OrElseExpression, 25788SyntaxKind.AndAlsoExpression, 25789SyntaxKind.UnaryPlusExpression, 25790SyntaxKind.UnaryMinusExpression, 25791SyntaxKind.NotExpression, 25792SyntaxKind.AddressOfExpression, 25793SyntaxKind.BinaryConditionalExpression, 25794SyntaxKind.TernaryConditionalExpression, 25795SyntaxKind.SingleLineFunctionLambdaExpression, 25796SyntaxKind.SingleLineSubLambdaExpression, 25797SyntaxKind.MultiLineFunctionLambdaExpression, 25798SyntaxKind.MultiLineSubLambdaExpression, 25799SyntaxKind.QueryExpression, 25800SyntaxKind.FunctionAggregation, 25801SyntaxKind.GroupAggregation, 25802SyntaxKind.XmlDocument, 25803SyntaxKind.XmlElement, 25804SyntaxKind.XmlText, 25805SyntaxKind.XmlElementStartTag, 25806SyntaxKind.XmlElementEndTag, 25807SyntaxKind.XmlEmptyElement, 25808SyntaxKind.XmlAttribute, 25809SyntaxKind.XmlString, 25810SyntaxKind.XmlPrefixName, 25811SyntaxKind.XmlName, 25812SyntaxKind.XmlBracketedName, 25813SyntaxKind.XmlComment, 25814SyntaxKind.XmlProcessingInstruction, 25815SyntaxKind.XmlCDataSection, 25816SyntaxKind.XmlEmbeddedExpression, 25817SyntaxKind.ArrayType, 25818SyntaxKind.NullableType, 25819SyntaxKind.PredefinedType, 25820SyntaxKind.IdentifierName, 25821SyntaxKind.GenericName, 25822SyntaxKind.QualifiedName, 25823SyntaxKind.GlobalName, 25824SyntaxKind.CrefOperatorReference, 25825SyntaxKind.QualifiedCrefOperatorReference, 25826SyntaxKind.AwaitExpression, 25827SyntaxKind.XmlCrefAttribute, 25828SyntaxKind.XmlNameAttribute, 25829SyntaxKind.ConditionalAccessExpression, 25830SyntaxKind.NameOfExpression, 25831SyntaxKind.InterpolatedStringExpression 25836Case SyntaxKind.IsNotKeyword 25844Case SyntaxKind.TupleType, 25845SyntaxKind.ArrayType, 25846SyntaxKind.NullableType, 25847SyntaxKind.PredefinedType, 25848SyntaxKind.IdentifierName, 25849SyntaxKind.GenericName, 25850SyntaxKind.QualifiedName, 25851SyntaxKind.GlobalName, 25852SyntaxKind.CrefOperatorReference, 25853SyntaxKind.QualifiedCrefOperatorReference 25857Return New TypeOfExpressionSyntax(SyntaxKind.TypeOfIsNotExpression, Nothing, Nothing, DirectCast(typeOfKeyword.Node, InternalSyntax.KeywordSyntax), expression, DirectCast(operatorToken.Node, InternalSyntax.KeywordSyntax), type) 25871Return SyntaxFactory.TypeOfIsNotExpression(SyntaxFactory.Token(SyntaxKind.TypeOfKeyword), expression, SyntaxFactory.Token(SyntaxKind.IsNotKeyword), type) 25879''' A <see cref="SyntaxKind"/> representing the specific kind of 25894Public Shared Function TypeOfExpression(ByVal kind As SyntaxKind, typeOfKeyword As SyntaxToken, expression As ExpressionSyntax, operatorToken As SyntaxToken, type As TypeSyntax) As TypeOfExpressionSyntax 25899Case SyntaxKind.TypeOfKeyword 25907Case SyntaxKind.KeywordEventContainer, 25908SyntaxKind.WithEventsEventContainer, 25909SyntaxKind.WithEventsPropertyEventContainer, 25910SyntaxKind.IdentifierLabel, 25911SyntaxKind.NumericLabel, 25912SyntaxKind.NextLabel, 25913SyntaxKind.MidExpression, 25914SyntaxKind.CharacterLiteralExpression, 25915SyntaxKind.TrueLiteralExpression, 25916SyntaxKind.FalseLiteralExpression, 25917SyntaxKind.NumericLiteralExpression, 25918SyntaxKind.DateLiteralExpression, 25919SyntaxKind.StringLiteralExpression, 25920SyntaxKind.NothingLiteralExpression, 25921SyntaxKind.ParenthesizedExpression, 25922SyntaxKind.TupleExpression, 25923SyntaxKind.TupleType, 25924SyntaxKind.MeExpression, 25925SyntaxKind.MyBaseExpression, 25926SyntaxKind.MyClassExpression, 25927SyntaxKind.GetTypeExpression, 25928SyntaxKind.TypeOfIsExpression, 25929SyntaxKind.TypeOfIsNotExpression, 25930SyntaxKind.GetXmlNamespaceExpression, 25931SyntaxKind.SimpleMemberAccessExpression, 25932SyntaxKind.DictionaryAccessExpression, 25933SyntaxKind.XmlElementAccessExpression, 25934SyntaxKind.XmlDescendantAccessExpression, 25935SyntaxKind.XmlAttributeAccessExpression, 25936SyntaxKind.InvocationExpression, 25937SyntaxKind.ObjectCreationExpression, 25938SyntaxKind.AnonymousObjectCreationExpression, 25939SyntaxKind.ArrayCreationExpression, 25940SyntaxKind.CollectionInitializer, 25941SyntaxKind.CTypeExpression, 25942SyntaxKind.DirectCastExpression, 25943SyntaxKind.TryCastExpression, 25944SyntaxKind.PredefinedCastExpression, 25945SyntaxKind.AddExpression, 25946SyntaxKind.SubtractExpression, 25947SyntaxKind.MultiplyExpression, 25948SyntaxKind.DivideExpression, 25949SyntaxKind.IntegerDivideExpression, 25950SyntaxKind.ExponentiateExpression, 25951SyntaxKind.LeftShiftExpression, 25952SyntaxKind.RightShiftExpression, 25953SyntaxKind.ConcatenateExpression, 25954SyntaxKind.ModuloExpression, 25955SyntaxKind.EqualsExpression, 25956SyntaxKind.NotEqualsExpression, 25957SyntaxKind.LessThanExpression, 25958SyntaxKind.LessThanOrEqualExpression, 25959SyntaxKind.GreaterThanOrEqualExpression, 25960SyntaxKind.GreaterThanExpression, 25961SyntaxKind.IsExpression, 25962SyntaxKind.IsNotExpression, 25963SyntaxKind.LikeExpression, 25964SyntaxKind.OrExpression, 25965SyntaxKind.ExclusiveOrExpression, 25966SyntaxKind.AndExpression, 25967SyntaxKind.OrElseExpression, 25968SyntaxKind.AndAlsoExpression, 25969SyntaxKind.UnaryPlusExpression, 25970SyntaxKind.UnaryMinusExpression, 25971SyntaxKind.NotExpression, 25972SyntaxKind.AddressOfExpression, 25973SyntaxKind.BinaryConditionalExpression, 25974SyntaxKind.TernaryConditionalExpression, 25975SyntaxKind.SingleLineFunctionLambdaExpression, 25976SyntaxKind.SingleLineSubLambdaExpression, 25977SyntaxKind.MultiLineFunctionLambdaExpression, 25978SyntaxKind.MultiLineSubLambdaExpression, 25979SyntaxKind.QueryExpression, 25980SyntaxKind.FunctionAggregation, 25981SyntaxKind.GroupAggregation, 25982SyntaxKind.XmlDocument, 25983SyntaxKind.XmlElement, 25984SyntaxKind.XmlText, 25985SyntaxKind.XmlElementStartTag, 25986SyntaxKind.XmlElementEndTag, 25987SyntaxKind.XmlEmptyElement, 25988SyntaxKind.XmlAttribute, 25989SyntaxKind.XmlString, 25990SyntaxKind.XmlPrefixName, 25991SyntaxKind.XmlName, 25992SyntaxKind.XmlBracketedName, 25993SyntaxKind.XmlComment, 25994SyntaxKind.XmlProcessingInstruction, 25995SyntaxKind.XmlCDataSection, 25996SyntaxKind.XmlEmbeddedExpression, 25997SyntaxKind.ArrayType, 25998SyntaxKind.NullableType, 25999SyntaxKind.PredefinedType, 26000SyntaxKind.IdentifierName, 26001SyntaxKind.GenericName, 26002SyntaxKind.QualifiedName, 26003SyntaxKind.GlobalName, 26004SyntaxKind.CrefOperatorReference, 26005SyntaxKind.QualifiedCrefOperatorReference, 26006SyntaxKind.AwaitExpression, 26007SyntaxKind.XmlCrefAttribute, 26008SyntaxKind.XmlNameAttribute, 26009SyntaxKind.ConditionalAccessExpression, 26010SyntaxKind.NameOfExpression, 26011SyntaxKind.InterpolatedStringExpression 26022Case SyntaxKind.TupleType, 26023SyntaxKind.ArrayType, 26024SyntaxKind.NullableType, 26025SyntaxKind.PredefinedType, 26026SyntaxKind.IdentifierName, 26027SyntaxKind.GenericName, 26028SyntaxKind.QualifiedName, 26029SyntaxKind.GlobalName, 26030SyntaxKind.CrefOperatorReference, 26031SyntaxKind.QualifiedCrefOperatorReference 26038Private Shared Function GetTypeOfExpressionOperatorTokenKind(kind As SyntaxKind) As SyntaxKind 26040Case SyntaxKind.TypeOfIsExpression 26041Return SyntaxKind.IsKeyword 26042Case SyntaxKind.TypeOfIsNotExpression 26043Return SyntaxKind.IsNotKeyword 26053''' A <see cref="SyntaxKind"/> representing the specific kind of 26065Public Shared Function TypeOfExpression(ByVal kind As SyntaxKind, expression As ExpressionSyntax, operatorToken As SyntaxToken, type As TypeSyntax) As TypeOfExpressionSyntax 26066Return SyntaxFactory.TypeOfExpression(kind, SyntaxFactory.Token(SyntaxKind.TypeOfKeyword), expression, operatorToken, type) 26087Case SyntaxKind.GetXmlNamespaceKeyword 26092Case SyntaxKind.OpenParenToken 26097Case SyntaxKind.CloseParenToken 26101Return New GetXmlNamespaceExpressionSyntax(SyntaxKind.GetXmlNamespaceExpression, Nothing, Nothing, DirectCast(getXmlNamespaceKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), name, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 26109Return SyntaxFactory.GetXmlNamespaceExpression(SyntaxFactory.Token(SyntaxKind.GetXmlNamespaceKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), Nothing, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 26128Case SyntaxKind.DotToken : 26129Case SyntaxKind.ExclamationToken 26137Case SyntaxKind.IdentifierName, 26138SyntaxKind.GenericName 26142Return New MemberAccessExpressionSyntax(SyntaxKind.SimpleMemberAccessExpression, Nothing, Nothing, expression, DirectCast(operatorToken.Node, InternalSyntax.PunctuationSyntax), name) 26157Return SyntaxFactory.SimpleMemberAccessExpression(expression, SyntaxFactory.Token(SyntaxKind.DotToken), name) 26169Return SyntaxFactory.SimpleMemberAccessExpression(Nothing, SyntaxFactory.Token(SyntaxKind.DotToken), name) 26188Case SyntaxKind.ExclamationToken 26196Case SyntaxKind.IdentifierName, 26197SyntaxKind.GenericName 26201Return New MemberAccessExpressionSyntax(SyntaxKind.DictionaryAccessExpression, Nothing, Nothing, expression, DirectCast(operatorToken.Node, InternalSyntax.PunctuationSyntax), name) 26216Return SyntaxFactory.DictionaryAccessExpression(expression, SyntaxFactory.Token(SyntaxKind.ExclamationToken), name) 26228Return SyntaxFactory.DictionaryAccessExpression(Nothing, SyntaxFactory.Token(SyntaxKind.ExclamationToken), name) 26237''' A <see cref="SyntaxKind"/> representing the specific kind of 26250Public Shared Function MemberAccessExpression(ByVal kind As SyntaxKind, expression As ExpressionSyntax, operatorToken As SyntaxToken, name As SimpleNameSyntax) As MemberAccessExpressionSyntax 26261Case SyntaxKind.IdentifierName, 26262SyntaxKind.GenericName 26269Private Shared Function GetMemberAccessExpressionOperatorTokenKind(kind As SyntaxKind) As SyntaxKind 26271Case SyntaxKind.SimpleMemberAccessExpression 26272Return SyntaxKind.DotToken 26273Case SyntaxKind.DictionaryAccessExpression 26274Return SyntaxKind.ExclamationToken 26285''' A <see cref="SyntaxKind"/> representing the specific kind of 26295Public Shared Function MemberAccessExpression(ByVal kind As SyntaxKind, operatorToken As SyntaxToken, name As SimpleNameSyntax) As MemberAccessExpressionSyntax 26322Case SyntaxKind.DotToken 26330Case SyntaxKind.XmlName, 26331SyntaxKind.XmlBracketedName 26335Return New XmlMemberAccessExpressionSyntax(SyntaxKind.XmlElementAccessExpression, Nothing, Nothing, base, DirectCast(token1.Node, InternalSyntax.PunctuationSyntax), DirectCast(token2.Node, InternalSyntax.PunctuationSyntax), DirectCast(token3.Node, InternalSyntax.PunctuationSyntax), name) 26354Return SyntaxFactory.XmlElementAccessExpression(base, SyntaxFactory.Token(SyntaxKind.DotToken), token2, Nothing, name) 26367Return SyntaxFactory.XmlElementAccessExpression(Nothing, SyntaxFactory.Token(SyntaxKind.DotToken), Nothing, Nothing, name) 26393Case SyntaxKind.DotToken 26401Case SyntaxKind.XmlName, 26402SyntaxKind.XmlBracketedName 26406Return New XmlMemberAccessExpressionSyntax(SyntaxKind.XmlDescendantAccessExpression, Nothing, Nothing, base, DirectCast(token1.Node, InternalSyntax.PunctuationSyntax), DirectCast(token2.Node, InternalSyntax.PunctuationSyntax), DirectCast(token3.Node, InternalSyntax.PunctuationSyntax), name) 26425Return SyntaxFactory.XmlDescendantAccessExpression(base, SyntaxFactory.Token(SyntaxKind.DotToken), token2, Nothing, name) 26438Return SyntaxFactory.XmlDescendantAccessExpression(Nothing, SyntaxFactory.Token(SyntaxKind.DotToken), Nothing, Nothing, name) 26464Case SyntaxKind.DotToken 26472Case SyntaxKind.XmlName, 26473SyntaxKind.XmlBracketedName 26477Return New XmlMemberAccessExpressionSyntax(SyntaxKind.XmlAttributeAccessExpression, Nothing, Nothing, base, DirectCast(token1.Node, InternalSyntax.PunctuationSyntax), DirectCast(token2.Node, InternalSyntax.PunctuationSyntax), DirectCast(token3.Node, InternalSyntax.PunctuationSyntax), name) 26496Return SyntaxFactory.XmlAttributeAccessExpression(base, SyntaxFactory.Token(SyntaxKind.DotToken), token2, Nothing, name) 26509Return SyntaxFactory.XmlAttributeAccessExpression(Nothing, SyntaxFactory.Token(SyntaxKind.DotToken), Nothing, Nothing, name) 26519''' A <see cref="SyntaxKind"/> representing the specific kind of 26538Public Shared Function XmlMemberAccessExpression(ByVal kind As SyntaxKind, base As ExpressionSyntax, token1 As SyntaxToken, token2 As SyntaxToken, token3 As SyntaxToken, name As XmlNodeSyntax) As XmlMemberAccessExpressionSyntax 26543Case SyntaxKind.DotToken 26551Case SyntaxKind.XmlName, 26552SyntaxKind.XmlBracketedName 26566''' A <see cref="SyntaxKind"/> representing the specific kind of 26579Public Shared Function XmlMemberAccessExpression(ByVal kind As SyntaxKind, base As ExpressionSyntax, token2 As SyntaxToken, name As XmlNodeSyntax) As XmlMemberAccessExpressionSyntax 26580Return SyntaxFactory.XmlMemberAccessExpression(kind, base, SyntaxFactory.Token(SyntaxKind.DotToken), token2, Nothing, name) 26590''' A <see cref="SyntaxKind"/> representing the specific kind of 26597Public Shared Function XmlMemberAccessExpression(ByVal kind As SyntaxKind, name As XmlNodeSyntax) As XmlMemberAccessExpressionSyntax 26598Return SyntaxFactory.XmlMemberAccessExpression(kind, Nothing, SyntaxFactory.Token(SyntaxKind.DotToken), Nothing, Nothing, name) 26614Return New InvocationExpressionSyntax(SyntaxKind.InvocationExpression, Nothing, Nothing, expression, argumentList) 26651Case SyntaxKind.NewKeyword 26659Case SyntaxKind.PredefinedType, 26660SyntaxKind.NullableType, 26661SyntaxKind.IdentifierName, 26662SyntaxKind.GenericName, 26663SyntaxKind.QualifiedName, 26664SyntaxKind.GlobalName, 26665SyntaxKind.CrefOperatorReference, 26666SyntaxKind.QualifiedCrefOperatorReference, 26667SyntaxKind.TupleType 26671Return New ObjectCreationExpressionSyntax(SyntaxKind.ObjectCreationExpression, Nothing, Nothing, DirectCast(newKeyword.Node, InternalSyntax.KeywordSyntax), attributeLists.Node, type, argumentList, initializer) 26694Return SyntaxFactory.ObjectCreationExpression(SyntaxFactory.Token(SyntaxKind.NewKeyword), attributeLists, type, argumentList, initializer) 26706Return SyntaxFactory.ObjectCreationExpression(SyntaxFactory.Token(SyntaxKind.NewKeyword), Nothing, type, Nothing, Nothing) 26725Case SyntaxKind.NewKeyword 26733Case SyntaxKind.ObjectMemberInitializer 26737Return New AnonymousObjectCreationExpressionSyntax(SyntaxKind.AnonymousObjectCreationExpression, Nothing, Nothing, DirectCast(newKeyword.Node, InternalSyntax.KeywordSyntax), attributeLists.Node, initializer) 26752Return SyntaxFactory.AnonymousObjectCreationExpression(SyntaxFactory.Token(SyntaxKind.NewKeyword), attributeLists, initializer) 26763Return SyntaxFactory.AnonymousObjectCreationExpression(SyntaxFactory.Token(SyntaxKind.NewKeyword), Nothing, initializer) 26792Case SyntaxKind.NewKeyword 26800Case SyntaxKind.PredefinedType, 26801SyntaxKind.NullableType, 26802SyntaxKind.IdentifierName, 26803SyntaxKind.GenericName, 26804SyntaxKind.QualifiedName, 26805SyntaxKind.GlobalName, 26806SyntaxKind.CrefOperatorReference, 26807SyntaxKind.QualifiedCrefOperatorReference, 26808SyntaxKind.TupleType 26816Case SyntaxKind.CollectionInitializer 26820Return New ArrayCreationExpressionSyntax(SyntaxKind.ArrayCreationExpression, Nothing, Nothing, DirectCast(newKeyword.Node, InternalSyntax.KeywordSyntax), attributeLists.Node, type, arrayBounds, rankSpecifiers.Node, initializer) 26841Return SyntaxFactory.ArrayCreationExpression(SyntaxFactory.Token(SyntaxKind.NewKeyword), attributeLists, type, arrayBounds, Nothing, initializer) 26855Return SyntaxFactory.ArrayCreationExpression(SyntaxFactory.Token(SyntaxKind.NewKeyword), Nothing, type, Nothing, Nothing, initializer) 26874Case SyntaxKind.OpenBraceToken 26879Case SyntaxKind.CloseBraceToken 26883Return New CollectionInitializerSyntax(SyntaxKind.CollectionInitializer, Nothing, Nothing, DirectCast(openBraceToken.Node, InternalSyntax.PunctuationSyntax), initializers.Node, DirectCast(closeBraceToken.Node, InternalSyntax.PunctuationSyntax)) 26895Return SyntaxFactory.CollectionInitializer(SyntaxFactory.Token(SyntaxKind.OpenBraceToken), initializers, SyntaxFactory.Token(SyntaxKind.CloseBraceToken)) 26904Return SyntaxFactory.CollectionInitializer(SyntaxFactory.Token(SyntaxKind.OpenBraceToken), Nothing, SyntaxFactory.Token(SyntaxKind.CloseBraceToken)) 26928Case SyntaxKind.CTypeKeyword : 26929Case SyntaxKind.DirectCastKeyword : 26930Case SyntaxKind.TryCastKeyword 26935Case SyntaxKind.OpenParenToken 26943Case SyntaxKind.KeywordEventContainer, 26944SyntaxKind.WithEventsEventContainer, 26945SyntaxKind.WithEventsPropertyEventContainer, 26946SyntaxKind.IdentifierLabel, 26947SyntaxKind.NumericLabel, 26948SyntaxKind.NextLabel, 26949SyntaxKind.MidExpression, 26950SyntaxKind.CharacterLiteralExpression, 26951SyntaxKind.TrueLiteralExpression, 26952SyntaxKind.FalseLiteralExpression, 26953SyntaxKind.NumericLiteralExpression, 26954SyntaxKind.DateLiteralExpression, 26955SyntaxKind.StringLiteralExpression, 26956SyntaxKind.NothingLiteralExpression, 26957SyntaxKind.ParenthesizedExpression, 26958SyntaxKind.TupleExpression, 26959SyntaxKind.TupleType, 26960SyntaxKind.MeExpression, 26961SyntaxKind.MyBaseExpression, 26962SyntaxKind.MyClassExpression, 26963SyntaxKind.GetTypeExpression, 26964SyntaxKind.TypeOfIsExpression, 26965SyntaxKind.TypeOfIsNotExpression, 26966SyntaxKind.GetXmlNamespaceExpression, 26967SyntaxKind.SimpleMemberAccessExpression, 26968SyntaxKind.DictionaryAccessExpression, 26969SyntaxKind.XmlElementAccessExpression, 26970SyntaxKind.XmlDescendantAccessExpression, 26971SyntaxKind.XmlAttributeAccessExpression, 26972SyntaxKind.InvocationExpression, 26973SyntaxKind.ObjectCreationExpression, 26974SyntaxKind.AnonymousObjectCreationExpression, 26975SyntaxKind.ArrayCreationExpression, 26976SyntaxKind.CollectionInitializer, 26977SyntaxKind.CTypeExpression, 26978SyntaxKind.DirectCastExpression, 26979SyntaxKind.TryCastExpression, 26980SyntaxKind.PredefinedCastExpression, 26981SyntaxKind.AddExpression, 26982SyntaxKind.SubtractExpression, 26983SyntaxKind.MultiplyExpression, 26984SyntaxKind.DivideExpression, 26985SyntaxKind.IntegerDivideExpression, 26986SyntaxKind.ExponentiateExpression, 26987SyntaxKind.LeftShiftExpression, 26988SyntaxKind.RightShiftExpression, 26989SyntaxKind.ConcatenateExpression, 26990SyntaxKind.ModuloExpression, 26991SyntaxKind.EqualsExpression, 26992SyntaxKind.NotEqualsExpression, 26993SyntaxKind.LessThanExpression, 26994SyntaxKind.LessThanOrEqualExpression, 26995SyntaxKind.GreaterThanOrEqualExpression, 26996SyntaxKind.GreaterThanExpression, 26997SyntaxKind.IsExpression, 26998SyntaxKind.IsNotExpression, 26999SyntaxKind.LikeExpression, 27000SyntaxKind.OrExpression, 27001SyntaxKind.ExclusiveOrExpression, 27002SyntaxKind.AndExpression, 27003SyntaxKind.OrElseExpression, 27004SyntaxKind.AndAlsoExpression, 27005SyntaxKind.UnaryPlusExpression, 27006SyntaxKind.UnaryMinusExpression, 27007SyntaxKind.NotExpression, 27008SyntaxKind.AddressOfExpression, 27009SyntaxKind.BinaryConditionalExpression, 27010SyntaxKind.TernaryConditionalExpression, 27011SyntaxKind.SingleLineFunctionLambdaExpression, 27012SyntaxKind.SingleLineSubLambdaExpression, 27013SyntaxKind.MultiLineFunctionLambdaExpression, 27014SyntaxKind.MultiLineSubLambdaExpression, 27015SyntaxKind.QueryExpression, 27016SyntaxKind.FunctionAggregation, 27017SyntaxKind.GroupAggregation, 27018SyntaxKind.XmlDocument, 27019SyntaxKind.XmlElement, 27020SyntaxKind.XmlText, 27021SyntaxKind.XmlElementStartTag, 27022SyntaxKind.XmlElementEndTag, 27023SyntaxKind.XmlEmptyElement, 27024SyntaxKind.XmlAttribute, 27025SyntaxKind.XmlString, 27026SyntaxKind.XmlPrefixName, 27027SyntaxKind.XmlName, 27028SyntaxKind.XmlBracketedName, 27029SyntaxKind.XmlComment, 27030SyntaxKind.XmlProcessingInstruction, 27031SyntaxKind.XmlCDataSection, 27032SyntaxKind.XmlEmbeddedExpression, 27033SyntaxKind.ArrayType, 27034SyntaxKind.NullableType, 27035SyntaxKind.PredefinedType, 27036SyntaxKind.IdentifierName, 27037SyntaxKind.GenericName, 27038SyntaxKind.QualifiedName, 27039SyntaxKind.GlobalName, 27040SyntaxKind.CrefOperatorReference, 27041SyntaxKind.QualifiedCrefOperatorReference, 27042SyntaxKind.AwaitExpression, 27043SyntaxKind.XmlCrefAttribute, 27044SyntaxKind.XmlNameAttribute, 27045SyntaxKind.ConditionalAccessExpression, 27046SyntaxKind.NameOfExpression, 27047SyntaxKind.InterpolatedStringExpression 27052Case SyntaxKind.CommaToken 27060Case SyntaxKind.TupleType, 27061SyntaxKind.ArrayType, 27062SyntaxKind.NullableType, 27063SyntaxKind.PredefinedType, 27064SyntaxKind.IdentifierName, 27065SyntaxKind.GenericName, 27066SyntaxKind.QualifiedName, 27067SyntaxKind.GlobalName, 27068SyntaxKind.CrefOperatorReference, 27069SyntaxKind.QualifiedCrefOperatorReference 27074Case SyntaxKind.CloseParenToken 27078Return New CTypeExpressionSyntax(SyntaxKind.CTypeExpression, Nothing, Nothing, DirectCast(keyword.Node, InternalSyntax.KeywordSyntax), DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), expression, DirectCast(commaToken.Node, InternalSyntax.PunctuationSyntax), type, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 27089Return SyntaxFactory.CTypeExpression(SyntaxFactory.Token(SyntaxKind.CTypeKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), expression, SyntaxFactory.Token(SyntaxKind.CommaToken), type, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 27113Case SyntaxKind.DirectCastKeyword 27118Case SyntaxKind.OpenParenToken 27126Case SyntaxKind.KeywordEventContainer, 27127SyntaxKind.WithEventsEventContainer, 27128SyntaxKind.WithEventsPropertyEventContainer, 27129SyntaxKind.IdentifierLabel, 27130SyntaxKind.NumericLabel, 27131SyntaxKind.NextLabel, 27132SyntaxKind.MidExpression, 27133SyntaxKind.CharacterLiteralExpression, 27134SyntaxKind.TrueLiteralExpression, 27135SyntaxKind.FalseLiteralExpression, 27136SyntaxKind.NumericLiteralExpression, 27137SyntaxKind.DateLiteralExpression, 27138SyntaxKind.StringLiteralExpression, 27139SyntaxKind.NothingLiteralExpression, 27140SyntaxKind.ParenthesizedExpression, 27141SyntaxKind.TupleExpression, 27142SyntaxKind.TupleType, 27143SyntaxKind.MeExpression, 27144SyntaxKind.MyBaseExpression, 27145SyntaxKind.MyClassExpression, 27146SyntaxKind.GetTypeExpression, 27147SyntaxKind.TypeOfIsExpression, 27148SyntaxKind.TypeOfIsNotExpression, 27149SyntaxKind.GetXmlNamespaceExpression, 27150SyntaxKind.SimpleMemberAccessExpression, 27151SyntaxKind.DictionaryAccessExpression, 27152SyntaxKind.XmlElementAccessExpression, 27153SyntaxKind.XmlDescendantAccessExpression, 27154SyntaxKind.XmlAttributeAccessExpression, 27155SyntaxKind.InvocationExpression, 27156SyntaxKind.ObjectCreationExpression, 27157SyntaxKind.AnonymousObjectCreationExpression, 27158SyntaxKind.ArrayCreationExpression, 27159SyntaxKind.CollectionInitializer, 27160SyntaxKind.CTypeExpression, 27161SyntaxKind.DirectCastExpression, 27162SyntaxKind.TryCastExpression, 27163SyntaxKind.PredefinedCastExpression, 27164SyntaxKind.AddExpression, 27165SyntaxKind.SubtractExpression, 27166SyntaxKind.MultiplyExpression, 27167SyntaxKind.DivideExpression, 27168SyntaxKind.IntegerDivideExpression, 27169SyntaxKind.ExponentiateExpression, 27170SyntaxKind.LeftShiftExpression, 27171SyntaxKind.RightShiftExpression, 27172SyntaxKind.ConcatenateExpression, 27173SyntaxKind.ModuloExpression, 27174SyntaxKind.EqualsExpression, 27175SyntaxKind.NotEqualsExpression, 27176SyntaxKind.LessThanExpression, 27177SyntaxKind.LessThanOrEqualExpression, 27178SyntaxKind.GreaterThanOrEqualExpression, 27179SyntaxKind.GreaterThanExpression, 27180SyntaxKind.IsExpression, 27181SyntaxKind.IsNotExpression, 27182SyntaxKind.LikeExpression, 27183SyntaxKind.OrExpression, 27184SyntaxKind.ExclusiveOrExpression, 27185SyntaxKind.AndExpression, 27186SyntaxKind.OrElseExpression, 27187SyntaxKind.AndAlsoExpression, 27188SyntaxKind.UnaryPlusExpression, 27189SyntaxKind.UnaryMinusExpression, 27190SyntaxKind.NotExpression, 27191SyntaxKind.AddressOfExpression, 27192SyntaxKind.BinaryConditionalExpression, 27193SyntaxKind.TernaryConditionalExpression, 27194SyntaxKind.SingleLineFunctionLambdaExpression, 27195SyntaxKind.SingleLineSubLambdaExpression, 27196SyntaxKind.MultiLineFunctionLambdaExpression, 27197SyntaxKind.MultiLineSubLambdaExpression, 27198SyntaxKind.QueryExpression, 27199SyntaxKind.FunctionAggregation, 27200SyntaxKind.GroupAggregation, 27201SyntaxKind.XmlDocument, 27202SyntaxKind.XmlElement, 27203SyntaxKind.XmlText, 27204SyntaxKind.XmlElementStartTag, 27205SyntaxKind.XmlElementEndTag, 27206SyntaxKind.XmlEmptyElement, 27207SyntaxKind.XmlAttribute, 27208SyntaxKind.XmlString, 27209SyntaxKind.XmlPrefixName, 27210SyntaxKind.XmlName, 27211SyntaxKind.XmlBracketedName, 27212SyntaxKind.XmlComment, 27213SyntaxKind.XmlProcessingInstruction, 27214SyntaxKind.XmlCDataSection, 27215SyntaxKind.XmlEmbeddedExpression, 27216SyntaxKind.ArrayType, 27217SyntaxKind.NullableType, 27218SyntaxKind.PredefinedType, 27219SyntaxKind.IdentifierName, 27220SyntaxKind.GenericName, 27221SyntaxKind.QualifiedName, 27222SyntaxKind.GlobalName, 27223SyntaxKind.CrefOperatorReference, 27224SyntaxKind.QualifiedCrefOperatorReference, 27225SyntaxKind.AwaitExpression, 27226SyntaxKind.XmlCrefAttribute, 27227SyntaxKind.XmlNameAttribute, 27228SyntaxKind.ConditionalAccessExpression, 27229SyntaxKind.NameOfExpression, 27230SyntaxKind.InterpolatedStringExpression 27235Case SyntaxKind.CommaToken 27243Case SyntaxKind.TupleType, 27244SyntaxKind.ArrayType, 27245SyntaxKind.NullableType, 27246SyntaxKind.PredefinedType, 27247SyntaxKind.IdentifierName, 27248SyntaxKind.GenericName, 27249SyntaxKind.QualifiedName, 27250SyntaxKind.GlobalName, 27251SyntaxKind.CrefOperatorReference, 27252SyntaxKind.QualifiedCrefOperatorReference 27257Case SyntaxKind.CloseParenToken 27261Return New DirectCastExpressionSyntax(SyntaxKind.DirectCastExpression, Nothing, Nothing, DirectCast(keyword.Node, InternalSyntax.KeywordSyntax), DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), expression, DirectCast(commaToken.Node, InternalSyntax.PunctuationSyntax), type, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 27272Return SyntaxFactory.DirectCastExpression(SyntaxFactory.Token(SyntaxKind.DirectCastKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), expression, SyntaxFactory.Token(SyntaxKind.CommaToken), type, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 27296Case SyntaxKind.TryCastKeyword 27301Case SyntaxKind.OpenParenToken 27309Case SyntaxKind.KeywordEventContainer, 27310SyntaxKind.WithEventsEventContainer, 27311SyntaxKind.WithEventsPropertyEventContainer, 27312SyntaxKind.IdentifierLabel, 27313SyntaxKind.NumericLabel, 27314SyntaxKind.NextLabel, 27315SyntaxKind.MidExpression, 27316SyntaxKind.CharacterLiteralExpression, 27317SyntaxKind.TrueLiteralExpression, 27318SyntaxKind.FalseLiteralExpression, 27319SyntaxKind.NumericLiteralExpression, 27320SyntaxKind.DateLiteralExpression, 27321SyntaxKind.StringLiteralExpression, 27322SyntaxKind.NothingLiteralExpression, 27323SyntaxKind.ParenthesizedExpression, 27324SyntaxKind.TupleExpression, 27325SyntaxKind.TupleType, 27326SyntaxKind.MeExpression, 27327SyntaxKind.MyBaseExpression, 27328SyntaxKind.MyClassExpression, 27329SyntaxKind.GetTypeExpression, 27330SyntaxKind.TypeOfIsExpression, 27331SyntaxKind.TypeOfIsNotExpression, 27332SyntaxKind.GetXmlNamespaceExpression, 27333SyntaxKind.SimpleMemberAccessExpression, 27334SyntaxKind.DictionaryAccessExpression, 27335SyntaxKind.XmlElementAccessExpression, 27336SyntaxKind.XmlDescendantAccessExpression, 27337SyntaxKind.XmlAttributeAccessExpression, 27338SyntaxKind.InvocationExpression, 27339SyntaxKind.ObjectCreationExpression, 27340SyntaxKind.AnonymousObjectCreationExpression, 27341SyntaxKind.ArrayCreationExpression, 27342SyntaxKind.CollectionInitializer, 27343SyntaxKind.CTypeExpression, 27344SyntaxKind.DirectCastExpression, 27345SyntaxKind.TryCastExpression, 27346SyntaxKind.PredefinedCastExpression, 27347SyntaxKind.AddExpression, 27348SyntaxKind.SubtractExpression, 27349SyntaxKind.MultiplyExpression, 27350SyntaxKind.DivideExpression, 27351SyntaxKind.IntegerDivideExpression, 27352SyntaxKind.ExponentiateExpression, 27353SyntaxKind.LeftShiftExpression, 27354SyntaxKind.RightShiftExpression, 27355SyntaxKind.ConcatenateExpression, 27356SyntaxKind.ModuloExpression, 27357SyntaxKind.EqualsExpression, 27358SyntaxKind.NotEqualsExpression, 27359SyntaxKind.LessThanExpression, 27360SyntaxKind.LessThanOrEqualExpression, 27361SyntaxKind.GreaterThanOrEqualExpression, 27362SyntaxKind.GreaterThanExpression, 27363SyntaxKind.IsExpression, 27364SyntaxKind.IsNotExpression, 27365SyntaxKind.LikeExpression, 27366SyntaxKind.OrExpression, 27367SyntaxKind.ExclusiveOrExpression, 27368SyntaxKind.AndExpression, 27369SyntaxKind.OrElseExpression, 27370SyntaxKind.AndAlsoExpression, 27371SyntaxKind.UnaryPlusExpression, 27372SyntaxKind.UnaryMinusExpression, 27373SyntaxKind.NotExpression, 27374SyntaxKind.AddressOfExpression, 27375SyntaxKind.BinaryConditionalExpression, 27376SyntaxKind.TernaryConditionalExpression, 27377SyntaxKind.SingleLineFunctionLambdaExpression, 27378SyntaxKind.SingleLineSubLambdaExpression, 27379SyntaxKind.MultiLineFunctionLambdaExpression, 27380SyntaxKind.MultiLineSubLambdaExpression, 27381SyntaxKind.QueryExpression, 27382SyntaxKind.FunctionAggregation, 27383SyntaxKind.GroupAggregation, 27384SyntaxKind.XmlDocument, 27385SyntaxKind.XmlElement, 27386SyntaxKind.XmlText, 27387SyntaxKind.XmlElementStartTag, 27388SyntaxKind.XmlElementEndTag, 27389SyntaxKind.XmlEmptyElement, 27390SyntaxKind.XmlAttribute, 27391SyntaxKind.XmlString, 27392SyntaxKind.XmlPrefixName, 27393SyntaxKind.XmlName, 27394SyntaxKind.XmlBracketedName, 27395SyntaxKind.XmlComment, 27396SyntaxKind.XmlProcessingInstruction, 27397SyntaxKind.XmlCDataSection, 27398SyntaxKind.XmlEmbeddedExpression, 27399SyntaxKind.ArrayType, 27400SyntaxKind.NullableType, 27401SyntaxKind.PredefinedType, 27402SyntaxKind.IdentifierName, 27403SyntaxKind.GenericName, 27404SyntaxKind.QualifiedName, 27405SyntaxKind.GlobalName, 27406SyntaxKind.CrefOperatorReference, 27407SyntaxKind.QualifiedCrefOperatorReference, 27408SyntaxKind.AwaitExpression, 27409SyntaxKind.XmlCrefAttribute, 27410SyntaxKind.XmlNameAttribute, 27411SyntaxKind.ConditionalAccessExpression, 27412SyntaxKind.NameOfExpression, 27413SyntaxKind.InterpolatedStringExpression 27418Case SyntaxKind.CommaToken 27426Case SyntaxKind.TupleType, 27427SyntaxKind.ArrayType, 27428SyntaxKind.NullableType, 27429SyntaxKind.PredefinedType, 27430SyntaxKind.IdentifierName, 27431SyntaxKind.GenericName, 27432SyntaxKind.QualifiedName, 27433SyntaxKind.GlobalName, 27434SyntaxKind.CrefOperatorReference, 27435SyntaxKind.QualifiedCrefOperatorReference 27440Case SyntaxKind.CloseParenToken 27444Return New TryCastExpressionSyntax(SyntaxKind.TryCastExpression, Nothing, Nothing, DirectCast(keyword.Node, InternalSyntax.KeywordSyntax), DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), expression, DirectCast(commaToken.Node, InternalSyntax.PunctuationSyntax), type, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 27455Return SyntaxFactory.TryCastExpression(SyntaxFactory.Token(SyntaxKind.TryCastKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), expression, SyntaxFactory.Token(SyntaxKind.CommaToken), type, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 27477Case SyntaxKind.CObjKeyword : 27478Case SyntaxKind.CBoolKeyword : 27479Case SyntaxKind.CDateKeyword : 27480Case SyntaxKind.CCharKeyword : 27481Case SyntaxKind.CStrKeyword : 27482Case SyntaxKind.CDecKeyword : 27483Case SyntaxKind.CByteKeyword : 27484Case SyntaxKind.CSByteKeyword : 27485Case SyntaxKind.CUShortKeyword : 27486Case SyntaxKind.CShortKeyword : 27487Case SyntaxKind.CUIntKeyword : 27488Case SyntaxKind.CIntKeyword : 27489Case SyntaxKind.CULngKeyword : 27490Case SyntaxKind.CLngKeyword : 27491Case SyntaxKind.CSngKeyword : 27492Case SyntaxKind.CDblKeyword 27497Case SyntaxKind.OpenParenToken 27505Case SyntaxKind.KeywordEventContainer, 27506SyntaxKind.WithEventsEventContainer, 27507SyntaxKind.WithEventsPropertyEventContainer, 27508SyntaxKind.IdentifierLabel, 27509SyntaxKind.NumericLabel, 27510SyntaxKind.NextLabel, 27511SyntaxKind.MidExpression, 27512SyntaxKind.CharacterLiteralExpression, 27513SyntaxKind.TrueLiteralExpression, 27514SyntaxKind.FalseLiteralExpression, 27515SyntaxKind.NumericLiteralExpression, 27516SyntaxKind.DateLiteralExpression, 27517SyntaxKind.StringLiteralExpression, 27518SyntaxKind.NothingLiteralExpression, 27519SyntaxKind.ParenthesizedExpression, 27520SyntaxKind.TupleExpression, 27521SyntaxKind.TupleType, 27522SyntaxKind.MeExpression, 27523SyntaxKind.MyBaseExpression, 27524SyntaxKind.MyClassExpression, 27525SyntaxKind.GetTypeExpression, 27526SyntaxKind.TypeOfIsExpression, 27527SyntaxKind.TypeOfIsNotExpression, 27528SyntaxKind.GetXmlNamespaceExpression, 27529SyntaxKind.SimpleMemberAccessExpression, 27530SyntaxKind.DictionaryAccessExpression, 27531SyntaxKind.XmlElementAccessExpression, 27532SyntaxKind.XmlDescendantAccessExpression, 27533SyntaxKind.XmlAttributeAccessExpression, 27534SyntaxKind.InvocationExpression, 27535SyntaxKind.ObjectCreationExpression, 27536SyntaxKind.AnonymousObjectCreationExpression, 27537SyntaxKind.ArrayCreationExpression, 27538SyntaxKind.CollectionInitializer, 27539SyntaxKind.CTypeExpression, 27540SyntaxKind.DirectCastExpression, 27541SyntaxKind.TryCastExpression, 27542SyntaxKind.PredefinedCastExpression, 27543SyntaxKind.AddExpression, 27544SyntaxKind.SubtractExpression, 27545SyntaxKind.MultiplyExpression, 27546SyntaxKind.DivideExpression, 27547SyntaxKind.IntegerDivideExpression, 27548SyntaxKind.ExponentiateExpression, 27549SyntaxKind.LeftShiftExpression, 27550SyntaxKind.RightShiftExpression, 27551SyntaxKind.ConcatenateExpression, 27552SyntaxKind.ModuloExpression, 27553SyntaxKind.EqualsExpression, 27554SyntaxKind.NotEqualsExpression, 27555SyntaxKind.LessThanExpression, 27556SyntaxKind.LessThanOrEqualExpression, 27557SyntaxKind.GreaterThanOrEqualExpression, 27558SyntaxKind.GreaterThanExpression, 27559SyntaxKind.IsExpression, 27560SyntaxKind.IsNotExpression, 27561SyntaxKind.LikeExpression, 27562SyntaxKind.OrExpression, 27563SyntaxKind.ExclusiveOrExpression, 27564SyntaxKind.AndExpression, 27565SyntaxKind.OrElseExpression, 27566SyntaxKind.AndAlsoExpression, 27567SyntaxKind.UnaryPlusExpression, 27568SyntaxKind.UnaryMinusExpression, 27569SyntaxKind.NotExpression, 27570SyntaxKind.AddressOfExpression, 27571SyntaxKind.BinaryConditionalExpression, 27572SyntaxKind.TernaryConditionalExpression, 27573SyntaxKind.SingleLineFunctionLambdaExpression, 27574SyntaxKind.SingleLineSubLambdaExpression, 27575SyntaxKind.MultiLineFunctionLambdaExpression, 27576SyntaxKind.MultiLineSubLambdaExpression, 27577SyntaxKind.QueryExpression, 27578SyntaxKind.FunctionAggregation, 27579SyntaxKind.GroupAggregation, 27580SyntaxKind.XmlDocument, 27581SyntaxKind.XmlElement, 27582SyntaxKind.XmlText, 27583SyntaxKind.XmlElementStartTag, 27584SyntaxKind.XmlElementEndTag, 27585SyntaxKind.XmlEmptyElement, 27586SyntaxKind.XmlAttribute, 27587SyntaxKind.XmlString, 27588SyntaxKind.XmlPrefixName, 27589SyntaxKind.XmlName, 27590SyntaxKind.XmlBracketedName, 27591SyntaxKind.XmlComment, 27592SyntaxKind.XmlProcessingInstruction, 27593SyntaxKind.XmlCDataSection, 27594SyntaxKind.XmlEmbeddedExpression, 27595SyntaxKind.ArrayType, 27596SyntaxKind.NullableType, 27597SyntaxKind.PredefinedType, 27598SyntaxKind.IdentifierName, 27599SyntaxKind.GenericName, 27600SyntaxKind.QualifiedName, 27601SyntaxKind.GlobalName, 27602SyntaxKind.CrefOperatorReference, 27603SyntaxKind.QualifiedCrefOperatorReference, 27604SyntaxKind.AwaitExpression, 27605SyntaxKind.XmlCrefAttribute, 27606SyntaxKind.XmlNameAttribute, 27607SyntaxKind.ConditionalAccessExpression, 27608SyntaxKind.NameOfExpression, 27609SyntaxKind.InterpolatedStringExpression 27614Case SyntaxKind.CloseParenToken 27618Return New PredefinedCastExpressionSyntax(SyntaxKind.PredefinedCastExpression, Nothing, Nothing, DirectCast(keyword.Node, InternalSyntax.KeywordSyntax), DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), expression, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 27633Return SyntaxFactory.PredefinedCastExpression(keyword, SyntaxFactory.Token(SyntaxKind.OpenParenToken), expression, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 27653Case SyntaxKind.KeywordEventContainer, 27654SyntaxKind.WithEventsEventContainer, 27655SyntaxKind.WithEventsPropertyEventContainer, 27656SyntaxKind.IdentifierLabel, 27657SyntaxKind.NumericLabel, 27658SyntaxKind.NextLabel, 27659SyntaxKind.MidExpression, 27660SyntaxKind.CharacterLiteralExpression, 27661SyntaxKind.TrueLiteralExpression, 27662SyntaxKind.FalseLiteralExpression, 27663SyntaxKind.NumericLiteralExpression, 27664SyntaxKind.DateLiteralExpression, 27665SyntaxKind.StringLiteralExpression, 27666SyntaxKind.NothingLiteralExpression, 27667SyntaxKind.ParenthesizedExpression, 27668SyntaxKind.TupleExpression, 27669SyntaxKind.TupleType, 27670SyntaxKind.MeExpression, 27671SyntaxKind.MyBaseExpression, 27672SyntaxKind.MyClassExpression, 27673SyntaxKind.GetTypeExpression, 27674SyntaxKind.TypeOfIsExpression, 27675SyntaxKind.TypeOfIsNotExpression, 27676SyntaxKind.GetXmlNamespaceExpression, 27677SyntaxKind.SimpleMemberAccessExpression, 27678SyntaxKind.DictionaryAccessExpression, 27679SyntaxKind.XmlElementAccessExpression, 27680SyntaxKind.XmlDescendantAccessExpression, 27681SyntaxKind.XmlAttributeAccessExpression, 27682SyntaxKind.InvocationExpression, 27683SyntaxKind.ObjectCreationExpression, 27684SyntaxKind.AnonymousObjectCreationExpression, 27685SyntaxKind.ArrayCreationExpression, 27686SyntaxKind.CollectionInitializer, 27687SyntaxKind.CTypeExpression, 27688SyntaxKind.DirectCastExpression, 27689SyntaxKind.TryCastExpression, 27690SyntaxKind.PredefinedCastExpression, 27691SyntaxKind.AddExpression, 27692SyntaxKind.SubtractExpression, 27693SyntaxKind.MultiplyExpression, 27694SyntaxKind.DivideExpression, 27695SyntaxKind.IntegerDivideExpression, 27696SyntaxKind.ExponentiateExpression, 27697SyntaxKind.LeftShiftExpression, 27698SyntaxKind.RightShiftExpression, 27699SyntaxKind.ConcatenateExpression, 27700SyntaxKind.ModuloExpression, 27701SyntaxKind.EqualsExpression, 27702SyntaxKind.NotEqualsExpression, 27703SyntaxKind.LessThanExpression, 27704SyntaxKind.LessThanOrEqualExpression, 27705SyntaxKind.GreaterThanOrEqualExpression, 27706SyntaxKind.GreaterThanExpression, 27707SyntaxKind.IsExpression, 27708SyntaxKind.IsNotExpression, 27709SyntaxKind.LikeExpression, 27710SyntaxKind.OrExpression, 27711SyntaxKind.ExclusiveOrExpression, 27712SyntaxKind.AndExpression, 27713SyntaxKind.OrElseExpression, 27714SyntaxKind.AndAlsoExpression, 27715SyntaxKind.UnaryPlusExpression, 27716SyntaxKind.UnaryMinusExpression, 27717SyntaxKind.NotExpression, 27718SyntaxKind.AddressOfExpression, 27719SyntaxKind.BinaryConditionalExpression, 27720SyntaxKind.TernaryConditionalExpression, 27721SyntaxKind.SingleLineFunctionLambdaExpression, 27722SyntaxKind.SingleLineSubLambdaExpression, 27723SyntaxKind.MultiLineFunctionLambdaExpression, 27724SyntaxKind.MultiLineSubLambdaExpression, 27725SyntaxKind.QueryExpression, 27726SyntaxKind.FunctionAggregation, 27727SyntaxKind.GroupAggregation, 27728SyntaxKind.XmlDocument, 27729SyntaxKind.XmlElement, 27730SyntaxKind.XmlText, 27731SyntaxKind.XmlElementStartTag, 27732SyntaxKind.XmlElementEndTag, 27733SyntaxKind.XmlEmptyElement, 27734SyntaxKind.XmlAttribute, 27735SyntaxKind.XmlString, 27736SyntaxKind.XmlPrefixName, 27737SyntaxKind.XmlName, 27738SyntaxKind.XmlBracketedName, 27739SyntaxKind.XmlComment, 27740SyntaxKind.XmlProcessingInstruction, 27741SyntaxKind.XmlCDataSection, 27742SyntaxKind.XmlEmbeddedExpression, 27743SyntaxKind.ArrayType, 27744SyntaxKind.NullableType, 27745SyntaxKind.PredefinedType, 27746SyntaxKind.IdentifierName, 27747SyntaxKind.GenericName, 27748SyntaxKind.QualifiedName, 27749SyntaxKind.GlobalName, 27750SyntaxKind.CrefOperatorReference, 27751SyntaxKind.QualifiedCrefOperatorReference, 27752SyntaxKind.AwaitExpression, 27753SyntaxKind.XmlCrefAttribute, 27754SyntaxKind.XmlNameAttribute, 27755SyntaxKind.ConditionalAccessExpression, 27756SyntaxKind.NameOfExpression, 27757SyntaxKind.InterpolatedStringExpression 27762Case SyntaxKind.PlusToken : 27763Case SyntaxKind.MinusToken : 27764Case SyntaxKind.AsteriskToken : 27765Case SyntaxKind.SlashToken : 27766Case SyntaxKind.BackslashToken : 27767Case SyntaxKind.CaretToken : 27768Case SyntaxKind.ModKeyword : 27769Case SyntaxKind.LessThanLessThanToken : 27770Case SyntaxKind.GreaterThanGreaterThanToken : 27771Case SyntaxKind.EqualsToken : 27772Case SyntaxKind.LessThanGreaterThanToken : 27773Case SyntaxKind.LessThanToken : 27774Case SyntaxKind.LessThanEqualsToken : 27775Case SyntaxKind.GreaterThanToken : 27776Case SyntaxKind.GreaterThanEqualsToken : 27777Case SyntaxKind.IsKeyword : 27778Case SyntaxKind.IsNotKeyword : 27779Case SyntaxKind.LikeKeyword : 27780Case SyntaxKind.AmpersandToken : 27781Case SyntaxKind.OrKeyword : 27782Case SyntaxKind.XorKeyword : 27783Case SyntaxKind.AndKeyword : 27784Case SyntaxKind.OrElseKeyword : 27785Case SyntaxKind.AndAlsoKeyword 27793Case SyntaxKind.KeywordEventContainer, 27794SyntaxKind.WithEventsEventContainer, 27795SyntaxKind.WithEventsPropertyEventContainer, 27796SyntaxKind.IdentifierLabel, 27797SyntaxKind.NumericLabel, 27798SyntaxKind.NextLabel, 27799SyntaxKind.MidExpression, 27800SyntaxKind.CharacterLiteralExpression, 27801SyntaxKind.TrueLiteralExpression, 27802SyntaxKind.FalseLiteralExpression, 27803SyntaxKind.NumericLiteralExpression, 27804SyntaxKind.DateLiteralExpression, 27805SyntaxKind.StringLiteralExpression, 27806SyntaxKind.NothingLiteralExpression, 27807SyntaxKind.ParenthesizedExpression, 27808SyntaxKind.TupleExpression, 27809SyntaxKind.TupleType, 27810SyntaxKind.MeExpression, 27811SyntaxKind.MyBaseExpression, 27812SyntaxKind.MyClassExpression, 27813SyntaxKind.GetTypeExpression, 27814SyntaxKind.TypeOfIsExpression, 27815SyntaxKind.TypeOfIsNotExpression, 27816SyntaxKind.GetXmlNamespaceExpression, 27817SyntaxKind.SimpleMemberAccessExpression, 27818SyntaxKind.DictionaryAccessExpression, 27819SyntaxKind.XmlElementAccessExpression, 27820SyntaxKind.XmlDescendantAccessExpression, 27821SyntaxKind.XmlAttributeAccessExpression, 27822SyntaxKind.InvocationExpression, 27823SyntaxKind.ObjectCreationExpression, 27824SyntaxKind.AnonymousObjectCreationExpression, 27825SyntaxKind.ArrayCreationExpression, 27826SyntaxKind.CollectionInitializer, 27827SyntaxKind.CTypeExpression, 27828SyntaxKind.DirectCastExpression, 27829SyntaxKind.TryCastExpression, 27830SyntaxKind.PredefinedCastExpression, 27831SyntaxKind.AddExpression, 27832SyntaxKind.SubtractExpression, 27833SyntaxKind.MultiplyExpression, 27834SyntaxKind.DivideExpression, 27835SyntaxKind.IntegerDivideExpression, 27836SyntaxKind.ExponentiateExpression, 27837SyntaxKind.LeftShiftExpression, 27838SyntaxKind.RightShiftExpression, 27839SyntaxKind.ConcatenateExpression, 27840SyntaxKind.ModuloExpression, 27841SyntaxKind.EqualsExpression, 27842SyntaxKind.NotEqualsExpression, 27843SyntaxKind.LessThanExpression, 27844SyntaxKind.LessThanOrEqualExpression, 27845SyntaxKind.GreaterThanOrEqualExpression, 27846SyntaxKind.GreaterThanExpression, 27847SyntaxKind.IsExpression, 27848SyntaxKind.IsNotExpression, 27849SyntaxKind.LikeExpression, 27850SyntaxKind.OrExpression, 27851SyntaxKind.ExclusiveOrExpression, 27852SyntaxKind.AndExpression, 27853SyntaxKind.OrElseExpression, 27854SyntaxKind.AndAlsoExpression, 27855SyntaxKind.UnaryPlusExpression, 27856SyntaxKind.UnaryMinusExpression, 27857SyntaxKind.NotExpression, 27858SyntaxKind.AddressOfExpression, 27859SyntaxKind.BinaryConditionalExpression, 27860SyntaxKind.TernaryConditionalExpression, 27861SyntaxKind.SingleLineFunctionLambdaExpression, 27862SyntaxKind.SingleLineSubLambdaExpression, 27863SyntaxKind.MultiLineFunctionLambdaExpression, 27864SyntaxKind.MultiLineSubLambdaExpression, 27865SyntaxKind.QueryExpression, 27866SyntaxKind.FunctionAggregation, 27867SyntaxKind.GroupAggregation, 27868SyntaxKind.XmlDocument, 27869SyntaxKind.XmlElement, 27870SyntaxKind.XmlText, 27871SyntaxKind.XmlElementStartTag, 27872SyntaxKind.XmlElementEndTag, 27873SyntaxKind.XmlEmptyElement, 27874SyntaxKind.XmlAttribute, 27875SyntaxKind.XmlString, 27876SyntaxKind.XmlPrefixName, 27877SyntaxKind.XmlName, 27878SyntaxKind.XmlBracketedName, 27879SyntaxKind.XmlComment, 27880SyntaxKind.XmlProcessingInstruction, 27881SyntaxKind.XmlCDataSection, 27882SyntaxKind.XmlEmbeddedExpression, 27883SyntaxKind.ArrayType, 27884SyntaxKind.NullableType, 27885SyntaxKind.PredefinedType, 27886SyntaxKind.IdentifierName, 27887SyntaxKind.GenericName, 27888SyntaxKind.QualifiedName, 27889SyntaxKind.GlobalName, 27890SyntaxKind.CrefOperatorReference, 27891SyntaxKind.QualifiedCrefOperatorReference, 27892SyntaxKind.AwaitExpression, 27893SyntaxKind.XmlCrefAttribute, 27894SyntaxKind.XmlNameAttribute, 27895SyntaxKind.ConditionalAccessExpression, 27896SyntaxKind.NameOfExpression, 27897SyntaxKind.InterpolatedStringExpression 27901Return New BinaryExpressionSyntax(SyntaxKind.AddExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 27917Return SyntaxFactory.AddExpression(left, SyntaxFactory.Token(SyntaxKind.PlusToken), right) 27937Case SyntaxKind.KeywordEventContainer, 27938SyntaxKind.WithEventsEventContainer, 27939SyntaxKind.WithEventsPropertyEventContainer, 27940SyntaxKind.IdentifierLabel, 27941SyntaxKind.NumericLabel, 27942SyntaxKind.NextLabel, 27943SyntaxKind.MidExpression, 27944SyntaxKind.CharacterLiteralExpression, 27945SyntaxKind.TrueLiteralExpression, 27946SyntaxKind.FalseLiteralExpression, 27947SyntaxKind.NumericLiteralExpression, 27948SyntaxKind.DateLiteralExpression, 27949SyntaxKind.StringLiteralExpression, 27950SyntaxKind.NothingLiteralExpression, 27951SyntaxKind.ParenthesizedExpression, 27952SyntaxKind.TupleExpression, 27953SyntaxKind.TupleType, 27954SyntaxKind.MeExpression, 27955SyntaxKind.MyBaseExpression, 27956SyntaxKind.MyClassExpression, 27957SyntaxKind.GetTypeExpression, 27958SyntaxKind.TypeOfIsExpression, 27959SyntaxKind.TypeOfIsNotExpression, 27960SyntaxKind.GetXmlNamespaceExpression, 27961SyntaxKind.SimpleMemberAccessExpression, 27962SyntaxKind.DictionaryAccessExpression, 27963SyntaxKind.XmlElementAccessExpression, 27964SyntaxKind.XmlDescendantAccessExpression, 27965SyntaxKind.XmlAttributeAccessExpression, 27966SyntaxKind.InvocationExpression, 27967SyntaxKind.ObjectCreationExpression, 27968SyntaxKind.AnonymousObjectCreationExpression, 27969SyntaxKind.ArrayCreationExpression, 27970SyntaxKind.CollectionInitializer, 27971SyntaxKind.CTypeExpression, 27972SyntaxKind.DirectCastExpression, 27973SyntaxKind.TryCastExpression, 27974SyntaxKind.PredefinedCastExpression, 27975SyntaxKind.AddExpression, 27976SyntaxKind.SubtractExpression, 27977SyntaxKind.MultiplyExpression, 27978SyntaxKind.DivideExpression, 27979SyntaxKind.IntegerDivideExpression, 27980SyntaxKind.ExponentiateExpression, 27981SyntaxKind.LeftShiftExpression, 27982SyntaxKind.RightShiftExpression, 27983SyntaxKind.ConcatenateExpression, 27984SyntaxKind.ModuloExpression, 27985SyntaxKind.EqualsExpression, 27986SyntaxKind.NotEqualsExpression, 27987SyntaxKind.LessThanExpression, 27988SyntaxKind.LessThanOrEqualExpression, 27989SyntaxKind.GreaterThanOrEqualExpression, 27990SyntaxKind.GreaterThanExpression, 27991SyntaxKind.IsExpression, 27992SyntaxKind.IsNotExpression, 27993SyntaxKind.LikeExpression, 27994SyntaxKind.OrExpression, 27995SyntaxKind.ExclusiveOrExpression, 27996SyntaxKind.AndExpression, 27997SyntaxKind.OrElseExpression, 27998SyntaxKind.AndAlsoExpression, 27999SyntaxKind.UnaryPlusExpression, 28000SyntaxKind.UnaryMinusExpression, 28001SyntaxKind.NotExpression, 28002SyntaxKind.AddressOfExpression, 28003SyntaxKind.BinaryConditionalExpression, 28004SyntaxKind.TernaryConditionalExpression, 28005SyntaxKind.SingleLineFunctionLambdaExpression, 28006SyntaxKind.SingleLineSubLambdaExpression, 28007SyntaxKind.MultiLineFunctionLambdaExpression, 28008SyntaxKind.MultiLineSubLambdaExpression, 28009SyntaxKind.QueryExpression, 28010SyntaxKind.FunctionAggregation, 28011SyntaxKind.GroupAggregation, 28012SyntaxKind.XmlDocument, 28013SyntaxKind.XmlElement, 28014SyntaxKind.XmlText, 28015SyntaxKind.XmlElementStartTag, 28016SyntaxKind.XmlElementEndTag, 28017SyntaxKind.XmlEmptyElement, 28018SyntaxKind.XmlAttribute, 28019SyntaxKind.XmlString, 28020SyntaxKind.XmlPrefixName, 28021SyntaxKind.XmlName, 28022SyntaxKind.XmlBracketedName, 28023SyntaxKind.XmlComment, 28024SyntaxKind.XmlProcessingInstruction, 28025SyntaxKind.XmlCDataSection, 28026SyntaxKind.XmlEmbeddedExpression, 28027SyntaxKind.ArrayType, 28028SyntaxKind.NullableType, 28029SyntaxKind.PredefinedType, 28030SyntaxKind.IdentifierName, 28031SyntaxKind.GenericName, 28032SyntaxKind.QualifiedName, 28033SyntaxKind.GlobalName, 28034SyntaxKind.CrefOperatorReference, 28035SyntaxKind.QualifiedCrefOperatorReference, 28036SyntaxKind.AwaitExpression, 28037SyntaxKind.XmlCrefAttribute, 28038SyntaxKind.XmlNameAttribute, 28039SyntaxKind.ConditionalAccessExpression, 28040SyntaxKind.NameOfExpression, 28041SyntaxKind.InterpolatedStringExpression 28046Case SyntaxKind.MinusToken 28054Case SyntaxKind.KeywordEventContainer, 28055SyntaxKind.WithEventsEventContainer, 28056SyntaxKind.WithEventsPropertyEventContainer, 28057SyntaxKind.IdentifierLabel, 28058SyntaxKind.NumericLabel, 28059SyntaxKind.NextLabel, 28060SyntaxKind.MidExpression, 28061SyntaxKind.CharacterLiteralExpression, 28062SyntaxKind.TrueLiteralExpression, 28063SyntaxKind.FalseLiteralExpression, 28064SyntaxKind.NumericLiteralExpression, 28065SyntaxKind.DateLiteralExpression, 28066SyntaxKind.StringLiteralExpression, 28067SyntaxKind.NothingLiteralExpression, 28068SyntaxKind.ParenthesizedExpression, 28069SyntaxKind.TupleExpression, 28070SyntaxKind.TupleType, 28071SyntaxKind.MeExpression, 28072SyntaxKind.MyBaseExpression, 28073SyntaxKind.MyClassExpression, 28074SyntaxKind.GetTypeExpression, 28075SyntaxKind.TypeOfIsExpression, 28076SyntaxKind.TypeOfIsNotExpression, 28077SyntaxKind.GetXmlNamespaceExpression, 28078SyntaxKind.SimpleMemberAccessExpression, 28079SyntaxKind.DictionaryAccessExpression, 28080SyntaxKind.XmlElementAccessExpression, 28081SyntaxKind.XmlDescendantAccessExpression, 28082SyntaxKind.XmlAttributeAccessExpression, 28083SyntaxKind.InvocationExpression, 28084SyntaxKind.ObjectCreationExpression, 28085SyntaxKind.AnonymousObjectCreationExpression, 28086SyntaxKind.ArrayCreationExpression, 28087SyntaxKind.CollectionInitializer, 28088SyntaxKind.CTypeExpression, 28089SyntaxKind.DirectCastExpression, 28090SyntaxKind.TryCastExpression, 28091SyntaxKind.PredefinedCastExpression, 28092SyntaxKind.AddExpression, 28093SyntaxKind.SubtractExpression, 28094SyntaxKind.MultiplyExpression, 28095SyntaxKind.DivideExpression, 28096SyntaxKind.IntegerDivideExpression, 28097SyntaxKind.ExponentiateExpression, 28098SyntaxKind.LeftShiftExpression, 28099SyntaxKind.RightShiftExpression, 28100SyntaxKind.ConcatenateExpression, 28101SyntaxKind.ModuloExpression, 28102SyntaxKind.EqualsExpression, 28103SyntaxKind.NotEqualsExpression, 28104SyntaxKind.LessThanExpression, 28105SyntaxKind.LessThanOrEqualExpression, 28106SyntaxKind.GreaterThanOrEqualExpression, 28107SyntaxKind.GreaterThanExpression, 28108SyntaxKind.IsExpression, 28109SyntaxKind.IsNotExpression, 28110SyntaxKind.LikeExpression, 28111SyntaxKind.OrExpression, 28112SyntaxKind.ExclusiveOrExpression, 28113SyntaxKind.AndExpression, 28114SyntaxKind.OrElseExpression, 28115SyntaxKind.AndAlsoExpression, 28116SyntaxKind.UnaryPlusExpression, 28117SyntaxKind.UnaryMinusExpression, 28118SyntaxKind.NotExpression, 28119SyntaxKind.AddressOfExpression, 28120SyntaxKind.BinaryConditionalExpression, 28121SyntaxKind.TernaryConditionalExpression, 28122SyntaxKind.SingleLineFunctionLambdaExpression, 28123SyntaxKind.SingleLineSubLambdaExpression, 28124SyntaxKind.MultiLineFunctionLambdaExpression, 28125SyntaxKind.MultiLineSubLambdaExpression, 28126SyntaxKind.QueryExpression, 28127SyntaxKind.FunctionAggregation, 28128SyntaxKind.GroupAggregation, 28129SyntaxKind.XmlDocument, 28130SyntaxKind.XmlElement, 28131SyntaxKind.XmlText, 28132SyntaxKind.XmlElementStartTag, 28133SyntaxKind.XmlElementEndTag, 28134SyntaxKind.XmlEmptyElement, 28135SyntaxKind.XmlAttribute, 28136SyntaxKind.XmlString, 28137SyntaxKind.XmlPrefixName, 28138SyntaxKind.XmlName, 28139SyntaxKind.XmlBracketedName, 28140SyntaxKind.XmlComment, 28141SyntaxKind.XmlProcessingInstruction, 28142SyntaxKind.XmlCDataSection, 28143SyntaxKind.XmlEmbeddedExpression, 28144SyntaxKind.ArrayType, 28145SyntaxKind.NullableType, 28146SyntaxKind.PredefinedType, 28147SyntaxKind.IdentifierName, 28148SyntaxKind.GenericName, 28149SyntaxKind.QualifiedName, 28150SyntaxKind.GlobalName, 28151SyntaxKind.CrefOperatorReference, 28152SyntaxKind.QualifiedCrefOperatorReference, 28153SyntaxKind.AwaitExpression, 28154SyntaxKind.XmlCrefAttribute, 28155SyntaxKind.XmlNameAttribute, 28156SyntaxKind.ConditionalAccessExpression, 28157SyntaxKind.NameOfExpression, 28158SyntaxKind.InterpolatedStringExpression 28162Return New BinaryExpressionSyntax(SyntaxKind.SubtractExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 28178Return SyntaxFactory.SubtractExpression(left, SyntaxFactory.Token(SyntaxKind.MinusToken), right) 28198Case SyntaxKind.KeywordEventContainer, 28199SyntaxKind.WithEventsEventContainer, 28200SyntaxKind.WithEventsPropertyEventContainer, 28201SyntaxKind.IdentifierLabel, 28202SyntaxKind.NumericLabel, 28203SyntaxKind.NextLabel, 28204SyntaxKind.MidExpression, 28205SyntaxKind.CharacterLiteralExpression, 28206SyntaxKind.TrueLiteralExpression, 28207SyntaxKind.FalseLiteralExpression, 28208SyntaxKind.NumericLiteralExpression, 28209SyntaxKind.DateLiteralExpression, 28210SyntaxKind.StringLiteralExpression, 28211SyntaxKind.NothingLiteralExpression, 28212SyntaxKind.ParenthesizedExpression, 28213SyntaxKind.TupleExpression, 28214SyntaxKind.TupleType, 28215SyntaxKind.MeExpression, 28216SyntaxKind.MyBaseExpression, 28217SyntaxKind.MyClassExpression, 28218SyntaxKind.GetTypeExpression, 28219SyntaxKind.TypeOfIsExpression, 28220SyntaxKind.TypeOfIsNotExpression, 28221SyntaxKind.GetXmlNamespaceExpression, 28222SyntaxKind.SimpleMemberAccessExpression, 28223SyntaxKind.DictionaryAccessExpression, 28224SyntaxKind.XmlElementAccessExpression, 28225SyntaxKind.XmlDescendantAccessExpression, 28226SyntaxKind.XmlAttributeAccessExpression, 28227SyntaxKind.InvocationExpression, 28228SyntaxKind.ObjectCreationExpression, 28229SyntaxKind.AnonymousObjectCreationExpression, 28230SyntaxKind.ArrayCreationExpression, 28231SyntaxKind.CollectionInitializer, 28232SyntaxKind.CTypeExpression, 28233SyntaxKind.DirectCastExpression, 28234SyntaxKind.TryCastExpression, 28235SyntaxKind.PredefinedCastExpression, 28236SyntaxKind.AddExpression, 28237SyntaxKind.SubtractExpression, 28238SyntaxKind.MultiplyExpression, 28239SyntaxKind.DivideExpression, 28240SyntaxKind.IntegerDivideExpression, 28241SyntaxKind.ExponentiateExpression, 28242SyntaxKind.LeftShiftExpression, 28243SyntaxKind.RightShiftExpression, 28244SyntaxKind.ConcatenateExpression, 28245SyntaxKind.ModuloExpression, 28246SyntaxKind.EqualsExpression, 28247SyntaxKind.NotEqualsExpression, 28248SyntaxKind.LessThanExpression, 28249SyntaxKind.LessThanOrEqualExpression, 28250SyntaxKind.GreaterThanOrEqualExpression, 28251SyntaxKind.GreaterThanExpression, 28252SyntaxKind.IsExpression, 28253SyntaxKind.IsNotExpression, 28254SyntaxKind.LikeExpression, 28255SyntaxKind.OrExpression, 28256SyntaxKind.ExclusiveOrExpression, 28257SyntaxKind.AndExpression, 28258SyntaxKind.OrElseExpression, 28259SyntaxKind.AndAlsoExpression, 28260SyntaxKind.UnaryPlusExpression, 28261SyntaxKind.UnaryMinusExpression, 28262SyntaxKind.NotExpression, 28263SyntaxKind.AddressOfExpression, 28264SyntaxKind.BinaryConditionalExpression, 28265SyntaxKind.TernaryConditionalExpression, 28266SyntaxKind.SingleLineFunctionLambdaExpression, 28267SyntaxKind.SingleLineSubLambdaExpression, 28268SyntaxKind.MultiLineFunctionLambdaExpression, 28269SyntaxKind.MultiLineSubLambdaExpression, 28270SyntaxKind.QueryExpression, 28271SyntaxKind.FunctionAggregation, 28272SyntaxKind.GroupAggregation, 28273SyntaxKind.XmlDocument, 28274SyntaxKind.XmlElement, 28275SyntaxKind.XmlText, 28276SyntaxKind.XmlElementStartTag, 28277SyntaxKind.XmlElementEndTag, 28278SyntaxKind.XmlEmptyElement, 28279SyntaxKind.XmlAttribute, 28280SyntaxKind.XmlString, 28281SyntaxKind.XmlPrefixName, 28282SyntaxKind.XmlName, 28283SyntaxKind.XmlBracketedName, 28284SyntaxKind.XmlComment, 28285SyntaxKind.XmlProcessingInstruction, 28286SyntaxKind.XmlCDataSection, 28287SyntaxKind.XmlEmbeddedExpression, 28288SyntaxKind.ArrayType, 28289SyntaxKind.NullableType, 28290SyntaxKind.PredefinedType, 28291SyntaxKind.IdentifierName, 28292SyntaxKind.GenericName, 28293SyntaxKind.QualifiedName, 28294SyntaxKind.GlobalName, 28295SyntaxKind.CrefOperatorReference, 28296SyntaxKind.QualifiedCrefOperatorReference, 28297SyntaxKind.AwaitExpression, 28298SyntaxKind.XmlCrefAttribute, 28299SyntaxKind.XmlNameAttribute, 28300SyntaxKind.ConditionalAccessExpression, 28301SyntaxKind.NameOfExpression, 28302SyntaxKind.InterpolatedStringExpression 28307Case SyntaxKind.AsteriskToken 28315Case SyntaxKind.KeywordEventContainer, 28316SyntaxKind.WithEventsEventContainer, 28317SyntaxKind.WithEventsPropertyEventContainer, 28318SyntaxKind.IdentifierLabel, 28319SyntaxKind.NumericLabel, 28320SyntaxKind.NextLabel, 28321SyntaxKind.MidExpression, 28322SyntaxKind.CharacterLiteralExpression, 28323SyntaxKind.TrueLiteralExpression, 28324SyntaxKind.FalseLiteralExpression, 28325SyntaxKind.NumericLiteralExpression, 28326SyntaxKind.DateLiteralExpression, 28327SyntaxKind.StringLiteralExpression, 28328SyntaxKind.NothingLiteralExpression, 28329SyntaxKind.ParenthesizedExpression, 28330SyntaxKind.TupleExpression, 28331SyntaxKind.TupleType, 28332SyntaxKind.MeExpression, 28333SyntaxKind.MyBaseExpression, 28334SyntaxKind.MyClassExpression, 28335SyntaxKind.GetTypeExpression, 28336SyntaxKind.TypeOfIsExpression, 28337SyntaxKind.TypeOfIsNotExpression, 28338SyntaxKind.GetXmlNamespaceExpression, 28339SyntaxKind.SimpleMemberAccessExpression, 28340SyntaxKind.DictionaryAccessExpression, 28341SyntaxKind.XmlElementAccessExpression, 28342SyntaxKind.XmlDescendantAccessExpression, 28343SyntaxKind.XmlAttributeAccessExpression, 28344SyntaxKind.InvocationExpression, 28345SyntaxKind.ObjectCreationExpression, 28346SyntaxKind.AnonymousObjectCreationExpression, 28347SyntaxKind.ArrayCreationExpression, 28348SyntaxKind.CollectionInitializer, 28349SyntaxKind.CTypeExpression, 28350SyntaxKind.DirectCastExpression, 28351SyntaxKind.TryCastExpression, 28352SyntaxKind.PredefinedCastExpression, 28353SyntaxKind.AddExpression, 28354SyntaxKind.SubtractExpression, 28355SyntaxKind.MultiplyExpression, 28356SyntaxKind.DivideExpression, 28357SyntaxKind.IntegerDivideExpression, 28358SyntaxKind.ExponentiateExpression, 28359SyntaxKind.LeftShiftExpression, 28360SyntaxKind.RightShiftExpression, 28361SyntaxKind.ConcatenateExpression, 28362SyntaxKind.ModuloExpression, 28363SyntaxKind.EqualsExpression, 28364SyntaxKind.NotEqualsExpression, 28365SyntaxKind.LessThanExpression, 28366SyntaxKind.LessThanOrEqualExpression, 28367SyntaxKind.GreaterThanOrEqualExpression, 28368SyntaxKind.GreaterThanExpression, 28369SyntaxKind.IsExpression, 28370SyntaxKind.IsNotExpression, 28371SyntaxKind.LikeExpression, 28372SyntaxKind.OrExpression, 28373SyntaxKind.ExclusiveOrExpression, 28374SyntaxKind.AndExpression, 28375SyntaxKind.OrElseExpression, 28376SyntaxKind.AndAlsoExpression, 28377SyntaxKind.UnaryPlusExpression, 28378SyntaxKind.UnaryMinusExpression, 28379SyntaxKind.NotExpression, 28380SyntaxKind.AddressOfExpression, 28381SyntaxKind.BinaryConditionalExpression, 28382SyntaxKind.TernaryConditionalExpression, 28383SyntaxKind.SingleLineFunctionLambdaExpression, 28384SyntaxKind.SingleLineSubLambdaExpression, 28385SyntaxKind.MultiLineFunctionLambdaExpression, 28386SyntaxKind.MultiLineSubLambdaExpression, 28387SyntaxKind.QueryExpression, 28388SyntaxKind.FunctionAggregation, 28389SyntaxKind.GroupAggregation, 28390SyntaxKind.XmlDocument, 28391SyntaxKind.XmlElement, 28392SyntaxKind.XmlText, 28393SyntaxKind.XmlElementStartTag, 28394SyntaxKind.XmlElementEndTag, 28395SyntaxKind.XmlEmptyElement, 28396SyntaxKind.XmlAttribute, 28397SyntaxKind.XmlString, 28398SyntaxKind.XmlPrefixName, 28399SyntaxKind.XmlName, 28400SyntaxKind.XmlBracketedName, 28401SyntaxKind.XmlComment, 28402SyntaxKind.XmlProcessingInstruction, 28403SyntaxKind.XmlCDataSection, 28404SyntaxKind.XmlEmbeddedExpression, 28405SyntaxKind.ArrayType, 28406SyntaxKind.NullableType, 28407SyntaxKind.PredefinedType, 28408SyntaxKind.IdentifierName, 28409SyntaxKind.GenericName, 28410SyntaxKind.QualifiedName, 28411SyntaxKind.GlobalName, 28412SyntaxKind.CrefOperatorReference, 28413SyntaxKind.QualifiedCrefOperatorReference, 28414SyntaxKind.AwaitExpression, 28415SyntaxKind.XmlCrefAttribute, 28416SyntaxKind.XmlNameAttribute, 28417SyntaxKind.ConditionalAccessExpression, 28418SyntaxKind.NameOfExpression, 28419SyntaxKind.InterpolatedStringExpression 28423Return New BinaryExpressionSyntax(SyntaxKind.MultiplyExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 28439Return SyntaxFactory.MultiplyExpression(left, SyntaxFactory.Token(SyntaxKind.AsteriskToken), right) 28459Case SyntaxKind.KeywordEventContainer, 28460SyntaxKind.WithEventsEventContainer, 28461SyntaxKind.WithEventsPropertyEventContainer, 28462SyntaxKind.IdentifierLabel, 28463SyntaxKind.NumericLabel, 28464SyntaxKind.NextLabel, 28465SyntaxKind.MidExpression, 28466SyntaxKind.CharacterLiteralExpression, 28467SyntaxKind.TrueLiteralExpression, 28468SyntaxKind.FalseLiteralExpression, 28469SyntaxKind.NumericLiteralExpression, 28470SyntaxKind.DateLiteralExpression, 28471SyntaxKind.StringLiteralExpression, 28472SyntaxKind.NothingLiteralExpression, 28473SyntaxKind.ParenthesizedExpression, 28474SyntaxKind.TupleExpression, 28475SyntaxKind.TupleType, 28476SyntaxKind.MeExpression, 28477SyntaxKind.MyBaseExpression, 28478SyntaxKind.MyClassExpression, 28479SyntaxKind.GetTypeExpression, 28480SyntaxKind.TypeOfIsExpression, 28481SyntaxKind.TypeOfIsNotExpression, 28482SyntaxKind.GetXmlNamespaceExpression, 28483SyntaxKind.SimpleMemberAccessExpression, 28484SyntaxKind.DictionaryAccessExpression, 28485SyntaxKind.XmlElementAccessExpression, 28486SyntaxKind.XmlDescendantAccessExpression, 28487SyntaxKind.XmlAttributeAccessExpression, 28488SyntaxKind.InvocationExpression, 28489SyntaxKind.ObjectCreationExpression, 28490SyntaxKind.AnonymousObjectCreationExpression, 28491SyntaxKind.ArrayCreationExpression, 28492SyntaxKind.CollectionInitializer, 28493SyntaxKind.CTypeExpression, 28494SyntaxKind.DirectCastExpression, 28495SyntaxKind.TryCastExpression, 28496SyntaxKind.PredefinedCastExpression, 28497SyntaxKind.AddExpression, 28498SyntaxKind.SubtractExpression, 28499SyntaxKind.MultiplyExpression, 28500SyntaxKind.DivideExpression, 28501SyntaxKind.IntegerDivideExpression, 28502SyntaxKind.ExponentiateExpression, 28503SyntaxKind.LeftShiftExpression, 28504SyntaxKind.RightShiftExpression, 28505SyntaxKind.ConcatenateExpression, 28506SyntaxKind.ModuloExpression, 28507SyntaxKind.EqualsExpression, 28508SyntaxKind.NotEqualsExpression, 28509SyntaxKind.LessThanExpression, 28510SyntaxKind.LessThanOrEqualExpression, 28511SyntaxKind.GreaterThanOrEqualExpression, 28512SyntaxKind.GreaterThanExpression, 28513SyntaxKind.IsExpression, 28514SyntaxKind.IsNotExpression, 28515SyntaxKind.LikeExpression, 28516SyntaxKind.OrExpression, 28517SyntaxKind.ExclusiveOrExpression, 28518SyntaxKind.AndExpression, 28519SyntaxKind.OrElseExpression, 28520SyntaxKind.AndAlsoExpression, 28521SyntaxKind.UnaryPlusExpression, 28522SyntaxKind.UnaryMinusExpression, 28523SyntaxKind.NotExpression, 28524SyntaxKind.AddressOfExpression, 28525SyntaxKind.BinaryConditionalExpression, 28526SyntaxKind.TernaryConditionalExpression, 28527SyntaxKind.SingleLineFunctionLambdaExpression, 28528SyntaxKind.SingleLineSubLambdaExpression, 28529SyntaxKind.MultiLineFunctionLambdaExpression, 28530SyntaxKind.MultiLineSubLambdaExpression, 28531SyntaxKind.QueryExpression, 28532SyntaxKind.FunctionAggregation, 28533SyntaxKind.GroupAggregation, 28534SyntaxKind.XmlDocument, 28535SyntaxKind.XmlElement, 28536SyntaxKind.XmlText, 28537SyntaxKind.XmlElementStartTag, 28538SyntaxKind.XmlElementEndTag, 28539SyntaxKind.XmlEmptyElement, 28540SyntaxKind.XmlAttribute, 28541SyntaxKind.XmlString, 28542SyntaxKind.XmlPrefixName, 28543SyntaxKind.XmlName, 28544SyntaxKind.XmlBracketedName, 28545SyntaxKind.XmlComment, 28546SyntaxKind.XmlProcessingInstruction, 28547SyntaxKind.XmlCDataSection, 28548SyntaxKind.XmlEmbeddedExpression, 28549SyntaxKind.ArrayType, 28550SyntaxKind.NullableType, 28551SyntaxKind.PredefinedType, 28552SyntaxKind.IdentifierName, 28553SyntaxKind.GenericName, 28554SyntaxKind.QualifiedName, 28555SyntaxKind.GlobalName, 28556SyntaxKind.CrefOperatorReference, 28557SyntaxKind.QualifiedCrefOperatorReference, 28558SyntaxKind.AwaitExpression, 28559SyntaxKind.XmlCrefAttribute, 28560SyntaxKind.XmlNameAttribute, 28561SyntaxKind.ConditionalAccessExpression, 28562SyntaxKind.NameOfExpression, 28563SyntaxKind.InterpolatedStringExpression 28568Case SyntaxKind.SlashToken 28576Case SyntaxKind.KeywordEventContainer, 28577SyntaxKind.WithEventsEventContainer, 28578SyntaxKind.WithEventsPropertyEventContainer, 28579SyntaxKind.IdentifierLabel, 28580SyntaxKind.NumericLabel, 28581SyntaxKind.NextLabel, 28582SyntaxKind.MidExpression, 28583SyntaxKind.CharacterLiteralExpression, 28584SyntaxKind.TrueLiteralExpression, 28585SyntaxKind.FalseLiteralExpression, 28586SyntaxKind.NumericLiteralExpression, 28587SyntaxKind.DateLiteralExpression, 28588SyntaxKind.StringLiteralExpression, 28589SyntaxKind.NothingLiteralExpression, 28590SyntaxKind.ParenthesizedExpression, 28591SyntaxKind.TupleExpression, 28592SyntaxKind.TupleType, 28593SyntaxKind.MeExpression, 28594SyntaxKind.MyBaseExpression, 28595SyntaxKind.MyClassExpression, 28596SyntaxKind.GetTypeExpression, 28597SyntaxKind.TypeOfIsExpression, 28598SyntaxKind.TypeOfIsNotExpression, 28599SyntaxKind.GetXmlNamespaceExpression, 28600SyntaxKind.SimpleMemberAccessExpression, 28601SyntaxKind.DictionaryAccessExpression, 28602SyntaxKind.XmlElementAccessExpression, 28603SyntaxKind.XmlDescendantAccessExpression, 28604SyntaxKind.XmlAttributeAccessExpression, 28605SyntaxKind.InvocationExpression, 28606SyntaxKind.ObjectCreationExpression, 28607SyntaxKind.AnonymousObjectCreationExpression, 28608SyntaxKind.ArrayCreationExpression, 28609SyntaxKind.CollectionInitializer, 28610SyntaxKind.CTypeExpression, 28611SyntaxKind.DirectCastExpression, 28612SyntaxKind.TryCastExpression, 28613SyntaxKind.PredefinedCastExpression, 28614SyntaxKind.AddExpression, 28615SyntaxKind.SubtractExpression, 28616SyntaxKind.MultiplyExpression, 28617SyntaxKind.DivideExpression, 28618SyntaxKind.IntegerDivideExpression, 28619SyntaxKind.ExponentiateExpression, 28620SyntaxKind.LeftShiftExpression, 28621SyntaxKind.RightShiftExpression, 28622SyntaxKind.ConcatenateExpression, 28623SyntaxKind.ModuloExpression, 28624SyntaxKind.EqualsExpression, 28625SyntaxKind.NotEqualsExpression, 28626SyntaxKind.LessThanExpression, 28627SyntaxKind.LessThanOrEqualExpression, 28628SyntaxKind.GreaterThanOrEqualExpression, 28629SyntaxKind.GreaterThanExpression, 28630SyntaxKind.IsExpression, 28631SyntaxKind.IsNotExpression, 28632SyntaxKind.LikeExpression, 28633SyntaxKind.OrExpression, 28634SyntaxKind.ExclusiveOrExpression, 28635SyntaxKind.AndExpression, 28636SyntaxKind.OrElseExpression, 28637SyntaxKind.AndAlsoExpression, 28638SyntaxKind.UnaryPlusExpression, 28639SyntaxKind.UnaryMinusExpression, 28640SyntaxKind.NotExpression, 28641SyntaxKind.AddressOfExpression, 28642SyntaxKind.BinaryConditionalExpression, 28643SyntaxKind.TernaryConditionalExpression, 28644SyntaxKind.SingleLineFunctionLambdaExpression, 28645SyntaxKind.SingleLineSubLambdaExpression, 28646SyntaxKind.MultiLineFunctionLambdaExpression, 28647SyntaxKind.MultiLineSubLambdaExpression, 28648SyntaxKind.QueryExpression, 28649SyntaxKind.FunctionAggregation, 28650SyntaxKind.GroupAggregation, 28651SyntaxKind.XmlDocument, 28652SyntaxKind.XmlElement, 28653SyntaxKind.XmlText, 28654SyntaxKind.XmlElementStartTag, 28655SyntaxKind.XmlElementEndTag, 28656SyntaxKind.XmlEmptyElement, 28657SyntaxKind.XmlAttribute, 28658SyntaxKind.XmlString, 28659SyntaxKind.XmlPrefixName, 28660SyntaxKind.XmlName, 28661SyntaxKind.XmlBracketedName, 28662SyntaxKind.XmlComment, 28663SyntaxKind.XmlProcessingInstruction, 28664SyntaxKind.XmlCDataSection, 28665SyntaxKind.XmlEmbeddedExpression, 28666SyntaxKind.ArrayType, 28667SyntaxKind.NullableType, 28668SyntaxKind.PredefinedType, 28669SyntaxKind.IdentifierName, 28670SyntaxKind.GenericName, 28671SyntaxKind.QualifiedName, 28672SyntaxKind.GlobalName, 28673SyntaxKind.CrefOperatorReference, 28674SyntaxKind.QualifiedCrefOperatorReference, 28675SyntaxKind.AwaitExpression, 28676SyntaxKind.XmlCrefAttribute, 28677SyntaxKind.XmlNameAttribute, 28678SyntaxKind.ConditionalAccessExpression, 28679SyntaxKind.NameOfExpression, 28680SyntaxKind.InterpolatedStringExpression 28684Return New BinaryExpressionSyntax(SyntaxKind.DivideExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 28700Return SyntaxFactory.DivideExpression(left, SyntaxFactory.Token(SyntaxKind.SlashToken), right) 28720Case SyntaxKind.KeywordEventContainer, 28721SyntaxKind.WithEventsEventContainer, 28722SyntaxKind.WithEventsPropertyEventContainer, 28723SyntaxKind.IdentifierLabel, 28724SyntaxKind.NumericLabel, 28725SyntaxKind.NextLabel, 28726SyntaxKind.MidExpression, 28727SyntaxKind.CharacterLiteralExpression, 28728SyntaxKind.TrueLiteralExpression, 28729SyntaxKind.FalseLiteralExpression, 28730SyntaxKind.NumericLiteralExpression, 28731SyntaxKind.DateLiteralExpression, 28732SyntaxKind.StringLiteralExpression, 28733SyntaxKind.NothingLiteralExpression, 28734SyntaxKind.ParenthesizedExpression, 28735SyntaxKind.TupleExpression, 28736SyntaxKind.TupleType, 28737SyntaxKind.MeExpression, 28738SyntaxKind.MyBaseExpression, 28739SyntaxKind.MyClassExpression, 28740SyntaxKind.GetTypeExpression, 28741SyntaxKind.TypeOfIsExpression, 28742SyntaxKind.TypeOfIsNotExpression, 28743SyntaxKind.GetXmlNamespaceExpression, 28744SyntaxKind.SimpleMemberAccessExpression, 28745SyntaxKind.DictionaryAccessExpression, 28746SyntaxKind.XmlElementAccessExpression, 28747SyntaxKind.XmlDescendantAccessExpression, 28748SyntaxKind.XmlAttributeAccessExpression, 28749SyntaxKind.InvocationExpression, 28750SyntaxKind.ObjectCreationExpression, 28751SyntaxKind.AnonymousObjectCreationExpression, 28752SyntaxKind.ArrayCreationExpression, 28753SyntaxKind.CollectionInitializer, 28754SyntaxKind.CTypeExpression, 28755SyntaxKind.DirectCastExpression, 28756SyntaxKind.TryCastExpression, 28757SyntaxKind.PredefinedCastExpression, 28758SyntaxKind.AddExpression, 28759SyntaxKind.SubtractExpression, 28760SyntaxKind.MultiplyExpression, 28761SyntaxKind.DivideExpression, 28762SyntaxKind.IntegerDivideExpression, 28763SyntaxKind.ExponentiateExpression, 28764SyntaxKind.LeftShiftExpression, 28765SyntaxKind.RightShiftExpression, 28766SyntaxKind.ConcatenateExpression, 28767SyntaxKind.ModuloExpression, 28768SyntaxKind.EqualsExpression, 28769SyntaxKind.NotEqualsExpression, 28770SyntaxKind.LessThanExpression, 28771SyntaxKind.LessThanOrEqualExpression, 28772SyntaxKind.GreaterThanOrEqualExpression, 28773SyntaxKind.GreaterThanExpression, 28774SyntaxKind.IsExpression, 28775SyntaxKind.IsNotExpression, 28776SyntaxKind.LikeExpression, 28777SyntaxKind.OrExpression, 28778SyntaxKind.ExclusiveOrExpression, 28779SyntaxKind.AndExpression, 28780SyntaxKind.OrElseExpression, 28781SyntaxKind.AndAlsoExpression, 28782SyntaxKind.UnaryPlusExpression, 28783SyntaxKind.UnaryMinusExpression, 28784SyntaxKind.NotExpression, 28785SyntaxKind.AddressOfExpression, 28786SyntaxKind.BinaryConditionalExpression, 28787SyntaxKind.TernaryConditionalExpression, 28788SyntaxKind.SingleLineFunctionLambdaExpression, 28789SyntaxKind.SingleLineSubLambdaExpression, 28790SyntaxKind.MultiLineFunctionLambdaExpression, 28791SyntaxKind.MultiLineSubLambdaExpression, 28792SyntaxKind.QueryExpression, 28793SyntaxKind.FunctionAggregation, 28794SyntaxKind.GroupAggregation, 28795SyntaxKind.XmlDocument, 28796SyntaxKind.XmlElement, 28797SyntaxKind.XmlText, 28798SyntaxKind.XmlElementStartTag, 28799SyntaxKind.XmlElementEndTag, 28800SyntaxKind.XmlEmptyElement, 28801SyntaxKind.XmlAttribute, 28802SyntaxKind.XmlString, 28803SyntaxKind.XmlPrefixName, 28804SyntaxKind.XmlName, 28805SyntaxKind.XmlBracketedName, 28806SyntaxKind.XmlComment, 28807SyntaxKind.XmlProcessingInstruction, 28808SyntaxKind.XmlCDataSection, 28809SyntaxKind.XmlEmbeddedExpression, 28810SyntaxKind.ArrayType, 28811SyntaxKind.NullableType, 28812SyntaxKind.PredefinedType, 28813SyntaxKind.IdentifierName, 28814SyntaxKind.GenericName, 28815SyntaxKind.QualifiedName, 28816SyntaxKind.GlobalName, 28817SyntaxKind.CrefOperatorReference, 28818SyntaxKind.QualifiedCrefOperatorReference, 28819SyntaxKind.AwaitExpression, 28820SyntaxKind.XmlCrefAttribute, 28821SyntaxKind.XmlNameAttribute, 28822SyntaxKind.ConditionalAccessExpression, 28823SyntaxKind.NameOfExpression, 28824SyntaxKind.InterpolatedStringExpression 28829Case SyntaxKind.BackslashToken 28837Case SyntaxKind.KeywordEventContainer, 28838SyntaxKind.WithEventsEventContainer, 28839SyntaxKind.WithEventsPropertyEventContainer, 28840SyntaxKind.IdentifierLabel, 28841SyntaxKind.NumericLabel, 28842SyntaxKind.NextLabel, 28843SyntaxKind.MidExpression, 28844SyntaxKind.CharacterLiteralExpression, 28845SyntaxKind.TrueLiteralExpression, 28846SyntaxKind.FalseLiteralExpression, 28847SyntaxKind.NumericLiteralExpression, 28848SyntaxKind.DateLiteralExpression, 28849SyntaxKind.StringLiteralExpression, 28850SyntaxKind.NothingLiteralExpression, 28851SyntaxKind.ParenthesizedExpression, 28852SyntaxKind.TupleExpression, 28853SyntaxKind.TupleType, 28854SyntaxKind.MeExpression, 28855SyntaxKind.MyBaseExpression, 28856SyntaxKind.MyClassExpression, 28857SyntaxKind.GetTypeExpression, 28858SyntaxKind.TypeOfIsExpression, 28859SyntaxKind.TypeOfIsNotExpression, 28860SyntaxKind.GetXmlNamespaceExpression, 28861SyntaxKind.SimpleMemberAccessExpression, 28862SyntaxKind.DictionaryAccessExpression, 28863SyntaxKind.XmlElementAccessExpression, 28864SyntaxKind.XmlDescendantAccessExpression, 28865SyntaxKind.XmlAttributeAccessExpression, 28866SyntaxKind.InvocationExpression, 28867SyntaxKind.ObjectCreationExpression, 28868SyntaxKind.AnonymousObjectCreationExpression, 28869SyntaxKind.ArrayCreationExpression, 28870SyntaxKind.CollectionInitializer, 28871SyntaxKind.CTypeExpression, 28872SyntaxKind.DirectCastExpression, 28873SyntaxKind.TryCastExpression, 28874SyntaxKind.PredefinedCastExpression, 28875SyntaxKind.AddExpression, 28876SyntaxKind.SubtractExpression, 28877SyntaxKind.MultiplyExpression, 28878SyntaxKind.DivideExpression, 28879SyntaxKind.IntegerDivideExpression, 28880SyntaxKind.ExponentiateExpression, 28881SyntaxKind.LeftShiftExpression, 28882SyntaxKind.RightShiftExpression, 28883SyntaxKind.ConcatenateExpression, 28884SyntaxKind.ModuloExpression, 28885SyntaxKind.EqualsExpression, 28886SyntaxKind.NotEqualsExpression, 28887SyntaxKind.LessThanExpression, 28888SyntaxKind.LessThanOrEqualExpression, 28889SyntaxKind.GreaterThanOrEqualExpression, 28890SyntaxKind.GreaterThanExpression, 28891SyntaxKind.IsExpression, 28892SyntaxKind.IsNotExpression, 28893SyntaxKind.LikeExpression, 28894SyntaxKind.OrExpression, 28895SyntaxKind.ExclusiveOrExpression, 28896SyntaxKind.AndExpression, 28897SyntaxKind.OrElseExpression, 28898SyntaxKind.AndAlsoExpression, 28899SyntaxKind.UnaryPlusExpression, 28900SyntaxKind.UnaryMinusExpression, 28901SyntaxKind.NotExpression, 28902SyntaxKind.AddressOfExpression, 28903SyntaxKind.BinaryConditionalExpression, 28904SyntaxKind.TernaryConditionalExpression, 28905SyntaxKind.SingleLineFunctionLambdaExpression, 28906SyntaxKind.SingleLineSubLambdaExpression, 28907SyntaxKind.MultiLineFunctionLambdaExpression, 28908SyntaxKind.MultiLineSubLambdaExpression, 28909SyntaxKind.QueryExpression, 28910SyntaxKind.FunctionAggregation, 28911SyntaxKind.GroupAggregation, 28912SyntaxKind.XmlDocument, 28913SyntaxKind.XmlElement, 28914SyntaxKind.XmlText, 28915SyntaxKind.XmlElementStartTag, 28916SyntaxKind.XmlElementEndTag, 28917SyntaxKind.XmlEmptyElement, 28918SyntaxKind.XmlAttribute, 28919SyntaxKind.XmlString, 28920SyntaxKind.XmlPrefixName, 28921SyntaxKind.XmlName, 28922SyntaxKind.XmlBracketedName, 28923SyntaxKind.XmlComment, 28924SyntaxKind.XmlProcessingInstruction, 28925SyntaxKind.XmlCDataSection, 28926SyntaxKind.XmlEmbeddedExpression, 28927SyntaxKind.ArrayType, 28928SyntaxKind.NullableType, 28929SyntaxKind.PredefinedType, 28930SyntaxKind.IdentifierName, 28931SyntaxKind.GenericName, 28932SyntaxKind.QualifiedName, 28933SyntaxKind.GlobalName, 28934SyntaxKind.CrefOperatorReference, 28935SyntaxKind.QualifiedCrefOperatorReference, 28936SyntaxKind.AwaitExpression, 28937SyntaxKind.XmlCrefAttribute, 28938SyntaxKind.XmlNameAttribute, 28939SyntaxKind.ConditionalAccessExpression, 28940SyntaxKind.NameOfExpression, 28941SyntaxKind.InterpolatedStringExpression 28945Return New BinaryExpressionSyntax(SyntaxKind.IntegerDivideExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 28961Return SyntaxFactory.IntegerDivideExpression(left, SyntaxFactory.Token(SyntaxKind.BackslashToken), right) 28981Case SyntaxKind.KeywordEventContainer, 28982SyntaxKind.WithEventsEventContainer, 28983SyntaxKind.WithEventsPropertyEventContainer, 28984SyntaxKind.IdentifierLabel, 28985SyntaxKind.NumericLabel, 28986SyntaxKind.NextLabel, 28987SyntaxKind.MidExpression, 28988SyntaxKind.CharacterLiteralExpression, 28989SyntaxKind.TrueLiteralExpression, 28990SyntaxKind.FalseLiteralExpression, 28991SyntaxKind.NumericLiteralExpression, 28992SyntaxKind.DateLiteralExpression, 28993SyntaxKind.StringLiteralExpression, 28994SyntaxKind.NothingLiteralExpression, 28995SyntaxKind.ParenthesizedExpression, 28996SyntaxKind.TupleExpression, 28997SyntaxKind.TupleType, 28998SyntaxKind.MeExpression, 28999SyntaxKind.MyBaseExpression, 29000SyntaxKind.MyClassExpression, 29001SyntaxKind.GetTypeExpression, 29002SyntaxKind.TypeOfIsExpression, 29003SyntaxKind.TypeOfIsNotExpression, 29004SyntaxKind.GetXmlNamespaceExpression, 29005SyntaxKind.SimpleMemberAccessExpression, 29006SyntaxKind.DictionaryAccessExpression, 29007SyntaxKind.XmlElementAccessExpression, 29008SyntaxKind.XmlDescendantAccessExpression, 29009SyntaxKind.XmlAttributeAccessExpression, 29010SyntaxKind.InvocationExpression, 29011SyntaxKind.ObjectCreationExpression, 29012SyntaxKind.AnonymousObjectCreationExpression, 29013SyntaxKind.ArrayCreationExpression, 29014SyntaxKind.CollectionInitializer, 29015SyntaxKind.CTypeExpression, 29016SyntaxKind.DirectCastExpression, 29017SyntaxKind.TryCastExpression, 29018SyntaxKind.PredefinedCastExpression, 29019SyntaxKind.AddExpression, 29020SyntaxKind.SubtractExpression, 29021SyntaxKind.MultiplyExpression, 29022SyntaxKind.DivideExpression, 29023SyntaxKind.IntegerDivideExpression, 29024SyntaxKind.ExponentiateExpression, 29025SyntaxKind.LeftShiftExpression, 29026SyntaxKind.RightShiftExpression, 29027SyntaxKind.ConcatenateExpression, 29028SyntaxKind.ModuloExpression, 29029SyntaxKind.EqualsExpression, 29030SyntaxKind.NotEqualsExpression, 29031SyntaxKind.LessThanExpression, 29032SyntaxKind.LessThanOrEqualExpression, 29033SyntaxKind.GreaterThanOrEqualExpression, 29034SyntaxKind.GreaterThanExpression, 29035SyntaxKind.IsExpression, 29036SyntaxKind.IsNotExpression, 29037SyntaxKind.LikeExpression, 29038SyntaxKind.OrExpression, 29039SyntaxKind.ExclusiveOrExpression, 29040SyntaxKind.AndExpression, 29041SyntaxKind.OrElseExpression, 29042SyntaxKind.AndAlsoExpression, 29043SyntaxKind.UnaryPlusExpression, 29044SyntaxKind.UnaryMinusExpression, 29045SyntaxKind.NotExpression, 29046SyntaxKind.AddressOfExpression, 29047SyntaxKind.BinaryConditionalExpression, 29048SyntaxKind.TernaryConditionalExpression, 29049SyntaxKind.SingleLineFunctionLambdaExpression, 29050SyntaxKind.SingleLineSubLambdaExpression, 29051SyntaxKind.MultiLineFunctionLambdaExpression, 29052SyntaxKind.MultiLineSubLambdaExpression, 29053SyntaxKind.QueryExpression, 29054SyntaxKind.FunctionAggregation, 29055SyntaxKind.GroupAggregation, 29056SyntaxKind.XmlDocument, 29057SyntaxKind.XmlElement, 29058SyntaxKind.XmlText, 29059SyntaxKind.XmlElementStartTag, 29060SyntaxKind.XmlElementEndTag, 29061SyntaxKind.XmlEmptyElement, 29062SyntaxKind.XmlAttribute, 29063SyntaxKind.XmlString, 29064SyntaxKind.XmlPrefixName, 29065SyntaxKind.XmlName, 29066SyntaxKind.XmlBracketedName, 29067SyntaxKind.XmlComment, 29068SyntaxKind.XmlProcessingInstruction, 29069SyntaxKind.XmlCDataSection, 29070SyntaxKind.XmlEmbeddedExpression, 29071SyntaxKind.ArrayType, 29072SyntaxKind.NullableType, 29073SyntaxKind.PredefinedType, 29074SyntaxKind.IdentifierName, 29075SyntaxKind.GenericName, 29076SyntaxKind.QualifiedName, 29077SyntaxKind.GlobalName, 29078SyntaxKind.CrefOperatorReference, 29079SyntaxKind.QualifiedCrefOperatorReference, 29080SyntaxKind.AwaitExpression, 29081SyntaxKind.XmlCrefAttribute, 29082SyntaxKind.XmlNameAttribute, 29083SyntaxKind.ConditionalAccessExpression, 29084SyntaxKind.NameOfExpression, 29085SyntaxKind.InterpolatedStringExpression 29090Case SyntaxKind.CaretToken 29098Case SyntaxKind.KeywordEventContainer, 29099SyntaxKind.WithEventsEventContainer, 29100SyntaxKind.WithEventsPropertyEventContainer, 29101SyntaxKind.IdentifierLabel, 29102SyntaxKind.NumericLabel, 29103SyntaxKind.NextLabel, 29104SyntaxKind.MidExpression, 29105SyntaxKind.CharacterLiteralExpression, 29106SyntaxKind.TrueLiteralExpression, 29107SyntaxKind.FalseLiteralExpression, 29108SyntaxKind.NumericLiteralExpression, 29109SyntaxKind.DateLiteralExpression, 29110SyntaxKind.StringLiteralExpression, 29111SyntaxKind.NothingLiteralExpression, 29112SyntaxKind.ParenthesizedExpression, 29113SyntaxKind.TupleExpression, 29114SyntaxKind.TupleType, 29115SyntaxKind.MeExpression, 29116SyntaxKind.MyBaseExpression, 29117SyntaxKind.MyClassExpression, 29118SyntaxKind.GetTypeExpression, 29119SyntaxKind.TypeOfIsExpression, 29120SyntaxKind.TypeOfIsNotExpression, 29121SyntaxKind.GetXmlNamespaceExpression, 29122SyntaxKind.SimpleMemberAccessExpression, 29123SyntaxKind.DictionaryAccessExpression, 29124SyntaxKind.XmlElementAccessExpression, 29125SyntaxKind.XmlDescendantAccessExpression, 29126SyntaxKind.XmlAttributeAccessExpression, 29127SyntaxKind.InvocationExpression, 29128SyntaxKind.ObjectCreationExpression, 29129SyntaxKind.AnonymousObjectCreationExpression, 29130SyntaxKind.ArrayCreationExpression, 29131SyntaxKind.CollectionInitializer, 29132SyntaxKind.CTypeExpression, 29133SyntaxKind.DirectCastExpression, 29134SyntaxKind.TryCastExpression, 29135SyntaxKind.PredefinedCastExpression, 29136SyntaxKind.AddExpression, 29137SyntaxKind.SubtractExpression, 29138SyntaxKind.MultiplyExpression, 29139SyntaxKind.DivideExpression, 29140SyntaxKind.IntegerDivideExpression, 29141SyntaxKind.ExponentiateExpression, 29142SyntaxKind.LeftShiftExpression, 29143SyntaxKind.RightShiftExpression, 29144SyntaxKind.ConcatenateExpression, 29145SyntaxKind.ModuloExpression, 29146SyntaxKind.EqualsExpression, 29147SyntaxKind.NotEqualsExpression, 29148SyntaxKind.LessThanExpression, 29149SyntaxKind.LessThanOrEqualExpression, 29150SyntaxKind.GreaterThanOrEqualExpression, 29151SyntaxKind.GreaterThanExpression, 29152SyntaxKind.IsExpression, 29153SyntaxKind.IsNotExpression, 29154SyntaxKind.LikeExpression, 29155SyntaxKind.OrExpression, 29156SyntaxKind.ExclusiveOrExpression, 29157SyntaxKind.AndExpression, 29158SyntaxKind.OrElseExpression, 29159SyntaxKind.AndAlsoExpression, 29160SyntaxKind.UnaryPlusExpression, 29161SyntaxKind.UnaryMinusExpression, 29162SyntaxKind.NotExpression, 29163SyntaxKind.AddressOfExpression, 29164SyntaxKind.BinaryConditionalExpression, 29165SyntaxKind.TernaryConditionalExpression, 29166SyntaxKind.SingleLineFunctionLambdaExpression, 29167SyntaxKind.SingleLineSubLambdaExpression, 29168SyntaxKind.MultiLineFunctionLambdaExpression, 29169SyntaxKind.MultiLineSubLambdaExpression, 29170SyntaxKind.QueryExpression, 29171SyntaxKind.FunctionAggregation, 29172SyntaxKind.GroupAggregation, 29173SyntaxKind.XmlDocument, 29174SyntaxKind.XmlElement, 29175SyntaxKind.XmlText, 29176SyntaxKind.XmlElementStartTag, 29177SyntaxKind.XmlElementEndTag, 29178SyntaxKind.XmlEmptyElement, 29179SyntaxKind.XmlAttribute, 29180SyntaxKind.XmlString, 29181SyntaxKind.XmlPrefixName, 29182SyntaxKind.XmlName, 29183SyntaxKind.XmlBracketedName, 29184SyntaxKind.XmlComment, 29185SyntaxKind.XmlProcessingInstruction, 29186SyntaxKind.XmlCDataSection, 29187SyntaxKind.XmlEmbeddedExpression, 29188SyntaxKind.ArrayType, 29189SyntaxKind.NullableType, 29190SyntaxKind.PredefinedType, 29191SyntaxKind.IdentifierName, 29192SyntaxKind.GenericName, 29193SyntaxKind.QualifiedName, 29194SyntaxKind.GlobalName, 29195SyntaxKind.CrefOperatorReference, 29196SyntaxKind.QualifiedCrefOperatorReference, 29197SyntaxKind.AwaitExpression, 29198SyntaxKind.XmlCrefAttribute, 29199SyntaxKind.XmlNameAttribute, 29200SyntaxKind.ConditionalAccessExpression, 29201SyntaxKind.NameOfExpression, 29202SyntaxKind.InterpolatedStringExpression 29206Return New BinaryExpressionSyntax(SyntaxKind.ExponentiateExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 29222Return SyntaxFactory.ExponentiateExpression(left, SyntaxFactory.Token(SyntaxKind.CaretToken), right) 29242Case SyntaxKind.KeywordEventContainer, 29243SyntaxKind.WithEventsEventContainer, 29244SyntaxKind.WithEventsPropertyEventContainer, 29245SyntaxKind.IdentifierLabel, 29246SyntaxKind.NumericLabel, 29247SyntaxKind.NextLabel, 29248SyntaxKind.MidExpression, 29249SyntaxKind.CharacterLiteralExpression, 29250SyntaxKind.TrueLiteralExpression, 29251SyntaxKind.FalseLiteralExpression, 29252SyntaxKind.NumericLiteralExpression, 29253SyntaxKind.DateLiteralExpression, 29254SyntaxKind.StringLiteralExpression, 29255SyntaxKind.NothingLiteralExpression, 29256SyntaxKind.ParenthesizedExpression, 29257SyntaxKind.TupleExpression, 29258SyntaxKind.TupleType, 29259SyntaxKind.MeExpression, 29260SyntaxKind.MyBaseExpression, 29261SyntaxKind.MyClassExpression, 29262SyntaxKind.GetTypeExpression, 29263SyntaxKind.TypeOfIsExpression, 29264SyntaxKind.TypeOfIsNotExpression, 29265SyntaxKind.GetXmlNamespaceExpression, 29266SyntaxKind.SimpleMemberAccessExpression, 29267SyntaxKind.DictionaryAccessExpression, 29268SyntaxKind.XmlElementAccessExpression, 29269SyntaxKind.XmlDescendantAccessExpression, 29270SyntaxKind.XmlAttributeAccessExpression, 29271SyntaxKind.InvocationExpression, 29272SyntaxKind.ObjectCreationExpression, 29273SyntaxKind.AnonymousObjectCreationExpression, 29274SyntaxKind.ArrayCreationExpression, 29275SyntaxKind.CollectionInitializer, 29276SyntaxKind.CTypeExpression, 29277SyntaxKind.DirectCastExpression, 29278SyntaxKind.TryCastExpression, 29279SyntaxKind.PredefinedCastExpression, 29280SyntaxKind.AddExpression, 29281SyntaxKind.SubtractExpression, 29282SyntaxKind.MultiplyExpression, 29283SyntaxKind.DivideExpression, 29284SyntaxKind.IntegerDivideExpression, 29285SyntaxKind.ExponentiateExpression, 29286SyntaxKind.LeftShiftExpression, 29287SyntaxKind.RightShiftExpression, 29288SyntaxKind.ConcatenateExpression, 29289SyntaxKind.ModuloExpression, 29290SyntaxKind.EqualsExpression, 29291SyntaxKind.NotEqualsExpression, 29292SyntaxKind.LessThanExpression, 29293SyntaxKind.LessThanOrEqualExpression, 29294SyntaxKind.GreaterThanOrEqualExpression, 29295SyntaxKind.GreaterThanExpression, 29296SyntaxKind.IsExpression, 29297SyntaxKind.IsNotExpression, 29298SyntaxKind.LikeExpression, 29299SyntaxKind.OrExpression, 29300SyntaxKind.ExclusiveOrExpression, 29301SyntaxKind.AndExpression, 29302SyntaxKind.OrElseExpression, 29303SyntaxKind.AndAlsoExpression, 29304SyntaxKind.UnaryPlusExpression, 29305SyntaxKind.UnaryMinusExpression, 29306SyntaxKind.NotExpression, 29307SyntaxKind.AddressOfExpression, 29308SyntaxKind.BinaryConditionalExpression, 29309SyntaxKind.TernaryConditionalExpression, 29310SyntaxKind.SingleLineFunctionLambdaExpression, 29311SyntaxKind.SingleLineSubLambdaExpression, 29312SyntaxKind.MultiLineFunctionLambdaExpression, 29313SyntaxKind.MultiLineSubLambdaExpression, 29314SyntaxKind.QueryExpression, 29315SyntaxKind.FunctionAggregation, 29316SyntaxKind.GroupAggregation, 29317SyntaxKind.XmlDocument, 29318SyntaxKind.XmlElement, 29319SyntaxKind.XmlText, 29320SyntaxKind.XmlElementStartTag, 29321SyntaxKind.XmlElementEndTag, 29322SyntaxKind.XmlEmptyElement, 29323SyntaxKind.XmlAttribute, 29324SyntaxKind.XmlString, 29325SyntaxKind.XmlPrefixName, 29326SyntaxKind.XmlName, 29327SyntaxKind.XmlBracketedName, 29328SyntaxKind.XmlComment, 29329SyntaxKind.XmlProcessingInstruction, 29330SyntaxKind.XmlCDataSection, 29331SyntaxKind.XmlEmbeddedExpression, 29332SyntaxKind.ArrayType, 29333SyntaxKind.NullableType, 29334SyntaxKind.PredefinedType, 29335SyntaxKind.IdentifierName, 29336SyntaxKind.GenericName, 29337SyntaxKind.QualifiedName, 29338SyntaxKind.GlobalName, 29339SyntaxKind.CrefOperatorReference, 29340SyntaxKind.QualifiedCrefOperatorReference, 29341SyntaxKind.AwaitExpression, 29342SyntaxKind.XmlCrefAttribute, 29343SyntaxKind.XmlNameAttribute, 29344SyntaxKind.ConditionalAccessExpression, 29345SyntaxKind.NameOfExpression, 29346SyntaxKind.InterpolatedStringExpression 29351Case SyntaxKind.LessThanLessThanToken 29359Case SyntaxKind.KeywordEventContainer, 29360SyntaxKind.WithEventsEventContainer, 29361SyntaxKind.WithEventsPropertyEventContainer, 29362SyntaxKind.IdentifierLabel, 29363SyntaxKind.NumericLabel, 29364SyntaxKind.NextLabel, 29365SyntaxKind.MidExpression, 29366SyntaxKind.CharacterLiteralExpression, 29367SyntaxKind.TrueLiteralExpression, 29368SyntaxKind.FalseLiteralExpression, 29369SyntaxKind.NumericLiteralExpression, 29370SyntaxKind.DateLiteralExpression, 29371SyntaxKind.StringLiteralExpression, 29372SyntaxKind.NothingLiteralExpression, 29373SyntaxKind.ParenthesizedExpression, 29374SyntaxKind.TupleExpression, 29375SyntaxKind.TupleType, 29376SyntaxKind.MeExpression, 29377SyntaxKind.MyBaseExpression, 29378SyntaxKind.MyClassExpression, 29379SyntaxKind.GetTypeExpression, 29380SyntaxKind.TypeOfIsExpression, 29381SyntaxKind.TypeOfIsNotExpression, 29382SyntaxKind.GetXmlNamespaceExpression, 29383SyntaxKind.SimpleMemberAccessExpression, 29384SyntaxKind.DictionaryAccessExpression, 29385SyntaxKind.XmlElementAccessExpression, 29386SyntaxKind.XmlDescendantAccessExpression, 29387SyntaxKind.XmlAttributeAccessExpression, 29388SyntaxKind.InvocationExpression, 29389SyntaxKind.ObjectCreationExpression, 29390SyntaxKind.AnonymousObjectCreationExpression, 29391SyntaxKind.ArrayCreationExpression, 29392SyntaxKind.CollectionInitializer, 29393SyntaxKind.CTypeExpression, 29394SyntaxKind.DirectCastExpression, 29395SyntaxKind.TryCastExpression, 29396SyntaxKind.PredefinedCastExpression, 29397SyntaxKind.AddExpression, 29398SyntaxKind.SubtractExpression, 29399SyntaxKind.MultiplyExpression, 29400SyntaxKind.DivideExpression, 29401SyntaxKind.IntegerDivideExpression, 29402SyntaxKind.ExponentiateExpression, 29403SyntaxKind.LeftShiftExpression, 29404SyntaxKind.RightShiftExpression, 29405SyntaxKind.ConcatenateExpression, 29406SyntaxKind.ModuloExpression, 29407SyntaxKind.EqualsExpression, 29408SyntaxKind.NotEqualsExpression, 29409SyntaxKind.LessThanExpression, 29410SyntaxKind.LessThanOrEqualExpression, 29411SyntaxKind.GreaterThanOrEqualExpression, 29412SyntaxKind.GreaterThanExpression, 29413SyntaxKind.IsExpression, 29414SyntaxKind.IsNotExpression, 29415SyntaxKind.LikeExpression, 29416SyntaxKind.OrExpression, 29417SyntaxKind.ExclusiveOrExpression, 29418SyntaxKind.AndExpression, 29419SyntaxKind.OrElseExpression, 29420SyntaxKind.AndAlsoExpression, 29421SyntaxKind.UnaryPlusExpression, 29422SyntaxKind.UnaryMinusExpression, 29423SyntaxKind.NotExpression, 29424SyntaxKind.AddressOfExpression, 29425SyntaxKind.BinaryConditionalExpression, 29426SyntaxKind.TernaryConditionalExpression, 29427SyntaxKind.SingleLineFunctionLambdaExpression, 29428SyntaxKind.SingleLineSubLambdaExpression, 29429SyntaxKind.MultiLineFunctionLambdaExpression, 29430SyntaxKind.MultiLineSubLambdaExpression, 29431SyntaxKind.QueryExpression, 29432SyntaxKind.FunctionAggregation, 29433SyntaxKind.GroupAggregation, 29434SyntaxKind.XmlDocument, 29435SyntaxKind.XmlElement, 29436SyntaxKind.XmlText, 29437SyntaxKind.XmlElementStartTag, 29438SyntaxKind.XmlElementEndTag, 29439SyntaxKind.XmlEmptyElement, 29440SyntaxKind.XmlAttribute, 29441SyntaxKind.XmlString, 29442SyntaxKind.XmlPrefixName, 29443SyntaxKind.XmlName, 29444SyntaxKind.XmlBracketedName, 29445SyntaxKind.XmlComment, 29446SyntaxKind.XmlProcessingInstruction, 29447SyntaxKind.XmlCDataSection, 29448SyntaxKind.XmlEmbeddedExpression, 29449SyntaxKind.ArrayType, 29450SyntaxKind.NullableType, 29451SyntaxKind.PredefinedType, 29452SyntaxKind.IdentifierName, 29453SyntaxKind.GenericName, 29454SyntaxKind.QualifiedName, 29455SyntaxKind.GlobalName, 29456SyntaxKind.CrefOperatorReference, 29457SyntaxKind.QualifiedCrefOperatorReference, 29458SyntaxKind.AwaitExpression, 29459SyntaxKind.XmlCrefAttribute, 29460SyntaxKind.XmlNameAttribute, 29461SyntaxKind.ConditionalAccessExpression, 29462SyntaxKind.NameOfExpression, 29463SyntaxKind.InterpolatedStringExpression 29467Return New BinaryExpressionSyntax(SyntaxKind.LeftShiftExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 29483Return SyntaxFactory.LeftShiftExpression(left, SyntaxFactory.Token(SyntaxKind.LessThanLessThanToken), right) 29503Case SyntaxKind.KeywordEventContainer, 29504SyntaxKind.WithEventsEventContainer, 29505SyntaxKind.WithEventsPropertyEventContainer, 29506SyntaxKind.IdentifierLabel, 29507SyntaxKind.NumericLabel, 29508SyntaxKind.NextLabel, 29509SyntaxKind.MidExpression, 29510SyntaxKind.CharacterLiteralExpression, 29511SyntaxKind.TrueLiteralExpression, 29512SyntaxKind.FalseLiteralExpression, 29513SyntaxKind.NumericLiteralExpression, 29514SyntaxKind.DateLiteralExpression, 29515SyntaxKind.StringLiteralExpression, 29516SyntaxKind.NothingLiteralExpression, 29517SyntaxKind.ParenthesizedExpression, 29518SyntaxKind.TupleExpression, 29519SyntaxKind.TupleType, 29520SyntaxKind.MeExpression, 29521SyntaxKind.MyBaseExpression, 29522SyntaxKind.MyClassExpression, 29523SyntaxKind.GetTypeExpression, 29524SyntaxKind.TypeOfIsExpression, 29525SyntaxKind.TypeOfIsNotExpression, 29526SyntaxKind.GetXmlNamespaceExpression, 29527SyntaxKind.SimpleMemberAccessExpression, 29528SyntaxKind.DictionaryAccessExpression, 29529SyntaxKind.XmlElementAccessExpression, 29530SyntaxKind.XmlDescendantAccessExpression, 29531SyntaxKind.XmlAttributeAccessExpression, 29532SyntaxKind.InvocationExpression, 29533SyntaxKind.ObjectCreationExpression, 29534SyntaxKind.AnonymousObjectCreationExpression, 29535SyntaxKind.ArrayCreationExpression, 29536SyntaxKind.CollectionInitializer, 29537SyntaxKind.CTypeExpression, 29538SyntaxKind.DirectCastExpression, 29539SyntaxKind.TryCastExpression, 29540SyntaxKind.PredefinedCastExpression, 29541SyntaxKind.AddExpression, 29542SyntaxKind.SubtractExpression, 29543SyntaxKind.MultiplyExpression, 29544SyntaxKind.DivideExpression, 29545SyntaxKind.IntegerDivideExpression, 29546SyntaxKind.ExponentiateExpression, 29547SyntaxKind.LeftShiftExpression, 29548SyntaxKind.RightShiftExpression, 29549SyntaxKind.ConcatenateExpression, 29550SyntaxKind.ModuloExpression, 29551SyntaxKind.EqualsExpression, 29552SyntaxKind.NotEqualsExpression, 29553SyntaxKind.LessThanExpression, 29554SyntaxKind.LessThanOrEqualExpression, 29555SyntaxKind.GreaterThanOrEqualExpression, 29556SyntaxKind.GreaterThanExpression, 29557SyntaxKind.IsExpression, 29558SyntaxKind.IsNotExpression, 29559SyntaxKind.LikeExpression, 29560SyntaxKind.OrExpression, 29561SyntaxKind.ExclusiveOrExpression, 29562SyntaxKind.AndExpression, 29563SyntaxKind.OrElseExpression, 29564SyntaxKind.AndAlsoExpression, 29565SyntaxKind.UnaryPlusExpression, 29566SyntaxKind.UnaryMinusExpression, 29567SyntaxKind.NotExpression, 29568SyntaxKind.AddressOfExpression, 29569SyntaxKind.BinaryConditionalExpression, 29570SyntaxKind.TernaryConditionalExpression, 29571SyntaxKind.SingleLineFunctionLambdaExpression, 29572SyntaxKind.SingleLineSubLambdaExpression, 29573SyntaxKind.MultiLineFunctionLambdaExpression, 29574SyntaxKind.MultiLineSubLambdaExpression, 29575SyntaxKind.QueryExpression, 29576SyntaxKind.FunctionAggregation, 29577SyntaxKind.GroupAggregation, 29578SyntaxKind.XmlDocument, 29579SyntaxKind.XmlElement, 29580SyntaxKind.XmlText, 29581SyntaxKind.XmlElementStartTag, 29582SyntaxKind.XmlElementEndTag, 29583SyntaxKind.XmlEmptyElement, 29584SyntaxKind.XmlAttribute, 29585SyntaxKind.XmlString, 29586SyntaxKind.XmlPrefixName, 29587SyntaxKind.XmlName, 29588SyntaxKind.XmlBracketedName, 29589SyntaxKind.XmlComment, 29590SyntaxKind.XmlProcessingInstruction, 29591SyntaxKind.XmlCDataSection, 29592SyntaxKind.XmlEmbeddedExpression, 29593SyntaxKind.ArrayType, 29594SyntaxKind.NullableType, 29595SyntaxKind.PredefinedType, 29596SyntaxKind.IdentifierName, 29597SyntaxKind.GenericName, 29598SyntaxKind.QualifiedName, 29599SyntaxKind.GlobalName, 29600SyntaxKind.CrefOperatorReference, 29601SyntaxKind.QualifiedCrefOperatorReference, 29602SyntaxKind.AwaitExpression, 29603SyntaxKind.XmlCrefAttribute, 29604SyntaxKind.XmlNameAttribute, 29605SyntaxKind.ConditionalAccessExpression, 29606SyntaxKind.NameOfExpression, 29607SyntaxKind.InterpolatedStringExpression 29612Case SyntaxKind.GreaterThanGreaterThanToken 29620Case SyntaxKind.KeywordEventContainer, 29621SyntaxKind.WithEventsEventContainer, 29622SyntaxKind.WithEventsPropertyEventContainer, 29623SyntaxKind.IdentifierLabel, 29624SyntaxKind.NumericLabel, 29625SyntaxKind.NextLabel, 29626SyntaxKind.MidExpression, 29627SyntaxKind.CharacterLiteralExpression, 29628SyntaxKind.TrueLiteralExpression, 29629SyntaxKind.FalseLiteralExpression, 29630SyntaxKind.NumericLiteralExpression, 29631SyntaxKind.DateLiteralExpression, 29632SyntaxKind.StringLiteralExpression, 29633SyntaxKind.NothingLiteralExpression, 29634SyntaxKind.ParenthesizedExpression, 29635SyntaxKind.TupleExpression, 29636SyntaxKind.TupleType, 29637SyntaxKind.MeExpression, 29638SyntaxKind.MyBaseExpression, 29639SyntaxKind.MyClassExpression, 29640SyntaxKind.GetTypeExpression, 29641SyntaxKind.TypeOfIsExpression, 29642SyntaxKind.TypeOfIsNotExpression, 29643SyntaxKind.GetXmlNamespaceExpression, 29644SyntaxKind.SimpleMemberAccessExpression, 29645SyntaxKind.DictionaryAccessExpression, 29646SyntaxKind.XmlElementAccessExpression, 29647SyntaxKind.XmlDescendantAccessExpression, 29648SyntaxKind.XmlAttributeAccessExpression, 29649SyntaxKind.InvocationExpression, 29650SyntaxKind.ObjectCreationExpression, 29651SyntaxKind.AnonymousObjectCreationExpression, 29652SyntaxKind.ArrayCreationExpression, 29653SyntaxKind.CollectionInitializer, 29654SyntaxKind.CTypeExpression, 29655SyntaxKind.DirectCastExpression, 29656SyntaxKind.TryCastExpression, 29657SyntaxKind.PredefinedCastExpression, 29658SyntaxKind.AddExpression, 29659SyntaxKind.SubtractExpression, 29660SyntaxKind.MultiplyExpression, 29661SyntaxKind.DivideExpression, 29662SyntaxKind.IntegerDivideExpression, 29663SyntaxKind.ExponentiateExpression, 29664SyntaxKind.LeftShiftExpression, 29665SyntaxKind.RightShiftExpression, 29666SyntaxKind.ConcatenateExpression, 29667SyntaxKind.ModuloExpression, 29668SyntaxKind.EqualsExpression, 29669SyntaxKind.NotEqualsExpression, 29670SyntaxKind.LessThanExpression, 29671SyntaxKind.LessThanOrEqualExpression, 29672SyntaxKind.GreaterThanOrEqualExpression, 29673SyntaxKind.GreaterThanExpression, 29674SyntaxKind.IsExpression, 29675SyntaxKind.IsNotExpression, 29676SyntaxKind.LikeExpression, 29677SyntaxKind.OrExpression, 29678SyntaxKind.ExclusiveOrExpression, 29679SyntaxKind.AndExpression, 29680SyntaxKind.OrElseExpression, 29681SyntaxKind.AndAlsoExpression, 29682SyntaxKind.UnaryPlusExpression, 29683SyntaxKind.UnaryMinusExpression, 29684SyntaxKind.NotExpression, 29685SyntaxKind.AddressOfExpression, 29686SyntaxKind.BinaryConditionalExpression, 29687SyntaxKind.TernaryConditionalExpression, 29688SyntaxKind.SingleLineFunctionLambdaExpression, 29689SyntaxKind.SingleLineSubLambdaExpression, 29690SyntaxKind.MultiLineFunctionLambdaExpression, 29691SyntaxKind.MultiLineSubLambdaExpression, 29692SyntaxKind.QueryExpression, 29693SyntaxKind.FunctionAggregation, 29694SyntaxKind.GroupAggregation, 29695SyntaxKind.XmlDocument, 29696SyntaxKind.XmlElement, 29697SyntaxKind.XmlText, 29698SyntaxKind.XmlElementStartTag, 29699SyntaxKind.XmlElementEndTag, 29700SyntaxKind.XmlEmptyElement, 29701SyntaxKind.XmlAttribute, 29702SyntaxKind.XmlString, 29703SyntaxKind.XmlPrefixName, 29704SyntaxKind.XmlName, 29705SyntaxKind.XmlBracketedName, 29706SyntaxKind.XmlComment, 29707SyntaxKind.XmlProcessingInstruction, 29708SyntaxKind.XmlCDataSection, 29709SyntaxKind.XmlEmbeddedExpression, 29710SyntaxKind.ArrayType, 29711SyntaxKind.NullableType, 29712SyntaxKind.PredefinedType, 29713SyntaxKind.IdentifierName, 29714SyntaxKind.GenericName, 29715SyntaxKind.QualifiedName, 29716SyntaxKind.GlobalName, 29717SyntaxKind.CrefOperatorReference, 29718SyntaxKind.QualifiedCrefOperatorReference, 29719SyntaxKind.AwaitExpression, 29720SyntaxKind.XmlCrefAttribute, 29721SyntaxKind.XmlNameAttribute, 29722SyntaxKind.ConditionalAccessExpression, 29723SyntaxKind.NameOfExpression, 29724SyntaxKind.InterpolatedStringExpression 29728Return New BinaryExpressionSyntax(SyntaxKind.RightShiftExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 29744Return SyntaxFactory.RightShiftExpression(left, SyntaxFactory.Token(SyntaxKind.GreaterThanGreaterThanToken), right) 29764Case SyntaxKind.KeywordEventContainer, 29765SyntaxKind.WithEventsEventContainer, 29766SyntaxKind.WithEventsPropertyEventContainer, 29767SyntaxKind.IdentifierLabel, 29768SyntaxKind.NumericLabel, 29769SyntaxKind.NextLabel, 29770SyntaxKind.MidExpression, 29771SyntaxKind.CharacterLiteralExpression, 29772SyntaxKind.TrueLiteralExpression, 29773SyntaxKind.FalseLiteralExpression, 29774SyntaxKind.NumericLiteralExpression, 29775SyntaxKind.DateLiteralExpression, 29776SyntaxKind.StringLiteralExpression, 29777SyntaxKind.NothingLiteralExpression, 29778SyntaxKind.ParenthesizedExpression, 29779SyntaxKind.TupleExpression, 29780SyntaxKind.TupleType, 29781SyntaxKind.MeExpression, 29782SyntaxKind.MyBaseExpression, 29783SyntaxKind.MyClassExpression, 29784SyntaxKind.GetTypeExpression, 29785SyntaxKind.TypeOfIsExpression, 29786SyntaxKind.TypeOfIsNotExpression, 29787SyntaxKind.GetXmlNamespaceExpression, 29788SyntaxKind.SimpleMemberAccessExpression, 29789SyntaxKind.DictionaryAccessExpression, 29790SyntaxKind.XmlElementAccessExpression, 29791SyntaxKind.XmlDescendantAccessExpression, 29792SyntaxKind.XmlAttributeAccessExpression, 29793SyntaxKind.InvocationExpression, 29794SyntaxKind.ObjectCreationExpression, 29795SyntaxKind.AnonymousObjectCreationExpression, 29796SyntaxKind.ArrayCreationExpression, 29797SyntaxKind.CollectionInitializer, 29798SyntaxKind.CTypeExpression, 29799SyntaxKind.DirectCastExpression, 29800SyntaxKind.TryCastExpression, 29801SyntaxKind.PredefinedCastExpression, 29802SyntaxKind.AddExpression, 29803SyntaxKind.SubtractExpression, 29804SyntaxKind.MultiplyExpression, 29805SyntaxKind.DivideExpression, 29806SyntaxKind.IntegerDivideExpression, 29807SyntaxKind.ExponentiateExpression, 29808SyntaxKind.LeftShiftExpression, 29809SyntaxKind.RightShiftExpression, 29810SyntaxKind.ConcatenateExpression, 29811SyntaxKind.ModuloExpression, 29812SyntaxKind.EqualsExpression, 29813SyntaxKind.NotEqualsExpression, 29814SyntaxKind.LessThanExpression, 29815SyntaxKind.LessThanOrEqualExpression, 29816SyntaxKind.GreaterThanOrEqualExpression, 29817SyntaxKind.GreaterThanExpression, 29818SyntaxKind.IsExpression, 29819SyntaxKind.IsNotExpression, 29820SyntaxKind.LikeExpression, 29821SyntaxKind.OrExpression, 29822SyntaxKind.ExclusiveOrExpression, 29823SyntaxKind.AndExpression, 29824SyntaxKind.OrElseExpression, 29825SyntaxKind.AndAlsoExpression, 29826SyntaxKind.UnaryPlusExpression, 29827SyntaxKind.UnaryMinusExpression, 29828SyntaxKind.NotExpression, 29829SyntaxKind.AddressOfExpression, 29830SyntaxKind.BinaryConditionalExpression, 29831SyntaxKind.TernaryConditionalExpression, 29832SyntaxKind.SingleLineFunctionLambdaExpression, 29833SyntaxKind.SingleLineSubLambdaExpression, 29834SyntaxKind.MultiLineFunctionLambdaExpression, 29835SyntaxKind.MultiLineSubLambdaExpression, 29836SyntaxKind.QueryExpression, 29837SyntaxKind.FunctionAggregation, 29838SyntaxKind.GroupAggregation, 29839SyntaxKind.XmlDocument, 29840SyntaxKind.XmlElement, 29841SyntaxKind.XmlText, 29842SyntaxKind.XmlElementStartTag, 29843SyntaxKind.XmlElementEndTag, 29844SyntaxKind.XmlEmptyElement, 29845SyntaxKind.XmlAttribute, 29846SyntaxKind.XmlString, 29847SyntaxKind.XmlPrefixName, 29848SyntaxKind.XmlName, 29849SyntaxKind.XmlBracketedName, 29850SyntaxKind.XmlComment, 29851SyntaxKind.XmlProcessingInstruction, 29852SyntaxKind.XmlCDataSection, 29853SyntaxKind.XmlEmbeddedExpression, 29854SyntaxKind.ArrayType, 29855SyntaxKind.NullableType, 29856SyntaxKind.PredefinedType, 29857SyntaxKind.IdentifierName, 29858SyntaxKind.GenericName, 29859SyntaxKind.QualifiedName, 29860SyntaxKind.GlobalName, 29861SyntaxKind.CrefOperatorReference, 29862SyntaxKind.QualifiedCrefOperatorReference, 29863SyntaxKind.AwaitExpression, 29864SyntaxKind.XmlCrefAttribute, 29865SyntaxKind.XmlNameAttribute, 29866SyntaxKind.ConditionalAccessExpression, 29867SyntaxKind.NameOfExpression, 29868SyntaxKind.InterpolatedStringExpression 29873Case SyntaxKind.AmpersandToken 29881Case SyntaxKind.KeywordEventContainer, 29882SyntaxKind.WithEventsEventContainer, 29883SyntaxKind.WithEventsPropertyEventContainer, 29884SyntaxKind.IdentifierLabel, 29885SyntaxKind.NumericLabel, 29886SyntaxKind.NextLabel, 29887SyntaxKind.MidExpression, 29888SyntaxKind.CharacterLiteralExpression, 29889SyntaxKind.TrueLiteralExpression, 29890SyntaxKind.FalseLiteralExpression, 29891SyntaxKind.NumericLiteralExpression, 29892SyntaxKind.DateLiteralExpression, 29893SyntaxKind.StringLiteralExpression, 29894SyntaxKind.NothingLiteralExpression, 29895SyntaxKind.ParenthesizedExpression, 29896SyntaxKind.TupleExpression, 29897SyntaxKind.TupleType, 29898SyntaxKind.MeExpression, 29899SyntaxKind.MyBaseExpression, 29900SyntaxKind.MyClassExpression, 29901SyntaxKind.GetTypeExpression, 29902SyntaxKind.TypeOfIsExpression, 29903SyntaxKind.TypeOfIsNotExpression, 29904SyntaxKind.GetXmlNamespaceExpression, 29905SyntaxKind.SimpleMemberAccessExpression, 29906SyntaxKind.DictionaryAccessExpression, 29907SyntaxKind.XmlElementAccessExpression, 29908SyntaxKind.XmlDescendantAccessExpression, 29909SyntaxKind.XmlAttributeAccessExpression, 29910SyntaxKind.InvocationExpression, 29911SyntaxKind.ObjectCreationExpression, 29912SyntaxKind.AnonymousObjectCreationExpression, 29913SyntaxKind.ArrayCreationExpression, 29914SyntaxKind.CollectionInitializer, 29915SyntaxKind.CTypeExpression, 29916SyntaxKind.DirectCastExpression, 29917SyntaxKind.TryCastExpression, 29918SyntaxKind.PredefinedCastExpression, 29919SyntaxKind.AddExpression, 29920SyntaxKind.SubtractExpression, 29921SyntaxKind.MultiplyExpression, 29922SyntaxKind.DivideExpression, 29923SyntaxKind.IntegerDivideExpression, 29924SyntaxKind.ExponentiateExpression, 29925SyntaxKind.LeftShiftExpression, 29926SyntaxKind.RightShiftExpression, 29927SyntaxKind.ConcatenateExpression, 29928SyntaxKind.ModuloExpression, 29929SyntaxKind.EqualsExpression, 29930SyntaxKind.NotEqualsExpression, 29931SyntaxKind.LessThanExpression, 29932SyntaxKind.LessThanOrEqualExpression, 29933SyntaxKind.GreaterThanOrEqualExpression, 29934SyntaxKind.GreaterThanExpression, 29935SyntaxKind.IsExpression, 29936SyntaxKind.IsNotExpression, 29937SyntaxKind.LikeExpression, 29938SyntaxKind.OrExpression, 29939SyntaxKind.ExclusiveOrExpression, 29940SyntaxKind.AndExpression, 29941SyntaxKind.OrElseExpression, 29942SyntaxKind.AndAlsoExpression, 29943SyntaxKind.UnaryPlusExpression, 29944SyntaxKind.UnaryMinusExpression, 29945SyntaxKind.NotExpression, 29946SyntaxKind.AddressOfExpression, 29947SyntaxKind.BinaryConditionalExpression, 29948SyntaxKind.TernaryConditionalExpression, 29949SyntaxKind.SingleLineFunctionLambdaExpression, 29950SyntaxKind.SingleLineSubLambdaExpression, 29951SyntaxKind.MultiLineFunctionLambdaExpression, 29952SyntaxKind.MultiLineSubLambdaExpression, 29953SyntaxKind.QueryExpression, 29954SyntaxKind.FunctionAggregation, 29955SyntaxKind.GroupAggregation, 29956SyntaxKind.XmlDocument, 29957SyntaxKind.XmlElement, 29958SyntaxKind.XmlText, 29959SyntaxKind.XmlElementStartTag, 29960SyntaxKind.XmlElementEndTag, 29961SyntaxKind.XmlEmptyElement, 29962SyntaxKind.XmlAttribute, 29963SyntaxKind.XmlString, 29964SyntaxKind.XmlPrefixName, 29965SyntaxKind.XmlName, 29966SyntaxKind.XmlBracketedName, 29967SyntaxKind.XmlComment, 29968SyntaxKind.XmlProcessingInstruction, 29969SyntaxKind.XmlCDataSection, 29970SyntaxKind.XmlEmbeddedExpression, 29971SyntaxKind.ArrayType, 29972SyntaxKind.NullableType, 29973SyntaxKind.PredefinedType, 29974SyntaxKind.IdentifierName, 29975SyntaxKind.GenericName, 29976SyntaxKind.QualifiedName, 29977SyntaxKind.GlobalName, 29978SyntaxKind.CrefOperatorReference, 29979SyntaxKind.QualifiedCrefOperatorReference, 29980SyntaxKind.AwaitExpression, 29981SyntaxKind.XmlCrefAttribute, 29982SyntaxKind.XmlNameAttribute, 29983SyntaxKind.ConditionalAccessExpression, 29984SyntaxKind.NameOfExpression, 29985SyntaxKind.InterpolatedStringExpression 29989Return New BinaryExpressionSyntax(SyntaxKind.ConcatenateExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 30005Return SyntaxFactory.ConcatenateExpression(left, SyntaxFactory.Token(SyntaxKind.AmpersandToken), right) 30025Case SyntaxKind.KeywordEventContainer, 30026SyntaxKind.WithEventsEventContainer, 30027SyntaxKind.WithEventsPropertyEventContainer, 30028SyntaxKind.IdentifierLabel, 30029SyntaxKind.NumericLabel, 30030SyntaxKind.NextLabel, 30031SyntaxKind.MidExpression, 30032SyntaxKind.CharacterLiteralExpression, 30033SyntaxKind.TrueLiteralExpression, 30034SyntaxKind.FalseLiteralExpression, 30035SyntaxKind.NumericLiteralExpression, 30036SyntaxKind.DateLiteralExpression, 30037SyntaxKind.StringLiteralExpression, 30038SyntaxKind.NothingLiteralExpression, 30039SyntaxKind.ParenthesizedExpression, 30040SyntaxKind.TupleExpression, 30041SyntaxKind.TupleType, 30042SyntaxKind.MeExpression, 30043SyntaxKind.MyBaseExpression, 30044SyntaxKind.MyClassExpression, 30045SyntaxKind.GetTypeExpression, 30046SyntaxKind.TypeOfIsExpression, 30047SyntaxKind.TypeOfIsNotExpression, 30048SyntaxKind.GetXmlNamespaceExpression, 30049SyntaxKind.SimpleMemberAccessExpression, 30050SyntaxKind.DictionaryAccessExpression, 30051SyntaxKind.XmlElementAccessExpression, 30052SyntaxKind.XmlDescendantAccessExpression, 30053SyntaxKind.XmlAttributeAccessExpression, 30054SyntaxKind.InvocationExpression, 30055SyntaxKind.ObjectCreationExpression, 30056SyntaxKind.AnonymousObjectCreationExpression, 30057SyntaxKind.ArrayCreationExpression, 30058SyntaxKind.CollectionInitializer, 30059SyntaxKind.CTypeExpression, 30060SyntaxKind.DirectCastExpression, 30061SyntaxKind.TryCastExpression, 30062SyntaxKind.PredefinedCastExpression, 30063SyntaxKind.AddExpression, 30064SyntaxKind.SubtractExpression, 30065SyntaxKind.MultiplyExpression, 30066SyntaxKind.DivideExpression, 30067SyntaxKind.IntegerDivideExpression, 30068SyntaxKind.ExponentiateExpression, 30069SyntaxKind.LeftShiftExpression, 30070SyntaxKind.RightShiftExpression, 30071SyntaxKind.ConcatenateExpression, 30072SyntaxKind.ModuloExpression, 30073SyntaxKind.EqualsExpression, 30074SyntaxKind.NotEqualsExpression, 30075SyntaxKind.LessThanExpression, 30076SyntaxKind.LessThanOrEqualExpression, 30077SyntaxKind.GreaterThanOrEqualExpression, 30078SyntaxKind.GreaterThanExpression, 30079SyntaxKind.IsExpression, 30080SyntaxKind.IsNotExpression, 30081SyntaxKind.LikeExpression, 30082SyntaxKind.OrExpression, 30083SyntaxKind.ExclusiveOrExpression, 30084SyntaxKind.AndExpression, 30085SyntaxKind.OrElseExpression, 30086SyntaxKind.AndAlsoExpression, 30087SyntaxKind.UnaryPlusExpression, 30088SyntaxKind.UnaryMinusExpression, 30089SyntaxKind.NotExpression, 30090SyntaxKind.AddressOfExpression, 30091SyntaxKind.BinaryConditionalExpression, 30092SyntaxKind.TernaryConditionalExpression, 30093SyntaxKind.SingleLineFunctionLambdaExpression, 30094SyntaxKind.SingleLineSubLambdaExpression, 30095SyntaxKind.MultiLineFunctionLambdaExpression, 30096SyntaxKind.MultiLineSubLambdaExpression, 30097SyntaxKind.QueryExpression, 30098SyntaxKind.FunctionAggregation, 30099SyntaxKind.GroupAggregation, 30100SyntaxKind.XmlDocument, 30101SyntaxKind.XmlElement, 30102SyntaxKind.XmlText, 30103SyntaxKind.XmlElementStartTag, 30104SyntaxKind.XmlElementEndTag, 30105SyntaxKind.XmlEmptyElement, 30106SyntaxKind.XmlAttribute, 30107SyntaxKind.XmlString, 30108SyntaxKind.XmlPrefixName, 30109SyntaxKind.XmlName, 30110SyntaxKind.XmlBracketedName, 30111SyntaxKind.XmlComment, 30112SyntaxKind.XmlProcessingInstruction, 30113SyntaxKind.XmlCDataSection, 30114SyntaxKind.XmlEmbeddedExpression, 30115SyntaxKind.ArrayType, 30116SyntaxKind.NullableType, 30117SyntaxKind.PredefinedType, 30118SyntaxKind.IdentifierName, 30119SyntaxKind.GenericName, 30120SyntaxKind.QualifiedName, 30121SyntaxKind.GlobalName, 30122SyntaxKind.CrefOperatorReference, 30123SyntaxKind.QualifiedCrefOperatorReference, 30124SyntaxKind.AwaitExpression, 30125SyntaxKind.XmlCrefAttribute, 30126SyntaxKind.XmlNameAttribute, 30127SyntaxKind.ConditionalAccessExpression, 30128SyntaxKind.NameOfExpression, 30129SyntaxKind.InterpolatedStringExpression 30134Case SyntaxKind.ModKeyword 30142Case SyntaxKind.KeywordEventContainer, 30143SyntaxKind.WithEventsEventContainer, 30144SyntaxKind.WithEventsPropertyEventContainer, 30145SyntaxKind.IdentifierLabel, 30146SyntaxKind.NumericLabel, 30147SyntaxKind.NextLabel, 30148SyntaxKind.MidExpression, 30149SyntaxKind.CharacterLiteralExpression, 30150SyntaxKind.TrueLiteralExpression, 30151SyntaxKind.FalseLiteralExpression, 30152SyntaxKind.NumericLiteralExpression, 30153SyntaxKind.DateLiteralExpression, 30154SyntaxKind.StringLiteralExpression, 30155SyntaxKind.NothingLiteralExpression, 30156SyntaxKind.ParenthesizedExpression, 30157SyntaxKind.TupleExpression, 30158SyntaxKind.TupleType, 30159SyntaxKind.MeExpression, 30160SyntaxKind.MyBaseExpression, 30161SyntaxKind.MyClassExpression, 30162SyntaxKind.GetTypeExpression, 30163SyntaxKind.TypeOfIsExpression, 30164SyntaxKind.TypeOfIsNotExpression, 30165SyntaxKind.GetXmlNamespaceExpression, 30166SyntaxKind.SimpleMemberAccessExpression, 30167SyntaxKind.DictionaryAccessExpression, 30168SyntaxKind.XmlElementAccessExpression, 30169SyntaxKind.XmlDescendantAccessExpression, 30170SyntaxKind.XmlAttributeAccessExpression, 30171SyntaxKind.InvocationExpression, 30172SyntaxKind.ObjectCreationExpression, 30173SyntaxKind.AnonymousObjectCreationExpression, 30174SyntaxKind.ArrayCreationExpression, 30175SyntaxKind.CollectionInitializer, 30176SyntaxKind.CTypeExpression, 30177SyntaxKind.DirectCastExpression, 30178SyntaxKind.TryCastExpression, 30179SyntaxKind.PredefinedCastExpression, 30180SyntaxKind.AddExpression, 30181SyntaxKind.SubtractExpression, 30182SyntaxKind.MultiplyExpression, 30183SyntaxKind.DivideExpression, 30184SyntaxKind.IntegerDivideExpression, 30185SyntaxKind.ExponentiateExpression, 30186SyntaxKind.LeftShiftExpression, 30187SyntaxKind.RightShiftExpression, 30188SyntaxKind.ConcatenateExpression, 30189SyntaxKind.ModuloExpression, 30190SyntaxKind.EqualsExpression, 30191SyntaxKind.NotEqualsExpression, 30192SyntaxKind.LessThanExpression, 30193SyntaxKind.LessThanOrEqualExpression, 30194SyntaxKind.GreaterThanOrEqualExpression, 30195SyntaxKind.GreaterThanExpression, 30196SyntaxKind.IsExpression, 30197SyntaxKind.IsNotExpression, 30198SyntaxKind.LikeExpression, 30199SyntaxKind.OrExpression, 30200SyntaxKind.ExclusiveOrExpression, 30201SyntaxKind.AndExpression, 30202SyntaxKind.OrElseExpression, 30203SyntaxKind.AndAlsoExpression, 30204SyntaxKind.UnaryPlusExpression, 30205SyntaxKind.UnaryMinusExpression, 30206SyntaxKind.NotExpression, 30207SyntaxKind.AddressOfExpression, 30208SyntaxKind.BinaryConditionalExpression, 30209SyntaxKind.TernaryConditionalExpression, 30210SyntaxKind.SingleLineFunctionLambdaExpression, 30211SyntaxKind.SingleLineSubLambdaExpression, 30212SyntaxKind.MultiLineFunctionLambdaExpression, 30213SyntaxKind.MultiLineSubLambdaExpression, 30214SyntaxKind.QueryExpression, 30215SyntaxKind.FunctionAggregation, 30216SyntaxKind.GroupAggregation, 30217SyntaxKind.XmlDocument, 30218SyntaxKind.XmlElement, 30219SyntaxKind.XmlText, 30220SyntaxKind.XmlElementStartTag, 30221SyntaxKind.XmlElementEndTag, 30222SyntaxKind.XmlEmptyElement, 30223SyntaxKind.XmlAttribute, 30224SyntaxKind.XmlString, 30225SyntaxKind.XmlPrefixName, 30226SyntaxKind.XmlName, 30227SyntaxKind.XmlBracketedName, 30228SyntaxKind.XmlComment, 30229SyntaxKind.XmlProcessingInstruction, 30230SyntaxKind.XmlCDataSection, 30231SyntaxKind.XmlEmbeddedExpression, 30232SyntaxKind.ArrayType, 30233SyntaxKind.NullableType, 30234SyntaxKind.PredefinedType, 30235SyntaxKind.IdentifierName, 30236SyntaxKind.GenericName, 30237SyntaxKind.QualifiedName, 30238SyntaxKind.GlobalName, 30239SyntaxKind.CrefOperatorReference, 30240SyntaxKind.QualifiedCrefOperatorReference, 30241SyntaxKind.AwaitExpression, 30242SyntaxKind.XmlCrefAttribute, 30243SyntaxKind.XmlNameAttribute, 30244SyntaxKind.ConditionalAccessExpression, 30245SyntaxKind.NameOfExpression, 30246SyntaxKind.InterpolatedStringExpression 30250Return New BinaryExpressionSyntax(SyntaxKind.ModuloExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 30266Return SyntaxFactory.ModuloExpression(left, SyntaxFactory.Token(SyntaxKind.ModKeyword), right) 30286Case SyntaxKind.KeywordEventContainer, 30287SyntaxKind.WithEventsEventContainer, 30288SyntaxKind.WithEventsPropertyEventContainer, 30289SyntaxKind.IdentifierLabel, 30290SyntaxKind.NumericLabel, 30291SyntaxKind.NextLabel, 30292SyntaxKind.MidExpression, 30293SyntaxKind.CharacterLiteralExpression, 30294SyntaxKind.TrueLiteralExpression, 30295SyntaxKind.FalseLiteralExpression, 30296SyntaxKind.NumericLiteralExpression, 30297SyntaxKind.DateLiteralExpression, 30298SyntaxKind.StringLiteralExpression, 30299SyntaxKind.NothingLiteralExpression, 30300SyntaxKind.ParenthesizedExpression, 30301SyntaxKind.TupleExpression, 30302SyntaxKind.TupleType, 30303SyntaxKind.MeExpression, 30304SyntaxKind.MyBaseExpression, 30305SyntaxKind.MyClassExpression, 30306SyntaxKind.GetTypeExpression, 30307SyntaxKind.TypeOfIsExpression, 30308SyntaxKind.TypeOfIsNotExpression, 30309SyntaxKind.GetXmlNamespaceExpression, 30310SyntaxKind.SimpleMemberAccessExpression, 30311SyntaxKind.DictionaryAccessExpression, 30312SyntaxKind.XmlElementAccessExpression, 30313SyntaxKind.XmlDescendantAccessExpression, 30314SyntaxKind.XmlAttributeAccessExpression, 30315SyntaxKind.InvocationExpression, 30316SyntaxKind.ObjectCreationExpression, 30317SyntaxKind.AnonymousObjectCreationExpression, 30318SyntaxKind.ArrayCreationExpression, 30319SyntaxKind.CollectionInitializer, 30320SyntaxKind.CTypeExpression, 30321SyntaxKind.DirectCastExpression, 30322SyntaxKind.TryCastExpression, 30323SyntaxKind.PredefinedCastExpression, 30324SyntaxKind.AddExpression, 30325SyntaxKind.SubtractExpression, 30326SyntaxKind.MultiplyExpression, 30327SyntaxKind.DivideExpression, 30328SyntaxKind.IntegerDivideExpression, 30329SyntaxKind.ExponentiateExpression, 30330SyntaxKind.LeftShiftExpression, 30331SyntaxKind.RightShiftExpression, 30332SyntaxKind.ConcatenateExpression, 30333SyntaxKind.ModuloExpression, 30334SyntaxKind.EqualsExpression, 30335SyntaxKind.NotEqualsExpression, 30336SyntaxKind.LessThanExpression, 30337SyntaxKind.LessThanOrEqualExpression, 30338SyntaxKind.GreaterThanOrEqualExpression, 30339SyntaxKind.GreaterThanExpression, 30340SyntaxKind.IsExpression, 30341SyntaxKind.IsNotExpression, 30342SyntaxKind.LikeExpression, 30343SyntaxKind.OrExpression, 30344SyntaxKind.ExclusiveOrExpression, 30345SyntaxKind.AndExpression, 30346SyntaxKind.OrElseExpression, 30347SyntaxKind.AndAlsoExpression, 30348SyntaxKind.UnaryPlusExpression, 30349SyntaxKind.UnaryMinusExpression, 30350SyntaxKind.NotExpression, 30351SyntaxKind.AddressOfExpression, 30352SyntaxKind.BinaryConditionalExpression, 30353SyntaxKind.TernaryConditionalExpression, 30354SyntaxKind.SingleLineFunctionLambdaExpression, 30355SyntaxKind.SingleLineSubLambdaExpression, 30356SyntaxKind.MultiLineFunctionLambdaExpression, 30357SyntaxKind.MultiLineSubLambdaExpression, 30358SyntaxKind.QueryExpression, 30359SyntaxKind.FunctionAggregation, 30360SyntaxKind.GroupAggregation, 30361SyntaxKind.XmlDocument, 30362SyntaxKind.XmlElement, 30363SyntaxKind.XmlText, 30364SyntaxKind.XmlElementStartTag, 30365SyntaxKind.XmlElementEndTag, 30366SyntaxKind.XmlEmptyElement, 30367SyntaxKind.XmlAttribute, 30368SyntaxKind.XmlString, 30369SyntaxKind.XmlPrefixName, 30370SyntaxKind.XmlName, 30371SyntaxKind.XmlBracketedName, 30372SyntaxKind.XmlComment, 30373SyntaxKind.XmlProcessingInstruction, 30374SyntaxKind.XmlCDataSection, 30375SyntaxKind.XmlEmbeddedExpression, 30376SyntaxKind.ArrayType, 30377SyntaxKind.NullableType, 30378SyntaxKind.PredefinedType, 30379SyntaxKind.IdentifierName, 30380SyntaxKind.GenericName, 30381SyntaxKind.QualifiedName, 30382SyntaxKind.GlobalName, 30383SyntaxKind.CrefOperatorReference, 30384SyntaxKind.QualifiedCrefOperatorReference, 30385SyntaxKind.AwaitExpression, 30386SyntaxKind.XmlCrefAttribute, 30387SyntaxKind.XmlNameAttribute, 30388SyntaxKind.ConditionalAccessExpression, 30389SyntaxKind.NameOfExpression, 30390SyntaxKind.InterpolatedStringExpression 30395Case SyntaxKind.EqualsToken 30403Case SyntaxKind.KeywordEventContainer, 30404SyntaxKind.WithEventsEventContainer, 30405SyntaxKind.WithEventsPropertyEventContainer, 30406SyntaxKind.IdentifierLabel, 30407SyntaxKind.NumericLabel, 30408SyntaxKind.NextLabel, 30409SyntaxKind.MidExpression, 30410SyntaxKind.CharacterLiteralExpression, 30411SyntaxKind.TrueLiteralExpression, 30412SyntaxKind.FalseLiteralExpression, 30413SyntaxKind.NumericLiteralExpression, 30414SyntaxKind.DateLiteralExpression, 30415SyntaxKind.StringLiteralExpression, 30416SyntaxKind.NothingLiteralExpression, 30417SyntaxKind.ParenthesizedExpression, 30418SyntaxKind.TupleExpression, 30419SyntaxKind.TupleType, 30420SyntaxKind.MeExpression, 30421SyntaxKind.MyBaseExpression, 30422SyntaxKind.MyClassExpression, 30423SyntaxKind.GetTypeExpression, 30424SyntaxKind.TypeOfIsExpression, 30425SyntaxKind.TypeOfIsNotExpression, 30426SyntaxKind.GetXmlNamespaceExpression, 30427SyntaxKind.SimpleMemberAccessExpression, 30428SyntaxKind.DictionaryAccessExpression, 30429SyntaxKind.XmlElementAccessExpression, 30430SyntaxKind.XmlDescendantAccessExpression, 30431SyntaxKind.XmlAttributeAccessExpression, 30432SyntaxKind.InvocationExpression, 30433SyntaxKind.ObjectCreationExpression, 30434SyntaxKind.AnonymousObjectCreationExpression, 30435SyntaxKind.ArrayCreationExpression, 30436SyntaxKind.CollectionInitializer, 30437SyntaxKind.CTypeExpression, 30438SyntaxKind.DirectCastExpression, 30439SyntaxKind.TryCastExpression, 30440SyntaxKind.PredefinedCastExpression, 30441SyntaxKind.AddExpression, 30442SyntaxKind.SubtractExpression, 30443SyntaxKind.MultiplyExpression, 30444SyntaxKind.DivideExpression, 30445SyntaxKind.IntegerDivideExpression, 30446SyntaxKind.ExponentiateExpression, 30447SyntaxKind.LeftShiftExpression, 30448SyntaxKind.RightShiftExpression, 30449SyntaxKind.ConcatenateExpression, 30450SyntaxKind.ModuloExpression, 30451SyntaxKind.EqualsExpression, 30452SyntaxKind.NotEqualsExpression, 30453SyntaxKind.LessThanExpression, 30454SyntaxKind.LessThanOrEqualExpression, 30455SyntaxKind.GreaterThanOrEqualExpression, 30456SyntaxKind.GreaterThanExpression, 30457SyntaxKind.IsExpression, 30458SyntaxKind.IsNotExpression, 30459SyntaxKind.LikeExpression, 30460SyntaxKind.OrExpression, 30461SyntaxKind.ExclusiveOrExpression, 30462SyntaxKind.AndExpression, 30463SyntaxKind.OrElseExpression, 30464SyntaxKind.AndAlsoExpression, 30465SyntaxKind.UnaryPlusExpression, 30466SyntaxKind.UnaryMinusExpression, 30467SyntaxKind.NotExpression, 30468SyntaxKind.AddressOfExpression, 30469SyntaxKind.BinaryConditionalExpression, 30470SyntaxKind.TernaryConditionalExpression, 30471SyntaxKind.SingleLineFunctionLambdaExpression, 30472SyntaxKind.SingleLineSubLambdaExpression, 30473SyntaxKind.MultiLineFunctionLambdaExpression, 30474SyntaxKind.MultiLineSubLambdaExpression, 30475SyntaxKind.QueryExpression, 30476SyntaxKind.FunctionAggregation, 30477SyntaxKind.GroupAggregation, 30478SyntaxKind.XmlDocument, 30479SyntaxKind.XmlElement, 30480SyntaxKind.XmlText, 30481SyntaxKind.XmlElementStartTag, 30482SyntaxKind.XmlElementEndTag, 30483SyntaxKind.XmlEmptyElement, 30484SyntaxKind.XmlAttribute, 30485SyntaxKind.XmlString, 30486SyntaxKind.XmlPrefixName, 30487SyntaxKind.XmlName, 30488SyntaxKind.XmlBracketedName, 30489SyntaxKind.XmlComment, 30490SyntaxKind.XmlProcessingInstruction, 30491SyntaxKind.XmlCDataSection, 30492SyntaxKind.XmlEmbeddedExpression, 30493SyntaxKind.ArrayType, 30494SyntaxKind.NullableType, 30495SyntaxKind.PredefinedType, 30496SyntaxKind.IdentifierName, 30497SyntaxKind.GenericName, 30498SyntaxKind.QualifiedName, 30499SyntaxKind.GlobalName, 30500SyntaxKind.CrefOperatorReference, 30501SyntaxKind.QualifiedCrefOperatorReference, 30502SyntaxKind.AwaitExpression, 30503SyntaxKind.XmlCrefAttribute, 30504SyntaxKind.XmlNameAttribute, 30505SyntaxKind.ConditionalAccessExpression, 30506SyntaxKind.NameOfExpression, 30507SyntaxKind.InterpolatedStringExpression 30511Return New BinaryExpressionSyntax(SyntaxKind.EqualsExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 30527Return SyntaxFactory.EqualsExpression(left, SyntaxFactory.Token(SyntaxKind.EqualsToken), right) 30547Case SyntaxKind.KeywordEventContainer, 30548SyntaxKind.WithEventsEventContainer, 30549SyntaxKind.WithEventsPropertyEventContainer, 30550SyntaxKind.IdentifierLabel, 30551SyntaxKind.NumericLabel, 30552SyntaxKind.NextLabel, 30553SyntaxKind.MidExpression, 30554SyntaxKind.CharacterLiteralExpression, 30555SyntaxKind.TrueLiteralExpression, 30556SyntaxKind.FalseLiteralExpression, 30557SyntaxKind.NumericLiteralExpression, 30558SyntaxKind.DateLiteralExpression, 30559SyntaxKind.StringLiteralExpression, 30560SyntaxKind.NothingLiteralExpression, 30561SyntaxKind.ParenthesizedExpression, 30562SyntaxKind.TupleExpression, 30563SyntaxKind.TupleType, 30564SyntaxKind.MeExpression, 30565SyntaxKind.MyBaseExpression, 30566SyntaxKind.MyClassExpression, 30567SyntaxKind.GetTypeExpression, 30568SyntaxKind.TypeOfIsExpression, 30569SyntaxKind.TypeOfIsNotExpression, 30570SyntaxKind.GetXmlNamespaceExpression, 30571SyntaxKind.SimpleMemberAccessExpression, 30572SyntaxKind.DictionaryAccessExpression, 30573SyntaxKind.XmlElementAccessExpression, 30574SyntaxKind.XmlDescendantAccessExpression, 30575SyntaxKind.XmlAttributeAccessExpression, 30576SyntaxKind.InvocationExpression, 30577SyntaxKind.ObjectCreationExpression, 30578SyntaxKind.AnonymousObjectCreationExpression, 30579SyntaxKind.ArrayCreationExpression, 30580SyntaxKind.CollectionInitializer, 30581SyntaxKind.CTypeExpression, 30582SyntaxKind.DirectCastExpression, 30583SyntaxKind.TryCastExpression, 30584SyntaxKind.PredefinedCastExpression, 30585SyntaxKind.AddExpression, 30586SyntaxKind.SubtractExpression, 30587SyntaxKind.MultiplyExpression, 30588SyntaxKind.DivideExpression, 30589SyntaxKind.IntegerDivideExpression, 30590SyntaxKind.ExponentiateExpression, 30591SyntaxKind.LeftShiftExpression, 30592SyntaxKind.RightShiftExpression, 30593SyntaxKind.ConcatenateExpression, 30594SyntaxKind.ModuloExpression, 30595SyntaxKind.EqualsExpression, 30596SyntaxKind.NotEqualsExpression, 30597SyntaxKind.LessThanExpression, 30598SyntaxKind.LessThanOrEqualExpression, 30599SyntaxKind.GreaterThanOrEqualExpression, 30600SyntaxKind.GreaterThanExpression, 30601SyntaxKind.IsExpression, 30602SyntaxKind.IsNotExpression, 30603SyntaxKind.LikeExpression, 30604SyntaxKind.OrExpression, 30605SyntaxKind.ExclusiveOrExpression, 30606SyntaxKind.AndExpression, 30607SyntaxKind.OrElseExpression, 30608SyntaxKind.AndAlsoExpression, 30609SyntaxKind.UnaryPlusExpression, 30610SyntaxKind.UnaryMinusExpression, 30611SyntaxKind.NotExpression, 30612SyntaxKind.AddressOfExpression, 30613SyntaxKind.BinaryConditionalExpression, 30614SyntaxKind.TernaryConditionalExpression, 30615SyntaxKind.SingleLineFunctionLambdaExpression, 30616SyntaxKind.SingleLineSubLambdaExpression, 30617SyntaxKind.MultiLineFunctionLambdaExpression, 30618SyntaxKind.MultiLineSubLambdaExpression, 30619SyntaxKind.QueryExpression, 30620SyntaxKind.FunctionAggregation, 30621SyntaxKind.GroupAggregation, 30622SyntaxKind.XmlDocument, 30623SyntaxKind.XmlElement, 30624SyntaxKind.XmlText, 30625SyntaxKind.XmlElementStartTag, 30626SyntaxKind.XmlElementEndTag, 30627SyntaxKind.XmlEmptyElement, 30628SyntaxKind.XmlAttribute, 30629SyntaxKind.XmlString, 30630SyntaxKind.XmlPrefixName, 30631SyntaxKind.XmlName, 30632SyntaxKind.XmlBracketedName, 30633SyntaxKind.XmlComment, 30634SyntaxKind.XmlProcessingInstruction, 30635SyntaxKind.XmlCDataSection, 30636SyntaxKind.XmlEmbeddedExpression, 30637SyntaxKind.ArrayType, 30638SyntaxKind.NullableType, 30639SyntaxKind.PredefinedType, 30640SyntaxKind.IdentifierName, 30641SyntaxKind.GenericName, 30642SyntaxKind.QualifiedName, 30643SyntaxKind.GlobalName, 30644SyntaxKind.CrefOperatorReference, 30645SyntaxKind.QualifiedCrefOperatorReference, 30646SyntaxKind.AwaitExpression, 30647SyntaxKind.XmlCrefAttribute, 30648SyntaxKind.XmlNameAttribute, 30649SyntaxKind.ConditionalAccessExpression, 30650SyntaxKind.NameOfExpression, 30651SyntaxKind.InterpolatedStringExpression 30656Case SyntaxKind.LessThanGreaterThanToken 30664Case SyntaxKind.KeywordEventContainer, 30665SyntaxKind.WithEventsEventContainer, 30666SyntaxKind.WithEventsPropertyEventContainer, 30667SyntaxKind.IdentifierLabel, 30668SyntaxKind.NumericLabel, 30669SyntaxKind.NextLabel, 30670SyntaxKind.MidExpression, 30671SyntaxKind.CharacterLiteralExpression, 30672SyntaxKind.TrueLiteralExpression, 30673SyntaxKind.FalseLiteralExpression, 30674SyntaxKind.NumericLiteralExpression, 30675SyntaxKind.DateLiteralExpression, 30676SyntaxKind.StringLiteralExpression, 30677SyntaxKind.NothingLiteralExpression, 30678SyntaxKind.ParenthesizedExpression, 30679SyntaxKind.TupleExpression, 30680SyntaxKind.TupleType, 30681SyntaxKind.MeExpression, 30682SyntaxKind.MyBaseExpression, 30683SyntaxKind.MyClassExpression, 30684SyntaxKind.GetTypeExpression, 30685SyntaxKind.TypeOfIsExpression, 30686SyntaxKind.TypeOfIsNotExpression, 30687SyntaxKind.GetXmlNamespaceExpression, 30688SyntaxKind.SimpleMemberAccessExpression, 30689SyntaxKind.DictionaryAccessExpression, 30690SyntaxKind.XmlElementAccessExpression, 30691SyntaxKind.XmlDescendantAccessExpression, 30692SyntaxKind.XmlAttributeAccessExpression, 30693SyntaxKind.InvocationExpression, 30694SyntaxKind.ObjectCreationExpression, 30695SyntaxKind.AnonymousObjectCreationExpression, 30696SyntaxKind.ArrayCreationExpression, 30697SyntaxKind.CollectionInitializer, 30698SyntaxKind.CTypeExpression, 30699SyntaxKind.DirectCastExpression, 30700SyntaxKind.TryCastExpression, 30701SyntaxKind.PredefinedCastExpression, 30702SyntaxKind.AddExpression, 30703SyntaxKind.SubtractExpression, 30704SyntaxKind.MultiplyExpression, 30705SyntaxKind.DivideExpression, 30706SyntaxKind.IntegerDivideExpression, 30707SyntaxKind.ExponentiateExpression, 30708SyntaxKind.LeftShiftExpression, 30709SyntaxKind.RightShiftExpression, 30710SyntaxKind.ConcatenateExpression, 30711SyntaxKind.ModuloExpression, 30712SyntaxKind.EqualsExpression, 30713SyntaxKind.NotEqualsExpression, 30714SyntaxKind.LessThanExpression, 30715SyntaxKind.LessThanOrEqualExpression, 30716SyntaxKind.GreaterThanOrEqualExpression, 30717SyntaxKind.GreaterThanExpression, 30718SyntaxKind.IsExpression, 30719SyntaxKind.IsNotExpression, 30720SyntaxKind.LikeExpression, 30721SyntaxKind.OrExpression, 30722SyntaxKind.ExclusiveOrExpression, 30723SyntaxKind.AndExpression, 30724SyntaxKind.OrElseExpression, 30725SyntaxKind.AndAlsoExpression, 30726SyntaxKind.UnaryPlusExpression, 30727SyntaxKind.UnaryMinusExpression, 30728SyntaxKind.NotExpression, 30729SyntaxKind.AddressOfExpression, 30730SyntaxKind.BinaryConditionalExpression, 30731SyntaxKind.TernaryConditionalExpression, 30732SyntaxKind.SingleLineFunctionLambdaExpression, 30733SyntaxKind.SingleLineSubLambdaExpression, 30734SyntaxKind.MultiLineFunctionLambdaExpression, 30735SyntaxKind.MultiLineSubLambdaExpression, 30736SyntaxKind.QueryExpression, 30737SyntaxKind.FunctionAggregation, 30738SyntaxKind.GroupAggregation, 30739SyntaxKind.XmlDocument, 30740SyntaxKind.XmlElement, 30741SyntaxKind.XmlText, 30742SyntaxKind.XmlElementStartTag, 30743SyntaxKind.XmlElementEndTag, 30744SyntaxKind.XmlEmptyElement, 30745SyntaxKind.XmlAttribute, 30746SyntaxKind.XmlString, 30747SyntaxKind.XmlPrefixName, 30748SyntaxKind.XmlName, 30749SyntaxKind.XmlBracketedName, 30750SyntaxKind.XmlComment, 30751SyntaxKind.XmlProcessingInstruction, 30752SyntaxKind.XmlCDataSection, 30753SyntaxKind.XmlEmbeddedExpression, 30754SyntaxKind.ArrayType, 30755SyntaxKind.NullableType, 30756SyntaxKind.PredefinedType, 30757SyntaxKind.IdentifierName, 30758SyntaxKind.GenericName, 30759SyntaxKind.QualifiedName, 30760SyntaxKind.GlobalName, 30761SyntaxKind.CrefOperatorReference, 30762SyntaxKind.QualifiedCrefOperatorReference, 30763SyntaxKind.AwaitExpression, 30764SyntaxKind.XmlCrefAttribute, 30765SyntaxKind.XmlNameAttribute, 30766SyntaxKind.ConditionalAccessExpression, 30767SyntaxKind.NameOfExpression, 30768SyntaxKind.InterpolatedStringExpression 30772Return New BinaryExpressionSyntax(SyntaxKind.NotEqualsExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 30788Return SyntaxFactory.NotEqualsExpression(left, SyntaxFactory.Token(SyntaxKind.LessThanGreaterThanToken), right) 30808Case SyntaxKind.KeywordEventContainer, 30809SyntaxKind.WithEventsEventContainer, 30810SyntaxKind.WithEventsPropertyEventContainer, 30811SyntaxKind.IdentifierLabel, 30812SyntaxKind.NumericLabel, 30813SyntaxKind.NextLabel, 30814SyntaxKind.MidExpression, 30815SyntaxKind.CharacterLiteralExpression, 30816SyntaxKind.TrueLiteralExpression, 30817SyntaxKind.FalseLiteralExpression, 30818SyntaxKind.NumericLiteralExpression, 30819SyntaxKind.DateLiteralExpression, 30820SyntaxKind.StringLiteralExpression, 30821SyntaxKind.NothingLiteralExpression, 30822SyntaxKind.ParenthesizedExpression, 30823SyntaxKind.TupleExpression, 30824SyntaxKind.TupleType, 30825SyntaxKind.MeExpression, 30826SyntaxKind.MyBaseExpression, 30827SyntaxKind.MyClassExpression, 30828SyntaxKind.GetTypeExpression, 30829SyntaxKind.TypeOfIsExpression, 30830SyntaxKind.TypeOfIsNotExpression, 30831SyntaxKind.GetXmlNamespaceExpression, 30832SyntaxKind.SimpleMemberAccessExpression, 30833SyntaxKind.DictionaryAccessExpression, 30834SyntaxKind.XmlElementAccessExpression, 30835SyntaxKind.XmlDescendantAccessExpression, 30836SyntaxKind.XmlAttributeAccessExpression, 30837SyntaxKind.InvocationExpression, 30838SyntaxKind.ObjectCreationExpression, 30839SyntaxKind.AnonymousObjectCreationExpression, 30840SyntaxKind.ArrayCreationExpression, 30841SyntaxKind.CollectionInitializer, 30842SyntaxKind.CTypeExpression, 30843SyntaxKind.DirectCastExpression, 30844SyntaxKind.TryCastExpression, 30845SyntaxKind.PredefinedCastExpression, 30846SyntaxKind.AddExpression, 30847SyntaxKind.SubtractExpression, 30848SyntaxKind.MultiplyExpression, 30849SyntaxKind.DivideExpression, 30850SyntaxKind.IntegerDivideExpression, 30851SyntaxKind.ExponentiateExpression, 30852SyntaxKind.LeftShiftExpression, 30853SyntaxKind.RightShiftExpression, 30854SyntaxKind.ConcatenateExpression, 30855SyntaxKind.ModuloExpression, 30856SyntaxKind.EqualsExpression, 30857SyntaxKind.NotEqualsExpression, 30858SyntaxKind.LessThanExpression, 30859SyntaxKind.LessThanOrEqualExpression, 30860SyntaxKind.GreaterThanOrEqualExpression, 30861SyntaxKind.GreaterThanExpression, 30862SyntaxKind.IsExpression, 30863SyntaxKind.IsNotExpression, 30864SyntaxKind.LikeExpression, 30865SyntaxKind.OrExpression, 30866SyntaxKind.ExclusiveOrExpression, 30867SyntaxKind.AndExpression, 30868SyntaxKind.OrElseExpression, 30869SyntaxKind.AndAlsoExpression, 30870SyntaxKind.UnaryPlusExpression, 30871SyntaxKind.UnaryMinusExpression, 30872SyntaxKind.NotExpression, 30873SyntaxKind.AddressOfExpression, 30874SyntaxKind.BinaryConditionalExpression, 30875SyntaxKind.TernaryConditionalExpression, 30876SyntaxKind.SingleLineFunctionLambdaExpression, 30877SyntaxKind.SingleLineSubLambdaExpression, 30878SyntaxKind.MultiLineFunctionLambdaExpression, 30879SyntaxKind.MultiLineSubLambdaExpression, 30880SyntaxKind.QueryExpression, 30881SyntaxKind.FunctionAggregation, 30882SyntaxKind.GroupAggregation, 30883SyntaxKind.XmlDocument, 30884SyntaxKind.XmlElement, 30885SyntaxKind.XmlText, 30886SyntaxKind.XmlElementStartTag, 30887SyntaxKind.XmlElementEndTag, 30888SyntaxKind.XmlEmptyElement, 30889SyntaxKind.XmlAttribute, 30890SyntaxKind.XmlString, 30891SyntaxKind.XmlPrefixName, 30892SyntaxKind.XmlName, 30893SyntaxKind.XmlBracketedName, 30894SyntaxKind.XmlComment, 30895SyntaxKind.XmlProcessingInstruction, 30896SyntaxKind.XmlCDataSection, 30897SyntaxKind.XmlEmbeddedExpression, 30898SyntaxKind.ArrayType, 30899SyntaxKind.NullableType, 30900SyntaxKind.PredefinedType, 30901SyntaxKind.IdentifierName, 30902SyntaxKind.GenericName, 30903SyntaxKind.QualifiedName, 30904SyntaxKind.GlobalName, 30905SyntaxKind.CrefOperatorReference, 30906SyntaxKind.QualifiedCrefOperatorReference, 30907SyntaxKind.AwaitExpression, 30908SyntaxKind.XmlCrefAttribute, 30909SyntaxKind.XmlNameAttribute, 30910SyntaxKind.ConditionalAccessExpression, 30911SyntaxKind.NameOfExpression, 30912SyntaxKind.InterpolatedStringExpression 30917Case SyntaxKind.LessThanToken 30925Case SyntaxKind.KeywordEventContainer, 30926SyntaxKind.WithEventsEventContainer, 30927SyntaxKind.WithEventsPropertyEventContainer, 30928SyntaxKind.IdentifierLabel, 30929SyntaxKind.NumericLabel, 30930SyntaxKind.NextLabel, 30931SyntaxKind.MidExpression, 30932SyntaxKind.CharacterLiteralExpression, 30933SyntaxKind.TrueLiteralExpression, 30934SyntaxKind.FalseLiteralExpression, 30935SyntaxKind.NumericLiteralExpression, 30936SyntaxKind.DateLiteralExpression, 30937SyntaxKind.StringLiteralExpression, 30938SyntaxKind.NothingLiteralExpression, 30939SyntaxKind.ParenthesizedExpression, 30940SyntaxKind.TupleExpression, 30941SyntaxKind.TupleType, 30942SyntaxKind.MeExpression, 30943SyntaxKind.MyBaseExpression, 30944SyntaxKind.MyClassExpression, 30945SyntaxKind.GetTypeExpression, 30946SyntaxKind.TypeOfIsExpression, 30947SyntaxKind.TypeOfIsNotExpression, 30948SyntaxKind.GetXmlNamespaceExpression, 30949SyntaxKind.SimpleMemberAccessExpression, 30950SyntaxKind.DictionaryAccessExpression, 30951SyntaxKind.XmlElementAccessExpression, 30952SyntaxKind.XmlDescendantAccessExpression, 30953SyntaxKind.XmlAttributeAccessExpression, 30954SyntaxKind.InvocationExpression, 30955SyntaxKind.ObjectCreationExpression, 30956SyntaxKind.AnonymousObjectCreationExpression, 30957SyntaxKind.ArrayCreationExpression, 30958SyntaxKind.CollectionInitializer, 30959SyntaxKind.CTypeExpression, 30960SyntaxKind.DirectCastExpression, 30961SyntaxKind.TryCastExpression, 30962SyntaxKind.PredefinedCastExpression, 30963SyntaxKind.AddExpression, 30964SyntaxKind.SubtractExpression, 30965SyntaxKind.MultiplyExpression, 30966SyntaxKind.DivideExpression, 30967SyntaxKind.IntegerDivideExpression, 30968SyntaxKind.ExponentiateExpression, 30969SyntaxKind.LeftShiftExpression, 30970SyntaxKind.RightShiftExpression, 30971SyntaxKind.ConcatenateExpression, 30972SyntaxKind.ModuloExpression, 30973SyntaxKind.EqualsExpression, 30974SyntaxKind.NotEqualsExpression, 30975SyntaxKind.LessThanExpression, 30976SyntaxKind.LessThanOrEqualExpression, 30977SyntaxKind.GreaterThanOrEqualExpression, 30978SyntaxKind.GreaterThanExpression, 30979SyntaxKind.IsExpression, 30980SyntaxKind.IsNotExpression, 30981SyntaxKind.LikeExpression, 30982SyntaxKind.OrExpression, 30983SyntaxKind.ExclusiveOrExpression, 30984SyntaxKind.AndExpression, 30985SyntaxKind.OrElseExpression, 30986SyntaxKind.AndAlsoExpression, 30987SyntaxKind.UnaryPlusExpression, 30988SyntaxKind.UnaryMinusExpression, 30989SyntaxKind.NotExpression, 30990SyntaxKind.AddressOfExpression, 30991SyntaxKind.BinaryConditionalExpression, 30992SyntaxKind.TernaryConditionalExpression, 30993SyntaxKind.SingleLineFunctionLambdaExpression, 30994SyntaxKind.SingleLineSubLambdaExpression, 30995SyntaxKind.MultiLineFunctionLambdaExpression, 30996SyntaxKind.MultiLineSubLambdaExpression, 30997SyntaxKind.QueryExpression, 30998SyntaxKind.FunctionAggregation, 30999SyntaxKind.GroupAggregation, 31000SyntaxKind.XmlDocument, 31001SyntaxKind.XmlElement, 31002SyntaxKind.XmlText, 31003SyntaxKind.XmlElementStartTag, 31004SyntaxKind.XmlElementEndTag, 31005SyntaxKind.XmlEmptyElement, 31006SyntaxKind.XmlAttribute, 31007SyntaxKind.XmlString, 31008SyntaxKind.XmlPrefixName, 31009SyntaxKind.XmlName, 31010SyntaxKind.XmlBracketedName, 31011SyntaxKind.XmlComment, 31012SyntaxKind.XmlProcessingInstruction, 31013SyntaxKind.XmlCDataSection, 31014SyntaxKind.XmlEmbeddedExpression, 31015SyntaxKind.ArrayType, 31016SyntaxKind.NullableType, 31017SyntaxKind.PredefinedType, 31018SyntaxKind.IdentifierName, 31019SyntaxKind.GenericName, 31020SyntaxKind.QualifiedName, 31021SyntaxKind.GlobalName, 31022SyntaxKind.CrefOperatorReference, 31023SyntaxKind.QualifiedCrefOperatorReference, 31024SyntaxKind.AwaitExpression, 31025SyntaxKind.XmlCrefAttribute, 31026SyntaxKind.XmlNameAttribute, 31027SyntaxKind.ConditionalAccessExpression, 31028SyntaxKind.NameOfExpression, 31029SyntaxKind.InterpolatedStringExpression 31033Return New BinaryExpressionSyntax(SyntaxKind.LessThanExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 31049Return SyntaxFactory.LessThanExpression(left, SyntaxFactory.Token(SyntaxKind.LessThanToken), right) 31069Case SyntaxKind.KeywordEventContainer, 31070SyntaxKind.WithEventsEventContainer, 31071SyntaxKind.WithEventsPropertyEventContainer, 31072SyntaxKind.IdentifierLabel, 31073SyntaxKind.NumericLabel, 31074SyntaxKind.NextLabel, 31075SyntaxKind.MidExpression, 31076SyntaxKind.CharacterLiteralExpression, 31077SyntaxKind.TrueLiteralExpression, 31078SyntaxKind.FalseLiteralExpression, 31079SyntaxKind.NumericLiteralExpression, 31080SyntaxKind.DateLiteralExpression, 31081SyntaxKind.StringLiteralExpression, 31082SyntaxKind.NothingLiteralExpression, 31083SyntaxKind.ParenthesizedExpression, 31084SyntaxKind.TupleExpression, 31085SyntaxKind.TupleType, 31086SyntaxKind.MeExpression, 31087SyntaxKind.MyBaseExpression, 31088SyntaxKind.MyClassExpression, 31089SyntaxKind.GetTypeExpression, 31090SyntaxKind.TypeOfIsExpression, 31091SyntaxKind.TypeOfIsNotExpression, 31092SyntaxKind.GetXmlNamespaceExpression, 31093SyntaxKind.SimpleMemberAccessExpression, 31094SyntaxKind.DictionaryAccessExpression, 31095SyntaxKind.XmlElementAccessExpression, 31096SyntaxKind.XmlDescendantAccessExpression, 31097SyntaxKind.XmlAttributeAccessExpression, 31098SyntaxKind.InvocationExpression, 31099SyntaxKind.ObjectCreationExpression, 31100SyntaxKind.AnonymousObjectCreationExpression, 31101SyntaxKind.ArrayCreationExpression, 31102SyntaxKind.CollectionInitializer, 31103SyntaxKind.CTypeExpression, 31104SyntaxKind.DirectCastExpression, 31105SyntaxKind.TryCastExpression, 31106SyntaxKind.PredefinedCastExpression, 31107SyntaxKind.AddExpression, 31108SyntaxKind.SubtractExpression, 31109SyntaxKind.MultiplyExpression, 31110SyntaxKind.DivideExpression, 31111SyntaxKind.IntegerDivideExpression, 31112SyntaxKind.ExponentiateExpression, 31113SyntaxKind.LeftShiftExpression, 31114SyntaxKind.RightShiftExpression, 31115SyntaxKind.ConcatenateExpression, 31116SyntaxKind.ModuloExpression, 31117SyntaxKind.EqualsExpression, 31118SyntaxKind.NotEqualsExpression, 31119SyntaxKind.LessThanExpression, 31120SyntaxKind.LessThanOrEqualExpression, 31121SyntaxKind.GreaterThanOrEqualExpression, 31122SyntaxKind.GreaterThanExpression, 31123SyntaxKind.IsExpression, 31124SyntaxKind.IsNotExpression, 31125SyntaxKind.LikeExpression, 31126SyntaxKind.OrExpression, 31127SyntaxKind.ExclusiveOrExpression, 31128SyntaxKind.AndExpression, 31129SyntaxKind.OrElseExpression, 31130SyntaxKind.AndAlsoExpression, 31131SyntaxKind.UnaryPlusExpression, 31132SyntaxKind.UnaryMinusExpression, 31133SyntaxKind.NotExpression, 31134SyntaxKind.AddressOfExpression, 31135SyntaxKind.BinaryConditionalExpression, 31136SyntaxKind.TernaryConditionalExpression, 31137SyntaxKind.SingleLineFunctionLambdaExpression, 31138SyntaxKind.SingleLineSubLambdaExpression, 31139SyntaxKind.MultiLineFunctionLambdaExpression, 31140SyntaxKind.MultiLineSubLambdaExpression, 31141SyntaxKind.QueryExpression, 31142SyntaxKind.FunctionAggregation, 31143SyntaxKind.GroupAggregation, 31144SyntaxKind.XmlDocument, 31145SyntaxKind.XmlElement, 31146SyntaxKind.XmlText, 31147SyntaxKind.XmlElementStartTag, 31148SyntaxKind.XmlElementEndTag, 31149SyntaxKind.XmlEmptyElement, 31150SyntaxKind.XmlAttribute, 31151SyntaxKind.XmlString, 31152SyntaxKind.XmlPrefixName, 31153SyntaxKind.XmlName, 31154SyntaxKind.XmlBracketedName, 31155SyntaxKind.XmlComment, 31156SyntaxKind.XmlProcessingInstruction, 31157SyntaxKind.XmlCDataSection, 31158SyntaxKind.XmlEmbeddedExpression, 31159SyntaxKind.ArrayType, 31160SyntaxKind.NullableType, 31161SyntaxKind.PredefinedType, 31162SyntaxKind.IdentifierName, 31163SyntaxKind.GenericName, 31164SyntaxKind.QualifiedName, 31165SyntaxKind.GlobalName, 31166SyntaxKind.CrefOperatorReference, 31167SyntaxKind.QualifiedCrefOperatorReference, 31168SyntaxKind.AwaitExpression, 31169SyntaxKind.XmlCrefAttribute, 31170SyntaxKind.XmlNameAttribute, 31171SyntaxKind.ConditionalAccessExpression, 31172SyntaxKind.NameOfExpression, 31173SyntaxKind.InterpolatedStringExpression 31178Case SyntaxKind.LessThanEqualsToken 31186Case SyntaxKind.KeywordEventContainer, 31187SyntaxKind.WithEventsEventContainer, 31188SyntaxKind.WithEventsPropertyEventContainer, 31189SyntaxKind.IdentifierLabel, 31190SyntaxKind.NumericLabel, 31191SyntaxKind.NextLabel, 31192SyntaxKind.MidExpression, 31193SyntaxKind.CharacterLiteralExpression, 31194SyntaxKind.TrueLiteralExpression, 31195SyntaxKind.FalseLiteralExpression, 31196SyntaxKind.NumericLiteralExpression, 31197SyntaxKind.DateLiteralExpression, 31198SyntaxKind.StringLiteralExpression, 31199SyntaxKind.NothingLiteralExpression, 31200SyntaxKind.ParenthesizedExpression, 31201SyntaxKind.TupleExpression, 31202SyntaxKind.TupleType, 31203SyntaxKind.MeExpression, 31204SyntaxKind.MyBaseExpression, 31205SyntaxKind.MyClassExpression, 31206SyntaxKind.GetTypeExpression, 31207SyntaxKind.TypeOfIsExpression, 31208SyntaxKind.TypeOfIsNotExpression, 31209SyntaxKind.GetXmlNamespaceExpression, 31210SyntaxKind.SimpleMemberAccessExpression, 31211SyntaxKind.DictionaryAccessExpression, 31212SyntaxKind.XmlElementAccessExpression, 31213SyntaxKind.XmlDescendantAccessExpression, 31214SyntaxKind.XmlAttributeAccessExpression, 31215SyntaxKind.InvocationExpression, 31216SyntaxKind.ObjectCreationExpression, 31217SyntaxKind.AnonymousObjectCreationExpression, 31218SyntaxKind.ArrayCreationExpression, 31219SyntaxKind.CollectionInitializer, 31220SyntaxKind.CTypeExpression, 31221SyntaxKind.DirectCastExpression, 31222SyntaxKind.TryCastExpression, 31223SyntaxKind.PredefinedCastExpression, 31224SyntaxKind.AddExpression, 31225SyntaxKind.SubtractExpression, 31226SyntaxKind.MultiplyExpression, 31227SyntaxKind.DivideExpression, 31228SyntaxKind.IntegerDivideExpression, 31229SyntaxKind.ExponentiateExpression, 31230SyntaxKind.LeftShiftExpression, 31231SyntaxKind.RightShiftExpression, 31232SyntaxKind.ConcatenateExpression, 31233SyntaxKind.ModuloExpression, 31234SyntaxKind.EqualsExpression, 31235SyntaxKind.NotEqualsExpression, 31236SyntaxKind.LessThanExpression, 31237SyntaxKind.LessThanOrEqualExpression, 31238SyntaxKind.GreaterThanOrEqualExpression, 31239SyntaxKind.GreaterThanExpression, 31240SyntaxKind.IsExpression, 31241SyntaxKind.IsNotExpression, 31242SyntaxKind.LikeExpression, 31243SyntaxKind.OrExpression, 31244SyntaxKind.ExclusiveOrExpression, 31245SyntaxKind.AndExpression, 31246SyntaxKind.OrElseExpression, 31247SyntaxKind.AndAlsoExpression, 31248SyntaxKind.UnaryPlusExpression, 31249SyntaxKind.UnaryMinusExpression, 31250SyntaxKind.NotExpression, 31251SyntaxKind.AddressOfExpression, 31252SyntaxKind.BinaryConditionalExpression, 31253SyntaxKind.TernaryConditionalExpression, 31254SyntaxKind.SingleLineFunctionLambdaExpression, 31255SyntaxKind.SingleLineSubLambdaExpression, 31256SyntaxKind.MultiLineFunctionLambdaExpression, 31257SyntaxKind.MultiLineSubLambdaExpression, 31258SyntaxKind.QueryExpression, 31259SyntaxKind.FunctionAggregation, 31260SyntaxKind.GroupAggregation, 31261SyntaxKind.XmlDocument, 31262SyntaxKind.XmlElement, 31263SyntaxKind.XmlText, 31264SyntaxKind.XmlElementStartTag, 31265SyntaxKind.XmlElementEndTag, 31266SyntaxKind.XmlEmptyElement, 31267SyntaxKind.XmlAttribute, 31268SyntaxKind.XmlString, 31269SyntaxKind.XmlPrefixName, 31270SyntaxKind.XmlName, 31271SyntaxKind.XmlBracketedName, 31272SyntaxKind.XmlComment, 31273SyntaxKind.XmlProcessingInstruction, 31274SyntaxKind.XmlCDataSection, 31275SyntaxKind.XmlEmbeddedExpression, 31276SyntaxKind.ArrayType, 31277SyntaxKind.NullableType, 31278SyntaxKind.PredefinedType, 31279SyntaxKind.IdentifierName, 31280SyntaxKind.GenericName, 31281SyntaxKind.QualifiedName, 31282SyntaxKind.GlobalName, 31283SyntaxKind.CrefOperatorReference, 31284SyntaxKind.QualifiedCrefOperatorReference, 31285SyntaxKind.AwaitExpression, 31286SyntaxKind.XmlCrefAttribute, 31287SyntaxKind.XmlNameAttribute, 31288SyntaxKind.ConditionalAccessExpression, 31289SyntaxKind.NameOfExpression, 31290SyntaxKind.InterpolatedStringExpression 31294Return New BinaryExpressionSyntax(SyntaxKind.LessThanOrEqualExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 31310Return SyntaxFactory.LessThanOrEqualExpression(left, SyntaxFactory.Token(SyntaxKind.LessThanEqualsToken), right) 31330Case SyntaxKind.KeywordEventContainer, 31331SyntaxKind.WithEventsEventContainer, 31332SyntaxKind.WithEventsPropertyEventContainer, 31333SyntaxKind.IdentifierLabel, 31334SyntaxKind.NumericLabel, 31335SyntaxKind.NextLabel, 31336SyntaxKind.MidExpression, 31337SyntaxKind.CharacterLiteralExpression, 31338SyntaxKind.TrueLiteralExpression, 31339SyntaxKind.FalseLiteralExpression, 31340SyntaxKind.NumericLiteralExpression, 31341SyntaxKind.DateLiteralExpression, 31342SyntaxKind.StringLiteralExpression, 31343SyntaxKind.NothingLiteralExpression, 31344SyntaxKind.ParenthesizedExpression, 31345SyntaxKind.TupleExpression, 31346SyntaxKind.TupleType, 31347SyntaxKind.MeExpression, 31348SyntaxKind.MyBaseExpression, 31349SyntaxKind.MyClassExpression, 31350SyntaxKind.GetTypeExpression, 31351SyntaxKind.TypeOfIsExpression, 31352SyntaxKind.TypeOfIsNotExpression, 31353SyntaxKind.GetXmlNamespaceExpression, 31354SyntaxKind.SimpleMemberAccessExpression, 31355SyntaxKind.DictionaryAccessExpression, 31356SyntaxKind.XmlElementAccessExpression, 31357SyntaxKind.XmlDescendantAccessExpression, 31358SyntaxKind.XmlAttributeAccessExpression, 31359SyntaxKind.InvocationExpression, 31360SyntaxKind.ObjectCreationExpression, 31361SyntaxKind.AnonymousObjectCreationExpression, 31362SyntaxKind.ArrayCreationExpression, 31363SyntaxKind.CollectionInitializer, 31364SyntaxKind.CTypeExpression, 31365SyntaxKind.DirectCastExpression, 31366SyntaxKind.TryCastExpression, 31367SyntaxKind.PredefinedCastExpression, 31368SyntaxKind.AddExpression, 31369SyntaxKind.SubtractExpression, 31370SyntaxKind.MultiplyExpression, 31371SyntaxKind.DivideExpression, 31372SyntaxKind.IntegerDivideExpression, 31373SyntaxKind.ExponentiateExpression, 31374SyntaxKind.LeftShiftExpression, 31375SyntaxKind.RightShiftExpression, 31376SyntaxKind.ConcatenateExpression, 31377SyntaxKind.ModuloExpression, 31378SyntaxKind.EqualsExpression, 31379SyntaxKind.NotEqualsExpression, 31380SyntaxKind.LessThanExpression, 31381SyntaxKind.LessThanOrEqualExpression, 31382SyntaxKind.GreaterThanOrEqualExpression, 31383SyntaxKind.GreaterThanExpression, 31384SyntaxKind.IsExpression, 31385SyntaxKind.IsNotExpression, 31386SyntaxKind.LikeExpression, 31387SyntaxKind.OrExpression, 31388SyntaxKind.ExclusiveOrExpression, 31389SyntaxKind.AndExpression, 31390SyntaxKind.OrElseExpression, 31391SyntaxKind.AndAlsoExpression, 31392SyntaxKind.UnaryPlusExpression, 31393SyntaxKind.UnaryMinusExpression, 31394SyntaxKind.NotExpression, 31395SyntaxKind.AddressOfExpression, 31396SyntaxKind.BinaryConditionalExpression, 31397SyntaxKind.TernaryConditionalExpression, 31398SyntaxKind.SingleLineFunctionLambdaExpression, 31399SyntaxKind.SingleLineSubLambdaExpression, 31400SyntaxKind.MultiLineFunctionLambdaExpression, 31401SyntaxKind.MultiLineSubLambdaExpression, 31402SyntaxKind.QueryExpression, 31403SyntaxKind.FunctionAggregation, 31404SyntaxKind.GroupAggregation, 31405SyntaxKind.XmlDocument, 31406SyntaxKind.XmlElement, 31407SyntaxKind.XmlText, 31408SyntaxKind.XmlElementStartTag, 31409SyntaxKind.XmlElementEndTag, 31410SyntaxKind.XmlEmptyElement, 31411SyntaxKind.XmlAttribute, 31412SyntaxKind.XmlString, 31413SyntaxKind.XmlPrefixName, 31414SyntaxKind.XmlName, 31415SyntaxKind.XmlBracketedName, 31416SyntaxKind.XmlComment, 31417SyntaxKind.XmlProcessingInstruction, 31418SyntaxKind.XmlCDataSection, 31419SyntaxKind.XmlEmbeddedExpression, 31420SyntaxKind.ArrayType, 31421SyntaxKind.NullableType, 31422SyntaxKind.PredefinedType, 31423SyntaxKind.IdentifierName, 31424SyntaxKind.GenericName, 31425SyntaxKind.QualifiedName, 31426SyntaxKind.GlobalName, 31427SyntaxKind.CrefOperatorReference, 31428SyntaxKind.QualifiedCrefOperatorReference, 31429SyntaxKind.AwaitExpression, 31430SyntaxKind.XmlCrefAttribute, 31431SyntaxKind.XmlNameAttribute, 31432SyntaxKind.ConditionalAccessExpression, 31433SyntaxKind.NameOfExpression, 31434SyntaxKind.InterpolatedStringExpression 31439Case SyntaxKind.GreaterThanEqualsToken 31447Case SyntaxKind.KeywordEventContainer, 31448SyntaxKind.WithEventsEventContainer, 31449SyntaxKind.WithEventsPropertyEventContainer, 31450SyntaxKind.IdentifierLabel, 31451SyntaxKind.NumericLabel, 31452SyntaxKind.NextLabel, 31453SyntaxKind.MidExpression, 31454SyntaxKind.CharacterLiteralExpression, 31455SyntaxKind.TrueLiteralExpression, 31456SyntaxKind.FalseLiteralExpression, 31457SyntaxKind.NumericLiteralExpression, 31458SyntaxKind.DateLiteralExpression, 31459SyntaxKind.StringLiteralExpression, 31460SyntaxKind.NothingLiteralExpression, 31461SyntaxKind.ParenthesizedExpression, 31462SyntaxKind.TupleExpression, 31463SyntaxKind.TupleType, 31464SyntaxKind.MeExpression, 31465SyntaxKind.MyBaseExpression, 31466SyntaxKind.MyClassExpression, 31467SyntaxKind.GetTypeExpression, 31468SyntaxKind.TypeOfIsExpression, 31469SyntaxKind.TypeOfIsNotExpression, 31470SyntaxKind.GetXmlNamespaceExpression, 31471SyntaxKind.SimpleMemberAccessExpression, 31472SyntaxKind.DictionaryAccessExpression, 31473SyntaxKind.XmlElementAccessExpression, 31474SyntaxKind.XmlDescendantAccessExpression, 31475SyntaxKind.XmlAttributeAccessExpression, 31476SyntaxKind.InvocationExpression, 31477SyntaxKind.ObjectCreationExpression, 31478SyntaxKind.AnonymousObjectCreationExpression, 31479SyntaxKind.ArrayCreationExpression, 31480SyntaxKind.CollectionInitializer, 31481SyntaxKind.CTypeExpression, 31482SyntaxKind.DirectCastExpression, 31483SyntaxKind.TryCastExpression, 31484SyntaxKind.PredefinedCastExpression, 31485SyntaxKind.AddExpression, 31486SyntaxKind.SubtractExpression, 31487SyntaxKind.MultiplyExpression, 31488SyntaxKind.DivideExpression, 31489SyntaxKind.IntegerDivideExpression, 31490SyntaxKind.ExponentiateExpression, 31491SyntaxKind.LeftShiftExpression, 31492SyntaxKind.RightShiftExpression, 31493SyntaxKind.ConcatenateExpression, 31494SyntaxKind.ModuloExpression, 31495SyntaxKind.EqualsExpression, 31496SyntaxKind.NotEqualsExpression, 31497SyntaxKind.LessThanExpression, 31498SyntaxKind.LessThanOrEqualExpression, 31499SyntaxKind.GreaterThanOrEqualExpression, 31500SyntaxKind.GreaterThanExpression, 31501SyntaxKind.IsExpression, 31502SyntaxKind.IsNotExpression, 31503SyntaxKind.LikeExpression, 31504SyntaxKind.OrExpression, 31505SyntaxKind.ExclusiveOrExpression, 31506SyntaxKind.AndExpression, 31507SyntaxKind.OrElseExpression, 31508SyntaxKind.AndAlsoExpression, 31509SyntaxKind.UnaryPlusExpression, 31510SyntaxKind.UnaryMinusExpression, 31511SyntaxKind.NotExpression, 31512SyntaxKind.AddressOfExpression, 31513SyntaxKind.BinaryConditionalExpression, 31514SyntaxKind.TernaryConditionalExpression, 31515SyntaxKind.SingleLineFunctionLambdaExpression, 31516SyntaxKind.SingleLineSubLambdaExpression, 31517SyntaxKind.MultiLineFunctionLambdaExpression, 31518SyntaxKind.MultiLineSubLambdaExpression, 31519SyntaxKind.QueryExpression, 31520SyntaxKind.FunctionAggregation, 31521SyntaxKind.GroupAggregation, 31522SyntaxKind.XmlDocument, 31523SyntaxKind.XmlElement, 31524SyntaxKind.XmlText, 31525SyntaxKind.XmlElementStartTag, 31526SyntaxKind.XmlElementEndTag, 31527SyntaxKind.XmlEmptyElement, 31528SyntaxKind.XmlAttribute, 31529SyntaxKind.XmlString, 31530SyntaxKind.XmlPrefixName, 31531SyntaxKind.XmlName, 31532SyntaxKind.XmlBracketedName, 31533SyntaxKind.XmlComment, 31534SyntaxKind.XmlProcessingInstruction, 31535SyntaxKind.XmlCDataSection, 31536SyntaxKind.XmlEmbeddedExpression, 31537SyntaxKind.ArrayType, 31538SyntaxKind.NullableType, 31539SyntaxKind.PredefinedType, 31540SyntaxKind.IdentifierName, 31541SyntaxKind.GenericName, 31542SyntaxKind.QualifiedName, 31543SyntaxKind.GlobalName, 31544SyntaxKind.CrefOperatorReference, 31545SyntaxKind.QualifiedCrefOperatorReference, 31546SyntaxKind.AwaitExpression, 31547SyntaxKind.XmlCrefAttribute, 31548SyntaxKind.XmlNameAttribute, 31549SyntaxKind.ConditionalAccessExpression, 31550SyntaxKind.NameOfExpression, 31551SyntaxKind.InterpolatedStringExpression 31555Return New BinaryExpressionSyntax(SyntaxKind.GreaterThanOrEqualExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 31571Return SyntaxFactory.GreaterThanOrEqualExpression(left, SyntaxFactory.Token(SyntaxKind.GreaterThanEqualsToken), right) 31591Case SyntaxKind.KeywordEventContainer, 31592SyntaxKind.WithEventsEventContainer, 31593SyntaxKind.WithEventsPropertyEventContainer, 31594SyntaxKind.IdentifierLabel, 31595SyntaxKind.NumericLabel, 31596SyntaxKind.NextLabel, 31597SyntaxKind.MidExpression, 31598SyntaxKind.CharacterLiteralExpression, 31599SyntaxKind.TrueLiteralExpression, 31600SyntaxKind.FalseLiteralExpression, 31601SyntaxKind.NumericLiteralExpression, 31602SyntaxKind.DateLiteralExpression, 31603SyntaxKind.StringLiteralExpression, 31604SyntaxKind.NothingLiteralExpression, 31605SyntaxKind.ParenthesizedExpression, 31606SyntaxKind.TupleExpression, 31607SyntaxKind.TupleType, 31608SyntaxKind.MeExpression, 31609SyntaxKind.MyBaseExpression, 31610SyntaxKind.MyClassExpression, 31611SyntaxKind.GetTypeExpression, 31612SyntaxKind.TypeOfIsExpression, 31613SyntaxKind.TypeOfIsNotExpression, 31614SyntaxKind.GetXmlNamespaceExpression, 31615SyntaxKind.SimpleMemberAccessExpression, 31616SyntaxKind.DictionaryAccessExpression, 31617SyntaxKind.XmlElementAccessExpression, 31618SyntaxKind.XmlDescendantAccessExpression, 31619SyntaxKind.XmlAttributeAccessExpression, 31620SyntaxKind.InvocationExpression, 31621SyntaxKind.ObjectCreationExpression, 31622SyntaxKind.AnonymousObjectCreationExpression, 31623SyntaxKind.ArrayCreationExpression, 31624SyntaxKind.CollectionInitializer, 31625SyntaxKind.CTypeExpression, 31626SyntaxKind.DirectCastExpression, 31627SyntaxKind.TryCastExpression, 31628SyntaxKind.PredefinedCastExpression, 31629SyntaxKind.AddExpression, 31630SyntaxKind.SubtractExpression, 31631SyntaxKind.MultiplyExpression, 31632SyntaxKind.DivideExpression, 31633SyntaxKind.IntegerDivideExpression, 31634SyntaxKind.ExponentiateExpression, 31635SyntaxKind.LeftShiftExpression, 31636SyntaxKind.RightShiftExpression, 31637SyntaxKind.ConcatenateExpression, 31638SyntaxKind.ModuloExpression, 31639SyntaxKind.EqualsExpression, 31640SyntaxKind.NotEqualsExpression, 31641SyntaxKind.LessThanExpression, 31642SyntaxKind.LessThanOrEqualExpression, 31643SyntaxKind.GreaterThanOrEqualExpression, 31644SyntaxKind.GreaterThanExpression, 31645SyntaxKind.IsExpression, 31646SyntaxKind.IsNotExpression, 31647SyntaxKind.LikeExpression, 31648SyntaxKind.OrExpression, 31649SyntaxKind.ExclusiveOrExpression, 31650SyntaxKind.AndExpression, 31651SyntaxKind.OrElseExpression, 31652SyntaxKind.AndAlsoExpression, 31653SyntaxKind.UnaryPlusExpression, 31654SyntaxKind.UnaryMinusExpression, 31655SyntaxKind.NotExpression, 31656SyntaxKind.AddressOfExpression, 31657SyntaxKind.BinaryConditionalExpression, 31658SyntaxKind.TernaryConditionalExpression, 31659SyntaxKind.SingleLineFunctionLambdaExpression, 31660SyntaxKind.SingleLineSubLambdaExpression, 31661SyntaxKind.MultiLineFunctionLambdaExpression, 31662SyntaxKind.MultiLineSubLambdaExpression, 31663SyntaxKind.QueryExpression, 31664SyntaxKind.FunctionAggregation, 31665SyntaxKind.GroupAggregation, 31666SyntaxKind.XmlDocument, 31667SyntaxKind.XmlElement, 31668SyntaxKind.XmlText, 31669SyntaxKind.XmlElementStartTag, 31670SyntaxKind.XmlElementEndTag, 31671SyntaxKind.XmlEmptyElement, 31672SyntaxKind.XmlAttribute, 31673SyntaxKind.XmlString, 31674SyntaxKind.XmlPrefixName, 31675SyntaxKind.XmlName, 31676SyntaxKind.XmlBracketedName, 31677SyntaxKind.XmlComment, 31678SyntaxKind.XmlProcessingInstruction, 31679SyntaxKind.XmlCDataSection, 31680SyntaxKind.XmlEmbeddedExpression, 31681SyntaxKind.ArrayType, 31682SyntaxKind.NullableType, 31683SyntaxKind.PredefinedType, 31684SyntaxKind.IdentifierName, 31685SyntaxKind.GenericName, 31686SyntaxKind.QualifiedName, 31687SyntaxKind.GlobalName, 31688SyntaxKind.CrefOperatorReference, 31689SyntaxKind.QualifiedCrefOperatorReference, 31690SyntaxKind.AwaitExpression, 31691SyntaxKind.XmlCrefAttribute, 31692SyntaxKind.XmlNameAttribute, 31693SyntaxKind.ConditionalAccessExpression, 31694SyntaxKind.NameOfExpression, 31695SyntaxKind.InterpolatedStringExpression 31700Case SyntaxKind.GreaterThanToken 31708Case SyntaxKind.KeywordEventContainer, 31709SyntaxKind.WithEventsEventContainer, 31710SyntaxKind.WithEventsPropertyEventContainer, 31711SyntaxKind.IdentifierLabel, 31712SyntaxKind.NumericLabel, 31713SyntaxKind.NextLabel, 31714SyntaxKind.MidExpression, 31715SyntaxKind.CharacterLiteralExpression, 31716SyntaxKind.TrueLiteralExpression, 31717SyntaxKind.FalseLiteralExpression, 31718SyntaxKind.NumericLiteralExpression, 31719SyntaxKind.DateLiteralExpression, 31720SyntaxKind.StringLiteralExpression, 31721SyntaxKind.NothingLiteralExpression, 31722SyntaxKind.ParenthesizedExpression, 31723SyntaxKind.TupleExpression, 31724SyntaxKind.TupleType, 31725SyntaxKind.MeExpression, 31726SyntaxKind.MyBaseExpression, 31727SyntaxKind.MyClassExpression, 31728SyntaxKind.GetTypeExpression, 31729SyntaxKind.TypeOfIsExpression, 31730SyntaxKind.TypeOfIsNotExpression, 31731SyntaxKind.GetXmlNamespaceExpression, 31732SyntaxKind.SimpleMemberAccessExpression, 31733SyntaxKind.DictionaryAccessExpression, 31734SyntaxKind.XmlElementAccessExpression, 31735SyntaxKind.XmlDescendantAccessExpression, 31736SyntaxKind.XmlAttributeAccessExpression, 31737SyntaxKind.InvocationExpression, 31738SyntaxKind.ObjectCreationExpression, 31739SyntaxKind.AnonymousObjectCreationExpression, 31740SyntaxKind.ArrayCreationExpression, 31741SyntaxKind.CollectionInitializer, 31742SyntaxKind.CTypeExpression, 31743SyntaxKind.DirectCastExpression, 31744SyntaxKind.TryCastExpression, 31745SyntaxKind.PredefinedCastExpression, 31746SyntaxKind.AddExpression, 31747SyntaxKind.SubtractExpression, 31748SyntaxKind.MultiplyExpression, 31749SyntaxKind.DivideExpression, 31750SyntaxKind.IntegerDivideExpression, 31751SyntaxKind.ExponentiateExpression, 31752SyntaxKind.LeftShiftExpression, 31753SyntaxKind.RightShiftExpression, 31754SyntaxKind.ConcatenateExpression, 31755SyntaxKind.ModuloExpression, 31756SyntaxKind.EqualsExpression, 31757SyntaxKind.NotEqualsExpression, 31758SyntaxKind.LessThanExpression, 31759SyntaxKind.LessThanOrEqualExpression, 31760SyntaxKind.GreaterThanOrEqualExpression, 31761SyntaxKind.GreaterThanExpression, 31762SyntaxKind.IsExpression, 31763SyntaxKind.IsNotExpression, 31764SyntaxKind.LikeExpression, 31765SyntaxKind.OrExpression, 31766SyntaxKind.ExclusiveOrExpression, 31767SyntaxKind.AndExpression, 31768SyntaxKind.OrElseExpression, 31769SyntaxKind.AndAlsoExpression, 31770SyntaxKind.UnaryPlusExpression, 31771SyntaxKind.UnaryMinusExpression, 31772SyntaxKind.NotExpression, 31773SyntaxKind.AddressOfExpression, 31774SyntaxKind.BinaryConditionalExpression, 31775SyntaxKind.TernaryConditionalExpression, 31776SyntaxKind.SingleLineFunctionLambdaExpression, 31777SyntaxKind.SingleLineSubLambdaExpression, 31778SyntaxKind.MultiLineFunctionLambdaExpression, 31779SyntaxKind.MultiLineSubLambdaExpression, 31780SyntaxKind.QueryExpression, 31781SyntaxKind.FunctionAggregation, 31782SyntaxKind.GroupAggregation, 31783SyntaxKind.XmlDocument, 31784SyntaxKind.XmlElement, 31785SyntaxKind.XmlText, 31786SyntaxKind.XmlElementStartTag, 31787SyntaxKind.XmlElementEndTag, 31788SyntaxKind.XmlEmptyElement, 31789SyntaxKind.XmlAttribute, 31790SyntaxKind.XmlString, 31791SyntaxKind.XmlPrefixName, 31792SyntaxKind.XmlName, 31793SyntaxKind.XmlBracketedName, 31794SyntaxKind.XmlComment, 31795SyntaxKind.XmlProcessingInstruction, 31796SyntaxKind.XmlCDataSection, 31797SyntaxKind.XmlEmbeddedExpression, 31798SyntaxKind.ArrayType, 31799SyntaxKind.NullableType, 31800SyntaxKind.PredefinedType, 31801SyntaxKind.IdentifierName, 31802SyntaxKind.GenericName, 31803SyntaxKind.QualifiedName, 31804SyntaxKind.GlobalName, 31805SyntaxKind.CrefOperatorReference, 31806SyntaxKind.QualifiedCrefOperatorReference, 31807SyntaxKind.AwaitExpression, 31808SyntaxKind.XmlCrefAttribute, 31809SyntaxKind.XmlNameAttribute, 31810SyntaxKind.ConditionalAccessExpression, 31811SyntaxKind.NameOfExpression, 31812SyntaxKind.InterpolatedStringExpression 31816Return New BinaryExpressionSyntax(SyntaxKind.GreaterThanExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 31832Return SyntaxFactory.GreaterThanExpression(left, SyntaxFactory.Token(SyntaxKind.GreaterThanToken), right) 31852Case SyntaxKind.KeywordEventContainer, 31853SyntaxKind.WithEventsEventContainer, 31854SyntaxKind.WithEventsPropertyEventContainer, 31855SyntaxKind.IdentifierLabel, 31856SyntaxKind.NumericLabel, 31857SyntaxKind.NextLabel, 31858SyntaxKind.MidExpression, 31859SyntaxKind.CharacterLiteralExpression, 31860SyntaxKind.TrueLiteralExpression, 31861SyntaxKind.FalseLiteralExpression, 31862SyntaxKind.NumericLiteralExpression, 31863SyntaxKind.DateLiteralExpression, 31864SyntaxKind.StringLiteralExpression, 31865SyntaxKind.NothingLiteralExpression, 31866SyntaxKind.ParenthesizedExpression, 31867SyntaxKind.TupleExpression, 31868SyntaxKind.TupleType, 31869SyntaxKind.MeExpression, 31870SyntaxKind.MyBaseExpression, 31871SyntaxKind.MyClassExpression, 31872SyntaxKind.GetTypeExpression, 31873SyntaxKind.TypeOfIsExpression, 31874SyntaxKind.TypeOfIsNotExpression, 31875SyntaxKind.GetXmlNamespaceExpression, 31876SyntaxKind.SimpleMemberAccessExpression, 31877SyntaxKind.DictionaryAccessExpression, 31878SyntaxKind.XmlElementAccessExpression, 31879SyntaxKind.XmlDescendantAccessExpression, 31880SyntaxKind.XmlAttributeAccessExpression, 31881SyntaxKind.InvocationExpression, 31882SyntaxKind.ObjectCreationExpression, 31883SyntaxKind.AnonymousObjectCreationExpression, 31884SyntaxKind.ArrayCreationExpression, 31885SyntaxKind.CollectionInitializer, 31886SyntaxKind.CTypeExpression, 31887SyntaxKind.DirectCastExpression, 31888SyntaxKind.TryCastExpression, 31889SyntaxKind.PredefinedCastExpression, 31890SyntaxKind.AddExpression, 31891SyntaxKind.SubtractExpression, 31892SyntaxKind.MultiplyExpression, 31893SyntaxKind.DivideExpression, 31894SyntaxKind.IntegerDivideExpression, 31895SyntaxKind.ExponentiateExpression, 31896SyntaxKind.LeftShiftExpression, 31897SyntaxKind.RightShiftExpression, 31898SyntaxKind.ConcatenateExpression, 31899SyntaxKind.ModuloExpression, 31900SyntaxKind.EqualsExpression, 31901SyntaxKind.NotEqualsExpression, 31902SyntaxKind.LessThanExpression, 31903SyntaxKind.LessThanOrEqualExpression, 31904SyntaxKind.GreaterThanOrEqualExpression, 31905SyntaxKind.GreaterThanExpression, 31906SyntaxKind.IsExpression, 31907SyntaxKind.IsNotExpression, 31908SyntaxKind.LikeExpression, 31909SyntaxKind.OrExpression, 31910SyntaxKind.ExclusiveOrExpression, 31911SyntaxKind.AndExpression, 31912SyntaxKind.OrElseExpression, 31913SyntaxKind.AndAlsoExpression, 31914SyntaxKind.UnaryPlusExpression, 31915SyntaxKind.UnaryMinusExpression, 31916SyntaxKind.NotExpression, 31917SyntaxKind.AddressOfExpression, 31918SyntaxKind.BinaryConditionalExpression, 31919SyntaxKind.TernaryConditionalExpression, 31920SyntaxKind.SingleLineFunctionLambdaExpression, 31921SyntaxKind.SingleLineSubLambdaExpression, 31922SyntaxKind.MultiLineFunctionLambdaExpression, 31923SyntaxKind.MultiLineSubLambdaExpression, 31924SyntaxKind.QueryExpression, 31925SyntaxKind.FunctionAggregation, 31926SyntaxKind.GroupAggregation, 31927SyntaxKind.XmlDocument, 31928SyntaxKind.XmlElement, 31929SyntaxKind.XmlText, 31930SyntaxKind.XmlElementStartTag, 31931SyntaxKind.XmlElementEndTag, 31932SyntaxKind.XmlEmptyElement, 31933SyntaxKind.XmlAttribute, 31934SyntaxKind.XmlString, 31935SyntaxKind.XmlPrefixName, 31936SyntaxKind.XmlName, 31937SyntaxKind.XmlBracketedName, 31938SyntaxKind.XmlComment, 31939SyntaxKind.XmlProcessingInstruction, 31940SyntaxKind.XmlCDataSection, 31941SyntaxKind.XmlEmbeddedExpression, 31942SyntaxKind.ArrayType, 31943SyntaxKind.NullableType, 31944SyntaxKind.PredefinedType, 31945SyntaxKind.IdentifierName, 31946SyntaxKind.GenericName, 31947SyntaxKind.QualifiedName, 31948SyntaxKind.GlobalName, 31949SyntaxKind.CrefOperatorReference, 31950SyntaxKind.QualifiedCrefOperatorReference, 31951SyntaxKind.AwaitExpression, 31952SyntaxKind.XmlCrefAttribute, 31953SyntaxKind.XmlNameAttribute, 31954SyntaxKind.ConditionalAccessExpression, 31955SyntaxKind.NameOfExpression, 31956SyntaxKind.InterpolatedStringExpression 31961Case SyntaxKind.IsKeyword 31969Case SyntaxKind.KeywordEventContainer, 31970SyntaxKind.WithEventsEventContainer, 31971SyntaxKind.WithEventsPropertyEventContainer, 31972SyntaxKind.IdentifierLabel, 31973SyntaxKind.NumericLabel, 31974SyntaxKind.NextLabel, 31975SyntaxKind.MidExpression, 31976SyntaxKind.CharacterLiteralExpression, 31977SyntaxKind.TrueLiteralExpression, 31978SyntaxKind.FalseLiteralExpression, 31979SyntaxKind.NumericLiteralExpression, 31980SyntaxKind.DateLiteralExpression, 31981SyntaxKind.StringLiteralExpression, 31982SyntaxKind.NothingLiteralExpression, 31983SyntaxKind.ParenthesizedExpression, 31984SyntaxKind.TupleExpression, 31985SyntaxKind.TupleType, 31986SyntaxKind.MeExpression, 31987SyntaxKind.MyBaseExpression, 31988SyntaxKind.MyClassExpression, 31989SyntaxKind.GetTypeExpression, 31990SyntaxKind.TypeOfIsExpression, 31991SyntaxKind.TypeOfIsNotExpression, 31992SyntaxKind.GetXmlNamespaceExpression, 31993SyntaxKind.SimpleMemberAccessExpression, 31994SyntaxKind.DictionaryAccessExpression, 31995SyntaxKind.XmlElementAccessExpression, 31996SyntaxKind.XmlDescendantAccessExpression, 31997SyntaxKind.XmlAttributeAccessExpression, 31998SyntaxKind.InvocationExpression, 31999SyntaxKind.ObjectCreationExpression, 32000SyntaxKind.AnonymousObjectCreationExpression, 32001SyntaxKind.ArrayCreationExpression, 32002SyntaxKind.CollectionInitializer, 32003SyntaxKind.CTypeExpression, 32004SyntaxKind.DirectCastExpression, 32005SyntaxKind.TryCastExpression, 32006SyntaxKind.PredefinedCastExpression, 32007SyntaxKind.AddExpression, 32008SyntaxKind.SubtractExpression, 32009SyntaxKind.MultiplyExpression, 32010SyntaxKind.DivideExpression, 32011SyntaxKind.IntegerDivideExpression, 32012SyntaxKind.ExponentiateExpression, 32013SyntaxKind.LeftShiftExpression, 32014SyntaxKind.RightShiftExpression, 32015SyntaxKind.ConcatenateExpression, 32016SyntaxKind.ModuloExpression, 32017SyntaxKind.EqualsExpression, 32018SyntaxKind.NotEqualsExpression, 32019SyntaxKind.LessThanExpression, 32020SyntaxKind.LessThanOrEqualExpression, 32021SyntaxKind.GreaterThanOrEqualExpression, 32022SyntaxKind.GreaterThanExpression, 32023SyntaxKind.IsExpression, 32024SyntaxKind.IsNotExpression, 32025SyntaxKind.LikeExpression, 32026SyntaxKind.OrExpression, 32027SyntaxKind.ExclusiveOrExpression, 32028SyntaxKind.AndExpression, 32029SyntaxKind.OrElseExpression, 32030SyntaxKind.AndAlsoExpression, 32031SyntaxKind.UnaryPlusExpression, 32032SyntaxKind.UnaryMinusExpression, 32033SyntaxKind.NotExpression, 32034SyntaxKind.AddressOfExpression, 32035SyntaxKind.BinaryConditionalExpression, 32036SyntaxKind.TernaryConditionalExpression, 32037SyntaxKind.SingleLineFunctionLambdaExpression, 32038SyntaxKind.SingleLineSubLambdaExpression, 32039SyntaxKind.MultiLineFunctionLambdaExpression, 32040SyntaxKind.MultiLineSubLambdaExpression, 32041SyntaxKind.QueryExpression, 32042SyntaxKind.FunctionAggregation, 32043SyntaxKind.GroupAggregation, 32044SyntaxKind.XmlDocument, 32045SyntaxKind.XmlElement, 32046SyntaxKind.XmlText, 32047SyntaxKind.XmlElementStartTag, 32048SyntaxKind.XmlElementEndTag, 32049SyntaxKind.XmlEmptyElement, 32050SyntaxKind.XmlAttribute, 32051SyntaxKind.XmlString, 32052SyntaxKind.XmlPrefixName, 32053SyntaxKind.XmlName, 32054SyntaxKind.XmlBracketedName, 32055SyntaxKind.XmlComment, 32056SyntaxKind.XmlProcessingInstruction, 32057SyntaxKind.XmlCDataSection, 32058SyntaxKind.XmlEmbeddedExpression, 32059SyntaxKind.ArrayType, 32060SyntaxKind.NullableType, 32061SyntaxKind.PredefinedType, 32062SyntaxKind.IdentifierName, 32063SyntaxKind.GenericName, 32064SyntaxKind.QualifiedName, 32065SyntaxKind.GlobalName, 32066SyntaxKind.CrefOperatorReference, 32067SyntaxKind.QualifiedCrefOperatorReference, 32068SyntaxKind.AwaitExpression, 32069SyntaxKind.XmlCrefAttribute, 32070SyntaxKind.XmlNameAttribute, 32071SyntaxKind.ConditionalAccessExpression, 32072SyntaxKind.NameOfExpression, 32073SyntaxKind.InterpolatedStringExpression 32077Return New BinaryExpressionSyntax(SyntaxKind.IsExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 32093Return SyntaxFactory.IsExpression(left, SyntaxFactory.Token(SyntaxKind.IsKeyword), right) 32113Case SyntaxKind.KeywordEventContainer, 32114SyntaxKind.WithEventsEventContainer, 32115SyntaxKind.WithEventsPropertyEventContainer, 32116SyntaxKind.IdentifierLabel, 32117SyntaxKind.NumericLabel, 32118SyntaxKind.NextLabel, 32119SyntaxKind.MidExpression, 32120SyntaxKind.CharacterLiteralExpression, 32121SyntaxKind.TrueLiteralExpression, 32122SyntaxKind.FalseLiteralExpression, 32123SyntaxKind.NumericLiteralExpression, 32124SyntaxKind.DateLiteralExpression, 32125SyntaxKind.StringLiteralExpression, 32126SyntaxKind.NothingLiteralExpression, 32127SyntaxKind.ParenthesizedExpression, 32128SyntaxKind.TupleExpression, 32129SyntaxKind.TupleType, 32130SyntaxKind.MeExpression, 32131SyntaxKind.MyBaseExpression, 32132SyntaxKind.MyClassExpression, 32133SyntaxKind.GetTypeExpression, 32134SyntaxKind.TypeOfIsExpression, 32135SyntaxKind.TypeOfIsNotExpression, 32136SyntaxKind.GetXmlNamespaceExpression, 32137SyntaxKind.SimpleMemberAccessExpression, 32138SyntaxKind.DictionaryAccessExpression, 32139SyntaxKind.XmlElementAccessExpression, 32140SyntaxKind.XmlDescendantAccessExpression, 32141SyntaxKind.XmlAttributeAccessExpression, 32142SyntaxKind.InvocationExpression, 32143SyntaxKind.ObjectCreationExpression, 32144SyntaxKind.AnonymousObjectCreationExpression, 32145SyntaxKind.ArrayCreationExpression, 32146SyntaxKind.CollectionInitializer, 32147SyntaxKind.CTypeExpression, 32148SyntaxKind.DirectCastExpression, 32149SyntaxKind.TryCastExpression, 32150SyntaxKind.PredefinedCastExpression, 32151SyntaxKind.AddExpression, 32152SyntaxKind.SubtractExpression, 32153SyntaxKind.MultiplyExpression, 32154SyntaxKind.DivideExpression, 32155SyntaxKind.IntegerDivideExpression, 32156SyntaxKind.ExponentiateExpression, 32157SyntaxKind.LeftShiftExpression, 32158SyntaxKind.RightShiftExpression, 32159SyntaxKind.ConcatenateExpression, 32160SyntaxKind.ModuloExpression, 32161SyntaxKind.EqualsExpression, 32162SyntaxKind.NotEqualsExpression, 32163SyntaxKind.LessThanExpression, 32164SyntaxKind.LessThanOrEqualExpression, 32165SyntaxKind.GreaterThanOrEqualExpression, 32166SyntaxKind.GreaterThanExpression, 32167SyntaxKind.IsExpression, 32168SyntaxKind.IsNotExpression, 32169SyntaxKind.LikeExpression, 32170SyntaxKind.OrExpression, 32171SyntaxKind.ExclusiveOrExpression, 32172SyntaxKind.AndExpression, 32173SyntaxKind.OrElseExpression, 32174SyntaxKind.AndAlsoExpression, 32175SyntaxKind.UnaryPlusExpression, 32176SyntaxKind.UnaryMinusExpression, 32177SyntaxKind.NotExpression, 32178SyntaxKind.AddressOfExpression, 32179SyntaxKind.BinaryConditionalExpression, 32180SyntaxKind.TernaryConditionalExpression, 32181SyntaxKind.SingleLineFunctionLambdaExpression, 32182SyntaxKind.SingleLineSubLambdaExpression, 32183SyntaxKind.MultiLineFunctionLambdaExpression, 32184SyntaxKind.MultiLineSubLambdaExpression, 32185SyntaxKind.QueryExpression, 32186SyntaxKind.FunctionAggregation, 32187SyntaxKind.GroupAggregation, 32188SyntaxKind.XmlDocument, 32189SyntaxKind.XmlElement, 32190SyntaxKind.XmlText, 32191SyntaxKind.XmlElementStartTag, 32192SyntaxKind.XmlElementEndTag, 32193SyntaxKind.XmlEmptyElement, 32194SyntaxKind.XmlAttribute, 32195SyntaxKind.XmlString, 32196SyntaxKind.XmlPrefixName, 32197SyntaxKind.XmlName, 32198SyntaxKind.XmlBracketedName, 32199SyntaxKind.XmlComment, 32200SyntaxKind.XmlProcessingInstruction, 32201SyntaxKind.XmlCDataSection, 32202SyntaxKind.XmlEmbeddedExpression, 32203SyntaxKind.ArrayType, 32204SyntaxKind.NullableType, 32205SyntaxKind.PredefinedType, 32206SyntaxKind.IdentifierName, 32207SyntaxKind.GenericName, 32208SyntaxKind.QualifiedName, 32209SyntaxKind.GlobalName, 32210SyntaxKind.CrefOperatorReference, 32211SyntaxKind.QualifiedCrefOperatorReference, 32212SyntaxKind.AwaitExpression, 32213SyntaxKind.XmlCrefAttribute, 32214SyntaxKind.XmlNameAttribute, 32215SyntaxKind.ConditionalAccessExpression, 32216SyntaxKind.NameOfExpression, 32217SyntaxKind.InterpolatedStringExpression 32222Case SyntaxKind.IsNotKeyword 32230Case SyntaxKind.KeywordEventContainer, 32231SyntaxKind.WithEventsEventContainer, 32232SyntaxKind.WithEventsPropertyEventContainer, 32233SyntaxKind.IdentifierLabel, 32234SyntaxKind.NumericLabel, 32235SyntaxKind.NextLabel, 32236SyntaxKind.MidExpression, 32237SyntaxKind.CharacterLiteralExpression, 32238SyntaxKind.TrueLiteralExpression, 32239SyntaxKind.FalseLiteralExpression, 32240SyntaxKind.NumericLiteralExpression, 32241SyntaxKind.DateLiteralExpression, 32242SyntaxKind.StringLiteralExpression, 32243SyntaxKind.NothingLiteralExpression, 32244SyntaxKind.ParenthesizedExpression, 32245SyntaxKind.TupleExpression, 32246SyntaxKind.TupleType, 32247SyntaxKind.MeExpression, 32248SyntaxKind.MyBaseExpression, 32249SyntaxKind.MyClassExpression, 32250SyntaxKind.GetTypeExpression, 32251SyntaxKind.TypeOfIsExpression, 32252SyntaxKind.TypeOfIsNotExpression, 32253SyntaxKind.GetXmlNamespaceExpression, 32254SyntaxKind.SimpleMemberAccessExpression, 32255SyntaxKind.DictionaryAccessExpression, 32256SyntaxKind.XmlElementAccessExpression, 32257SyntaxKind.XmlDescendantAccessExpression, 32258SyntaxKind.XmlAttributeAccessExpression, 32259SyntaxKind.InvocationExpression, 32260SyntaxKind.ObjectCreationExpression, 32261SyntaxKind.AnonymousObjectCreationExpression, 32262SyntaxKind.ArrayCreationExpression, 32263SyntaxKind.CollectionInitializer, 32264SyntaxKind.CTypeExpression, 32265SyntaxKind.DirectCastExpression, 32266SyntaxKind.TryCastExpression, 32267SyntaxKind.PredefinedCastExpression, 32268SyntaxKind.AddExpression, 32269SyntaxKind.SubtractExpression, 32270SyntaxKind.MultiplyExpression, 32271SyntaxKind.DivideExpression, 32272SyntaxKind.IntegerDivideExpression, 32273SyntaxKind.ExponentiateExpression, 32274SyntaxKind.LeftShiftExpression, 32275SyntaxKind.RightShiftExpression, 32276SyntaxKind.ConcatenateExpression, 32277SyntaxKind.ModuloExpression, 32278SyntaxKind.EqualsExpression, 32279SyntaxKind.NotEqualsExpression, 32280SyntaxKind.LessThanExpression, 32281SyntaxKind.LessThanOrEqualExpression, 32282SyntaxKind.GreaterThanOrEqualExpression, 32283SyntaxKind.GreaterThanExpression, 32284SyntaxKind.IsExpression, 32285SyntaxKind.IsNotExpression, 32286SyntaxKind.LikeExpression, 32287SyntaxKind.OrExpression, 32288SyntaxKind.ExclusiveOrExpression, 32289SyntaxKind.AndExpression, 32290SyntaxKind.OrElseExpression, 32291SyntaxKind.AndAlsoExpression, 32292SyntaxKind.UnaryPlusExpression, 32293SyntaxKind.UnaryMinusExpression, 32294SyntaxKind.NotExpression, 32295SyntaxKind.AddressOfExpression, 32296SyntaxKind.BinaryConditionalExpression, 32297SyntaxKind.TernaryConditionalExpression, 32298SyntaxKind.SingleLineFunctionLambdaExpression, 32299SyntaxKind.SingleLineSubLambdaExpression, 32300SyntaxKind.MultiLineFunctionLambdaExpression, 32301SyntaxKind.MultiLineSubLambdaExpression, 32302SyntaxKind.QueryExpression, 32303SyntaxKind.FunctionAggregation, 32304SyntaxKind.GroupAggregation, 32305SyntaxKind.XmlDocument, 32306SyntaxKind.XmlElement, 32307SyntaxKind.XmlText, 32308SyntaxKind.XmlElementStartTag, 32309SyntaxKind.XmlElementEndTag, 32310SyntaxKind.XmlEmptyElement, 32311SyntaxKind.XmlAttribute, 32312SyntaxKind.XmlString, 32313SyntaxKind.XmlPrefixName, 32314SyntaxKind.XmlName, 32315SyntaxKind.XmlBracketedName, 32316SyntaxKind.XmlComment, 32317SyntaxKind.XmlProcessingInstruction, 32318SyntaxKind.XmlCDataSection, 32319SyntaxKind.XmlEmbeddedExpression, 32320SyntaxKind.ArrayType, 32321SyntaxKind.NullableType, 32322SyntaxKind.PredefinedType, 32323SyntaxKind.IdentifierName, 32324SyntaxKind.GenericName, 32325SyntaxKind.QualifiedName, 32326SyntaxKind.GlobalName, 32327SyntaxKind.CrefOperatorReference, 32328SyntaxKind.QualifiedCrefOperatorReference, 32329SyntaxKind.AwaitExpression, 32330SyntaxKind.XmlCrefAttribute, 32331SyntaxKind.XmlNameAttribute, 32332SyntaxKind.ConditionalAccessExpression, 32333SyntaxKind.NameOfExpression, 32334SyntaxKind.InterpolatedStringExpression 32338Return New BinaryExpressionSyntax(SyntaxKind.IsNotExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 32354Return SyntaxFactory.IsNotExpression(left, SyntaxFactory.Token(SyntaxKind.IsNotKeyword), right) 32374Case SyntaxKind.KeywordEventContainer, 32375SyntaxKind.WithEventsEventContainer, 32376SyntaxKind.WithEventsPropertyEventContainer, 32377SyntaxKind.IdentifierLabel, 32378SyntaxKind.NumericLabel, 32379SyntaxKind.NextLabel, 32380SyntaxKind.MidExpression, 32381SyntaxKind.CharacterLiteralExpression, 32382SyntaxKind.TrueLiteralExpression, 32383SyntaxKind.FalseLiteralExpression, 32384SyntaxKind.NumericLiteralExpression, 32385SyntaxKind.DateLiteralExpression, 32386SyntaxKind.StringLiteralExpression, 32387SyntaxKind.NothingLiteralExpression, 32388SyntaxKind.ParenthesizedExpression, 32389SyntaxKind.TupleExpression, 32390SyntaxKind.TupleType, 32391SyntaxKind.MeExpression, 32392SyntaxKind.MyBaseExpression, 32393SyntaxKind.MyClassExpression, 32394SyntaxKind.GetTypeExpression, 32395SyntaxKind.TypeOfIsExpression, 32396SyntaxKind.TypeOfIsNotExpression, 32397SyntaxKind.GetXmlNamespaceExpression, 32398SyntaxKind.SimpleMemberAccessExpression, 32399SyntaxKind.DictionaryAccessExpression, 32400SyntaxKind.XmlElementAccessExpression, 32401SyntaxKind.XmlDescendantAccessExpression, 32402SyntaxKind.XmlAttributeAccessExpression, 32403SyntaxKind.InvocationExpression, 32404SyntaxKind.ObjectCreationExpression, 32405SyntaxKind.AnonymousObjectCreationExpression, 32406SyntaxKind.ArrayCreationExpression, 32407SyntaxKind.CollectionInitializer, 32408SyntaxKind.CTypeExpression, 32409SyntaxKind.DirectCastExpression, 32410SyntaxKind.TryCastExpression, 32411SyntaxKind.PredefinedCastExpression, 32412SyntaxKind.AddExpression, 32413SyntaxKind.SubtractExpression, 32414SyntaxKind.MultiplyExpression, 32415SyntaxKind.DivideExpression, 32416SyntaxKind.IntegerDivideExpression, 32417SyntaxKind.ExponentiateExpression, 32418SyntaxKind.LeftShiftExpression, 32419SyntaxKind.RightShiftExpression, 32420SyntaxKind.ConcatenateExpression, 32421SyntaxKind.ModuloExpression, 32422SyntaxKind.EqualsExpression, 32423SyntaxKind.NotEqualsExpression, 32424SyntaxKind.LessThanExpression, 32425SyntaxKind.LessThanOrEqualExpression, 32426SyntaxKind.GreaterThanOrEqualExpression, 32427SyntaxKind.GreaterThanExpression, 32428SyntaxKind.IsExpression, 32429SyntaxKind.IsNotExpression, 32430SyntaxKind.LikeExpression, 32431SyntaxKind.OrExpression, 32432SyntaxKind.ExclusiveOrExpression, 32433SyntaxKind.AndExpression, 32434SyntaxKind.OrElseExpression, 32435SyntaxKind.AndAlsoExpression, 32436SyntaxKind.UnaryPlusExpression, 32437SyntaxKind.UnaryMinusExpression, 32438SyntaxKind.NotExpression, 32439SyntaxKind.AddressOfExpression, 32440SyntaxKind.BinaryConditionalExpression, 32441SyntaxKind.TernaryConditionalExpression, 32442SyntaxKind.SingleLineFunctionLambdaExpression, 32443SyntaxKind.SingleLineSubLambdaExpression, 32444SyntaxKind.MultiLineFunctionLambdaExpression, 32445SyntaxKind.MultiLineSubLambdaExpression, 32446SyntaxKind.QueryExpression, 32447SyntaxKind.FunctionAggregation, 32448SyntaxKind.GroupAggregation, 32449SyntaxKind.XmlDocument, 32450SyntaxKind.XmlElement, 32451SyntaxKind.XmlText, 32452SyntaxKind.XmlElementStartTag, 32453SyntaxKind.XmlElementEndTag, 32454SyntaxKind.XmlEmptyElement, 32455SyntaxKind.XmlAttribute, 32456SyntaxKind.XmlString, 32457SyntaxKind.XmlPrefixName, 32458SyntaxKind.XmlName, 32459SyntaxKind.XmlBracketedName, 32460SyntaxKind.XmlComment, 32461SyntaxKind.XmlProcessingInstruction, 32462SyntaxKind.XmlCDataSection, 32463SyntaxKind.XmlEmbeddedExpression, 32464SyntaxKind.ArrayType, 32465SyntaxKind.NullableType, 32466SyntaxKind.PredefinedType, 32467SyntaxKind.IdentifierName, 32468SyntaxKind.GenericName, 32469SyntaxKind.QualifiedName, 32470SyntaxKind.GlobalName, 32471SyntaxKind.CrefOperatorReference, 32472SyntaxKind.QualifiedCrefOperatorReference, 32473SyntaxKind.AwaitExpression, 32474SyntaxKind.XmlCrefAttribute, 32475SyntaxKind.XmlNameAttribute, 32476SyntaxKind.ConditionalAccessExpression, 32477SyntaxKind.NameOfExpression, 32478SyntaxKind.InterpolatedStringExpression 32483Case SyntaxKind.LikeKeyword 32491Case SyntaxKind.KeywordEventContainer, 32492SyntaxKind.WithEventsEventContainer, 32493SyntaxKind.WithEventsPropertyEventContainer, 32494SyntaxKind.IdentifierLabel, 32495SyntaxKind.NumericLabel, 32496SyntaxKind.NextLabel, 32497SyntaxKind.MidExpression, 32498SyntaxKind.CharacterLiteralExpression, 32499SyntaxKind.TrueLiteralExpression, 32500SyntaxKind.FalseLiteralExpression, 32501SyntaxKind.NumericLiteralExpression, 32502SyntaxKind.DateLiteralExpression, 32503SyntaxKind.StringLiteralExpression, 32504SyntaxKind.NothingLiteralExpression, 32505SyntaxKind.ParenthesizedExpression, 32506SyntaxKind.TupleExpression, 32507SyntaxKind.TupleType, 32508SyntaxKind.MeExpression, 32509SyntaxKind.MyBaseExpression, 32510SyntaxKind.MyClassExpression, 32511SyntaxKind.GetTypeExpression, 32512SyntaxKind.TypeOfIsExpression, 32513SyntaxKind.TypeOfIsNotExpression, 32514SyntaxKind.GetXmlNamespaceExpression, 32515SyntaxKind.SimpleMemberAccessExpression, 32516SyntaxKind.DictionaryAccessExpression, 32517SyntaxKind.XmlElementAccessExpression, 32518SyntaxKind.XmlDescendantAccessExpression, 32519SyntaxKind.XmlAttributeAccessExpression, 32520SyntaxKind.InvocationExpression, 32521SyntaxKind.ObjectCreationExpression, 32522SyntaxKind.AnonymousObjectCreationExpression, 32523SyntaxKind.ArrayCreationExpression, 32524SyntaxKind.CollectionInitializer, 32525SyntaxKind.CTypeExpression, 32526SyntaxKind.DirectCastExpression, 32527SyntaxKind.TryCastExpression, 32528SyntaxKind.PredefinedCastExpression, 32529SyntaxKind.AddExpression, 32530SyntaxKind.SubtractExpression, 32531SyntaxKind.MultiplyExpression, 32532SyntaxKind.DivideExpression, 32533SyntaxKind.IntegerDivideExpression, 32534SyntaxKind.ExponentiateExpression, 32535SyntaxKind.LeftShiftExpression, 32536SyntaxKind.RightShiftExpression, 32537SyntaxKind.ConcatenateExpression, 32538SyntaxKind.ModuloExpression, 32539SyntaxKind.EqualsExpression, 32540SyntaxKind.NotEqualsExpression, 32541SyntaxKind.LessThanExpression, 32542SyntaxKind.LessThanOrEqualExpression, 32543SyntaxKind.GreaterThanOrEqualExpression, 32544SyntaxKind.GreaterThanExpression, 32545SyntaxKind.IsExpression, 32546SyntaxKind.IsNotExpression, 32547SyntaxKind.LikeExpression, 32548SyntaxKind.OrExpression, 32549SyntaxKind.ExclusiveOrExpression, 32550SyntaxKind.AndExpression, 32551SyntaxKind.OrElseExpression, 32552SyntaxKind.AndAlsoExpression, 32553SyntaxKind.UnaryPlusExpression, 32554SyntaxKind.UnaryMinusExpression, 32555SyntaxKind.NotExpression, 32556SyntaxKind.AddressOfExpression, 32557SyntaxKind.BinaryConditionalExpression, 32558SyntaxKind.TernaryConditionalExpression, 32559SyntaxKind.SingleLineFunctionLambdaExpression, 32560SyntaxKind.SingleLineSubLambdaExpression, 32561SyntaxKind.MultiLineFunctionLambdaExpression, 32562SyntaxKind.MultiLineSubLambdaExpression, 32563SyntaxKind.QueryExpression, 32564SyntaxKind.FunctionAggregation, 32565SyntaxKind.GroupAggregation, 32566SyntaxKind.XmlDocument, 32567SyntaxKind.XmlElement, 32568SyntaxKind.XmlText, 32569SyntaxKind.XmlElementStartTag, 32570SyntaxKind.XmlElementEndTag, 32571SyntaxKind.XmlEmptyElement, 32572SyntaxKind.XmlAttribute, 32573SyntaxKind.XmlString, 32574SyntaxKind.XmlPrefixName, 32575SyntaxKind.XmlName, 32576SyntaxKind.XmlBracketedName, 32577SyntaxKind.XmlComment, 32578SyntaxKind.XmlProcessingInstruction, 32579SyntaxKind.XmlCDataSection, 32580SyntaxKind.XmlEmbeddedExpression, 32581SyntaxKind.ArrayType, 32582SyntaxKind.NullableType, 32583SyntaxKind.PredefinedType, 32584SyntaxKind.IdentifierName, 32585SyntaxKind.GenericName, 32586SyntaxKind.QualifiedName, 32587SyntaxKind.GlobalName, 32588SyntaxKind.CrefOperatorReference, 32589SyntaxKind.QualifiedCrefOperatorReference, 32590SyntaxKind.AwaitExpression, 32591SyntaxKind.XmlCrefAttribute, 32592SyntaxKind.XmlNameAttribute, 32593SyntaxKind.ConditionalAccessExpression, 32594SyntaxKind.NameOfExpression, 32595SyntaxKind.InterpolatedStringExpression 32599Return New BinaryExpressionSyntax(SyntaxKind.LikeExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 32615Return SyntaxFactory.LikeExpression(left, SyntaxFactory.Token(SyntaxKind.LikeKeyword), right) 32635Case SyntaxKind.KeywordEventContainer, 32636SyntaxKind.WithEventsEventContainer, 32637SyntaxKind.WithEventsPropertyEventContainer, 32638SyntaxKind.IdentifierLabel, 32639SyntaxKind.NumericLabel, 32640SyntaxKind.NextLabel, 32641SyntaxKind.MidExpression, 32642SyntaxKind.CharacterLiteralExpression, 32643SyntaxKind.TrueLiteralExpression, 32644SyntaxKind.FalseLiteralExpression, 32645SyntaxKind.NumericLiteralExpression, 32646SyntaxKind.DateLiteralExpression, 32647SyntaxKind.StringLiteralExpression, 32648SyntaxKind.NothingLiteralExpression, 32649SyntaxKind.ParenthesizedExpression, 32650SyntaxKind.TupleExpression, 32651SyntaxKind.TupleType, 32652SyntaxKind.MeExpression, 32653SyntaxKind.MyBaseExpression, 32654SyntaxKind.MyClassExpression, 32655SyntaxKind.GetTypeExpression, 32656SyntaxKind.TypeOfIsExpression, 32657SyntaxKind.TypeOfIsNotExpression, 32658SyntaxKind.GetXmlNamespaceExpression, 32659SyntaxKind.SimpleMemberAccessExpression, 32660SyntaxKind.DictionaryAccessExpression, 32661SyntaxKind.XmlElementAccessExpression, 32662SyntaxKind.XmlDescendantAccessExpression, 32663SyntaxKind.XmlAttributeAccessExpression, 32664SyntaxKind.InvocationExpression, 32665SyntaxKind.ObjectCreationExpression, 32666SyntaxKind.AnonymousObjectCreationExpression, 32667SyntaxKind.ArrayCreationExpression, 32668SyntaxKind.CollectionInitializer, 32669SyntaxKind.CTypeExpression, 32670SyntaxKind.DirectCastExpression, 32671SyntaxKind.TryCastExpression, 32672SyntaxKind.PredefinedCastExpression, 32673SyntaxKind.AddExpression, 32674SyntaxKind.SubtractExpression, 32675SyntaxKind.MultiplyExpression, 32676SyntaxKind.DivideExpression, 32677SyntaxKind.IntegerDivideExpression, 32678SyntaxKind.ExponentiateExpression, 32679SyntaxKind.LeftShiftExpression, 32680SyntaxKind.RightShiftExpression, 32681SyntaxKind.ConcatenateExpression, 32682SyntaxKind.ModuloExpression, 32683SyntaxKind.EqualsExpression, 32684SyntaxKind.NotEqualsExpression, 32685SyntaxKind.LessThanExpression, 32686SyntaxKind.LessThanOrEqualExpression, 32687SyntaxKind.GreaterThanOrEqualExpression, 32688SyntaxKind.GreaterThanExpression, 32689SyntaxKind.IsExpression, 32690SyntaxKind.IsNotExpression, 32691SyntaxKind.LikeExpression, 32692SyntaxKind.OrExpression, 32693SyntaxKind.ExclusiveOrExpression, 32694SyntaxKind.AndExpression, 32695SyntaxKind.OrElseExpression, 32696SyntaxKind.AndAlsoExpression, 32697SyntaxKind.UnaryPlusExpression, 32698SyntaxKind.UnaryMinusExpression, 32699SyntaxKind.NotExpression, 32700SyntaxKind.AddressOfExpression, 32701SyntaxKind.BinaryConditionalExpression, 32702SyntaxKind.TernaryConditionalExpression, 32703SyntaxKind.SingleLineFunctionLambdaExpression, 32704SyntaxKind.SingleLineSubLambdaExpression, 32705SyntaxKind.MultiLineFunctionLambdaExpression, 32706SyntaxKind.MultiLineSubLambdaExpression, 32707SyntaxKind.QueryExpression, 32708SyntaxKind.FunctionAggregation, 32709SyntaxKind.GroupAggregation, 32710SyntaxKind.XmlDocument, 32711SyntaxKind.XmlElement, 32712SyntaxKind.XmlText, 32713SyntaxKind.XmlElementStartTag, 32714SyntaxKind.XmlElementEndTag, 32715SyntaxKind.XmlEmptyElement, 32716SyntaxKind.XmlAttribute, 32717SyntaxKind.XmlString, 32718SyntaxKind.XmlPrefixName, 32719SyntaxKind.XmlName, 32720SyntaxKind.XmlBracketedName, 32721SyntaxKind.XmlComment, 32722SyntaxKind.XmlProcessingInstruction, 32723SyntaxKind.XmlCDataSection, 32724SyntaxKind.XmlEmbeddedExpression, 32725SyntaxKind.ArrayType, 32726SyntaxKind.NullableType, 32727SyntaxKind.PredefinedType, 32728SyntaxKind.IdentifierName, 32729SyntaxKind.GenericName, 32730SyntaxKind.QualifiedName, 32731SyntaxKind.GlobalName, 32732SyntaxKind.CrefOperatorReference, 32733SyntaxKind.QualifiedCrefOperatorReference, 32734SyntaxKind.AwaitExpression, 32735SyntaxKind.XmlCrefAttribute, 32736SyntaxKind.XmlNameAttribute, 32737SyntaxKind.ConditionalAccessExpression, 32738SyntaxKind.NameOfExpression, 32739SyntaxKind.InterpolatedStringExpression 32744Case SyntaxKind.OrKeyword 32752Case SyntaxKind.KeywordEventContainer, 32753SyntaxKind.WithEventsEventContainer, 32754SyntaxKind.WithEventsPropertyEventContainer, 32755SyntaxKind.IdentifierLabel, 32756SyntaxKind.NumericLabel, 32757SyntaxKind.NextLabel, 32758SyntaxKind.MidExpression, 32759SyntaxKind.CharacterLiteralExpression, 32760SyntaxKind.TrueLiteralExpression, 32761SyntaxKind.FalseLiteralExpression, 32762SyntaxKind.NumericLiteralExpression, 32763SyntaxKind.DateLiteralExpression, 32764SyntaxKind.StringLiteralExpression, 32765SyntaxKind.NothingLiteralExpression, 32766SyntaxKind.ParenthesizedExpression, 32767SyntaxKind.TupleExpression, 32768SyntaxKind.TupleType, 32769SyntaxKind.MeExpression, 32770SyntaxKind.MyBaseExpression, 32771SyntaxKind.MyClassExpression, 32772SyntaxKind.GetTypeExpression, 32773SyntaxKind.TypeOfIsExpression, 32774SyntaxKind.TypeOfIsNotExpression, 32775SyntaxKind.GetXmlNamespaceExpression, 32776SyntaxKind.SimpleMemberAccessExpression, 32777SyntaxKind.DictionaryAccessExpression, 32778SyntaxKind.XmlElementAccessExpression, 32779SyntaxKind.XmlDescendantAccessExpression, 32780SyntaxKind.XmlAttributeAccessExpression, 32781SyntaxKind.InvocationExpression, 32782SyntaxKind.ObjectCreationExpression, 32783SyntaxKind.AnonymousObjectCreationExpression, 32784SyntaxKind.ArrayCreationExpression, 32785SyntaxKind.CollectionInitializer, 32786SyntaxKind.CTypeExpression, 32787SyntaxKind.DirectCastExpression, 32788SyntaxKind.TryCastExpression, 32789SyntaxKind.PredefinedCastExpression, 32790SyntaxKind.AddExpression, 32791SyntaxKind.SubtractExpression, 32792SyntaxKind.MultiplyExpression, 32793SyntaxKind.DivideExpression, 32794SyntaxKind.IntegerDivideExpression, 32795SyntaxKind.ExponentiateExpression, 32796SyntaxKind.LeftShiftExpression, 32797SyntaxKind.RightShiftExpression, 32798SyntaxKind.ConcatenateExpression, 32799SyntaxKind.ModuloExpression, 32800SyntaxKind.EqualsExpression, 32801SyntaxKind.NotEqualsExpression, 32802SyntaxKind.LessThanExpression, 32803SyntaxKind.LessThanOrEqualExpression, 32804SyntaxKind.GreaterThanOrEqualExpression, 32805SyntaxKind.GreaterThanExpression, 32806SyntaxKind.IsExpression, 32807SyntaxKind.IsNotExpression, 32808SyntaxKind.LikeExpression, 32809SyntaxKind.OrExpression, 32810SyntaxKind.ExclusiveOrExpression, 32811SyntaxKind.AndExpression, 32812SyntaxKind.OrElseExpression, 32813SyntaxKind.AndAlsoExpression, 32814SyntaxKind.UnaryPlusExpression, 32815SyntaxKind.UnaryMinusExpression, 32816SyntaxKind.NotExpression, 32817SyntaxKind.AddressOfExpression, 32818SyntaxKind.BinaryConditionalExpression, 32819SyntaxKind.TernaryConditionalExpression, 32820SyntaxKind.SingleLineFunctionLambdaExpression, 32821SyntaxKind.SingleLineSubLambdaExpression, 32822SyntaxKind.MultiLineFunctionLambdaExpression, 32823SyntaxKind.MultiLineSubLambdaExpression, 32824SyntaxKind.QueryExpression, 32825SyntaxKind.FunctionAggregation, 32826SyntaxKind.GroupAggregation, 32827SyntaxKind.XmlDocument, 32828SyntaxKind.XmlElement, 32829SyntaxKind.XmlText, 32830SyntaxKind.XmlElementStartTag, 32831SyntaxKind.XmlElementEndTag, 32832SyntaxKind.XmlEmptyElement, 32833SyntaxKind.XmlAttribute, 32834SyntaxKind.XmlString, 32835SyntaxKind.XmlPrefixName, 32836SyntaxKind.XmlName, 32837SyntaxKind.XmlBracketedName, 32838SyntaxKind.XmlComment, 32839SyntaxKind.XmlProcessingInstruction, 32840SyntaxKind.XmlCDataSection, 32841SyntaxKind.XmlEmbeddedExpression, 32842SyntaxKind.ArrayType, 32843SyntaxKind.NullableType, 32844SyntaxKind.PredefinedType, 32845SyntaxKind.IdentifierName, 32846SyntaxKind.GenericName, 32847SyntaxKind.QualifiedName, 32848SyntaxKind.GlobalName, 32849SyntaxKind.CrefOperatorReference, 32850SyntaxKind.QualifiedCrefOperatorReference, 32851SyntaxKind.AwaitExpression, 32852SyntaxKind.XmlCrefAttribute, 32853SyntaxKind.XmlNameAttribute, 32854SyntaxKind.ConditionalAccessExpression, 32855SyntaxKind.NameOfExpression, 32856SyntaxKind.InterpolatedStringExpression 32860Return New BinaryExpressionSyntax(SyntaxKind.OrExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 32876Return SyntaxFactory.OrExpression(left, SyntaxFactory.Token(SyntaxKind.OrKeyword), right) 32896Case SyntaxKind.KeywordEventContainer, 32897SyntaxKind.WithEventsEventContainer, 32898SyntaxKind.WithEventsPropertyEventContainer, 32899SyntaxKind.IdentifierLabel, 32900SyntaxKind.NumericLabel, 32901SyntaxKind.NextLabel, 32902SyntaxKind.MidExpression, 32903SyntaxKind.CharacterLiteralExpression, 32904SyntaxKind.TrueLiteralExpression, 32905SyntaxKind.FalseLiteralExpression, 32906SyntaxKind.NumericLiteralExpression, 32907SyntaxKind.DateLiteralExpression, 32908SyntaxKind.StringLiteralExpression, 32909SyntaxKind.NothingLiteralExpression, 32910SyntaxKind.ParenthesizedExpression, 32911SyntaxKind.TupleExpression, 32912SyntaxKind.TupleType, 32913SyntaxKind.MeExpression, 32914SyntaxKind.MyBaseExpression, 32915SyntaxKind.MyClassExpression, 32916SyntaxKind.GetTypeExpression, 32917SyntaxKind.TypeOfIsExpression, 32918SyntaxKind.TypeOfIsNotExpression, 32919SyntaxKind.GetXmlNamespaceExpression, 32920SyntaxKind.SimpleMemberAccessExpression, 32921SyntaxKind.DictionaryAccessExpression, 32922SyntaxKind.XmlElementAccessExpression, 32923SyntaxKind.XmlDescendantAccessExpression, 32924SyntaxKind.XmlAttributeAccessExpression, 32925SyntaxKind.InvocationExpression, 32926SyntaxKind.ObjectCreationExpression, 32927SyntaxKind.AnonymousObjectCreationExpression, 32928SyntaxKind.ArrayCreationExpression, 32929SyntaxKind.CollectionInitializer, 32930SyntaxKind.CTypeExpression, 32931SyntaxKind.DirectCastExpression, 32932SyntaxKind.TryCastExpression, 32933SyntaxKind.PredefinedCastExpression, 32934SyntaxKind.AddExpression, 32935SyntaxKind.SubtractExpression, 32936SyntaxKind.MultiplyExpression, 32937SyntaxKind.DivideExpression, 32938SyntaxKind.IntegerDivideExpression, 32939SyntaxKind.ExponentiateExpression, 32940SyntaxKind.LeftShiftExpression, 32941SyntaxKind.RightShiftExpression, 32942SyntaxKind.ConcatenateExpression, 32943SyntaxKind.ModuloExpression, 32944SyntaxKind.EqualsExpression, 32945SyntaxKind.NotEqualsExpression, 32946SyntaxKind.LessThanExpression, 32947SyntaxKind.LessThanOrEqualExpression, 32948SyntaxKind.GreaterThanOrEqualExpression, 32949SyntaxKind.GreaterThanExpression, 32950SyntaxKind.IsExpression, 32951SyntaxKind.IsNotExpression, 32952SyntaxKind.LikeExpression, 32953SyntaxKind.OrExpression, 32954SyntaxKind.ExclusiveOrExpression, 32955SyntaxKind.AndExpression, 32956SyntaxKind.OrElseExpression, 32957SyntaxKind.AndAlsoExpression, 32958SyntaxKind.UnaryPlusExpression, 32959SyntaxKind.UnaryMinusExpression, 32960SyntaxKind.NotExpression, 32961SyntaxKind.AddressOfExpression, 32962SyntaxKind.BinaryConditionalExpression, 32963SyntaxKind.TernaryConditionalExpression, 32964SyntaxKind.SingleLineFunctionLambdaExpression, 32965SyntaxKind.SingleLineSubLambdaExpression, 32966SyntaxKind.MultiLineFunctionLambdaExpression, 32967SyntaxKind.MultiLineSubLambdaExpression, 32968SyntaxKind.QueryExpression, 32969SyntaxKind.FunctionAggregation, 32970SyntaxKind.GroupAggregation, 32971SyntaxKind.XmlDocument, 32972SyntaxKind.XmlElement, 32973SyntaxKind.XmlText, 32974SyntaxKind.XmlElementStartTag, 32975SyntaxKind.XmlElementEndTag, 32976SyntaxKind.XmlEmptyElement, 32977SyntaxKind.XmlAttribute, 32978SyntaxKind.XmlString, 32979SyntaxKind.XmlPrefixName, 32980SyntaxKind.XmlName, 32981SyntaxKind.XmlBracketedName, 32982SyntaxKind.XmlComment, 32983SyntaxKind.XmlProcessingInstruction, 32984SyntaxKind.XmlCDataSection, 32985SyntaxKind.XmlEmbeddedExpression, 32986SyntaxKind.ArrayType, 32987SyntaxKind.NullableType, 32988SyntaxKind.PredefinedType, 32989SyntaxKind.IdentifierName, 32990SyntaxKind.GenericName, 32991SyntaxKind.QualifiedName, 32992SyntaxKind.GlobalName, 32993SyntaxKind.CrefOperatorReference, 32994SyntaxKind.QualifiedCrefOperatorReference, 32995SyntaxKind.AwaitExpression, 32996SyntaxKind.XmlCrefAttribute, 32997SyntaxKind.XmlNameAttribute, 32998SyntaxKind.ConditionalAccessExpression, 32999SyntaxKind.NameOfExpression, 33000SyntaxKind.InterpolatedStringExpression 33005Case SyntaxKind.XorKeyword 33013Case SyntaxKind.KeywordEventContainer, 33014SyntaxKind.WithEventsEventContainer, 33015SyntaxKind.WithEventsPropertyEventContainer, 33016SyntaxKind.IdentifierLabel, 33017SyntaxKind.NumericLabel, 33018SyntaxKind.NextLabel, 33019SyntaxKind.MidExpression, 33020SyntaxKind.CharacterLiteralExpression, 33021SyntaxKind.TrueLiteralExpression, 33022SyntaxKind.FalseLiteralExpression, 33023SyntaxKind.NumericLiteralExpression, 33024SyntaxKind.DateLiteralExpression, 33025SyntaxKind.StringLiteralExpression, 33026SyntaxKind.NothingLiteralExpression, 33027SyntaxKind.ParenthesizedExpression, 33028SyntaxKind.TupleExpression, 33029SyntaxKind.TupleType, 33030SyntaxKind.MeExpression, 33031SyntaxKind.MyBaseExpression, 33032SyntaxKind.MyClassExpression, 33033SyntaxKind.GetTypeExpression, 33034SyntaxKind.TypeOfIsExpression, 33035SyntaxKind.TypeOfIsNotExpression, 33036SyntaxKind.GetXmlNamespaceExpression, 33037SyntaxKind.SimpleMemberAccessExpression, 33038SyntaxKind.DictionaryAccessExpression, 33039SyntaxKind.XmlElementAccessExpression, 33040SyntaxKind.XmlDescendantAccessExpression, 33041SyntaxKind.XmlAttributeAccessExpression, 33042SyntaxKind.InvocationExpression, 33043SyntaxKind.ObjectCreationExpression, 33044SyntaxKind.AnonymousObjectCreationExpression, 33045SyntaxKind.ArrayCreationExpression, 33046SyntaxKind.CollectionInitializer, 33047SyntaxKind.CTypeExpression, 33048SyntaxKind.DirectCastExpression, 33049SyntaxKind.TryCastExpression, 33050SyntaxKind.PredefinedCastExpression, 33051SyntaxKind.AddExpression, 33052SyntaxKind.SubtractExpression, 33053SyntaxKind.MultiplyExpression, 33054SyntaxKind.DivideExpression, 33055SyntaxKind.IntegerDivideExpression, 33056SyntaxKind.ExponentiateExpression, 33057SyntaxKind.LeftShiftExpression, 33058SyntaxKind.RightShiftExpression, 33059SyntaxKind.ConcatenateExpression, 33060SyntaxKind.ModuloExpression, 33061SyntaxKind.EqualsExpression, 33062SyntaxKind.NotEqualsExpression, 33063SyntaxKind.LessThanExpression, 33064SyntaxKind.LessThanOrEqualExpression, 33065SyntaxKind.GreaterThanOrEqualExpression, 33066SyntaxKind.GreaterThanExpression, 33067SyntaxKind.IsExpression, 33068SyntaxKind.IsNotExpression, 33069SyntaxKind.LikeExpression, 33070SyntaxKind.OrExpression, 33071SyntaxKind.ExclusiveOrExpression, 33072SyntaxKind.AndExpression, 33073SyntaxKind.OrElseExpression, 33074SyntaxKind.AndAlsoExpression, 33075SyntaxKind.UnaryPlusExpression, 33076SyntaxKind.UnaryMinusExpression, 33077SyntaxKind.NotExpression, 33078SyntaxKind.AddressOfExpression, 33079SyntaxKind.BinaryConditionalExpression, 33080SyntaxKind.TernaryConditionalExpression, 33081SyntaxKind.SingleLineFunctionLambdaExpression, 33082SyntaxKind.SingleLineSubLambdaExpression, 33083SyntaxKind.MultiLineFunctionLambdaExpression, 33084SyntaxKind.MultiLineSubLambdaExpression, 33085SyntaxKind.QueryExpression, 33086SyntaxKind.FunctionAggregation, 33087SyntaxKind.GroupAggregation, 33088SyntaxKind.XmlDocument, 33089SyntaxKind.XmlElement, 33090SyntaxKind.XmlText, 33091SyntaxKind.XmlElementStartTag, 33092SyntaxKind.XmlElementEndTag, 33093SyntaxKind.XmlEmptyElement, 33094SyntaxKind.XmlAttribute, 33095SyntaxKind.XmlString, 33096SyntaxKind.XmlPrefixName, 33097SyntaxKind.XmlName, 33098SyntaxKind.XmlBracketedName, 33099SyntaxKind.XmlComment, 33100SyntaxKind.XmlProcessingInstruction, 33101SyntaxKind.XmlCDataSection, 33102SyntaxKind.XmlEmbeddedExpression, 33103SyntaxKind.ArrayType, 33104SyntaxKind.NullableType, 33105SyntaxKind.PredefinedType, 33106SyntaxKind.IdentifierName, 33107SyntaxKind.GenericName, 33108SyntaxKind.QualifiedName, 33109SyntaxKind.GlobalName, 33110SyntaxKind.CrefOperatorReference, 33111SyntaxKind.QualifiedCrefOperatorReference, 33112SyntaxKind.AwaitExpression, 33113SyntaxKind.XmlCrefAttribute, 33114SyntaxKind.XmlNameAttribute, 33115SyntaxKind.ConditionalAccessExpression, 33116SyntaxKind.NameOfExpression, 33117SyntaxKind.InterpolatedStringExpression 33121Return New BinaryExpressionSyntax(SyntaxKind.ExclusiveOrExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 33137Return SyntaxFactory.ExclusiveOrExpression(left, SyntaxFactory.Token(SyntaxKind.XorKeyword), right) 33157Case SyntaxKind.KeywordEventContainer, 33158SyntaxKind.WithEventsEventContainer, 33159SyntaxKind.WithEventsPropertyEventContainer, 33160SyntaxKind.IdentifierLabel, 33161SyntaxKind.NumericLabel, 33162SyntaxKind.NextLabel, 33163SyntaxKind.MidExpression, 33164SyntaxKind.CharacterLiteralExpression, 33165SyntaxKind.TrueLiteralExpression, 33166SyntaxKind.FalseLiteralExpression, 33167SyntaxKind.NumericLiteralExpression, 33168SyntaxKind.DateLiteralExpression, 33169SyntaxKind.StringLiteralExpression, 33170SyntaxKind.NothingLiteralExpression, 33171SyntaxKind.ParenthesizedExpression, 33172SyntaxKind.TupleExpression, 33173SyntaxKind.TupleType, 33174SyntaxKind.MeExpression, 33175SyntaxKind.MyBaseExpression, 33176SyntaxKind.MyClassExpression, 33177SyntaxKind.GetTypeExpression, 33178SyntaxKind.TypeOfIsExpression, 33179SyntaxKind.TypeOfIsNotExpression, 33180SyntaxKind.GetXmlNamespaceExpression, 33181SyntaxKind.SimpleMemberAccessExpression, 33182SyntaxKind.DictionaryAccessExpression, 33183SyntaxKind.XmlElementAccessExpression, 33184SyntaxKind.XmlDescendantAccessExpression, 33185SyntaxKind.XmlAttributeAccessExpression, 33186SyntaxKind.InvocationExpression, 33187SyntaxKind.ObjectCreationExpression, 33188SyntaxKind.AnonymousObjectCreationExpression, 33189SyntaxKind.ArrayCreationExpression, 33190SyntaxKind.CollectionInitializer, 33191SyntaxKind.CTypeExpression, 33192SyntaxKind.DirectCastExpression, 33193SyntaxKind.TryCastExpression, 33194SyntaxKind.PredefinedCastExpression, 33195SyntaxKind.AddExpression, 33196SyntaxKind.SubtractExpression, 33197SyntaxKind.MultiplyExpression, 33198SyntaxKind.DivideExpression, 33199SyntaxKind.IntegerDivideExpression, 33200SyntaxKind.ExponentiateExpression, 33201SyntaxKind.LeftShiftExpression, 33202SyntaxKind.RightShiftExpression, 33203SyntaxKind.ConcatenateExpression, 33204SyntaxKind.ModuloExpression, 33205SyntaxKind.EqualsExpression, 33206SyntaxKind.NotEqualsExpression, 33207SyntaxKind.LessThanExpression, 33208SyntaxKind.LessThanOrEqualExpression, 33209SyntaxKind.GreaterThanOrEqualExpression, 33210SyntaxKind.GreaterThanExpression, 33211SyntaxKind.IsExpression, 33212SyntaxKind.IsNotExpression, 33213SyntaxKind.LikeExpression, 33214SyntaxKind.OrExpression, 33215SyntaxKind.ExclusiveOrExpression, 33216SyntaxKind.AndExpression, 33217SyntaxKind.OrElseExpression, 33218SyntaxKind.AndAlsoExpression, 33219SyntaxKind.UnaryPlusExpression, 33220SyntaxKind.UnaryMinusExpression, 33221SyntaxKind.NotExpression, 33222SyntaxKind.AddressOfExpression, 33223SyntaxKind.BinaryConditionalExpression, 33224SyntaxKind.TernaryConditionalExpression, 33225SyntaxKind.SingleLineFunctionLambdaExpression, 33226SyntaxKind.SingleLineSubLambdaExpression, 33227SyntaxKind.MultiLineFunctionLambdaExpression, 33228SyntaxKind.MultiLineSubLambdaExpression, 33229SyntaxKind.QueryExpression, 33230SyntaxKind.FunctionAggregation, 33231SyntaxKind.GroupAggregation, 33232SyntaxKind.XmlDocument, 33233SyntaxKind.XmlElement, 33234SyntaxKind.XmlText, 33235SyntaxKind.XmlElementStartTag, 33236SyntaxKind.XmlElementEndTag, 33237SyntaxKind.XmlEmptyElement, 33238SyntaxKind.XmlAttribute, 33239SyntaxKind.XmlString, 33240SyntaxKind.XmlPrefixName, 33241SyntaxKind.XmlName, 33242SyntaxKind.XmlBracketedName, 33243SyntaxKind.XmlComment, 33244SyntaxKind.XmlProcessingInstruction, 33245SyntaxKind.XmlCDataSection, 33246SyntaxKind.XmlEmbeddedExpression, 33247SyntaxKind.ArrayType, 33248SyntaxKind.NullableType, 33249SyntaxKind.PredefinedType, 33250SyntaxKind.IdentifierName, 33251SyntaxKind.GenericName, 33252SyntaxKind.QualifiedName, 33253SyntaxKind.GlobalName, 33254SyntaxKind.CrefOperatorReference, 33255SyntaxKind.QualifiedCrefOperatorReference, 33256SyntaxKind.AwaitExpression, 33257SyntaxKind.XmlCrefAttribute, 33258SyntaxKind.XmlNameAttribute, 33259SyntaxKind.ConditionalAccessExpression, 33260SyntaxKind.NameOfExpression, 33261SyntaxKind.InterpolatedStringExpression 33266Case SyntaxKind.AndKeyword 33274Case SyntaxKind.KeywordEventContainer, 33275SyntaxKind.WithEventsEventContainer, 33276SyntaxKind.WithEventsPropertyEventContainer, 33277SyntaxKind.IdentifierLabel, 33278SyntaxKind.NumericLabel, 33279SyntaxKind.NextLabel, 33280SyntaxKind.MidExpression, 33281SyntaxKind.CharacterLiteralExpression, 33282SyntaxKind.TrueLiteralExpression, 33283SyntaxKind.FalseLiteralExpression, 33284SyntaxKind.NumericLiteralExpression, 33285SyntaxKind.DateLiteralExpression, 33286SyntaxKind.StringLiteralExpression, 33287SyntaxKind.NothingLiteralExpression, 33288SyntaxKind.ParenthesizedExpression, 33289SyntaxKind.TupleExpression, 33290SyntaxKind.TupleType, 33291SyntaxKind.MeExpression, 33292SyntaxKind.MyBaseExpression, 33293SyntaxKind.MyClassExpression, 33294SyntaxKind.GetTypeExpression, 33295SyntaxKind.TypeOfIsExpression, 33296SyntaxKind.TypeOfIsNotExpression, 33297SyntaxKind.GetXmlNamespaceExpression, 33298SyntaxKind.SimpleMemberAccessExpression, 33299SyntaxKind.DictionaryAccessExpression, 33300SyntaxKind.XmlElementAccessExpression, 33301SyntaxKind.XmlDescendantAccessExpression, 33302SyntaxKind.XmlAttributeAccessExpression, 33303SyntaxKind.InvocationExpression, 33304SyntaxKind.ObjectCreationExpression, 33305SyntaxKind.AnonymousObjectCreationExpression, 33306SyntaxKind.ArrayCreationExpression, 33307SyntaxKind.CollectionInitializer, 33308SyntaxKind.CTypeExpression, 33309SyntaxKind.DirectCastExpression, 33310SyntaxKind.TryCastExpression, 33311SyntaxKind.PredefinedCastExpression, 33312SyntaxKind.AddExpression, 33313SyntaxKind.SubtractExpression, 33314SyntaxKind.MultiplyExpression, 33315SyntaxKind.DivideExpression, 33316SyntaxKind.IntegerDivideExpression, 33317SyntaxKind.ExponentiateExpression, 33318SyntaxKind.LeftShiftExpression, 33319SyntaxKind.RightShiftExpression, 33320SyntaxKind.ConcatenateExpression, 33321SyntaxKind.ModuloExpression, 33322SyntaxKind.EqualsExpression, 33323SyntaxKind.NotEqualsExpression, 33324SyntaxKind.LessThanExpression, 33325SyntaxKind.LessThanOrEqualExpression, 33326SyntaxKind.GreaterThanOrEqualExpression, 33327SyntaxKind.GreaterThanExpression, 33328SyntaxKind.IsExpression, 33329SyntaxKind.IsNotExpression, 33330SyntaxKind.LikeExpression, 33331SyntaxKind.OrExpression, 33332SyntaxKind.ExclusiveOrExpression, 33333SyntaxKind.AndExpression, 33334SyntaxKind.OrElseExpression, 33335SyntaxKind.AndAlsoExpression, 33336SyntaxKind.UnaryPlusExpression, 33337SyntaxKind.UnaryMinusExpression, 33338SyntaxKind.NotExpression, 33339SyntaxKind.AddressOfExpression, 33340SyntaxKind.BinaryConditionalExpression, 33341SyntaxKind.TernaryConditionalExpression, 33342SyntaxKind.SingleLineFunctionLambdaExpression, 33343SyntaxKind.SingleLineSubLambdaExpression, 33344SyntaxKind.MultiLineFunctionLambdaExpression, 33345SyntaxKind.MultiLineSubLambdaExpression, 33346SyntaxKind.QueryExpression, 33347SyntaxKind.FunctionAggregation, 33348SyntaxKind.GroupAggregation, 33349SyntaxKind.XmlDocument, 33350SyntaxKind.XmlElement, 33351SyntaxKind.XmlText, 33352SyntaxKind.XmlElementStartTag, 33353SyntaxKind.XmlElementEndTag, 33354SyntaxKind.XmlEmptyElement, 33355SyntaxKind.XmlAttribute, 33356SyntaxKind.XmlString, 33357SyntaxKind.XmlPrefixName, 33358SyntaxKind.XmlName, 33359SyntaxKind.XmlBracketedName, 33360SyntaxKind.XmlComment, 33361SyntaxKind.XmlProcessingInstruction, 33362SyntaxKind.XmlCDataSection, 33363SyntaxKind.XmlEmbeddedExpression, 33364SyntaxKind.ArrayType, 33365SyntaxKind.NullableType, 33366SyntaxKind.PredefinedType, 33367SyntaxKind.IdentifierName, 33368SyntaxKind.GenericName, 33369SyntaxKind.QualifiedName, 33370SyntaxKind.GlobalName, 33371SyntaxKind.CrefOperatorReference, 33372SyntaxKind.QualifiedCrefOperatorReference, 33373SyntaxKind.AwaitExpression, 33374SyntaxKind.XmlCrefAttribute, 33375SyntaxKind.XmlNameAttribute, 33376SyntaxKind.ConditionalAccessExpression, 33377SyntaxKind.NameOfExpression, 33378SyntaxKind.InterpolatedStringExpression 33382Return New BinaryExpressionSyntax(SyntaxKind.AndExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 33398Return SyntaxFactory.AndExpression(left, SyntaxFactory.Token(SyntaxKind.AndKeyword), right) 33418Case SyntaxKind.KeywordEventContainer, 33419SyntaxKind.WithEventsEventContainer, 33420SyntaxKind.WithEventsPropertyEventContainer, 33421SyntaxKind.IdentifierLabel, 33422SyntaxKind.NumericLabel, 33423SyntaxKind.NextLabel, 33424SyntaxKind.MidExpression, 33425SyntaxKind.CharacterLiteralExpression, 33426SyntaxKind.TrueLiteralExpression, 33427SyntaxKind.FalseLiteralExpression, 33428SyntaxKind.NumericLiteralExpression, 33429SyntaxKind.DateLiteralExpression, 33430SyntaxKind.StringLiteralExpression, 33431SyntaxKind.NothingLiteralExpression, 33432SyntaxKind.ParenthesizedExpression, 33433SyntaxKind.TupleExpression, 33434SyntaxKind.TupleType, 33435SyntaxKind.MeExpression, 33436SyntaxKind.MyBaseExpression, 33437SyntaxKind.MyClassExpression, 33438SyntaxKind.GetTypeExpression, 33439SyntaxKind.TypeOfIsExpression, 33440SyntaxKind.TypeOfIsNotExpression, 33441SyntaxKind.GetXmlNamespaceExpression, 33442SyntaxKind.SimpleMemberAccessExpression, 33443SyntaxKind.DictionaryAccessExpression, 33444SyntaxKind.XmlElementAccessExpression, 33445SyntaxKind.XmlDescendantAccessExpression, 33446SyntaxKind.XmlAttributeAccessExpression, 33447SyntaxKind.InvocationExpression, 33448SyntaxKind.ObjectCreationExpression, 33449SyntaxKind.AnonymousObjectCreationExpression, 33450SyntaxKind.ArrayCreationExpression, 33451SyntaxKind.CollectionInitializer, 33452SyntaxKind.CTypeExpression, 33453SyntaxKind.DirectCastExpression, 33454SyntaxKind.TryCastExpression, 33455SyntaxKind.PredefinedCastExpression, 33456SyntaxKind.AddExpression, 33457SyntaxKind.SubtractExpression, 33458SyntaxKind.MultiplyExpression, 33459SyntaxKind.DivideExpression, 33460SyntaxKind.IntegerDivideExpression, 33461SyntaxKind.ExponentiateExpression, 33462SyntaxKind.LeftShiftExpression, 33463SyntaxKind.RightShiftExpression, 33464SyntaxKind.ConcatenateExpression, 33465SyntaxKind.ModuloExpression, 33466SyntaxKind.EqualsExpression, 33467SyntaxKind.NotEqualsExpression, 33468SyntaxKind.LessThanExpression, 33469SyntaxKind.LessThanOrEqualExpression, 33470SyntaxKind.GreaterThanOrEqualExpression, 33471SyntaxKind.GreaterThanExpression, 33472SyntaxKind.IsExpression, 33473SyntaxKind.IsNotExpression, 33474SyntaxKind.LikeExpression, 33475SyntaxKind.OrExpression, 33476SyntaxKind.ExclusiveOrExpression, 33477SyntaxKind.AndExpression, 33478SyntaxKind.OrElseExpression, 33479SyntaxKind.AndAlsoExpression, 33480SyntaxKind.UnaryPlusExpression, 33481SyntaxKind.UnaryMinusExpression, 33482SyntaxKind.NotExpression, 33483SyntaxKind.AddressOfExpression, 33484SyntaxKind.BinaryConditionalExpression, 33485SyntaxKind.TernaryConditionalExpression, 33486SyntaxKind.SingleLineFunctionLambdaExpression, 33487SyntaxKind.SingleLineSubLambdaExpression, 33488SyntaxKind.MultiLineFunctionLambdaExpression, 33489SyntaxKind.MultiLineSubLambdaExpression, 33490SyntaxKind.QueryExpression, 33491SyntaxKind.FunctionAggregation, 33492SyntaxKind.GroupAggregation, 33493SyntaxKind.XmlDocument, 33494SyntaxKind.XmlElement, 33495SyntaxKind.XmlText, 33496SyntaxKind.XmlElementStartTag, 33497SyntaxKind.XmlElementEndTag, 33498SyntaxKind.XmlEmptyElement, 33499SyntaxKind.XmlAttribute, 33500SyntaxKind.XmlString, 33501SyntaxKind.XmlPrefixName, 33502SyntaxKind.XmlName, 33503SyntaxKind.XmlBracketedName, 33504SyntaxKind.XmlComment, 33505SyntaxKind.XmlProcessingInstruction, 33506SyntaxKind.XmlCDataSection, 33507SyntaxKind.XmlEmbeddedExpression, 33508SyntaxKind.ArrayType, 33509SyntaxKind.NullableType, 33510SyntaxKind.PredefinedType, 33511SyntaxKind.IdentifierName, 33512SyntaxKind.GenericName, 33513SyntaxKind.QualifiedName, 33514SyntaxKind.GlobalName, 33515SyntaxKind.CrefOperatorReference, 33516SyntaxKind.QualifiedCrefOperatorReference, 33517SyntaxKind.AwaitExpression, 33518SyntaxKind.XmlCrefAttribute, 33519SyntaxKind.XmlNameAttribute, 33520SyntaxKind.ConditionalAccessExpression, 33521SyntaxKind.NameOfExpression, 33522SyntaxKind.InterpolatedStringExpression 33527Case SyntaxKind.OrElseKeyword 33535Case SyntaxKind.KeywordEventContainer, 33536SyntaxKind.WithEventsEventContainer, 33537SyntaxKind.WithEventsPropertyEventContainer, 33538SyntaxKind.IdentifierLabel, 33539SyntaxKind.NumericLabel, 33540SyntaxKind.NextLabel, 33541SyntaxKind.MidExpression, 33542SyntaxKind.CharacterLiteralExpression, 33543SyntaxKind.TrueLiteralExpression, 33544SyntaxKind.FalseLiteralExpression, 33545SyntaxKind.NumericLiteralExpression, 33546SyntaxKind.DateLiteralExpression, 33547SyntaxKind.StringLiteralExpression, 33548SyntaxKind.NothingLiteralExpression, 33549SyntaxKind.ParenthesizedExpression, 33550SyntaxKind.TupleExpression, 33551SyntaxKind.TupleType, 33552SyntaxKind.MeExpression, 33553SyntaxKind.MyBaseExpression, 33554SyntaxKind.MyClassExpression, 33555SyntaxKind.GetTypeExpression, 33556SyntaxKind.TypeOfIsExpression, 33557SyntaxKind.TypeOfIsNotExpression, 33558SyntaxKind.GetXmlNamespaceExpression, 33559SyntaxKind.SimpleMemberAccessExpression, 33560SyntaxKind.DictionaryAccessExpression, 33561SyntaxKind.XmlElementAccessExpression, 33562SyntaxKind.XmlDescendantAccessExpression, 33563SyntaxKind.XmlAttributeAccessExpression, 33564SyntaxKind.InvocationExpression, 33565SyntaxKind.ObjectCreationExpression, 33566SyntaxKind.AnonymousObjectCreationExpression, 33567SyntaxKind.ArrayCreationExpression, 33568SyntaxKind.CollectionInitializer, 33569SyntaxKind.CTypeExpression, 33570SyntaxKind.DirectCastExpression, 33571SyntaxKind.TryCastExpression, 33572SyntaxKind.PredefinedCastExpression, 33573SyntaxKind.AddExpression, 33574SyntaxKind.SubtractExpression, 33575SyntaxKind.MultiplyExpression, 33576SyntaxKind.DivideExpression, 33577SyntaxKind.IntegerDivideExpression, 33578SyntaxKind.ExponentiateExpression, 33579SyntaxKind.LeftShiftExpression, 33580SyntaxKind.RightShiftExpression, 33581SyntaxKind.ConcatenateExpression, 33582SyntaxKind.ModuloExpression, 33583SyntaxKind.EqualsExpression, 33584SyntaxKind.NotEqualsExpression, 33585SyntaxKind.LessThanExpression, 33586SyntaxKind.LessThanOrEqualExpression, 33587SyntaxKind.GreaterThanOrEqualExpression, 33588SyntaxKind.GreaterThanExpression, 33589SyntaxKind.IsExpression, 33590SyntaxKind.IsNotExpression, 33591SyntaxKind.LikeExpression, 33592SyntaxKind.OrExpression, 33593SyntaxKind.ExclusiveOrExpression, 33594SyntaxKind.AndExpression, 33595SyntaxKind.OrElseExpression, 33596SyntaxKind.AndAlsoExpression, 33597SyntaxKind.UnaryPlusExpression, 33598SyntaxKind.UnaryMinusExpression, 33599SyntaxKind.NotExpression, 33600SyntaxKind.AddressOfExpression, 33601SyntaxKind.BinaryConditionalExpression, 33602SyntaxKind.TernaryConditionalExpression, 33603SyntaxKind.SingleLineFunctionLambdaExpression, 33604SyntaxKind.SingleLineSubLambdaExpression, 33605SyntaxKind.MultiLineFunctionLambdaExpression, 33606SyntaxKind.MultiLineSubLambdaExpression, 33607SyntaxKind.QueryExpression, 33608SyntaxKind.FunctionAggregation, 33609SyntaxKind.GroupAggregation, 33610SyntaxKind.XmlDocument, 33611SyntaxKind.XmlElement, 33612SyntaxKind.XmlText, 33613SyntaxKind.XmlElementStartTag, 33614SyntaxKind.XmlElementEndTag, 33615SyntaxKind.XmlEmptyElement, 33616SyntaxKind.XmlAttribute, 33617SyntaxKind.XmlString, 33618SyntaxKind.XmlPrefixName, 33619SyntaxKind.XmlName, 33620SyntaxKind.XmlBracketedName, 33621SyntaxKind.XmlComment, 33622SyntaxKind.XmlProcessingInstruction, 33623SyntaxKind.XmlCDataSection, 33624SyntaxKind.XmlEmbeddedExpression, 33625SyntaxKind.ArrayType, 33626SyntaxKind.NullableType, 33627SyntaxKind.PredefinedType, 33628SyntaxKind.IdentifierName, 33629SyntaxKind.GenericName, 33630SyntaxKind.QualifiedName, 33631SyntaxKind.GlobalName, 33632SyntaxKind.CrefOperatorReference, 33633SyntaxKind.QualifiedCrefOperatorReference, 33634SyntaxKind.AwaitExpression, 33635SyntaxKind.XmlCrefAttribute, 33636SyntaxKind.XmlNameAttribute, 33637SyntaxKind.ConditionalAccessExpression, 33638SyntaxKind.NameOfExpression, 33639SyntaxKind.InterpolatedStringExpression 33643Return New BinaryExpressionSyntax(SyntaxKind.OrElseExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 33659Return SyntaxFactory.OrElseExpression(left, SyntaxFactory.Token(SyntaxKind.OrElseKeyword), right) 33679Case SyntaxKind.KeywordEventContainer, 33680SyntaxKind.WithEventsEventContainer, 33681SyntaxKind.WithEventsPropertyEventContainer, 33682SyntaxKind.IdentifierLabel, 33683SyntaxKind.NumericLabel, 33684SyntaxKind.NextLabel, 33685SyntaxKind.MidExpression, 33686SyntaxKind.CharacterLiteralExpression, 33687SyntaxKind.TrueLiteralExpression, 33688SyntaxKind.FalseLiteralExpression, 33689SyntaxKind.NumericLiteralExpression, 33690SyntaxKind.DateLiteralExpression, 33691SyntaxKind.StringLiteralExpression, 33692SyntaxKind.NothingLiteralExpression, 33693SyntaxKind.ParenthesizedExpression, 33694SyntaxKind.TupleExpression, 33695SyntaxKind.TupleType, 33696SyntaxKind.MeExpression, 33697SyntaxKind.MyBaseExpression, 33698SyntaxKind.MyClassExpression, 33699SyntaxKind.GetTypeExpression, 33700SyntaxKind.TypeOfIsExpression, 33701SyntaxKind.TypeOfIsNotExpression, 33702SyntaxKind.GetXmlNamespaceExpression, 33703SyntaxKind.SimpleMemberAccessExpression, 33704SyntaxKind.DictionaryAccessExpression, 33705SyntaxKind.XmlElementAccessExpression, 33706SyntaxKind.XmlDescendantAccessExpression, 33707SyntaxKind.XmlAttributeAccessExpression, 33708SyntaxKind.InvocationExpression, 33709SyntaxKind.ObjectCreationExpression, 33710SyntaxKind.AnonymousObjectCreationExpression, 33711SyntaxKind.ArrayCreationExpression, 33712SyntaxKind.CollectionInitializer, 33713SyntaxKind.CTypeExpression, 33714SyntaxKind.DirectCastExpression, 33715SyntaxKind.TryCastExpression, 33716SyntaxKind.PredefinedCastExpression, 33717SyntaxKind.AddExpression, 33718SyntaxKind.SubtractExpression, 33719SyntaxKind.MultiplyExpression, 33720SyntaxKind.DivideExpression, 33721SyntaxKind.IntegerDivideExpression, 33722SyntaxKind.ExponentiateExpression, 33723SyntaxKind.LeftShiftExpression, 33724SyntaxKind.RightShiftExpression, 33725SyntaxKind.ConcatenateExpression, 33726SyntaxKind.ModuloExpression, 33727SyntaxKind.EqualsExpression, 33728SyntaxKind.NotEqualsExpression, 33729SyntaxKind.LessThanExpression, 33730SyntaxKind.LessThanOrEqualExpression, 33731SyntaxKind.GreaterThanOrEqualExpression, 33732SyntaxKind.GreaterThanExpression, 33733SyntaxKind.IsExpression, 33734SyntaxKind.IsNotExpression, 33735SyntaxKind.LikeExpression, 33736SyntaxKind.OrExpression, 33737SyntaxKind.ExclusiveOrExpression, 33738SyntaxKind.AndExpression, 33739SyntaxKind.OrElseExpression, 33740SyntaxKind.AndAlsoExpression, 33741SyntaxKind.UnaryPlusExpression, 33742SyntaxKind.UnaryMinusExpression, 33743SyntaxKind.NotExpression, 33744SyntaxKind.AddressOfExpression, 33745SyntaxKind.BinaryConditionalExpression, 33746SyntaxKind.TernaryConditionalExpression, 33747SyntaxKind.SingleLineFunctionLambdaExpression, 33748SyntaxKind.SingleLineSubLambdaExpression, 33749SyntaxKind.MultiLineFunctionLambdaExpression, 33750SyntaxKind.MultiLineSubLambdaExpression, 33751SyntaxKind.QueryExpression, 33752SyntaxKind.FunctionAggregation, 33753SyntaxKind.GroupAggregation, 33754SyntaxKind.XmlDocument, 33755SyntaxKind.XmlElement, 33756SyntaxKind.XmlText, 33757SyntaxKind.XmlElementStartTag, 33758SyntaxKind.XmlElementEndTag, 33759SyntaxKind.XmlEmptyElement, 33760SyntaxKind.XmlAttribute, 33761SyntaxKind.XmlString, 33762SyntaxKind.XmlPrefixName, 33763SyntaxKind.XmlName, 33764SyntaxKind.XmlBracketedName, 33765SyntaxKind.XmlComment, 33766SyntaxKind.XmlProcessingInstruction, 33767SyntaxKind.XmlCDataSection, 33768SyntaxKind.XmlEmbeddedExpression, 33769SyntaxKind.ArrayType, 33770SyntaxKind.NullableType, 33771SyntaxKind.PredefinedType, 33772SyntaxKind.IdentifierName, 33773SyntaxKind.GenericName, 33774SyntaxKind.QualifiedName, 33775SyntaxKind.GlobalName, 33776SyntaxKind.CrefOperatorReference, 33777SyntaxKind.QualifiedCrefOperatorReference, 33778SyntaxKind.AwaitExpression, 33779SyntaxKind.XmlCrefAttribute, 33780SyntaxKind.XmlNameAttribute, 33781SyntaxKind.ConditionalAccessExpression, 33782SyntaxKind.NameOfExpression, 33783SyntaxKind.InterpolatedStringExpression 33788Case SyntaxKind.AndAlsoKeyword 33796Case SyntaxKind.KeywordEventContainer, 33797SyntaxKind.WithEventsEventContainer, 33798SyntaxKind.WithEventsPropertyEventContainer, 33799SyntaxKind.IdentifierLabel, 33800SyntaxKind.NumericLabel, 33801SyntaxKind.NextLabel, 33802SyntaxKind.MidExpression, 33803SyntaxKind.CharacterLiteralExpression, 33804SyntaxKind.TrueLiteralExpression, 33805SyntaxKind.FalseLiteralExpression, 33806SyntaxKind.NumericLiteralExpression, 33807SyntaxKind.DateLiteralExpression, 33808SyntaxKind.StringLiteralExpression, 33809SyntaxKind.NothingLiteralExpression, 33810SyntaxKind.ParenthesizedExpression, 33811SyntaxKind.TupleExpression, 33812SyntaxKind.TupleType, 33813SyntaxKind.MeExpression, 33814SyntaxKind.MyBaseExpression, 33815SyntaxKind.MyClassExpression, 33816SyntaxKind.GetTypeExpression, 33817SyntaxKind.TypeOfIsExpression, 33818SyntaxKind.TypeOfIsNotExpression, 33819SyntaxKind.GetXmlNamespaceExpression, 33820SyntaxKind.SimpleMemberAccessExpression, 33821SyntaxKind.DictionaryAccessExpression, 33822SyntaxKind.XmlElementAccessExpression, 33823SyntaxKind.XmlDescendantAccessExpression, 33824SyntaxKind.XmlAttributeAccessExpression, 33825SyntaxKind.InvocationExpression, 33826SyntaxKind.ObjectCreationExpression, 33827SyntaxKind.AnonymousObjectCreationExpression, 33828SyntaxKind.ArrayCreationExpression, 33829SyntaxKind.CollectionInitializer, 33830SyntaxKind.CTypeExpression, 33831SyntaxKind.DirectCastExpression, 33832SyntaxKind.TryCastExpression, 33833SyntaxKind.PredefinedCastExpression, 33834SyntaxKind.AddExpression, 33835SyntaxKind.SubtractExpression, 33836SyntaxKind.MultiplyExpression, 33837SyntaxKind.DivideExpression, 33838SyntaxKind.IntegerDivideExpression, 33839SyntaxKind.ExponentiateExpression, 33840SyntaxKind.LeftShiftExpression, 33841SyntaxKind.RightShiftExpression, 33842SyntaxKind.ConcatenateExpression, 33843SyntaxKind.ModuloExpression, 33844SyntaxKind.EqualsExpression, 33845SyntaxKind.NotEqualsExpression, 33846SyntaxKind.LessThanExpression, 33847SyntaxKind.LessThanOrEqualExpression, 33848SyntaxKind.GreaterThanOrEqualExpression, 33849SyntaxKind.GreaterThanExpression, 33850SyntaxKind.IsExpression, 33851SyntaxKind.IsNotExpression, 33852SyntaxKind.LikeExpression, 33853SyntaxKind.OrExpression, 33854SyntaxKind.ExclusiveOrExpression, 33855SyntaxKind.AndExpression, 33856SyntaxKind.OrElseExpression, 33857SyntaxKind.AndAlsoExpression, 33858SyntaxKind.UnaryPlusExpression, 33859SyntaxKind.UnaryMinusExpression, 33860SyntaxKind.NotExpression, 33861SyntaxKind.AddressOfExpression, 33862SyntaxKind.BinaryConditionalExpression, 33863SyntaxKind.TernaryConditionalExpression, 33864SyntaxKind.SingleLineFunctionLambdaExpression, 33865SyntaxKind.SingleLineSubLambdaExpression, 33866SyntaxKind.MultiLineFunctionLambdaExpression, 33867SyntaxKind.MultiLineSubLambdaExpression, 33868SyntaxKind.QueryExpression, 33869SyntaxKind.FunctionAggregation, 33870SyntaxKind.GroupAggregation, 33871SyntaxKind.XmlDocument, 33872SyntaxKind.XmlElement, 33873SyntaxKind.XmlText, 33874SyntaxKind.XmlElementStartTag, 33875SyntaxKind.XmlElementEndTag, 33876SyntaxKind.XmlEmptyElement, 33877SyntaxKind.XmlAttribute, 33878SyntaxKind.XmlString, 33879SyntaxKind.XmlPrefixName, 33880SyntaxKind.XmlName, 33881SyntaxKind.XmlBracketedName, 33882SyntaxKind.XmlComment, 33883SyntaxKind.XmlProcessingInstruction, 33884SyntaxKind.XmlCDataSection, 33885SyntaxKind.XmlEmbeddedExpression, 33886SyntaxKind.ArrayType, 33887SyntaxKind.NullableType, 33888SyntaxKind.PredefinedType, 33889SyntaxKind.IdentifierName, 33890SyntaxKind.GenericName, 33891SyntaxKind.QualifiedName, 33892SyntaxKind.GlobalName, 33893SyntaxKind.CrefOperatorReference, 33894SyntaxKind.QualifiedCrefOperatorReference, 33895SyntaxKind.AwaitExpression, 33896SyntaxKind.XmlCrefAttribute, 33897SyntaxKind.XmlNameAttribute, 33898SyntaxKind.ConditionalAccessExpression, 33899SyntaxKind.NameOfExpression, 33900SyntaxKind.InterpolatedStringExpression 33904Return New BinaryExpressionSyntax(SyntaxKind.AndAlsoExpression, Nothing, Nothing, left, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), right) 33920Return SyntaxFactory.AndAlsoExpression(left, SyntaxFactory.Token(SyntaxKind.AndAlsoKeyword), right) 33930''' A <see cref="SyntaxKind"/> representing the specific kind of 33946Public Shared Function BinaryExpression(ByVal kind As SyntaxKind, left As ExpressionSyntax, operatorToken As SyntaxToken, right As ExpressionSyntax) As BinaryExpressionSyntax 33954Case SyntaxKind.KeywordEventContainer, 33955SyntaxKind.WithEventsEventContainer, 33956SyntaxKind.WithEventsPropertyEventContainer, 33957SyntaxKind.IdentifierLabel, 33958SyntaxKind.NumericLabel, 33959SyntaxKind.NextLabel, 33960SyntaxKind.MidExpression, 33961SyntaxKind.CharacterLiteralExpression, 33962SyntaxKind.TrueLiteralExpression, 33963SyntaxKind.FalseLiteralExpression, 33964SyntaxKind.NumericLiteralExpression, 33965SyntaxKind.DateLiteralExpression, 33966SyntaxKind.StringLiteralExpression, 33967SyntaxKind.NothingLiteralExpression, 33968SyntaxKind.ParenthesizedExpression, 33969SyntaxKind.TupleExpression, 33970SyntaxKind.TupleType, 33971SyntaxKind.MeExpression, 33972SyntaxKind.MyBaseExpression, 33973SyntaxKind.MyClassExpression, 33974SyntaxKind.GetTypeExpression, 33975SyntaxKind.TypeOfIsExpression, 33976SyntaxKind.TypeOfIsNotExpression, 33977SyntaxKind.GetXmlNamespaceExpression, 33978SyntaxKind.SimpleMemberAccessExpression, 33979SyntaxKind.DictionaryAccessExpression, 33980SyntaxKind.XmlElementAccessExpression, 33981SyntaxKind.XmlDescendantAccessExpression, 33982SyntaxKind.XmlAttributeAccessExpression, 33983SyntaxKind.InvocationExpression, 33984SyntaxKind.ObjectCreationExpression, 33985SyntaxKind.AnonymousObjectCreationExpression, 33986SyntaxKind.ArrayCreationExpression, 33987SyntaxKind.CollectionInitializer, 33988SyntaxKind.CTypeExpression, 33989SyntaxKind.DirectCastExpression, 33990SyntaxKind.TryCastExpression, 33991SyntaxKind.PredefinedCastExpression, 33992SyntaxKind.AddExpression, 33993SyntaxKind.SubtractExpression, 33994SyntaxKind.MultiplyExpression, 33995SyntaxKind.DivideExpression, 33996SyntaxKind.IntegerDivideExpression, 33997SyntaxKind.ExponentiateExpression, 33998SyntaxKind.LeftShiftExpression, 33999SyntaxKind.RightShiftExpression, 34000SyntaxKind.ConcatenateExpression, 34001SyntaxKind.ModuloExpression, 34002SyntaxKind.EqualsExpression, 34003SyntaxKind.NotEqualsExpression, 34004SyntaxKind.LessThanExpression, 34005SyntaxKind.LessThanOrEqualExpression, 34006SyntaxKind.GreaterThanOrEqualExpression, 34007SyntaxKind.GreaterThanExpression, 34008SyntaxKind.IsExpression, 34009SyntaxKind.IsNotExpression, 34010SyntaxKind.LikeExpression, 34011SyntaxKind.OrExpression, 34012SyntaxKind.ExclusiveOrExpression, 34013SyntaxKind.AndExpression, 34014SyntaxKind.OrElseExpression, 34015SyntaxKind.AndAlsoExpression, 34016SyntaxKind.UnaryPlusExpression, 34017SyntaxKind.UnaryMinusExpression, 34018SyntaxKind.NotExpression, 34019SyntaxKind.AddressOfExpression, 34020SyntaxKind.BinaryConditionalExpression, 34021SyntaxKind.TernaryConditionalExpression, 34022SyntaxKind.SingleLineFunctionLambdaExpression, 34023SyntaxKind.SingleLineSubLambdaExpression, 34024SyntaxKind.MultiLineFunctionLambdaExpression, 34025SyntaxKind.MultiLineSubLambdaExpression, 34026SyntaxKind.QueryExpression, 34027SyntaxKind.FunctionAggregation, 34028SyntaxKind.GroupAggregation, 34029SyntaxKind.XmlDocument, 34030SyntaxKind.XmlElement, 34031SyntaxKind.XmlText, 34032SyntaxKind.XmlElementStartTag, 34033SyntaxKind.XmlElementEndTag, 34034SyntaxKind.XmlEmptyElement, 34035SyntaxKind.XmlAttribute, 34036SyntaxKind.XmlString, 34037SyntaxKind.XmlPrefixName, 34038SyntaxKind.XmlName, 34039SyntaxKind.XmlBracketedName, 34040SyntaxKind.XmlComment, 34041SyntaxKind.XmlProcessingInstruction, 34042SyntaxKind.XmlCDataSection, 34043SyntaxKind.XmlEmbeddedExpression, 34044SyntaxKind.ArrayType, 34045SyntaxKind.NullableType, 34046SyntaxKind.PredefinedType, 34047SyntaxKind.IdentifierName, 34048SyntaxKind.GenericName, 34049SyntaxKind.QualifiedName, 34050SyntaxKind.GlobalName, 34051SyntaxKind.CrefOperatorReference, 34052SyntaxKind.QualifiedCrefOperatorReference, 34053SyntaxKind.AwaitExpression, 34054SyntaxKind.XmlCrefAttribute, 34055SyntaxKind.XmlNameAttribute, 34056SyntaxKind.ConditionalAccessExpression, 34057SyntaxKind.NameOfExpression, 34058SyntaxKind.InterpolatedStringExpression 34069Case SyntaxKind.KeywordEventContainer, 34070SyntaxKind.WithEventsEventContainer, 34071SyntaxKind.WithEventsPropertyEventContainer, 34072SyntaxKind.IdentifierLabel, 34073SyntaxKind.NumericLabel, 34074SyntaxKind.NextLabel, 34075SyntaxKind.MidExpression, 34076SyntaxKind.CharacterLiteralExpression, 34077SyntaxKind.TrueLiteralExpression, 34078SyntaxKind.FalseLiteralExpression, 34079SyntaxKind.NumericLiteralExpression, 34080SyntaxKind.DateLiteralExpression, 34081SyntaxKind.StringLiteralExpression, 34082SyntaxKind.NothingLiteralExpression, 34083SyntaxKind.ParenthesizedExpression, 34084SyntaxKind.TupleExpression, 34085SyntaxKind.TupleType, 34086SyntaxKind.MeExpression, 34087SyntaxKind.MyBaseExpression, 34088SyntaxKind.MyClassExpression, 34089SyntaxKind.GetTypeExpression, 34090SyntaxKind.TypeOfIsExpression, 34091SyntaxKind.TypeOfIsNotExpression, 34092SyntaxKind.GetXmlNamespaceExpression, 34093SyntaxKind.SimpleMemberAccessExpression, 34094SyntaxKind.DictionaryAccessExpression, 34095SyntaxKind.XmlElementAccessExpression, 34096SyntaxKind.XmlDescendantAccessExpression, 34097SyntaxKind.XmlAttributeAccessExpression, 34098SyntaxKind.InvocationExpression, 34099SyntaxKind.ObjectCreationExpression, 34100SyntaxKind.AnonymousObjectCreationExpression, 34101SyntaxKind.ArrayCreationExpression, 34102SyntaxKind.CollectionInitializer, 34103SyntaxKind.CTypeExpression, 34104SyntaxKind.DirectCastExpression, 34105SyntaxKind.TryCastExpression, 34106SyntaxKind.PredefinedCastExpression, 34107SyntaxKind.AddExpression, 34108SyntaxKind.SubtractExpression, 34109SyntaxKind.MultiplyExpression, 34110SyntaxKind.DivideExpression, 34111SyntaxKind.IntegerDivideExpression, 34112SyntaxKind.ExponentiateExpression, 34113SyntaxKind.LeftShiftExpression, 34114SyntaxKind.RightShiftExpression, 34115SyntaxKind.ConcatenateExpression, 34116SyntaxKind.ModuloExpression, 34117SyntaxKind.EqualsExpression, 34118SyntaxKind.NotEqualsExpression, 34119SyntaxKind.LessThanExpression, 34120SyntaxKind.LessThanOrEqualExpression, 34121SyntaxKind.GreaterThanOrEqualExpression, 34122SyntaxKind.GreaterThanExpression, 34123SyntaxKind.IsExpression, 34124SyntaxKind.IsNotExpression, 34125SyntaxKind.LikeExpression, 34126SyntaxKind.OrExpression, 34127SyntaxKind.ExclusiveOrExpression, 34128SyntaxKind.AndExpression, 34129SyntaxKind.OrElseExpression, 34130SyntaxKind.AndAlsoExpression, 34131SyntaxKind.UnaryPlusExpression, 34132SyntaxKind.UnaryMinusExpression, 34133SyntaxKind.NotExpression, 34134SyntaxKind.AddressOfExpression, 34135SyntaxKind.BinaryConditionalExpression, 34136SyntaxKind.TernaryConditionalExpression, 34137SyntaxKind.SingleLineFunctionLambdaExpression, 34138SyntaxKind.SingleLineSubLambdaExpression, 34139SyntaxKind.MultiLineFunctionLambdaExpression, 34140SyntaxKind.MultiLineSubLambdaExpression, 34141SyntaxKind.QueryExpression, 34142SyntaxKind.FunctionAggregation, 34143SyntaxKind.GroupAggregation, 34144SyntaxKind.XmlDocument, 34145SyntaxKind.XmlElement, 34146SyntaxKind.XmlText, 34147SyntaxKind.XmlElementStartTag, 34148SyntaxKind.XmlElementEndTag, 34149SyntaxKind.XmlEmptyElement, 34150SyntaxKind.XmlAttribute, 34151SyntaxKind.XmlString, 34152SyntaxKind.XmlPrefixName, 34153SyntaxKind.XmlName, 34154SyntaxKind.XmlBracketedName, 34155SyntaxKind.XmlComment, 34156SyntaxKind.XmlProcessingInstruction, 34157SyntaxKind.XmlCDataSection, 34158SyntaxKind.XmlEmbeddedExpression, 34159SyntaxKind.ArrayType, 34160SyntaxKind.NullableType, 34161SyntaxKind.PredefinedType, 34162SyntaxKind.IdentifierName, 34163SyntaxKind.GenericName, 34164SyntaxKind.QualifiedName, 34165SyntaxKind.GlobalName, 34166SyntaxKind.CrefOperatorReference, 34167SyntaxKind.QualifiedCrefOperatorReference, 34168SyntaxKind.AwaitExpression, 34169SyntaxKind.XmlCrefAttribute, 34170SyntaxKind.XmlNameAttribute, 34171SyntaxKind.ConditionalAccessExpression, 34172SyntaxKind.NameOfExpression, 34173SyntaxKind.InterpolatedStringExpression 34180Private Shared Function GetBinaryExpressionOperatorTokenKind(kind As SyntaxKind) As SyntaxKind 34182Case SyntaxKind.AddExpression 34183Return SyntaxKind.PlusToken 34184Case SyntaxKind.SubtractExpression 34185Return SyntaxKind.MinusToken 34186Case SyntaxKind.MultiplyExpression 34187Return SyntaxKind.AsteriskToken 34188Case SyntaxKind.DivideExpression 34189Return SyntaxKind.SlashToken 34190Case SyntaxKind.IntegerDivideExpression 34191Return SyntaxKind.BackslashToken 34192Case SyntaxKind.ExponentiateExpression 34193Return SyntaxKind.CaretToken 34194Case SyntaxKind.LeftShiftExpression 34195Return SyntaxKind.LessThanLessThanToken 34196Case SyntaxKind.RightShiftExpression 34197Return SyntaxKind.GreaterThanGreaterThanToken 34198Case SyntaxKind.ConcatenateExpression 34199Return SyntaxKind.AmpersandToken 34200Case SyntaxKind.ModuloExpression 34201Return SyntaxKind.ModKeyword 34202Case SyntaxKind.EqualsExpression 34203Return SyntaxKind.EqualsToken 34204Case SyntaxKind.NotEqualsExpression 34205Return SyntaxKind.LessThanGreaterThanToken 34206Case SyntaxKind.LessThanExpression 34207Return SyntaxKind.LessThanToken 34208Case SyntaxKind.LessThanOrEqualExpression 34209Return SyntaxKind.LessThanEqualsToken 34210Case SyntaxKind.GreaterThanOrEqualExpression 34211Return SyntaxKind.GreaterThanEqualsToken 34212Case SyntaxKind.GreaterThanExpression 34213Return SyntaxKind.GreaterThanToken 34214Case SyntaxKind.IsExpression 34215Return SyntaxKind.IsKeyword 34216Case SyntaxKind.IsNotExpression 34217Return SyntaxKind.IsNotKeyword 34218Case SyntaxKind.LikeExpression 34219Return SyntaxKind.LikeKeyword 34220Case SyntaxKind.OrExpression 34221Return SyntaxKind.OrKeyword 34222Case SyntaxKind.ExclusiveOrExpression 34223Return SyntaxKind.XorKeyword 34224Case SyntaxKind.AndExpression 34225Return SyntaxKind.AndKeyword 34226Case SyntaxKind.OrElseExpression 34227Return SyntaxKind.OrElseKeyword 34228Case SyntaxKind.AndAlsoExpression 34229Return SyntaxKind.AndAlsoKeyword 34246Case SyntaxKind.PlusToken : 34247Case SyntaxKind.MinusToken : 34248Case SyntaxKind.NotKeyword : 34249Case SyntaxKind.AddressOfKeyword 34257Case SyntaxKind.KeywordEventContainer, 34258SyntaxKind.WithEventsEventContainer, 34259SyntaxKind.WithEventsPropertyEventContainer, 34260SyntaxKind.IdentifierLabel, 34261SyntaxKind.NumericLabel, 34262SyntaxKind.NextLabel, 34263SyntaxKind.MidExpression, 34264SyntaxKind.CharacterLiteralExpression, 34265SyntaxKind.TrueLiteralExpression, 34266SyntaxKind.FalseLiteralExpression, 34267SyntaxKind.NumericLiteralExpression, 34268SyntaxKind.DateLiteralExpression, 34269SyntaxKind.StringLiteralExpression, 34270SyntaxKind.NothingLiteralExpression, 34271SyntaxKind.ParenthesizedExpression, 34272SyntaxKind.TupleExpression, 34273SyntaxKind.TupleType, 34274SyntaxKind.MeExpression, 34275SyntaxKind.MyBaseExpression, 34276SyntaxKind.MyClassExpression, 34277SyntaxKind.GetTypeExpression, 34278SyntaxKind.TypeOfIsExpression, 34279SyntaxKind.TypeOfIsNotExpression, 34280SyntaxKind.GetXmlNamespaceExpression, 34281SyntaxKind.SimpleMemberAccessExpression, 34282SyntaxKind.DictionaryAccessExpression, 34283SyntaxKind.XmlElementAccessExpression, 34284SyntaxKind.XmlDescendantAccessExpression, 34285SyntaxKind.XmlAttributeAccessExpression, 34286SyntaxKind.InvocationExpression, 34287SyntaxKind.ObjectCreationExpression, 34288SyntaxKind.AnonymousObjectCreationExpression, 34289SyntaxKind.ArrayCreationExpression, 34290SyntaxKind.CollectionInitializer, 34291SyntaxKind.CTypeExpression, 34292SyntaxKind.DirectCastExpression, 34293SyntaxKind.TryCastExpression, 34294SyntaxKind.PredefinedCastExpression, 34295SyntaxKind.AddExpression, 34296SyntaxKind.SubtractExpression, 34297SyntaxKind.MultiplyExpression, 34298SyntaxKind.DivideExpression, 34299SyntaxKind.IntegerDivideExpression, 34300SyntaxKind.ExponentiateExpression, 34301SyntaxKind.LeftShiftExpression, 34302SyntaxKind.RightShiftExpression, 34303SyntaxKind.ConcatenateExpression, 34304SyntaxKind.ModuloExpression, 34305SyntaxKind.EqualsExpression, 34306SyntaxKind.NotEqualsExpression, 34307SyntaxKind.LessThanExpression, 34308SyntaxKind.LessThanOrEqualExpression, 34309SyntaxKind.GreaterThanOrEqualExpression, 34310SyntaxKind.GreaterThanExpression, 34311SyntaxKind.IsExpression, 34312SyntaxKind.IsNotExpression, 34313SyntaxKind.LikeExpression, 34314SyntaxKind.OrExpression, 34315SyntaxKind.ExclusiveOrExpression, 34316SyntaxKind.AndExpression, 34317SyntaxKind.OrElseExpression, 34318SyntaxKind.AndAlsoExpression, 34319SyntaxKind.UnaryPlusExpression, 34320SyntaxKind.UnaryMinusExpression, 34321SyntaxKind.NotExpression, 34322SyntaxKind.AddressOfExpression, 34323SyntaxKind.BinaryConditionalExpression, 34324SyntaxKind.TernaryConditionalExpression, 34325SyntaxKind.SingleLineFunctionLambdaExpression, 34326SyntaxKind.SingleLineSubLambdaExpression, 34327SyntaxKind.MultiLineFunctionLambdaExpression, 34328SyntaxKind.MultiLineSubLambdaExpression, 34329SyntaxKind.QueryExpression, 34330SyntaxKind.FunctionAggregation, 34331SyntaxKind.GroupAggregation, 34332SyntaxKind.XmlDocument, 34333SyntaxKind.XmlElement, 34334SyntaxKind.XmlText, 34335SyntaxKind.XmlElementStartTag, 34336SyntaxKind.XmlElementEndTag, 34337SyntaxKind.XmlEmptyElement, 34338SyntaxKind.XmlAttribute, 34339SyntaxKind.XmlString, 34340SyntaxKind.XmlPrefixName, 34341SyntaxKind.XmlName, 34342SyntaxKind.XmlBracketedName, 34343SyntaxKind.XmlComment, 34344SyntaxKind.XmlProcessingInstruction, 34345SyntaxKind.XmlCDataSection, 34346SyntaxKind.XmlEmbeddedExpression, 34347SyntaxKind.ArrayType, 34348SyntaxKind.NullableType, 34349SyntaxKind.PredefinedType, 34350SyntaxKind.IdentifierName, 34351SyntaxKind.GenericName, 34352SyntaxKind.QualifiedName, 34353SyntaxKind.GlobalName, 34354SyntaxKind.CrefOperatorReference, 34355SyntaxKind.QualifiedCrefOperatorReference, 34356SyntaxKind.AwaitExpression, 34357SyntaxKind.XmlCrefAttribute, 34358SyntaxKind.XmlNameAttribute, 34359SyntaxKind.ConditionalAccessExpression, 34360SyntaxKind.NameOfExpression, 34361SyntaxKind.InterpolatedStringExpression 34365Return New UnaryExpressionSyntax(SyntaxKind.UnaryPlusExpression, Nothing, Nothing, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), operand) 34376Return SyntaxFactory.UnaryPlusExpression(SyntaxFactory.Token(SyntaxKind.PlusToken), operand) 34391Case SyntaxKind.MinusToken 34399Case SyntaxKind.KeywordEventContainer, 34400SyntaxKind.WithEventsEventContainer, 34401SyntaxKind.WithEventsPropertyEventContainer, 34402SyntaxKind.IdentifierLabel, 34403SyntaxKind.NumericLabel, 34404SyntaxKind.NextLabel, 34405SyntaxKind.MidExpression, 34406SyntaxKind.CharacterLiteralExpression, 34407SyntaxKind.TrueLiteralExpression, 34408SyntaxKind.FalseLiteralExpression, 34409SyntaxKind.NumericLiteralExpression, 34410SyntaxKind.DateLiteralExpression, 34411SyntaxKind.StringLiteralExpression, 34412SyntaxKind.NothingLiteralExpression, 34413SyntaxKind.ParenthesizedExpression, 34414SyntaxKind.TupleExpression, 34415SyntaxKind.TupleType, 34416SyntaxKind.MeExpression, 34417SyntaxKind.MyBaseExpression, 34418SyntaxKind.MyClassExpression, 34419SyntaxKind.GetTypeExpression, 34420SyntaxKind.TypeOfIsExpression, 34421SyntaxKind.TypeOfIsNotExpression, 34422SyntaxKind.GetXmlNamespaceExpression, 34423SyntaxKind.SimpleMemberAccessExpression, 34424SyntaxKind.DictionaryAccessExpression, 34425SyntaxKind.XmlElementAccessExpression, 34426SyntaxKind.XmlDescendantAccessExpression, 34427SyntaxKind.XmlAttributeAccessExpression, 34428SyntaxKind.InvocationExpression, 34429SyntaxKind.ObjectCreationExpression, 34430SyntaxKind.AnonymousObjectCreationExpression, 34431SyntaxKind.ArrayCreationExpression, 34432SyntaxKind.CollectionInitializer, 34433SyntaxKind.CTypeExpression, 34434SyntaxKind.DirectCastExpression, 34435SyntaxKind.TryCastExpression, 34436SyntaxKind.PredefinedCastExpression, 34437SyntaxKind.AddExpression, 34438SyntaxKind.SubtractExpression, 34439SyntaxKind.MultiplyExpression, 34440SyntaxKind.DivideExpression, 34441SyntaxKind.IntegerDivideExpression, 34442SyntaxKind.ExponentiateExpression, 34443SyntaxKind.LeftShiftExpression, 34444SyntaxKind.RightShiftExpression, 34445SyntaxKind.ConcatenateExpression, 34446SyntaxKind.ModuloExpression, 34447SyntaxKind.EqualsExpression, 34448SyntaxKind.NotEqualsExpression, 34449SyntaxKind.LessThanExpression, 34450SyntaxKind.LessThanOrEqualExpression, 34451SyntaxKind.GreaterThanOrEqualExpression, 34452SyntaxKind.GreaterThanExpression, 34453SyntaxKind.IsExpression, 34454SyntaxKind.IsNotExpression, 34455SyntaxKind.LikeExpression, 34456SyntaxKind.OrExpression, 34457SyntaxKind.ExclusiveOrExpression, 34458SyntaxKind.AndExpression, 34459SyntaxKind.OrElseExpression, 34460SyntaxKind.AndAlsoExpression, 34461SyntaxKind.UnaryPlusExpression, 34462SyntaxKind.UnaryMinusExpression, 34463SyntaxKind.NotExpression, 34464SyntaxKind.AddressOfExpression, 34465SyntaxKind.BinaryConditionalExpression, 34466SyntaxKind.TernaryConditionalExpression, 34467SyntaxKind.SingleLineFunctionLambdaExpression, 34468SyntaxKind.SingleLineSubLambdaExpression, 34469SyntaxKind.MultiLineFunctionLambdaExpression, 34470SyntaxKind.MultiLineSubLambdaExpression, 34471SyntaxKind.QueryExpression, 34472SyntaxKind.FunctionAggregation, 34473SyntaxKind.GroupAggregation, 34474SyntaxKind.XmlDocument, 34475SyntaxKind.XmlElement, 34476SyntaxKind.XmlText, 34477SyntaxKind.XmlElementStartTag, 34478SyntaxKind.XmlElementEndTag, 34479SyntaxKind.XmlEmptyElement, 34480SyntaxKind.XmlAttribute, 34481SyntaxKind.XmlString, 34482SyntaxKind.XmlPrefixName, 34483SyntaxKind.XmlName, 34484SyntaxKind.XmlBracketedName, 34485SyntaxKind.XmlComment, 34486SyntaxKind.XmlProcessingInstruction, 34487SyntaxKind.XmlCDataSection, 34488SyntaxKind.XmlEmbeddedExpression, 34489SyntaxKind.ArrayType, 34490SyntaxKind.NullableType, 34491SyntaxKind.PredefinedType, 34492SyntaxKind.IdentifierName, 34493SyntaxKind.GenericName, 34494SyntaxKind.QualifiedName, 34495SyntaxKind.GlobalName, 34496SyntaxKind.CrefOperatorReference, 34497SyntaxKind.QualifiedCrefOperatorReference, 34498SyntaxKind.AwaitExpression, 34499SyntaxKind.XmlCrefAttribute, 34500SyntaxKind.XmlNameAttribute, 34501SyntaxKind.ConditionalAccessExpression, 34502SyntaxKind.NameOfExpression, 34503SyntaxKind.InterpolatedStringExpression 34507Return New UnaryExpressionSyntax(SyntaxKind.UnaryMinusExpression, Nothing, Nothing, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), operand) 34518Return SyntaxFactory.UnaryMinusExpression(SyntaxFactory.Token(SyntaxKind.MinusToken), operand) 34533Case SyntaxKind.NotKeyword 34541Case SyntaxKind.KeywordEventContainer, 34542SyntaxKind.WithEventsEventContainer, 34543SyntaxKind.WithEventsPropertyEventContainer, 34544SyntaxKind.IdentifierLabel, 34545SyntaxKind.NumericLabel, 34546SyntaxKind.NextLabel, 34547SyntaxKind.MidExpression, 34548SyntaxKind.CharacterLiteralExpression, 34549SyntaxKind.TrueLiteralExpression, 34550SyntaxKind.FalseLiteralExpression, 34551SyntaxKind.NumericLiteralExpression, 34552SyntaxKind.DateLiteralExpression, 34553SyntaxKind.StringLiteralExpression, 34554SyntaxKind.NothingLiteralExpression, 34555SyntaxKind.ParenthesizedExpression, 34556SyntaxKind.TupleExpression, 34557SyntaxKind.TupleType, 34558SyntaxKind.MeExpression, 34559SyntaxKind.MyBaseExpression, 34560SyntaxKind.MyClassExpression, 34561SyntaxKind.GetTypeExpression, 34562SyntaxKind.TypeOfIsExpression, 34563SyntaxKind.TypeOfIsNotExpression, 34564SyntaxKind.GetXmlNamespaceExpression, 34565SyntaxKind.SimpleMemberAccessExpression, 34566SyntaxKind.DictionaryAccessExpression, 34567SyntaxKind.XmlElementAccessExpression, 34568SyntaxKind.XmlDescendantAccessExpression, 34569SyntaxKind.XmlAttributeAccessExpression, 34570SyntaxKind.InvocationExpression, 34571SyntaxKind.ObjectCreationExpression, 34572SyntaxKind.AnonymousObjectCreationExpression, 34573SyntaxKind.ArrayCreationExpression, 34574SyntaxKind.CollectionInitializer, 34575SyntaxKind.CTypeExpression, 34576SyntaxKind.DirectCastExpression, 34577SyntaxKind.TryCastExpression, 34578SyntaxKind.PredefinedCastExpression, 34579SyntaxKind.AddExpression, 34580SyntaxKind.SubtractExpression, 34581SyntaxKind.MultiplyExpression, 34582SyntaxKind.DivideExpression, 34583SyntaxKind.IntegerDivideExpression, 34584SyntaxKind.ExponentiateExpression, 34585SyntaxKind.LeftShiftExpression, 34586SyntaxKind.RightShiftExpression, 34587SyntaxKind.ConcatenateExpression, 34588SyntaxKind.ModuloExpression, 34589SyntaxKind.EqualsExpression, 34590SyntaxKind.NotEqualsExpression, 34591SyntaxKind.LessThanExpression, 34592SyntaxKind.LessThanOrEqualExpression, 34593SyntaxKind.GreaterThanOrEqualExpression, 34594SyntaxKind.GreaterThanExpression, 34595SyntaxKind.IsExpression, 34596SyntaxKind.IsNotExpression, 34597SyntaxKind.LikeExpression, 34598SyntaxKind.OrExpression, 34599SyntaxKind.ExclusiveOrExpression, 34600SyntaxKind.AndExpression, 34601SyntaxKind.OrElseExpression, 34602SyntaxKind.AndAlsoExpression, 34603SyntaxKind.UnaryPlusExpression, 34604SyntaxKind.UnaryMinusExpression, 34605SyntaxKind.NotExpression, 34606SyntaxKind.AddressOfExpression, 34607SyntaxKind.BinaryConditionalExpression, 34608SyntaxKind.TernaryConditionalExpression, 34609SyntaxKind.SingleLineFunctionLambdaExpression, 34610SyntaxKind.SingleLineSubLambdaExpression, 34611SyntaxKind.MultiLineFunctionLambdaExpression, 34612SyntaxKind.MultiLineSubLambdaExpression, 34613SyntaxKind.QueryExpression, 34614SyntaxKind.FunctionAggregation, 34615SyntaxKind.GroupAggregation, 34616SyntaxKind.XmlDocument, 34617SyntaxKind.XmlElement, 34618SyntaxKind.XmlText, 34619SyntaxKind.XmlElementStartTag, 34620SyntaxKind.XmlElementEndTag, 34621SyntaxKind.XmlEmptyElement, 34622SyntaxKind.XmlAttribute, 34623SyntaxKind.XmlString, 34624SyntaxKind.XmlPrefixName, 34625SyntaxKind.XmlName, 34626SyntaxKind.XmlBracketedName, 34627SyntaxKind.XmlComment, 34628SyntaxKind.XmlProcessingInstruction, 34629SyntaxKind.XmlCDataSection, 34630SyntaxKind.XmlEmbeddedExpression, 34631SyntaxKind.ArrayType, 34632SyntaxKind.NullableType, 34633SyntaxKind.PredefinedType, 34634SyntaxKind.IdentifierName, 34635SyntaxKind.GenericName, 34636SyntaxKind.QualifiedName, 34637SyntaxKind.GlobalName, 34638SyntaxKind.CrefOperatorReference, 34639SyntaxKind.QualifiedCrefOperatorReference, 34640SyntaxKind.AwaitExpression, 34641SyntaxKind.XmlCrefAttribute, 34642SyntaxKind.XmlNameAttribute, 34643SyntaxKind.ConditionalAccessExpression, 34644SyntaxKind.NameOfExpression, 34645SyntaxKind.InterpolatedStringExpression 34649Return New UnaryExpressionSyntax(SyntaxKind.NotExpression, Nothing, Nothing, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), operand) 34660Return SyntaxFactory.NotExpression(SyntaxFactory.Token(SyntaxKind.NotKeyword), operand) 34675Case SyntaxKind.AddressOfKeyword 34683Case SyntaxKind.KeywordEventContainer, 34684SyntaxKind.WithEventsEventContainer, 34685SyntaxKind.WithEventsPropertyEventContainer, 34686SyntaxKind.IdentifierLabel, 34687SyntaxKind.NumericLabel, 34688SyntaxKind.NextLabel, 34689SyntaxKind.MidExpression, 34690SyntaxKind.CharacterLiteralExpression, 34691SyntaxKind.TrueLiteralExpression, 34692SyntaxKind.FalseLiteralExpression, 34693SyntaxKind.NumericLiteralExpression, 34694SyntaxKind.DateLiteralExpression, 34695SyntaxKind.StringLiteralExpression, 34696SyntaxKind.NothingLiteralExpression, 34697SyntaxKind.ParenthesizedExpression, 34698SyntaxKind.TupleExpression, 34699SyntaxKind.TupleType, 34700SyntaxKind.MeExpression, 34701SyntaxKind.MyBaseExpression, 34702SyntaxKind.MyClassExpression, 34703SyntaxKind.GetTypeExpression, 34704SyntaxKind.TypeOfIsExpression, 34705SyntaxKind.TypeOfIsNotExpression, 34706SyntaxKind.GetXmlNamespaceExpression, 34707SyntaxKind.SimpleMemberAccessExpression, 34708SyntaxKind.DictionaryAccessExpression, 34709SyntaxKind.XmlElementAccessExpression, 34710SyntaxKind.XmlDescendantAccessExpression, 34711SyntaxKind.XmlAttributeAccessExpression, 34712SyntaxKind.InvocationExpression, 34713SyntaxKind.ObjectCreationExpression, 34714SyntaxKind.AnonymousObjectCreationExpression, 34715SyntaxKind.ArrayCreationExpression, 34716SyntaxKind.CollectionInitializer, 34717SyntaxKind.CTypeExpression, 34718SyntaxKind.DirectCastExpression, 34719SyntaxKind.TryCastExpression, 34720SyntaxKind.PredefinedCastExpression, 34721SyntaxKind.AddExpression, 34722SyntaxKind.SubtractExpression, 34723SyntaxKind.MultiplyExpression, 34724SyntaxKind.DivideExpression, 34725SyntaxKind.IntegerDivideExpression, 34726SyntaxKind.ExponentiateExpression, 34727SyntaxKind.LeftShiftExpression, 34728SyntaxKind.RightShiftExpression, 34729SyntaxKind.ConcatenateExpression, 34730SyntaxKind.ModuloExpression, 34731SyntaxKind.EqualsExpression, 34732SyntaxKind.NotEqualsExpression, 34733SyntaxKind.LessThanExpression, 34734SyntaxKind.LessThanOrEqualExpression, 34735SyntaxKind.GreaterThanOrEqualExpression, 34736SyntaxKind.GreaterThanExpression, 34737SyntaxKind.IsExpression, 34738SyntaxKind.IsNotExpression, 34739SyntaxKind.LikeExpression, 34740SyntaxKind.OrExpression, 34741SyntaxKind.ExclusiveOrExpression, 34742SyntaxKind.AndExpression, 34743SyntaxKind.OrElseExpression, 34744SyntaxKind.AndAlsoExpression, 34745SyntaxKind.UnaryPlusExpression, 34746SyntaxKind.UnaryMinusExpression, 34747SyntaxKind.NotExpression, 34748SyntaxKind.AddressOfExpression, 34749SyntaxKind.BinaryConditionalExpression, 34750SyntaxKind.TernaryConditionalExpression, 34751SyntaxKind.SingleLineFunctionLambdaExpression, 34752SyntaxKind.SingleLineSubLambdaExpression, 34753SyntaxKind.MultiLineFunctionLambdaExpression, 34754SyntaxKind.MultiLineSubLambdaExpression, 34755SyntaxKind.QueryExpression, 34756SyntaxKind.FunctionAggregation, 34757SyntaxKind.GroupAggregation, 34758SyntaxKind.XmlDocument, 34759SyntaxKind.XmlElement, 34760SyntaxKind.XmlText, 34761SyntaxKind.XmlElementStartTag, 34762SyntaxKind.XmlElementEndTag, 34763SyntaxKind.XmlEmptyElement, 34764SyntaxKind.XmlAttribute, 34765SyntaxKind.XmlString, 34766SyntaxKind.XmlPrefixName, 34767SyntaxKind.XmlName, 34768SyntaxKind.XmlBracketedName, 34769SyntaxKind.XmlComment, 34770SyntaxKind.XmlProcessingInstruction, 34771SyntaxKind.XmlCDataSection, 34772SyntaxKind.XmlEmbeddedExpression, 34773SyntaxKind.ArrayType, 34774SyntaxKind.NullableType, 34775SyntaxKind.PredefinedType, 34776SyntaxKind.IdentifierName, 34777SyntaxKind.GenericName, 34778SyntaxKind.QualifiedName, 34779SyntaxKind.GlobalName, 34780SyntaxKind.CrefOperatorReference, 34781SyntaxKind.QualifiedCrefOperatorReference, 34782SyntaxKind.AwaitExpression, 34783SyntaxKind.XmlCrefAttribute, 34784SyntaxKind.XmlNameAttribute, 34785SyntaxKind.ConditionalAccessExpression, 34786SyntaxKind.NameOfExpression, 34787SyntaxKind.InterpolatedStringExpression 34791Return New UnaryExpressionSyntax(SyntaxKind.AddressOfExpression, Nothing, Nothing, DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), operand) 34802Return SyntaxFactory.AddressOfExpression(SyntaxFactory.Token(SyntaxKind.AddressOfKeyword), operand) 34810''' A <see cref="SyntaxKind"/> representing the specific kind of 34820Public Shared Function UnaryExpression(ByVal kind As SyntaxKind, operatorToken As SyntaxToken, operand As ExpressionSyntax) As UnaryExpressionSyntax 34831Case SyntaxKind.KeywordEventContainer, 34832SyntaxKind.WithEventsEventContainer, 34833SyntaxKind.WithEventsPropertyEventContainer, 34834SyntaxKind.IdentifierLabel, 34835SyntaxKind.NumericLabel, 34836SyntaxKind.NextLabel, 34837SyntaxKind.MidExpression, 34838SyntaxKind.CharacterLiteralExpression, 34839SyntaxKind.TrueLiteralExpression, 34840SyntaxKind.FalseLiteralExpression, 34841SyntaxKind.NumericLiteralExpression, 34842SyntaxKind.DateLiteralExpression, 34843SyntaxKind.StringLiteralExpression, 34844SyntaxKind.NothingLiteralExpression, 34845SyntaxKind.ParenthesizedExpression, 34846SyntaxKind.TupleExpression, 34847SyntaxKind.TupleType, 34848SyntaxKind.MeExpression, 34849SyntaxKind.MyBaseExpression, 34850SyntaxKind.MyClassExpression, 34851SyntaxKind.GetTypeExpression, 34852SyntaxKind.TypeOfIsExpression, 34853SyntaxKind.TypeOfIsNotExpression, 34854SyntaxKind.GetXmlNamespaceExpression, 34855SyntaxKind.SimpleMemberAccessExpression, 34856SyntaxKind.DictionaryAccessExpression, 34857SyntaxKind.XmlElementAccessExpression, 34858SyntaxKind.XmlDescendantAccessExpression, 34859SyntaxKind.XmlAttributeAccessExpression, 34860SyntaxKind.InvocationExpression, 34861SyntaxKind.ObjectCreationExpression, 34862SyntaxKind.AnonymousObjectCreationExpression, 34863SyntaxKind.ArrayCreationExpression, 34864SyntaxKind.CollectionInitializer, 34865SyntaxKind.CTypeExpression, 34866SyntaxKind.DirectCastExpression, 34867SyntaxKind.TryCastExpression, 34868SyntaxKind.PredefinedCastExpression, 34869SyntaxKind.AddExpression, 34870SyntaxKind.SubtractExpression, 34871SyntaxKind.MultiplyExpression, 34872SyntaxKind.DivideExpression, 34873SyntaxKind.IntegerDivideExpression, 34874SyntaxKind.ExponentiateExpression, 34875SyntaxKind.LeftShiftExpression, 34876SyntaxKind.RightShiftExpression, 34877SyntaxKind.ConcatenateExpression, 34878SyntaxKind.ModuloExpression, 34879SyntaxKind.EqualsExpression, 34880SyntaxKind.NotEqualsExpression, 34881SyntaxKind.LessThanExpression, 34882SyntaxKind.LessThanOrEqualExpression, 34883SyntaxKind.GreaterThanOrEqualExpression, 34884SyntaxKind.GreaterThanExpression, 34885SyntaxKind.IsExpression, 34886SyntaxKind.IsNotExpression, 34887SyntaxKind.LikeExpression, 34888SyntaxKind.OrExpression, 34889SyntaxKind.ExclusiveOrExpression, 34890SyntaxKind.AndExpression, 34891SyntaxKind.OrElseExpression, 34892SyntaxKind.AndAlsoExpression, 34893SyntaxKind.UnaryPlusExpression, 34894SyntaxKind.UnaryMinusExpression, 34895SyntaxKind.NotExpression, 34896SyntaxKind.AddressOfExpression, 34897SyntaxKind.BinaryConditionalExpression, 34898SyntaxKind.TernaryConditionalExpression, 34899SyntaxKind.SingleLineFunctionLambdaExpression, 34900SyntaxKind.SingleLineSubLambdaExpression, 34901SyntaxKind.MultiLineFunctionLambdaExpression, 34902SyntaxKind.MultiLineSubLambdaExpression, 34903SyntaxKind.QueryExpression, 34904SyntaxKind.FunctionAggregation, 34905SyntaxKind.GroupAggregation, 34906SyntaxKind.XmlDocument, 34907SyntaxKind.XmlElement, 34908SyntaxKind.XmlText, 34909SyntaxKind.XmlElementStartTag, 34910SyntaxKind.XmlElementEndTag, 34911SyntaxKind.XmlEmptyElement, 34912SyntaxKind.XmlAttribute, 34913SyntaxKind.XmlString, 34914SyntaxKind.XmlPrefixName, 34915SyntaxKind.XmlName, 34916SyntaxKind.XmlBracketedName, 34917SyntaxKind.XmlComment, 34918SyntaxKind.XmlProcessingInstruction, 34919SyntaxKind.XmlCDataSection, 34920SyntaxKind.XmlEmbeddedExpression, 34921SyntaxKind.ArrayType, 34922SyntaxKind.NullableType, 34923SyntaxKind.PredefinedType, 34924SyntaxKind.IdentifierName, 34925SyntaxKind.GenericName, 34926SyntaxKind.QualifiedName, 34927SyntaxKind.GlobalName, 34928SyntaxKind.CrefOperatorReference, 34929SyntaxKind.QualifiedCrefOperatorReference, 34930SyntaxKind.AwaitExpression, 34931SyntaxKind.XmlCrefAttribute, 34932SyntaxKind.XmlNameAttribute, 34933SyntaxKind.ConditionalAccessExpression, 34934SyntaxKind.NameOfExpression, 34935SyntaxKind.InterpolatedStringExpression 34942Private Shared Function GetUnaryExpressionOperatorTokenKind(kind As SyntaxKind) As SyntaxKind 34944Case SyntaxKind.UnaryPlusExpression 34945Return SyntaxKind.PlusToken 34946Case SyntaxKind.UnaryMinusExpression 34947Return SyntaxKind.MinusToken 34948Case SyntaxKind.NotExpression 34949Return SyntaxKind.NotKeyword 34950Case SyntaxKind.AddressOfExpression 34951Return SyntaxKind.AddressOfKeyword 34981Case SyntaxKind.IfKeyword 34986Case SyntaxKind.OpenParenToken 34994Case SyntaxKind.KeywordEventContainer, 34995SyntaxKind.WithEventsEventContainer, 34996SyntaxKind.WithEventsPropertyEventContainer, 34997SyntaxKind.IdentifierLabel, 34998SyntaxKind.NumericLabel, 34999SyntaxKind.NextLabel, 35000SyntaxKind.MidExpression, 35001SyntaxKind.CharacterLiteralExpression, 35002SyntaxKind.TrueLiteralExpression, 35003SyntaxKind.FalseLiteralExpression, 35004SyntaxKind.NumericLiteralExpression, 35005SyntaxKind.DateLiteralExpression, 35006SyntaxKind.StringLiteralExpression, 35007SyntaxKind.NothingLiteralExpression, 35008SyntaxKind.ParenthesizedExpression, 35009SyntaxKind.TupleExpression, 35010SyntaxKind.TupleType, 35011SyntaxKind.MeExpression, 35012SyntaxKind.MyBaseExpression, 35013SyntaxKind.MyClassExpression, 35014SyntaxKind.GetTypeExpression, 35015SyntaxKind.TypeOfIsExpression, 35016SyntaxKind.TypeOfIsNotExpression, 35017SyntaxKind.GetXmlNamespaceExpression, 35018SyntaxKind.SimpleMemberAccessExpression, 35019SyntaxKind.DictionaryAccessExpression, 35020SyntaxKind.XmlElementAccessExpression, 35021SyntaxKind.XmlDescendantAccessExpression, 35022SyntaxKind.XmlAttributeAccessExpression, 35023SyntaxKind.InvocationExpression, 35024SyntaxKind.ObjectCreationExpression, 35025SyntaxKind.AnonymousObjectCreationExpression, 35026SyntaxKind.ArrayCreationExpression, 35027SyntaxKind.CollectionInitializer, 35028SyntaxKind.CTypeExpression, 35029SyntaxKind.DirectCastExpression, 35030SyntaxKind.TryCastExpression, 35031SyntaxKind.PredefinedCastExpression, 35032SyntaxKind.AddExpression, 35033SyntaxKind.SubtractExpression, 35034SyntaxKind.MultiplyExpression, 35035SyntaxKind.DivideExpression, 35036SyntaxKind.IntegerDivideExpression, 35037SyntaxKind.ExponentiateExpression, 35038SyntaxKind.LeftShiftExpression, 35039SyntaxKind.RightShiftExpression, 35040SyntaxKind.ConcatenateExpression, 35041SyntaxKind.ModuloExpression, 35042SyntaxKind.EqualsExpression, 35043SyntaxKind.NotEqualsExpression, 35044SyntaxKind.LessThanExpression, 35045SyntaxKind.LessThanOrEqualExpression, 35046SyntaxKind.GreaterThanOrEqualExpression, 35047SyntaxKind.GreaterThanExpression, 35048SyntaxKind.IsExpression, 35049SyntaxKind.IsNotExpression, 35050SyntaxKind.LikeExpression, 35051SyntaxKind.OrExpression, 35052SyntaxKind.ExclusiveOrExpression, 35053SyntaxKind.AndExpression, 35054SyntaxKind.OrElseExpression, 35055SyntaxKind.AndAlsoExpression, 35056SyntaxKind.UnaryPlusExpression, 35057SyntaxKind.UnaryMinusExpression, 35058SyntaxKind.NotExpression, 35059SyntaxKind.AddressOfExpression, 35060SyntaxKind.BinaryConditionalExpression, 35061SyntaxKind.TernaryConditionalExpression, 35062SyntaxKind.SingleLineFunctionLambdaExpression, 35063SyntaxKind.SingleLineSubLambdaExpression, 35064SyntaxKind.MultiLineFunctionLambdaExpression, 35065SyntaxKind.MultiLineSubLambdaExpression, 35066SyntaxKind.QueryExpression, 35067SyntaxKind.FunctionAggregation, 35068SyntaxKind.GroupAggregation, 35069SyntaxKind.XmlDocument, 35070SyntaxKind.XmlElement, 35071SyntaxKind.XmlText, 35072SyntaxKind.XmlElementStartTag, 35073SyntaxKind.XmlElementEndTag, 35074SyntaxKind.XmlEmptyElement, 35075SyntaxKind.XmlAttribute, 35076SyntaxKind.XmlString, 35077SyntaxKind.XmlPrefixName, 35078SyntaxKind.XmlName, 35079SyntaxKind.XmlBracketedName, 35080SyntaxKind.XmlComment, 35081SyntaxKind.XmlProcessingInstruction, 35082SyntaxKind.XmlCDataSection, 35083SyntaxKind.XmlEmbeddedExpression, 35084SyntaxKind.ArrayType, 35085SyntaxKind.NullableType, 35086SyntaxKind.PredefinedType, 35087SyntaxKind.IdentifierName, 35088SyntaxKind.GenericName, 35089SyntaxKind.QualifiedName, 35090SyntaxKind.GlobalName, 35091SyntaxKind.CrefOperatorReference, 35092SyntaxKind.QualifiedCrefOperatorReference, 35093SyntaxKind.AwaitExpression, 35094SyntaxKind.XmlCrefAttribute, 35095SyntaxKind.XmlNameAttribute, 35096SyntaxKind.ConditionalAccessExpression, 35097SyntaxKind.NameOfExpression, 35098SyntaxKind.InterpolatedStringExpression 35103Case SyntaxKind.CommaToken 35111Case SyntaxKind.KeywordEventContainer, 35112SyntaxKind.WithEventsEventContainer, 35113SyntaxKind.WithEventsPropertyEventContainer, 35114SyntaxKind.IdentifierLabel, 35115SyntaxKind.NumericLabel, 35116SyntaxKind.NextLabel, 35117SyntaxKind.MidExpression, 35118SyntaxKind.CharacterLiteralExpression, 35119SyntaxKind.TrueLiteralExpression, 35120SyntaxKind.FalseLiteralExpression, 35121SyntaxKind.NumericLiteralExpression, 35122SyntaxKind.DateLiteralExpression, 35123SyntaxKind.StringLiteralExpression, 35124SyntaxKind.NothingLiteralExpression, 35125SyntaxKind.ParenthesizedExpression, 35126SyntaxKind.TupleExpression, 35127SyntaxKind.TupleType, 35128SyntaxKind.MeExpression, 35129SyntaxKind.MyBaseExpression, 35130SyntaxKind.MyClassExpression, 35131SyntaxKind.GetTypeExpression, 35132SyntaxKind.TypeOfIsExpression, 35133SyntaxKind.TypeOfIsNotExpression, 35134SyntaxKind.GetXmlNamespaceExpression, 35135SyntaxKind.SimpleMemberAccessExpression, 35136SyntaxKind.DictionaryAccessExpression, 35137SyntaxKind.XmlElementAccessExpression, 35138SyntaxKind.XmlDescendantAccessExpression, 35139SyntaxKind.XmlAttributeAccessExpression, 35140SyntaxKind.InvocationExpression, 35141SyntaxKind.ObjectCreationExpression, 35142SyntaxKind.AnonymousObjectCreationExpression, 35143SyntaxKind.ArrayCreationExpression, 35144SyntaxKind.CollectionInitializer, 35145SyntaxKind.CTypeExpression, 35146SyntaxKind.DirectCastExpression, 35147SyntaxKind.TryCastExpression, 35148SyntaxKind.PredefinedCastExpression, 35149SyntaxKind.AddExpression, 35150SyntaxKind.SubtractExpression, 35151SyntaxKind.MultiplyExpression, 35152SyntaxKind.DivideExpression, 35153SyntaxKind.IntegerDivideExpression, 35154SyntaxKind.ExponentiateExpression, 35155SyntaxKind.LeftShiftExpression, 35156SyntaxKind.RightShiftExpression, 35157SyntaxKind.ConcatenateExpression, 35158SyntaxKind.ModuloExpression, 35159SyntaxKind.EqualsExpression, 35160SyntaxKind.NotEqualsExpression, 35161SyntaxKind.LessThanExpression, 35162SyntaxKind.LessThanOrEqualExpression, 35163SyntaxKind.GreaterThanOrEqualExpression, 35164SyntaxKind.GreaterThanExpression, 35165SyntaxKind.IsExpression, 35166SyntaxKind.IsNotExpression, 35167SyntaxKind.LikeExpression, 35168SyntaxKind.OrExpression, 35169SyntaxKind.ExclusiveOrExpression, 35170SyntaxKind.AndExpression, 35171SyntaxKind.OrElseExpression, 35172SyntaxKind.AndAlsoExpression, 35173SyntaxKind.UnaryPlusExpression, 35174SyntaxKind.UnaryMinusExpression, 35175SyntaxKind.NotExpression, 35176SyntaxKind.AddressOfExpression, 35177SyntaxKind.BinaryConditionalExpression, 35178SyntaxKind.TernaryConditionalExpression, 35179SyntaxKind.SingleLineFunctionLambdaExpression, 35180SyntaxKind.SingleLineSubLambdaExpression, 35181SyntaxKind.MultiLineFunctionLambdaExpression, 35182SyntaxKind.MultiLineSubLambdaExpression, 35183SyntaxKind.QueryExpression, 35184SyntaxKind.FunctionAggregation, 35185SyntaxKind.GroupAggregation, 35186SyntaxKind.XmlDocument, 35187SyntaxKind.XmlElement, 35188SyntaxKind.XmlText, 35189SyntaxKind.XmlElementStartTag, 35190SyntaxKind.XmlElementEndTag, 35191SyntaxKind.XmlEmptyElement, 35192SyntaxKind.XmlAttribute, 35193SyntaxKind.XmlString, 35194SyntaxKind.XmlPrefixName, 35195SyntaxKind.XmlName, 35196SyntaxKind.XmlBracketedName, 35197SyntaxKind.XmlComment, 35198SyntaxKind.XmlProcessingInstruction, 35199SyntaxKind.XmlCDataSection, 35200SyntaxKind.XmlEmbeddedExpression, 35201SyntaxKind.ArrayType, 35202SyntaxKind.NullableType, 35203SyntaxKind.PredefinedType, 35204SyntaxKind.IdentifierName, 35205SyntaxKind.GenericName, 35206SyntaxKind.QualifiedName, 35207SyntaxKind.GlobalName, 35208SyntaxKind.CrefOperatorReference, 35209SyntaxKind.QualifiedCrefOperatorReference, 35210SyntaxKind.AwaitExpression, 35211SyntaxKind.XmlCrefAttribute, 35212SyntaxKind.XmlNameAttribute, 35213SyntaxKind.ConditionalAccessExpression, 35214SyntaxKind.NameOfExpression, 35215SyntaxKind.InterpolatedStringExpression 35220Case SyntaxKind.CloseParenToken 35224Return New BinaryConditionalExpressionSyntax(SyntaxKind.BinaryConditionalExpression, Nothing, Nothing, DirectCast(ifKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), firstExpression, DirectCast(commaToken.Node, InternalSyntax.PunctuationSyntax), secondExpression, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 35239Return SyntaxFactory.BinaryConditionalExpression(SyntaxFactory.Token(SyntaxKind.IfKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), firstExpression, SyntaxFactory.Token(SyntaxKind.CommaToken), secondExpression, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 35273Case SyntaxKind.IfKeyword 35278Case SyntaxKind.OpenParenToken 35286Case SyntaxKind.KeywordEventContainer, 35287SyntaxKind.WithEventsEventContainer, 35288SyntaxKind.WithEventsPropertyEventContainer, 35289SyntaxKind.IdentifierLabel, 35290SyntaxKind.NumericLabel, 35291SyntaxKind.NextLabel, 35292SyntaxKind.MidExpression, 35293SyntaxKind.CharacterLiteralExpression, 35294SyntaxKind.TrueLiteralExpression, 35295SyntaxKind.FalseLiteralExpression, 35296SyntaxKind.NumericLiteralExpression, 35297SyntaxKind.DateLiteralExpression, 35298SyntaxKind.StringLiteralExpression, 35299SyntaxKind.NothingLiteralExpression, 35300SyntaxKind.ParenthesizedExpression, 35301SyntaxKind.TupleExpression, 35302SyntaxKind.TupleType, 35303SyntaxKind.MeExpression, 35304SyntaxKind.MyBaseExpression, 35305SyntaxKind.MyClassExpression, 35306SyntaxKind.GetTypeExpression, 35307SyntaxKind.TypeOfIsExpression, 35308SyntaxKind.TypeOfIsNotExpression, 35309SyntaxKind.GetXmlNamespaceExpression, 35310SyntaxKind.SimpleMemberAccessExpression, 35311SyntaxKind.DictionaryAccessExpression, 35312SyntaxKind.XmlElementAccessExpression, 35313SyntaxKind.XmlDescendantAccessExpression, 35314SyntaxKind.XmlAttributeAccessExpression, 35315SyntaxKind.InvocationExpression, 35316SyntaxKind.ObjectCreationExpression, 35317SyntaxKind.AnonymousObjectCreationExpression, 35318SyntaxKind.ArrayCreationExpression, 35319SyntaxKind.CollectionInitializer, 35320SyntaxKind.CTypeExpression, 35321SyntaxKind.DirectCastExpression, 35322SyntaxKind.TryCastExpression, 35323SyntaxKind.PredefinedCastExpression, 35324SyntaxKind.AddExpression, 35325SyntaxKind.SubtractExpression, 35326SyntaxKind.MultiplyExpression, 35327SyntaxKind.DivideExpression, 35328SyntaxKind.IntegerDivideExpression, 35329SyntaxKind.ExponentiateExpression, 35330SyntaxKind.LeftShiftExpression, 35331SyntaxKind.RightShiftExpression, 35332SyntaxKind.ConcatenateExpression, 35333SyntaxKind.ModuloExpression, 35334SyntaxKind.EqualsExpression, 35335SyntaxKind.NotEqualsExpression, 35336SyntaxKind.LessThanExpression, 35337SyntaxKind.LessThanOrEqualExpression, 35338SyntaxKind.GreaterThanOrEqualExpression, 35339SyntaxKind.GreaterThanExpression, 35340SyntaxKind.IsExpression, 35341SyntaxKind.IsNotExpression, 35342SyntaxKind.LikeExpression, 35343SyntaxKind.OrExpression, 35344SyntaxKind.ExclusiveOrExpression, 35345SyntaxKind.AndExpression, 35346SyntaxKind.OrElseExpression, 35347SyntaxKind.AndAlsoExpression, 35348SyntaxKind.UnaryPlusExpression, 35349SyntaxKind.UnaryMinusExpression, 35350SyntaxKind.NotExpression, 35351SyntaxKind.AddressOfExpression, 35352SyntaxKind.BinaryConditionalExpression, 35353SyntaxKind.TernaryConditionalExpression, 35354SyntaxKind.SingleLineFunctionLambdaExpression, 35355SyntaxKind.SingleLineSubLambdaExpression, 35356SyntaxKind.MultiLineFunctionLambdaExpression, 35357SyntaxKind.MultiLineSubLambdaExpression, 35358SyntaxKind.QueryExpression, 35359SyntaxKind.FunctionAggregation, 35360SyntaxKind.GroupAggregation, 35361SyntaxKind.XmlDocument, 35362SyntaxKind.XmlElement, 35363SyntaxKind.XmlText, 35364SyntaxKind.XmlElementStartTag, 35365SyntaxKind.XmlElementEndTag, 35366SyntaxKind.XmlEmptyElement, 35367SyntaxKind.XmlAttribute, 35368SyntaxKind.XmlString, 35369SyntaxKind.XmlPrefixName, 35370SyntaxKind.XmlName, 35371SyntaxKind.XmlBracketedName, 35372SyntaxKind.XmlComment, 35373SyntaxKind.XmlProcessingInstruction, 35374SyntaxKind.XmlCDataSection, 35375SyntaxKind.XmlEmbeddedExpression, 35376SyntaxKind.ArrayType, 35377SyntaxKind.NullableType, 35378SyntaxKind.PredefinedType, 35379SyntaxKind.IdentifierName, 35380SyntaxKind.GenericName, 35381SyntaxKind.QualifiedName, 35382SyntaxKind.GlobalName, 35383SyntaxKind.CrefOperatorReference, 35384SyntaxKind.QualifiedCrefOperatorReference, 35385SyntaxKind.AwaitExpression, 35386SyntaxKind.XmlCrefAttribute, 35387SyntaxKind.XmlNameAttribute, 35388SyntaxKind.ConditionalAccessExpression, 35389SyntaxKind.NameOfExpression, 35390SyntaxKind.InterpolatedStringExpression 35395Case SyntaxKind.CommaToken 35403Case SyntaxKind.KeywordEventContainer, 35404SyntaxKind.WithEventsEventContainer, 35405SyntaxKind.WithEventsPropertyEventContainer, 35406SyntaxKind.IdentifierLabel, 35407SyntaxKind.NumericLabel, 35408SyntaxKind.NextLabel, 35409SyntaxKind.MidExpression, 35410SyntaxKind.CharacterLiteralExpression, 35411SyntaxKind.TrueLiteralExpression, 35412SyntaxKind.FalseLiteralExpression, 35413SyntaxKind.NumericLiteralExpression, 35414SyntaxKind.DateLiteralExpression, 35415SyntaxKind.StringLiteralExpression, 35416SyntaxKind.NothingLiteralExpression, 35417SyntaxKind.ParenthesizedExpression, 35418SyntaxKind.TupleExpression, 35419SyntaxKind.TupleType, 35420SyntaxKind.MeExpression, 35421SyntaxKind.MyBaseExpression, 35422SyntaxKind.MyClassExpression, 35423SyntaxKind.GetTypeExpression, 35424SyntaxKind.TypeOfIsExpression, 35425SyntaxKind.TypeOfIsNotExpression, 35426SyntaxKind.GetXmlNamespaceExpression, 35427SyntaxKind.SimpleMemberAccessExpression, 35428SyntaxKind.DictionaryAccessExpression, 35429SyntaxKind.XmlElementAccessExpression, 35430SyntaxKind.XmlDescendantAccessExpression, 35431SyntaxKind.XmlAttributeAccessExpression, 35432SyntaxKind.InvocationExpression, 35433SyntaxKind.ObjectCreationExpression, 35434SyntaxKind.AnonymousObjectCreationExpression, 35435SyntaxKind.ArrayCreationExpression, 35436SyntaxKind.CollectionInitializer, 35437SyntaxKind.CTypeExpression, 35438SyntaxKind.DirectCastExpression, 35439SyntaxKind.TryCastExpression, 35440SyntaxKind.PredefinedCastExpression, 35441SyntaxKind.AddExpression, 35442SyntaxKind.SubtractExpression, 35443SyntaxKind.MultiplyExpression, 35444SyntaxKind.DivideExpression, 35445SyntaxKind.IntegerDivideExpression, 35446SyntaxKind.ExponentiateExpression, 35447SyntaxKind.LeftShiftExpression, 35448SyntaxKind.RightShiftExpression, 35449SyntaxKind.ConcatenateExpression, 35450SyntaxKind.ModuloExpression, 35451SyntaxKind.EqualsExpression, 35452SyntaxKind.NotEqualsExpression, 35453SyntaxKind.LessThanExpression, 35454SyntaxKind.LessThanOrEqualExpression, 35455SyntaxKind.GreaterThanOrEqualExpression, 35456SyntaxKind.GreaterThanExpression, 35457SyntaxKind.IsExpression, 35458SyntaxKind.IsNotExpression, 35459SyntaxKind.LikeExpression, 35460SyntaxKind.OrExpression, 35461SyntaxKind.ExclusiveOrExpression, 35462SyntaxKind.AndExpression, 35463SyntaxKind.OrElseExpression, 35464SyntaxKind.AndAlsoExpression, 35465SyntaxKind.UnaryPlusExpression, 35466SyntaxKind.UnaryMinusExpression, 35467SyntaxKind.NotExpression, 35468SyntaxKind.AddressOfExpression, 35469SyntaxKind.BinaryConditionalExpression, 35470SyntaxKind.TernaryConditionalExpression, 35471SyntaxKind.SingleLineFunctionLambdaExpression, 35472SyntaxKind.SingleLineSubLambdaExpression, 35473SyntaxKind.MultiLineFunctionLambdaExpression, 35474SyntaxKind.MultiLineSubLambdaExpression, 35475SyntaxKind.QueryExpression, 35476SyntaxKind.FunctionAggregation, 35477SyntaxKind.GroupAggregation, 35478SyntaxKind.XmlDocument, 35479SyntaxKind.XmlElement, 35480SyntaxKind.XmlText, 35481SyntaxKind.XmlElementStartTag, 35482SyntaxKind.XmlElementEndTag, 35483SyntaxKind.XmlEmptyElement, 35484SyntaxKind.XmlAttribute, 35485SyntaxKind.XmlString, 35486SyntaxKind.XmlPrefixName, 35487SyntaxKind.XmlName, 35488SyntaxKind.XmlBracketedName, 35489SyntaxKind.XmlComment, 35490SyntaxKind.XmlProcessingInstruction, 35491SyntaxKind.XmlCDataSection, 35492SyntaxKind.XmlEmbeddedExpression, 35493SyntaxKind.ArrayType, 35494SyntaxKind.NullableType, 35495SyntaxKind.PredefinedType, 35496SyntaxKind.IdentifierName, 35497SyntaxKind.GenericName, 35498SyntaxKind.QualifiedName, 35499SyntaxKind.GlobalName, 35500SyntaxKind.CrefOperatorReference, 35501SyntaxKind.QualifiedCrefOperatorReference, 35502SyntaxKind.AwaitExpression, 35503SyntaxKind.XmlCrefAttribute, 35504SyntaxKind.XmlNameAttribute, 35505SyntaxKind.ConditionalAccessExpression, 35506SyntaxKind.NameOfExpression, 35507SyntaxKind.InterpolatedStringExpression 35512Case SyntaxKind.CommaToken 35520Case SyntaxKind.KeywordEventContainer, 35521SyntaxKind.WithEventsEventContainer, 35522SyntaxKind.WithEventsPropertyEventContainer, 35523SyntaxKind.IdentifierLabel, 35524SyntaxKind.NumericLabel, 35525SyntaxKind.NextLabel, 35526SyntaxKind.MidExpression, 35527SyntaxKind.CharacterLiteralExpression, 35528SyntaxKind.TrueLiteralExpression, 35529SyntaxKind.FalseLiteralExpression, 35530SyntaxKind.NumericLiteralExpression, 35531SyntaxKind.DateLiteralExpression, 35532SyntaxKind.StringLiteralExpression, 35533SyntaxKind.NothingLiteralExpression, 35534SyntaxKind.ParenthesizedExpression, 35535SyntaxKind.TupleExpression, 35536SyntaxKind.TupleType, 35537SyntaxKind.MeExpression, 35538SyntaxKind.MyBaseExpression, 35539SyntaxKind.MyClassExpression, 35540SyntaxKind.GetTypeExpression, 35541SyntaxKind.TypeOfIsExpression, 35542SyntaxKind.TypeOfIsNotExpression, 35543SyntaxKind.GetXmlNamespaceExpression, 35544SyntaxKind.SimpleMemberAccessExpression, 35545SyntaxKind.DictionaryAccessExpression, 35546SyntaxKind.XmlElementAccessExpression, 35547SyntaxKind.XmlDescendantAccessExpression, 35548SyntaxKind.XmlAttributeAccessExpression, 35549SyntaxKind.InvocationExpression, 35550SyntaxKind.ObjectCreationExpression, 35551SyntaxKind.AnonymousObjectCreationExpression, 35552SyntaxKind.ArrayCreationExpression, 35553SyntaxKind.CollectionInitializer, 35554SyntaxKind.CTypeExpression, 35555SyntaxKind.DirectCastExpression, 35556SyntaxKind.TryCastExpression, 35557SyntaxKind.PredefinedCastExpression, 35558SyntaxKind.AddExpression, 35559SyntaxKind.SubtractExpression, 35560SyntaxKind.MultiplyExpression, 35561SyntaxKind.DivideExpression, 35562SyntaxKind.IntegerDivideExpression, 35563SyntaxKind.ExponentiateExpression, 35564SyntaxKind.LeftShiftExpression, 35565SyntaxKind.RightShiftExpression, 35566SyntaxKind.ConcatenateExpression, 35567SyntaxKind.ModuloExpression, 35568SyntaxKind.EqualsExpression, 35569SyntaxKind.NotEqualsExpression, 35570SyntaxKind.LessThanExpression, 35571SyntaxKind.LessThanOrEqualExpression, 35572SyntaxKind.GreaterThanOrEqualExpression, 35573SyntaxKind.GreaterThanExpression, 35574SyntaxKind.IsExpression, 35575SyntaxKind.IsNotExpression, 35576SyntaxKind.LikeExpression, 35577SyntaxKind.OrExpression, 35578SyntaxKind.ExclusiveOrExpression, 35579SyntaxKind.AndExpression, 35580SyntaxKind.OrElseExpression, 35581SyntaxKind.AndAlsoExpression, 35582SyntaxKind.UnaryPlusExpression, 35583SyntaxKind.UnaryMinusExpression, 35584SyntaxKind.NotExpression, 35585SyntaxKind.AddressOfExpression, 35586SyntaxKind.BinaryConditionalExpression, 35587SyntaxKind.TernaryConditionalExpression, 35588SyntaxKind.SingleLineFunctionLambdaExpression, 35589SyntaxKind.SingleLineSubLambdaExpression, 35590SyntaxKind.MultiLineFunctionLambdaExpression, 35591SyntaxKind.MultiLineSubLambdaExpression, 35592SyntaxKind.QueryExpression, 35593SyntaxKind.FunctionAggregation, 35594SyntaxKind.GroupAggregation, 35595SyntaxKind.XmlDocument, 35596SyntaxKind.XmlElement, 35597SyntaxKind.XmlText, 35598SyntaxKind.XmlElementStartTag, 35599SyntaxKind.XmlElementEndTag, 35600SyntaxKind.XmlEmptyElement, 35601SyntaxKind.XmlAttribute, 35602SyntaxKind.XmlString, 35603SyntaxKind.XmlPrefixName, 35604SyntaxKind.XmlName, 35605SyntaxKind.XmlBracketedName, 35606SyntaxKind.XmlComment, 35607SyntaxKind.XmlProcessingInstruction, 35608SyntaxKind.XmlCDataSection, 35609SyntaxKind.XmlEmbeddedExpression, 35610SyntaxKind.ArrayType, 35611SyntaxKind.NullableType, 35612SyntaxKind.PredefinedType, 35613SyntaxKind.IdentifierName, 35614SyntaxKind.GenericName, 35615SyntaxKind.QualifiedName, 35616SyntaxKind.GlobalName, 35617SyntaxKind.CrefOperatorReference, 35618SyntaxKind.QualifiedCrefOperatorReference, 35619SyntaxKind.AwaitExpression, 35620SyntaxKind.XmlCrefAttribute, 35621SyntaxKind.XmlNameAttribute, 35622SyntaxKind.ConditionalAccessExpression, 35623SyntaxKind.NameOfExpression, 35624SyntaxKind.InterpolatedStringExpression 35629Case SyntaxKind.CloseParenToken 35633Return New TernaryConditionalExpressionSyntax(SyntaxKind.TernaryConditionalExpression, Nothing, Nothing, DirectCast(ifKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), condition, DirectCast(firstCommaToken.Node, InternalSyntax.PunctuationSyntax), whenTrue, DirectCast(secondCommaToken.Node, InternalSyntax.PunctuationSyntax), whenFalse, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 35651Return SyntaxFactory.TernaryConditionalExpression(SyntaxFactory.Token(SyntaxKind.IfKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), condition, SyntaxFactory.Token(SyntaxKind.CommaToken), whenTrue, SyntaxFactory.Token(SyntaxKind.CommaToken), whenFalse, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 35671Case SyntaxKind.SubLambdaHeader, 35672SyntaxKind.FunctionLambdaHeader 35680Case SyntaxKind.KeywordEventContainer, 35681SyntaxKind.WithEventsEventContainer, 35682SyntaxKind.WithEventsPropertyEventContainer, 35683SyntaxKind.IdentifierLabel, 35684SyntaxKind.NumericLabel, 35685SyntaxKind.NextLabel, 35686SyntaxKind.MidExpression, 35687SyntaxKind.CharacterLiteralExpression, 35688SyntaxKind.TrueLiteralExpression, 35689SyntaxKind.FalseLiteralExpression, 35690SyntaxKind.NumericLiteralExpression, 35691SyntaxKind.DateLiteralExpression, 35692SyntaxKind.StringLiteralExpression, 35693SyntaxKind.NothingLiteralExpression, 35694SyntaxKind.ParenthesizedExpression, 35695SyntaxKind.TupleExpression, 35696SyntaxKind.TupleType, 35697SyntaxKind.MeExpression, 35698SyntaxKind.MyBaseExpression, 35699SyntaxKind.MyClassExpression, 35700SyntaxKind.GetTypeExpression, 35701SyntaxKind.TypeOfIsExpression, 35702SyntaxKind.TypeOfIsNotExpression, 35703SyntaxKind.GetXmlNamespaceExpression, 35704SyntaxKind.SimpleMemberAccessExpression, 35705SyntaxKind.DictionaryAccessExpression, 35706SyntaxKind.XmlElementAccessExpression, 35707SyntaxKind.XmlDescendantAccessExpression, 35708SyntaxKind.XmlAttributeAccessExpression, 35709SyntaxKind.InvocationExpression, 35710SyntaxKind.ObjectCreationExpression, 35711SyntaxKind.AnonymousObjectCreationExpression, 35712SyntaxKind.ArrayCreationExpression, 35713SyntaxKind.CollectionInitializer, 35714SyntaxKind.CTypeExpression, 35715SyntaxKind.DirectCastExpression, 35716SyntaxKind.TryCastExpression, 35717SyntaxKind.PredefinedCastExpression, 35718SyntaxKind.AddExpression, 35719SyntaxKind.SubtractExpression, 35720SyntaxKind.MultiplyExpression, 35721SyntaxKind.DivideExpression, 35722SyntaxKind.IntegerDivideExpression, 35723SyntaxKind.ExponentiateExpression, 35724SyntaxKind.LeftShiftExpression, 35725SyntaxKind.RightShiftExpression, 35726SyntaxKind.ConcatenateExpression, 35727SyntaxKind.ModuloExpression, 35728SyntaxKind.EqualsExpression, 35729SyntaxKind.NotEqualsExpression, 35730SyntaxKind.LessThanExpression, 35731SyntaxKind.LessThanOrEqualExpression, 35732SyntaxKind.GreaterThanOrEqualExpression, 35733SyntaxKind.GreaterThanExpression, 35734SyntaxKind.IsExpression, 35735SyntaxKind.IsNotExpression, 35736SyntaxKind.LikeExpression, 35737SyntaxKind.OrExpression, 35738SyntaxKind.ExclusiveOrExpression, 35739SyntaxKind.AndExpression, 35740SyntaxKind.OrElseExpression, 35741SyntaxKind.AndAlsoExpression, 35742SyntaxKind.UnaryPlusExpression, 35743SyntaxKind.UnaryMinusExpression, 35744SyntaxKind.NotExpression, 35745SyntaxKind.AddressOfExpression, 35746SyntaxKind.BinaryConditionalExpression, 35747SyntaxKind.TernaryConditionalExpression, 35748SyntaxKind.SingleLineFunctionLambdaExpression, 35749SyntaxKind.SingleLineSubLambdaExpression, 35750SyntaxKind.MultiLineFunctionLambdaExpression, 35751SyntaxKind.MultiLineSubLambdaExpression, 35752SyntaxKind.QueryExpression, 35753SyntaxKind.FunctionAggregation, 35754SyntaxKind.GroupAggregation, 35755SyntaxKind.XmlDocument, 35756SyntaxKind.XmlElement, 35757SyntaxKind.XmlText, 35758SyntaxKind.XmlElementStartTag, 35759SyntaxKind.XmlElementEndTag, 35760SyntaxKind.XmlEmptyElement, 35761SyntaxKind.XmlAttribute, 35762SyntaxKind.XmlString, 35763SyntaxKind.XmlPrefixName, 35764SyntaxKind.XmlName, 35765SyntaxKind.XmlBracketedName, 35766SyntaxKind.XmlComment, 35767SyntaxKind.XmlProcessingInstruction, 35768SyntaxKind.XmlCDataSection, 35769SyntaxKind.XmlEmbeddedExpression, 35770SyntaxKind.ArrayType, 35771SyntaxKind.NullableType, 35772SyntaxKind.PredefinedType, 35773SyntaxKind.IdentifierName, 35774SyntaxKind.GenericName, 35775SyntaxKind.QualifiedName, 35776SyntaxKind.GlobalName, 35777SyntaxKind.CrefOperatorReference, 35778SyntaxKind.QualifiedCrefOperatorReference, 35779SyntaxKind.AwaitExpression, 35780SyntaxKind.XmlCrefAttribute, 35781SyntaxKind.XmlNameAttribute, 35782SyntaxKind.ConditionalAccessExpression, 35783SyntaxKind.NameOfExpression, 35784SyntaxKind.InterpolatedStringExpression, 35785SyntaxKind.EmptyStatement, 35786SyntaxKind.EndIfStatement, 35787SyntaxKind.EndUsingStatement, 35788SyntaxKind.EndWithStatement, 35789SyntaxKind.EndSelectStatement, 35790SyntaxKind.EndStructureStatement, 35791SyntaxKind.EndEnumStatement, 35792SyntaxKind.EndInterfaceStatement, 35793SyntaxKind.EndClassStatement, 35794SyntaxKind.EndModuleStatement, 35795SyntaxKind.EndNamespaceStatement, 35796SyntaxKind.EndSubStatement, 35797SyntaxKind.EndFunctionStatement, 35798SyntaxKind.EndGetStatement, 35799SyntaxKind.EndSetStatement, 35800SyntaxKind.EndPropertyStatement, 35801SyntaxKind.EndOperatorStatement, 35802SyntaxKind.EndEventStatement, 35803SyntaxKind.EndAddHandlerStatement, 35804SyntaxKind.EndRemoveHandlerStatement, 35805SyntaxKind.EndRaiseEventStatement, 35806SyntaxKind.EndWhileStatement, 35807SyntaxKind.EndTryStatement, 35808SyntaxKind.EndSyncLockStatement, 35809SyntaxKind.OptionStatement, 35810SyntaxKind.ImportsStatement, 35811SyntaxKind.NamespaceBlock, 35812SyntaxKind.NamespaceStatement, 35813SyntaxKind.ModuleBlock, 35814SyntaxKind.StructureBlock, 35815SyntaxKind.InterfaceBlock, 35816SyntaxKind.ClassBlock, 35817SyntaxKind.EnumBlock, 35818SyntaxKind.InheritsStatement, 35819SyntaxKind.ImplementsStatement, 35820SyntaxKind.ModuleStatement, 35821SyntaxKind.StructureStatement, 35822SyntaxKind.InterfaceStatement, 35823SyntaxKind.ClassStatement, 35824SyntaxKind.EnumStatement, 35825SyntaxKind.EnumMemberDeclaration, 35826SyntaxKind.SubBlock, 35827SyntaxKind.FunctionBlock, 35828SyntaxKind.ConstructorBlock, 35829SyntaxKind.OperatorBlock, 35830SyntaxKind.GetAccessorBlock, 35831SyntaxKind.SetAccessorBlock, 35832SyntaxKind.AddHandlerAccessorBlock, 35833SyntaxKind.RemoveHandlerAccessorBlock, 35834SyntaxKind.RaiseEventAccessorBlock, 35835SyntaxKind.PropertyBlock, 35836SyntaxKind.EventBlock, 35837SyntaxKind.SubStatement, 35838SyntaxKind.FunctionStatement, 35839SyntaxKind.SubNewStatement, 35840SyntaxKind.DeclareSubStatement, 35841SyntaxKind.DeclareFunctionStatement, 35842SyntaxKind.DelegateSubStatement, 35843SyntaxKind.DelegateFunctionStatement, 35844SyntaxKind.EventStatement, 35845SyntaxKind.OperatorStatement, 35846SyntaxKind.PropertyStatement, 35847SyntaxKind.GetAccessorStatement, 35848SyntaxKind.SetAccessorStatement, 35849SyntaxKind.AddHandlerAccessorStatement, 35850SyntaxKind.RemoveHandlerAccessorStatement, 35851SyntaxKind.RaiseEventAccessorStatement, 35852SyntaxKind.IncompleteMember, 35853SyntaxKind.FieldDeclaration, 35854SyntaxKind.AttributesStatement, 35855SyntaxKind.ExpressionStatement, 35856SyntaxKind.PrintStatement, 35857SyntaxKind.WhileBlock, 35858SyntaxKind.UsingBlock, 35859SyntaxKind.SyncLockBlock, 35860SyntaxKind.WithBlock, 35861SyntaxKind.LocalDeclarationStatement, 35862SyntaxKind.LabelStatement, 35863SyntaxKind.GoToStatement, 35864SyntaxKind.StopStatement, 35865SyntaxKind.EndStatement, 35866SyntaxKind.ExitDoStatement, 35867SyntaxKind.ExitForStatement, 35868SyntaxKind.ExitSubStatement, 35869SyntaxKind.ExitFunctionStatement, 35870SyntaxKind.ExitOperatorStatement, 35871SyntaxKind.ExitPropertyStatement, 35872SyntaxKind.ExitTryStatement, 35873SyntaxKind.ExitSelectStatement, 35874SyntaxKind.ExitWhileStatement, 35875SyntaxKind.ContinueWhileStatement, 35876SyntaxKind.ContinueDoStatement, 35877SyntaxKind.ContinueForStatement, 35878SyntaxKind.ReturnStatement, 35879SyntaxKind.SingleLineIfStatement, 35880SyntaxKind.MultiLineIfBlock, 35881SyntaxKind.IfStatement, 35882SyntaxKind.ElseIfStatement, 35883SyntaxKind.ElseStatement, 35884SyntaxKind.TryBlock, 35885SyntaxKind.TryStatement, 35886SyntaxKind.CatchStatement, 35887SyntaxKind.FinallyStatement, 35888SyntaxKind.ErrorStatement, 35889SyntaxKind.OnErrorGoToZeroStatement, 35890SyntaxKind.OnErrorGoToMinusOneStatement, 35891SyntaxKind.OnErrorGoToLabelStatement, 35892SyntaxKind.OnErrorResumeNextStatement, 35893SyntaxKind.ResumeStatement, 35894SyntaxKind.ResumeLabelStatement, 35895SyntaxKind.ResumeNextStatement, 35896SyntaxKind.SelectBlock, 35897SyntaxKind.SelectStatement, 35898SyntaxKind.CaseStatement, 35899SyntaxKind.CaseElseStatement, 35900SyntaxKind.SyncLockStatement, 35901SyntaxKind.SimpleDoLoopBlock, 35902SyntaxKind.DoWhileLoopBlock, 35903SyntaxKind.DoUntilLoopBlock, 35904SyntaxKind.DoLoopWhileBlock, 35905SyntaxKind.DoLoopUntilBlock, 35906SyntaxKind.SimpleDoStatement, 35907SyntaxKind.DoWhileStatement, 35908SyntaxKind.DoUntilStatement, 35909SyntaxKind.SimpleLoopStatement, 35910SyntaxKind.LoopWhileStatement, 35911SyntaxKind.LoopUntilStatement, 35912SyntaxKind.WhileStatement, 35913SyntaxKind.ForBlock, 35914SyntaxKind.ForEachBlock, 35915SyntaxKind.ForStatement, 35916SyntaxKind.ForEachStatement, 35917SyntaxKind.NextStatement, 35918SyntaxKind.UsingStatement, 35919SyntaxKind.ThrowStatement, 35920SyntaxKind.SimpleAssignmentStatement, 35921SyntaxKind.MidAssignmentStatement, 35922SyntaxKind.AddAssignmentStatement, 35923SyntaxKind.SubtractAssignmentStatement, 35924SyntaxKind.MultiplyAssignmentStatement, 35925SyntaxKind.DivideAssignmentStatement, 35926SyntaxKind.IntegerDivideAssignmentStatement, 35927SyntaxKind.ExponentiateAssignmentStatement, 35928SyntaxKind.LeftShiftAssignmentStatement, 35929SyntaxKind.RightShiftAssignmentStatement, 35930SyntaxKind.ConcatenateAssignmentStatement, 35931SyntaxKind.CallStatement, 35932SyntaxKind.AddHandlerStatement, 35933SyntaxKind.RemoveHandlerStatement, 35934SyntaxKind.RaiseEventStatement, 35935SyntaxKind.WithStatement, 35936SyntaxKind.ReDimStatement, 35937SyntaxKind.ReDimPreserveStatement, 35938SyntaxKind.EraseStatement, 35939SyntaxKind.SubLambdaHeader, 35940SyntaxKind.FunctionLambdaHeader, 35941SyntaxKind.YieldStatement 35945Return New SingleLineLambdaExpressionSyntax(SyntaxKind.SingleLineFunctionLambdaExpression, Nothing, Nothing, subOrFunctionHeader, body) 35965Case SyntaxKind.SubLambdaHeader, 35966SyntaxKind.FunctionLambdaHeader 35974Case SyntaxKind.KeywordEventContainer, 35975SyntaxKind.WithEventsEventContainer, 35976SyntaxKind.WithEventsPropertyEventContainer, 35977SyntaxKind.IdentifierLabel, 35978SyntaxKind.NumericLabel, 35979SyntaxKind.NextLabel, 35980SyntaxKind.MidExpression, 35981SyntaxKind.CharacterLiteralExpression, 35982SyntaxKind.TrueLiteralExpression, 35983SyntaxKind.FalseLiteralExpression, 35984SyntaxKind.NumericLiteralExpression, 35985SyntaxKind.DateLiteralExpression, 35986SyntaxKind.StringLiteralExpression, 35987SyntaxKind.NothingLiteralExpression, 35988SyntaxKind.ParenthesizedExpression, 35989SyntaxKind.TupleExpression, 35990SyntaxKind.TupleType, 35991SyntaxKind.MeExpression, 35992SyntaxKind.MyBaseExpression, 35993SyntaxKind.MyClassExpression, 35994SyntaxKind.GetTypeExpression, 35995SyntaxKind.TypeOfIsExpression, 35996SyntaxKind.TypeOfIsNotExpression, 35997SyntaxKind.GetXmlNamespaceExpression, 35998SyntaxKind.SimpleMemberAccessExpression, 35999SyntaxKind.DictionaryAccessExpression, 36000SyntaxKind.XmlElementAccessExpression, 36001SyntaxKind.XmlDescendantAccessExpression, 36002SyntaxKind.XmlAttributeAccessExpression, 36003SyntaxKind.InvocationExpression, 36004SyntaxKind.ObjectCreationExpression, 36005SyntaxKind.AnonymousObjectCreationExpression, 36006SyntaxKind.ArrayCreationExpression, 36007SyntaxKind.CollectionInitializer, 36008SyntaxKind.CTypeExpression, 36009SyntaxKind.DirectCastExpression, 36010SyntaxKind.TryCastExpression, 36011SyntaxKind.PredefinedCastExpression, 36012SyntaxKind.AddExpression, 36013SyntaxKind.SubtractExpression, 36014SyntaxKind.MultiplyExpression, 36015SyntaxKind.DivideExpression, 36016SyntaxKind.IntegerDivideExpression, 36017SyntaxKind.ExponentiateExpression, 36018SyntaxKind.LeftShiftExpression, 36019SyntaxKind.RightShiftExpression, 36020SyntaxKind.ConcatenateExpression, 36021SyntaxKind.ModuloExpression, 36022SyntaxKind.EqualsExpression, 36023SyntaxKind.NotEqualsExpression, 36024SyntaxKind.LessThanExpression, 36025SyntaxKind.LessThanOrEqualExpression, 36026SyntaxKind.GreaterThanOrEqualExpression, 36027SyntaxKind.GreaterThanExpression, 36028SyntaxKind.IsExpression, 36029SyntaxKind.IsNotExpression, 36030SyntaxKind.LikeExpression, 36031SyntaxKind.OrExpression, 36032SyntaxKind.ExclusiveOrExpression, 36033SyntaxKind.AndExpression, 36034SyntaxKind.OrElseExpression, 36035SyntaxKind.AndAlsoExpression, 36036SyntaxKind.UnaryPlusExpression, 36037SyntaxKind.UnaryMinusExpression, 36038SyntaxKind.NotExpression, 36039SyntaxKind.AddressOfExpression, 36040SyntaxKind.BinaryConditionalExpression, 36041SyntaxKind.TernaryConditionalExpression, 36042SyntaxKind.SingleLineFunctionLambdaExpression, 36043SyntaxKind.SingleLineSubLambdaExpression, 36044SyntaxKind.MultiLineFunctionLambdaExpression, 36045SyntaxKind.MultiLineSubLambdaExpression, 36046SyntaxKind.QueryExpression, 36047SyntaxKind.FunctionAggregation, 36048SyntaxKind.GroupAggregation, 36049SyntaxKind.XmlDocument, 36050SyntaxKind.XmlElement, 36051SyntaxKind.XmlText, 36052SyntaxKind.XmlElementStartTag, 36053SyntaxKind.XmlElementEndTag, 36054SyntaxKind.XmlEmptyElement, 36055SyntaxKind.XmlAttribute, 36056SyntaxKind.XmlString, 36057SyntaxKind.XmlPrefixName, 36058SyntaxKind.XmlName, 36059SyntaxKind.XmlBracketedName, 36060SyntaxKind.XmlComment, 36061SyntaxKind.XmlProcessingInstruction, 36062SyntaxKind.XmlCDataSection, 36063SyntaxKind.XmlEmbeddedExpression, 36064SyntaxKind.ArrayType, 36065SyntaxKind.NullableType, 36066SyntaxKind.PredefinedType, 36067SyntaxKind.IdentifierName, 36068SyntaxKind.GenericName, 36069SyntaxKind.QualifiedName, 36070SyntaxKind.GlobalName, 36071SyntaxKind.CrefOperatorReference, 36072SyntaxKind.QualifiedCrefOperatorReference, 36073SyntaxKind.AwaitExpression, 36074SyntaxKind.XmlCrefAttribute, 36075SyntaxKind.XmlNameAttribute, 36076SyntaxKind.ConditionalAccessExpression, 36077SyntaxKind.NameOfExpression, 36078SyntaxKind.InterpolatedStringExpression, 36079SyntaxKind.EmptyStatement, 36080SyntaxKind.EndIfStatement, 36081SyntaxKind.EndUsingStatement, 36082SyntaxKind.EndWithStatement, 36083SyntaxKind.EndSelectStatement, 36084SyntaxKind.EndStructureStatement, 36085SyntaxKind.EndEnumStatement, 36086SyntaxKind.EndInterfaceStatement, 36087SyntaxKind.EndClassStatement, 36088SyntaxKind.EndModuleStatement, 36089SyntaxKind.EndNamespaceStatement, 36090SyntaxKind.EndSubStatement, 36091SyntaxKind.EndFunctionStatement, 36092SyntaxKind.EndGetStatement, 36093SyntaxKind.EndSetStatement, 36094SyntaxKind.EndPropertyStatement, 36095SyntaxKind.EndOperatorStatement, 36096SyntaxKind.EndEventStatement, 36097SyntaxKind.EndAddHandlerStatement, 36098SyntaxKind.EndRemoveHandlerStatement, 36099SyntaxKind.EndRaiseEventStatement, 36100SyntaxKind.EndWhileStatement, 36101SyntaxKind.EndTryStatement, 36102SyntaxKind.EndSyncLockStatement, 36103SyntaxKind.OptionStatement, 36104SyntaxKind.ImportsStatement, 36105SyntaxKind.NamespaceBlock, 36106SyntaxKind.NamespaceStatement, 36107SyntaxKind.ModuleBlock, 36108SyntaxKind.StructureBlock, 36109SyntaxKind.InterfaceBlock, 36110SyntaxKind.ClassBlock, 36111SyntaxKind.EnumBlock, 36112SyntaxKind.InheritsStatement, 36113SyntaxKind.ImplementsStatement, 36114SyntaxKind.ModuleStatement, 36115SyntaxKind.StructureStatement, 36116SyntaxKind.InterfaceStatement, 36117SyntaxKind.ClassStatement, 36118SyntaxKind.EnumStatement, 36119SyntaxKind.EnumMemberDeclaration, 36120SyntaxKind.SubBlock, 36121SyntaxKind.FunctionBlock, 36122SyntaxKind.ConstructorBlock, 36123SyntaxKind.OperatorBlock, 36124SyntaxKind.GetAccessorBlock, 36125SyntaxKind.SetAccessorBlock, 36126SyntaxKind.AddHandlerAccessorBlock, 36127SyntaxKind.RemoveHandlerAccessorBlock, 36128SyntaxKind.RaiseEventAccessorBlock, 36129SyntaxKind.PropertyBlock, 36130SyntaxKind.EventBlock, 36131SyntaxKind.SubStatement, 36132SyntaxKind.FunctionStatement, 36133SyntaxKind.SubNewStatement, 36134SyntaxKind.DeclareSubStatement, 36135SyntaxKind.DeclareFunctionStatement, 36136SyntaxKind.DelegateSubStatement, 36137SyntaxKind.DelegateFunctionStatement, 36138SyntaxKind.EventStatement, 36139SyntaxKind.OperatorStatement, 36140SyntaxKind.PropertyStatement, 36141SyntaxKind.GetAccessorStatement, 36142SyntaxKind.SetAccessorStatement, 36143SyntaxKind.AddHandlerAccessorStatement, 36144SyntaxKind.RemoveHandlerAccessorStatement, 36145SyntaxKind.RaiseEventAccessorStatement, 36146SyntaxKind.IncompleteMember, 36147SyntaxKind.FieldDeclaration, 36148SyntaxKind.AttributesStatement, 36149SyntaxKind.ExpressionStatement, 36150SyntaxKind.PrintStatement, 36151SyntaxKind.WhileBlock, 36152SyntaxKind.UsingBlock, 36153SyntaxKind.SyncLockBlock, 36154SyntaxKind.WithBlock, 36155SyntaxKind.LocalDeclarationStatement, 36156SyntaxKind.LabelStatement, 36157SyntaxKind.GoToStatement, 36158SyntaxKind.StopStatement, 36159SyntaxKind.EndStatement, 36160SyntaxKind.ExitDoStatement, 36161SyntaxKind.ExitForStatement, 36162SyntaxKind.ExitSubStatement, 36163SyntaxKind.ExitFunctionStatement, 36164SyntaxKind.ExitOperatorStatement, 36165SyntaxKind.ExitPropertyStatement, 36166SyntaxKind.ExitTryStatement, 36167SyntaxKind.ExitSelectStatement, 36168SyntaxKind.ExitWhileStatement, 36169SyntaxKind.ContinueWhileStatement, 36170SyntaxKind.ContinueDoStatement, 36171SyntaxKind.ContinueForStatement, 36172SyntaxKind.ReturnStatement, 36173SyntaxKind.SingleLineIfStatement, 36174SyntaxKind.MultiLineIfBlock, 36175SyntaxKind.IfStatement, 36176SyntaxKind.ElseIfStatement, 36177SyntaxKind.ElseStatement, 36178SyntaxKind.TryBlock, 36179SyntaxKind.TryStatement, 36180SyntaxKind.CatchStatement, 36181SyntaxKind.FinallyStatement, 36182SyntaxKind.ErrorStatement, 36183SyntaxKind.OnErrorGoToZeroStatement, 36184SyntaxKind.OnErrorGoToMinusOneStatement, 36185SyntaxKind.OnErrorGoToLabelStatement, 36186SyntaxKind.OnErrorResumeNextStatement, 36187SyntaxKind.ResumeStatement, 36188SyntaxKind.ResumeLabelStatement, 36189SyntaxKind.ResumeNextStatement, 36190SyntaxKind.SelectBlock, 36191SyntaxKind.SelectStatement, 36192SyntaxKind.CaseStatement, 36193SyntaxKind.CaseElseStatement, 36194SyntaxKind.SyncLockStatement, 36195SyntaxKind.SimpleDoLoopBlock, 36196SyntaxKind.DoWhileLoopBlock, 36197SyntaxKind.DoUntilLoopBlock, 36198SyntaxKind.DoLoopWhileBlock, 36199SyntaxKind.DoLoopUntilBlock, 36200SyntaxKind.SimpleDoStatement, 36201SyntaxKind.DoWhileStatement, 36202SyntaxKind.DoUntilStatement, 36203SyntaxKind.SimpleLoopStatement, 36204SyntaxKind.LoopWhileStatement, 36205SyntaxKind.LoopUntilStatement, 36206SyntaxKind.WhileStatement, 36207SyntaxKind.ForBlock, 36208SyntaxKind.ForEachBlock, 36209SyntaxKind.ForStatement, 36210SyntaxKind.ForEachStatement, 36211SyntaxKind.NextStatement, 36212SyntaxKind.UsingStatement, 36213SyntaxKind.ThrowStatement, 36214SyntaxKind.SimpleAssignmentStatement, 36215SyntaxKind.MidAssignmentStatement, 36216SyntaxKind.AddAssignmentStatement, 36217SyntaxKind.SubtractAssignmentStatement, 36218SyntaxKind.MultiplyAssignmentStatement, 36219SyntaxKind.DivideAssignmentStatement, 36220SyntaxKind.IntegerDivideAssignmentStatement, 36221SyntaxKind.ExponentiateAssignmentStatement, 36222SyntaxKind.LeftShiftAssignmentStatement, 36223SyntaxKind.RightShiftAssignmentStatement, 36224SyntaxKind.ConcatenateAssignmentStatement, 36225SyntaxKind.CallStatement, 36226SyntaxKind.AddHandlerStatement, 36227SyntaxKind.RemoveHandlerStatement, 36228SyntaxKind.RaiseEventStatement, 36229SyntaxKind.WithStatement, 36230SyntaxKind.ReDimStatement, 36231SyntaxKind.ReDimPreserveStatement, 36232SyntaxKind.EraseStatement, 36233SyntaxKind.SubLambdaHeader, 36234SyntaxKind.FunctionLambdaHeader, 36235SyntaxKind.YieldStatement 36239Return New SingleLineLambdaExpressionSyntax(SyntaxKind.SingleLineSubLambdaExpression, Nothing, Nothing, subOrFunctionHeader, body) 36247''' A <see cref="SyntaxKind"/> representing the specific kind of 36259Public Shared Function SingleLineLambdaExpression(ByVal kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, body As VisualBasicSyntaxNode) As SingleLineLambdaExpressionSyntax 36267Case SyntaxKind.SubLambdaHeader, 36268SyntaxKind.FunctionLambdaHeader 36276Case SyntaxKind.KeywordEventContainer, 36277SyntaxKind.WithEventsEventContainer, 36278SyntaxKind.WithEventsPropertyEventContainer, 36279SyntaxKind.IdentifierLabel, 36280SyntaxKind.NumericLabel, 36281SyntaxKind.NextLabel, 36282SyntaxKind.MidExpression, 36283SyntaxKind.CharacterLiteralExpression, 36284SyntaxKind.TrueLiteralExpression, 36285SyntaxKind.FalseLiteralExpression, 36286SyntaxKind.NumericLiteralExpression, 36287SyntaxKind.DateLiteralExpression, 36288SyntaxKind.StringLiteralExpression, 36289SyntaxKind.NothingLiteralExpression, 36290SyntaxKind.ParenthesizedExpression, 36291SyntaxKind.TupleExpression, 36292SyntaxKind.TupleType, 36293SyntaxKind.MeExpression, 36294SyntaxKind.MyBaseExpression, 36295SyntaxKind.MyClassExpression, 36296SyntaxKind.GetTypeExpression, 36297SyntaxKind.TypeOfIsExpression, 36298SyntaxKind.TypeOfIsNotExpression, 36299SyntaxKind.GetXmlNamespaceExpression, 36300SyntaxKind.SimpleMemberAccessExpression, 36301SyntaxKind.DictionaryAccessExpression, 36302SyntaxKind.XmlElementAccessExpression, 36303SyntaxKind.XmlDescendantAccessExpression, 36304SyntaxKind.XmlAttributeAccessExpression, 36305SyntaxKind.InvocationExpression, 36306SyntaxKind.ObjectCreationExpression, 36307SyntaxKind.AnonymousObjectCreationExpression, 36308SyntaxKind.ArrayCreationExpression, 36309SyntaxKind.CollectionInitializer, 36310SyntaxKind.CTypeExpression, 36311SyntaxKind.DirectCastExpression, 36312SyntaxKind.TryCastExpression, 36313SyntaxKind.PredefinedCastExpression, 36314SyntaxKind.AddExpression, 36315SyntaxKind.SubtractExpression, 36316SyntaxKind.MultiplyExpression, 36317SyntaxKind.DivideExpression, 36318SyntaxKind.IntegerDivideExpression, 36319SyntaxKind.ExponentiateExpression, 36320SyntaxKind.LeftShiftExpression, 36321SyntaxKind.RightShiftExpression, 36322SyntaxKind.ConcatenateExpression, 36323SyntaxKind.ModuloExpression, 36324SyntaxKind.EqualsExpression, 36325SyntaxKind.NotEqualsExpression, 36326SyntaxKind.LessThanExpression, 36327SyntaxKind.LessThanOrEqualExpression, 36328SyntaxKind.GreaterThanOrEqualExpression, 36329SyntaxKind.GreaterThanExpression, 36330SyntaxKind.IsExpression, 36331SyntaxKind.IsNotExpression, 36332SyntaxKind.LikeExpression, 36333SyntaxKind.OrExpression, 36334SyntaxKind.ExclusiveOrExpression, 36335SyntaxKind.AndExpression, 36336SyntaxKind.OrElseExpression, 36337SyntaxKind.AndAlsoExpression, 36338SyntaxKind.UnaryPlusExpression, 36339SyntaxKind.UnaryMinusExpression, 36340SyntaxKind.NotExpression, 36341SyntaxKind.AddressOfExpression, 36342SyntaxKind.BinaryConditionalExpression, 36343SyntaxKind.TernaryConditionalExpression, 36344SyntaxKind.SingleLineFunctionLambdaExpression, 36345SyntaxKind.SingleLineSubLambdaExpression, 36346SyntaxKind.MultiLineFunctionLambdaExpression, 36347SyntaxKind.MultiLineSubLambdaExpression, 36348SyntaxKind.QueryExpression, 36349SyntaxKind.FunctionAggregation, 36350SyntaxKind.GroupAggregation, 36351SyntaxKind.XmlDocument, 36352SyntaxKind.XmlElement, 36353SyntaxKind.XmlText, 36354SyntaxKind.XmlElementStartTag, 36355SyntaxKind.XmlElementEndTag, 36356SyntaxKind.XmlEmptyElement, 36357SyntaxKind.XmlAttribute, 36358SyntaxKind.XmlString, 36359SyntaxKind.XmlPrefixName, 36360SyntaxKind.XmlName, 36361SyntaxKind.XmlBracketedName, 36362SyntaxKind.XmlComment, 36363SyntaxKind.XmlProcessingInstruction, 36364SyntaxKind.XmlCDataSection, 36365SyntaxKind.XmlEmbeddedExpression, 36366SyntaxKind.ArrayType, 36367SyntaxKind.NullableType, 36368SyntaxKind.PredefinedType, 36369SyntaxKind.IdentifierName, 36370SyntaxKind.GenericName, 36371SyntaxKind.QualifiedName, 36372SyntaxKind.GlobalName, 36373SyntaxKind.CrefOperatorReference, 36374SyntaxKind.QualifiedCrefOperatorReference, 36375SyntaxKind.AwaitExpression, 36376SyntaxKind.XmlCrefAttribute, 36377SyntaxKind.XmlNameAttribute, 36378SyntaxKind.ConditionalAccessExpression, 36379SyntaxKind.NameOfExpression, 36380SyntaxKind.InterpolatedStringExpression, 36381SyntaxKind.EmptyStatement, 36382SyntaxKind.EndIfStatement, 36383SyntaxKind.EndUsingStatement, 36384SyntaxKind.EndWithStatement, 36385SyntaxKind.EndSelectStatement, 36386SyntaxKind.EndStructureStatement, 36387SyntaxKind.EndEnumStatement, 36388SyntaxKind.EndInterfaceStatement, 36389SyntaxKind.EndClassStatement, 36390SyntaxKind.EndModuleStatement, 36391SyntaxKind.EndNamespaceStatement, 36392SyntaxKind.EndSubStatement, 36393SyntaxKind.EndFunctionStatement, 36394SyntaxKind.EndGetStatement, 36395SyntaxKind.EndSetStatement, 36396SyntaxKind.EndPropertyStatement, 36397SyntaxKind.EndOperatorStatement, 36398SyntaxKind.EndEventStatement, 36399SyntaxKind.EndAddHandlerStatement, 36400SyntaxKind.EndRemoveHandlerStatement, 36401SyntaxKind.EndRaiseEventStatement, 36402SyntaxKind.EndWhileStatement, 36403SyntaxKind.EndTryStatement, 36404SyntaxKind.EndSyncLockStatement, 36405SyntaxKind.OptionStatement, 36406SyntaxKind.ImportsStatement, 36407SyntaxKind.NamespaceBlock, 36408SyntaxKind.NamespaceStatement, 36409SyntaxKind.ModuleBlock, 36410SyntaxKind.StructureBlock, 36411SyntaxKind.InterfaceBlock, 36412SyntaxKind.ClassBlock, 36413SyntaxKind.EnumBlock, 36414SyntaxKind.InheritsStatement, 36415SyntaxKind.ImplementsStatement, 36416SyntaxKind.ModuleStatement, 36417SyntaxKind.StructureStatement, 36418SyntaxKind.InterfaceStatement, 36419SyntaxKind.ClassStatement, 36420SyntaxKind.EnumStatement, 36421SyntaxKind.EnumMemberDeclaration, 36422SyntaxKind.SubBlock, 36423SyntaxKind.FunctionBlock, 36424SyntaxKind.ConstructorBlock, 36425SyntaxKind.OperatorBlock, 36426SyntaxKind.GetAccessorBlock, 36427SyntaxKind.SetAccessorBlock, 36428SyntaxKind.AddHandlerAccessorBlock, 36429SyntaxKind.RemoveHandlerAccessorBlock, 36430SyntaxKind.RaiseEventAccessorBlock, 36431SyntaxKind.PropertyBlock, 36432SyntaxKind.EventBlock, 36433SyntaxKind.SubStatement, 36434SyntaxKind.FunctionStatement, 36435SyntaxKind.SubNewStatement, 36436SyntaxKind.DeclareSubStatement, 36437SyntaxKind.DeclareFunctionStatement, 36438SyntaxKind.DelegateSubStatement, 36439SyntaxKind.DelegateFunctionStatement, 36440SyntaxKind.EventStatement, 36441SyntaxKind.OperatorStatement, 36442SyntaxKind.PropertyStatement, 36443SyntaxKind.GetAccessorStatement, 36444SyntaxKind.SetAccessorStatement, 36445SyntaxKind.AddHandlerAccessorStatement, 36446SyntaxKind.RemoveHandlerAccessorStatement, 36447SyntaxKind.RaiseEventAccessorStatement, 36448SyntaxKind.IncompleteMember, 36449SyntaxKind.FieldDeclaration, 36450SyntaxKind.AttributesStatement, 36451SyntaxKind.ExpressionStatement, 36452SyntaxKind.PrintStatement, 36453SyntaxKind.WhileBlock, 36454SyntaxKind.UsingBlock, 36455SyntaxKind.SyncLockBlock, 36456SyntaxKind.WithBlock, 36457SyntaxKind.LocalDeclarationStatement, 36458SyntaxKind.LabelStatement, 36459SyntaxKind.GoToStatement, 36460SyntaxKind.StopStatement, 36461SyntaxKind.EndStatement, 36462SyntaxKind.ExitDoStatement, 36463SyntaxKind.ExitForStatement, 36464SyntaxKind.ExitSubStatement, 36465SyntaxKind.ExitFunctionStatement, 36466SyntaxKind.ExitOperatorStatement, 36467SyntaxKind.ExitPropertyStatement, 36468SyntaxKind.ExitTryStatement, 36469SyntaxKind.ExitSelectStatement, 36470SyntaxKind.ExitWhileStatement, 36471SyntaxKind.ContinueWhileStatement, 36472SyntaxKind.ContinueDoStatement, 36473SyntaxKind.ContinueForStatement, 36474SyntaxKind.ReturnStatement, 36475SyntaxKind.SingleLineIfStatement, 36476SyntaxKind.MultiLineIfBlock, 36477SyntaxKind.IfStatement, 36478SyntaxKind.ElseIfStatement, 36479SyntaxKind.ElseStatement, 36480SyntaxKind.TryBlock, 36481SyntaxKind.TryStatement, 36482SyntaxKind.CatchStatement, 36483SyntaxKind.FinallyStatement, 36484SyntaxKind.ErrorStatement, 36485SyntaxKind.OnErrorGoToZeroStatement, 36486SyntaxKind.OnErrorGoToMinusOneStatement, 36487SyntaxKind.OnErrorGoToLabelStatement, 36488SyntaxKind.OnErrorResumeNextStatement, 36489SyntaxKind.ResumeStatement, 36490SyntaxKind.ResumeLabelStatement, 36491SyntaxKind.ResumeNextStatement, 36492SyntaxKind.SelectBlock, 36493SyntaxKind.SelectStatement, 36494SyntaxKind.CaseStatement, 36495SyntaxKind.CaseElseStatement, 36496SyntaxKind.SyncLockStatement, 36497SyntaxKind.SimpleDoLoopBlock, 36498SyntaxKind.DoWhileLoopBlock, 36499SyntaxKind.DoUntilLoopBlock, 36500SyntaxKind.DoLoopWhileBlock, 36501SyntaxKind.DoLoopUntilBlock, 36502SyntaxKind.SimpleDoStatement, 36503SyntaxKind.DoWhileStatement, 36504SyntaxKind.DoUntilStatement, 36505SyntaxKind.SimpleLoopStatement, 36506SyntaxKind.LoopWhileStatement, 36507SyntaxKind.LoopUntilStatement, 36508SyntaxKind.WhileStatement, 36509SyntaxKind.ForBlock, 36510SyntaxKind.ForEachBlock, 36511SyntaxKind.ForStatement, 36512SyntaxKind.ForEachStatement, 36513SyntaxKind.NextStatement, 36514SyntaxKind.UsingStatement, 36515SyntaxKind.ThrowStatement, 36516SyntaxKind.SimpleAssignmentStatement, 36517SyntaxKind.MidAssignmentStatement, 36518SyntaxKind.AddAssignmentStatement, 36519SyntaxKind.SubtractAssignmentStatement, 36520SyntaxKind.MultiplyAssignmentStatement, 36521SyntaxKind.DivideAssignmentStatement, 36522SyntaxKind.IntegerDivideAssignmentStatement, 36523SyntaxKind.ExponentiateAssignmentStatement, 36524SyntaxKind.LeftShiftAssignmentStatement, 36525SyntaxKind.RightShiftAssignmentStatement, 36526SyntaxKind.ConcatenateAssignmentStatement, 36527SyntaxKind.CallStatement, 36528SyntaxKind.AddHandlerStatement, 36529SyntaxKind.RemoveHandlerStatement, 36530SyntaxKind.RaiseEventStatement, 36531SyntaxKind.WithStatement, 36532SyntaxKind.ReDimStatement, 36533SyntaxKind.ReDimPreserveStatement, 36534SyntaxKind.EraseStatement, 36535SyntaxKind.SubLambdaHeader, 36536SyntaxKind.FunctionLambdaHeader, 36537SyntaxKind.YieldStatement 36566Case SyntaxKind.SubLambdaHeader, 36567SyntaxKind.FunctionLambdaHeader 36575Case SyntaxKind.EndSubStatement, 36576SyntaxKind.EndFunctionStatement 36580Return New MultiLineLambdaExpressionSyntax(SyntaxKind.MultiLineFunctionLambdaExpression, Nothing, Nothing, subOrFunctionHeader, statements.Node, endSubOrFunctionStatement) 36621Case SyntaxKind.SubLambdaHeader, 36622SyntaxKind.FunctionLambdaHeader 36630Case SyntaxKind.EndSubStatement, 36631SyntaxKind.EndFunctionStatement 36635Return New MultiLineLambdaExpressionSyntax(SyntaxKind.MultiLineSubLambdaExpression, Nothing, Nothing, subOrFunctionHeader, statements.Node, endSubOrFunctionStatement) 36659''' A <see cref="SyntaxKind"/> representing the specific kind of 36676Public Shared Function MultiLineLambdaExpression(ByVal kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, statements As SyntaxList(of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As MultiLineLambdaExpressionSyntax 36684Case SyntaxKind.SubLambdaHeader, 36685SyntaxKind.FunctionLambdaHeader 36693Case SyntaxKind.EndSubStatement, 36694SyntaxKind.EndFunctionStatement 36706''' A <see cref="SyntaxKind"/> representing the specific kind of 36718Public Shared Function MultiLineLambdaExpression(ByVal kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, endSubOrFunctionStatement As EndBlockStatementSyntax) As MultiLineLambdaExpressionSyntax 36749Case SyntaxKind.SubKeyword : 36750Case SyntaxKind.FunctionKeyword 36754Return New LambdaHeaderSyntax(SyntaxKind.SubLambdaHeader, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), parameterList, asClause) 36780Return SyntaxFactory.SubLambdaHeader(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.SubKeyword), parameterList, asClause) 36788Return SyntaxFactory.SubLambdaHeader(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.SubKeyword), Nothing, Nothing) 36818Case SyntaxKind.FunctionKeyword 36822Return New LambdaHeaderSyntax(SyntaxKind.FunctionLambdaHeader, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), parameterList, asClause) 36848Return SyntaxFactory.FunctionLambdaHeader(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.FunctionKeyword), parameterList, asClause) 36856Return SyntaxFactory.FunctionLambdaHeader(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.FunctionKeyword), Nothing, Nothing) 36864''' A <see cref="SyntaxKind"/> representing the specific kind of 36888Public Shared Function LambdaHeader(ByVal kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, subOrFunctionKeyword As SyntaxToken, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As LambdaHeaderSyntax 36898Private Shared Function GetLambdaHeaderSubOrFunctionKeywordKind(kind As SyntaxKind) As SyntaxKind 36900Case SyntaxKind.SubLambdaHeader 36901Return SyntaxKind.SubKeyword 36902Case SyntaxKind.FunctionLambdaHeader 36903Return SyntaxKind.FunctionKeyword 36913''' A <see cref="SyntaxKind"/> representing the specific kind of 36919Public Shared Function LambdaHeader(ByVal kind As SyntaxKind, subOrFunctionKeyword As SyntaxToken) As LambdaHeaderSyntax 36939Case SyntaxKind.OpenParenToken 36944Case SyntaxKind.CloseParenToken 36948Return New ArgumentListSyntax(SyntaxKind.ArgumentList, Nothing, Nothing, DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), arguments.Node, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 36960Return SyntaxFactory.ArgumentList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), arguments, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 36968Return SyntaxFactory.ArgumentList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), Nothing, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 36981Case SyntaxKind.EmptyToken 36985Return New OmittedArgumentSyntax(SyntaxKind.OmittedArgument, Nothing, Nothing, DirectCast(empty.Node, InternalSyntax.PunctuationSyntax)) 36994Return SyntaxFactory.OmittedArgument(SyntaxFactory.Token(SyntaxKind.EmptyToken)) 37013Case SyntaxKind.KeywordEventContainer, 37014SyntaxKind.WithEventsEventContainer, 37015SyntaxKind.WithEventsPropertyEventContainer, 37016SyntaxKind.IdentifierLabel, 37017SyntaxKind.NumericLabel, 37018SyntaxKind.NextLabel, 37019SyntaxKind.MidExpression, 37020SyntaxKind.CharacterLiteralExpression, 37021SyntaxKind.TrueLiteralExpression, 37022SyntaxKind.FalseLiteralExpression, 37023SyntaxKind.NumericLiteralExpression, 37024SyntaxKind.DateLiteralExpression, 37025SyntaxKind.StringLiteralExpression, 37026SyntaxKind.NothingLiteralExpression, 37027SyntaxKind.ParenthesizedExpression, 37028SyntaxKind.TupleExpression, 37029SyntaxKind.TupleType, 37030SyntaxKind.MeExpression, 37031SyntaxKind.MyBaseExpression, 37032SyntaxKind.MyClassExpression, 37033SyntaxKind.GetTypeExpression, 37034SyntaxKind.TypeOfIsExpression, 37035SyntaxKind.TypeOfIsNotExpression, 37036SyntaxKind.GetXmlNamespaceExpression, 37037SyntaxKind.SimpleMemberAccessExpression, 37038SyntaxKind.DictionaryAccessExpression, 37039SyntaxKind.XmlElementAccessExpression, 37040SyntaxKind.XmlDescendantAccessExpression, 37041SyntaxKind.XmlAttributeAccessExpression, 37042SyntaxKind.InvocationExpression, 37043SyntaxKind.ObjectCreationExpression, 37044SyntaxKind.AnonymousObjectCreationExpression, 37045SyntaxKind.ArrayCreationExpression, 37046SyntaxKind.CollectionInitializer, 37047SyntaxKind.CTypeExpression, 37048SyntaxKind.DirectCastExpression, 37049SyntaxKind.TryCastExpression, 37050SyntaxKind.PredefinedCastExpression, 37051SyntaxKind.AddExpression, 37052SyntaxKind.SubtractExpression, 37053SyntaxKind.MultiplyExpression, 37054SyntaxKind.DivideExpression, 37055SyntaxKind.IntegerDivideExpression, 37056SyntaxKind.ExponentiateExpression, 37057SyntaxKind.LeftShiftExpression, 37058SyntaxKind.RightShiftExpression, 37059SyntaxKind.ConcatenateExpression, 37060SyntaxKind.ModuloExpression, 37061SyntaxKind.EqualsExpression, 37062SyntaxKind.NotEqualsExpression, 37063SyntaxKind.LessThanExpression, 37064SyntaxKind.LessThanOrEqualExpression, 37065SyntaxKind.GreaterThanOrEqualExpression, 37066SyntaxKind.GreaterThanExpression, 37067SyntaxKind.IsExpression, 37068SyntaxKind.IsNotExpression, 37069SyntaxKind.LikeExpression, 37070SyntaxKind.OrExpression, 37071SyntaxKind.ExclusiveOrExpression, 37072SyntaxKind.AndExpression, 37073SyntaxKind.OrElseExpression, 37074SyntaxKind.AndAlsoExpression, 37075SyntaxKind.UnaryPlusExpression, 37076SyntaxKind.UnaryMinusExpression, 37077SyntaxKind.NotExpression, 37078SyntaxKind.AddressOfExpression, 37079SyntaxKind.BinaryConditionalExpression, 37080SyntaxKind.TernaryConditionalExpression, 37081SyntaxKind.SingleLineFunctionLambdaExpression, 37082SyntaxKind.SingleLineSubLambdaExpression, 37083SyntaxKind.MultiLineFunctionLambdaExpression, 37084SyntaxKind.MultiLineSubLambdaExpression, 37085SyntaxKind.QueryExpression, 37086SyntaxKind.FunctionAggregation, 37087SyntaxKind.GroupAggregation, 37088SyntaxKind.XmlDocument, 37089SyntaxKind.XmlElement, 37090SyntaxKind.XmlText, 37091SyntaxKind.XmlElementStartTag, 37092SyntaxKind.XmlElementEndTag, 37093SyntaxKind.XmlEmptyElement, 37094SyntaxKind.XmlAttribute, 37095SyntaxKind.XmlString, 37096SyntaxKind.XmlPrefixName, 37097SyntaxKind.XmlName, 37098SyntaxKind.XmlBracketedName, 37099SyntaxKind.XmlComment, 37100SyntaxKind.XmlProcessingInstruction, 37101SyntaxKind.XmlCDataSection, 37102SyntaxKind.XmlEmbeddedExpression, 37103SyntaxKind.ArrayType, 37104SyntaxKind.NullableType, 37105SyntaxKind.PredefinedType, 37106SyntaxKind.IdentifierName, 37107SyntaxKind.GenericName, 37108SyntaxKind.QualifiedName, 37109SyntaxKind.GlobalName, 37110SyntaxKind.CrefOperatorReference, 37111SyntaxKind.QualifiedCrefOperatorReference, 37112SyntaxKind.AwaitExpression, 37113SyntaxKind.XmlCrefAttribute, 37114SyntaxKind.XmlNameAttribute, 37115SyntaxKind.ConditionalAccessExpression, 37116SyntaxKind.NameOfExpression, 37117SyntaxKind.InterpolatedStringExpression 37121Return New SimpleArgumentSyntax(SyntaxKind.SimpleArgument, Nothing, Nothing, nameColonEquals, expression) 37151Case SyntaxKind.IdentifierName 37156Case SyntaxKind.ColonEqualsToken 37160Return New NameColonEqualsSyntax(SyntaxKind.NameColonEquals, Nothing, Nothing, name, DirectCast(colonEqualsToken.Node, InternalSyntax.PunctuationSyntax)) 37171Return SyntaxFactory.NameColonEquals(name, SyntaxFactory.Token(SyntaxKind.ColonEqualsToken)) 37193Case SyntaxKind.KeywordEventContainer, 37194SyntaxKind.WithEventsEventContainer, 37195SyntaxKind.WithEventsPropertyEventContainer, 37196SyntaxKind.IdentifierLabel, 37197SyntaxKind.NumericLabel, 37198SyntaxKind.NextLabel, 37199SyntaxKind.MidExpression, 37200SyntaxKind.CharacterLiteralExpression, 37201SyntaxKind.TrueLiteralExpression, 37202SyntaxKind.FalseLiteralExpression, 37203SyntaxKind.NumericLiteralExpression, 37204SyntaxKind.DateLiteralExpression, 37205SyntaxKind.StringLiteralExpression, 37206SyntaxKind.NothingLiteralExpression, 37207SyntaxKind.ParenthesizedExpression, 37208SyntaxKind.TupleExpression, 37209SyntaxKind.TupleType, 37210SyntaxKind.MeExpression, 37211SyntaxKind.MyBaseExpression, 37212SyntaxKind.MyClassExpression, 37213SyntaxKind.GetTypeExpression, 37214SyntaxKind.TypeOfIsExpression, 37215SyntaxKind.TypeOfIsNotExpression, 37216SyntaxKind.GetXmlNamespaceExpression, 37217SyntaxKind.SimpleMemberAccessExpression, 37218SyntaxKind.DictionaryAccessExpression, 37219SyntaxKind.XmlElementAccessExpression, 37220SyntaxKind.XmlDescendantAccessExpression, 37221SyntaxKind.XmlAttributeAccessExpression, 37222SyntaxKind.InvocationExpression, 37223SyntaxKind.ObjectCreationExpression, 37224SyntaxKind.AnonymousObjectCreationExpression, 37225SyntaxKind.ArrayCreationExpression, 37226SyntaxKind.CollectionInitializer, 37227SyntaxKind.CTypeExpression, 37228SyntaxKind.DirectCastExpression, 37229SyntaxKind.TryCastExpression, 37230SyntaxKind.PredefinedCastExpression, 37231SyntaxKind.AddExpression, 37232SyntaxKind.SubtractExpression, 37233SyntaxKind.MultiplyExpression, 37234SyntaxKind.DivideExpression, 37235SyntaxKind.IntegerDivideExpression, 37236SyntaxKind.ExponentiateExpression, 37237SyntaxKind.LeftShiftExpression, 37238SyntaxKind.RightShiftExpression, 37239SyntaxKind.ConcatenateExpression, 37240SyntaxKind.ModuloExpression, 37241SyntaxKind.EqualsExpression, 37242SyntaxKind.NotEqualsExpression, 37243SyntaxKind.LessThanExpression, 37244SyntaxKind.LessThanOrEqualExpression, 37245SyntaxKind.GreaterThanOrEqualExpression, 37246SyntaxKind.GreaterThanExpression, 37247SyntaxKind.IsExpression, 37248SyntaxKind.IsNotExpression, 37249SyntaxKind.LikeExpression, 37250SyntaxKind.OrExpression, 37251SyntaxKind.ExclusiveOrExpression, 37252SyntaxKind.AndExpression, 37253SyntaxKind.OrElseExpression, 37254SyntaxKind.AndAlsoExpression, 37255SyntaxKind.UnaryPlusExpression, 37256SyntaxKind.UnaryMinusExpression, 37257SyntaxKind.NotExpression, 37258SyntaxKind.AddressOfExpression, 37259SyntaxKind.BinaryConditionalExpression, 37260SyntaxKind.TernaryConditionalExpression, 37261SyntaxKind.SingleLineFunctionLambdaExpression, 37262SyntaxKind.SingleLineSubLambdaExpression, 37263SyntaxKind.MultiLineFunctionLambdaExpression, 37264SyntaxKind.MultiLineSubLambdaExpression, 37265SyntaxKind.QueryExpression, 37266SyntaxKind.FunctionAggregation, 37267SyntaxKind.GroupAggregation, 37268SyntaxKind.XmlDocument, 37269SyntaxKind.XmlElement, 37270SyntaxKind.XmlText, 37271SyntaxKind.XmlElementStartTag, 37272SyntaxKind.XmlElementEndTag, 37273SyntaxKind.XmlEmptyElement, 37274SyntaxKind.XmlAttribute, 37275SyntaxKind.XmlString, 37276SyntaxKind.XmlPrefixName, 37277SyntaxKind.XmlName, 37278SyntaxKind.XmlBracketedName, 37279SyntaxKind.XmlComment, 37280SyntaxKind.XmlProcessingInstruction, 37281SyntaxKind.XmlCDataSection, 37282SyntaxKind.XmlEmbeddedExpression, 37283SyntaxKind.ArrayType, 37284SyntaxKind.NullableType, 37285SyntaxKind.PredefinedType, 37286SyntaxKind.IdentifierName, 37287SyntaxKind.GenericName, 37288SyntaxKind.QualifiedName, 37289SyntaxKind.GlobalName, 37290SyntaxKind.CrefOperatorReference, 37291SyntaxKind.QualifiedCrefOperatorReference, 37292SyntaxKind.AwaitExpression, 37293SyntaxKind.XmlCrefAttribute, 37294SyntaxKind.XmlNameAttribute, 37295SyntaxKind.ConditionalAccessExpression, 37296SyntaxKind.NameOfExpression, 37297SyntaxKind.InterpolatedStringExpression 37302Case SyntaxKind.ToKeyword 37310Case SyntaxKind.KeywordEventContainer, 37311SyntaxKind.WithEventsEventContainer, 37312SyntaxKind.WithEventsPropertyEventContainer, 37313SyntaxKind.IdentifierLabel, 37314SyntaxKind.NumericLabel, 37315SyntaxKind.NextLabel, 37316SyntaxKind.MidExpression, 37317SyntaxKind.CharacterLiteralExpression, 37318SyntaxKind.TrueLiteralExpression, 37319SyntaxKind.FalseLiteralExpression, 37320SyntaxKind.NumericLiteralExpression, 37321SyntaxKind.DateLiteralExpression, 37322SyntaxKind.StringLiteralExpression, 37323SyntaxKind.NothingLiteralExpression, 37324SyntaxKind.ParenthesizedExpression, 37325SyntaxKind.TupleExpression, 37326SyntaxKind.TupleType, 37327SyntaxKind.MeExpression, 37328SyntaxKind.MyBaseExpression, 37329SyntaxKind.MyClassExpression, 37330SyntaxKind.GetTypeExpression, 37331SyntaxKind.TypeOfIsExpression, 37332SyntaxKind.TypeOfIsNotExpression, 37333SyntaxKind.GetXmlNamespaceExpression, 37334SyntaxKind.SimpleMemberAccessExpression, 37335SyntaxKind.DictionaryAccessExpression, 37336SyntaxKind.XmlElementAccessExpression, 37337SyntaxKind.XmlDescendantAccessExpression, 37338SyntaxKind.XmlAttributeAccessExpression, 37339SyntaxKind.InvocationExpression, 37340SyntaxKind.ObjectCreationExpression, 37341SyntaxKind.AnonymousObjectCreationExpression, 37342SyntaxKind.ArrayCreationExpression, 37343SyntaxKind.CollectionInitializer, 37344SyntaxKind.CTypeExpression, 37345SyntaxKind.DirectCastExpression, 37346SyntaxKind.TryCastExpression, 37347SyntaxKind.PredefinedCastExpression, 37348SyntaxKind.AddExpression, 37349SyntaxKind.SubtractExpression, 37350SyntaxKind.MultiplyExpression, 37351SyntaxKind.DivideExpression, 37352SyntaxKind.IntegerDivideExpression, 37353SyntaxKind.ExponentiateExpression, 37354SyntaxKind.LeftShiftExpression, 37355SyntaxKind.RightShiftExpression, 37356SyntaxKind.ConcatenateExpression, 37357SyntaxKind.ModuloExpression, 37358SyntaxKind.EqualsExpression, 37359SyntaxKind.NotEqualsExpression, 37360SyntaxKind.LessThanExpression, 37361SyntaxKind.LessThanOrEqualExpression, 37362SyntaxKind.GreaterThanOrEqualExpression, 37363SyntaxKind.GreaterThanExpression, 37364SyntaxKind.IsExpression, 37365SyntaxKind.IsNotExpression, 37366SyntaxKind.LikeExpression, 37367SyntaxKind.OrExpression, 37368SyntaxKind.ExclusiveOrExpression, 37369SyntaxKind.AndExpression, 37370SyntaxKind.OrElseExpression, 37371SyntaxKind.AndAlsoExpression, 37372SyntaxKind.UnaryPlusExpression, 37373SyntaxKind.UnaryMinusExpression, 37374SyntaxKind.NotExpression, 37375SyntaxKind.AddressOfExpression, 37376SyntaxKind.BinaryConditionalExpression, 37377SyntaxKind.TernaryConditionalExpression, 37378SyntaxKind.SingleLineFunctionLambdaExpression, 37379SyntaxKind.SingleLineSubLambdaExpression, 37380SyntaxKind.MultiLineFunctionLambdaExpression, 37381SyntaxKind.MultiLineSubLambdaExpression, 37382SyntaxKind.QueryExpression, 37383SyntaxKind.FunctionAggregation, 37384SyntaxKind.GroupAggregation, 37385SyntaxKind.XmlDocument, 37386SyntaxKind.XmlElement, 37387SyntaxKind.XmlText, 37388SyntaxKind.XmlElementStartTag, 37389SyntaxKind.XmlElementEndTag, 37390SyntaxKind.XmlEmptyElement, 37391SyntaxKind.XmlAttribute, 37392SyntaxKind.XmlString, 37393SyntaxKind.XmlPrefixName, 37394SyntaxKind.XmlName, 37395SyntaxKind.XmlBracketedName, 37396SyntaxKind.XmlComment, 37397SyntaxKind.XmlProcessingInstruction, 37398SyntaxKind.XmlCDataSection, 37399SyntaxKind.XmlEmbeddedExpression, 37400SyntaxKind.ArrayType, 37401SyntaxKind.NullableType, 37402SyntaxKind.PredefinedType, 37403SyntaxKind.IdentifierName, 37404SyntaxKind.GenericName, 37405SyntaxKind.QualifiedName, 37406SyntaxKind.GlobalName, 37407SyntaxKind.CrefOperatorReference, 37408SyntaxKind.QualifiedCrefOperatorReference, 37409SyntaxKind.AwaitExpression, 37410SyntaxKind.XmlCrefAttribute, 37411SyntaxKind.XmlNameAttribute, 37412SyntaxKind.ConditionalAccessExpression, 37413SyntaxKind.NameOfExpression, 37414SyntaxKind.InterpolatedStringExpression 37418Return New RangeArgumentSyntax(SyntaxKind.RangeArgument, Nothing, Nothing, lowerBound, DirectCast(toKeyword.Node, InternalSyntax.KeywordSyntax), upperBound) 37433Return SyntaxFactory.RangeArgument(lowerBound, SyntaxFactory.Token(SyntaxKind.ToKeyword), upperBound) 37447Return New QueryExpressionSyntax(SyntaxKind.QueryExpression, Nothing, Nothing, clauses.Node) 37486Case SyntaxKind.ModifiedIdentifier 37491Case SyntaxKind.InKeyword 37499Case SyntaxKind.KeywordEventContainer, 37500SyntaxKind.WithEventsEventContainer, 37501SyntaxKind.WithEventsPropertyEventContainer, 37502SyntaxKind.IdentifierLabel, 37503SyntaxKind.NumericLabel, 37504SyntaxKind.NextLabel, 37505SyntaxKind.MidExpression, 37506SyntaxKind.CharacterLiteralExpression, 37507SyntaxKind.TrueLiteralExpression, 37508SyntaxKind.FalseLiteralExpression, 37509SyntaxKind.NumericLiteralExpression, 37510SyntaxKind.DateLiteralExpression, 37511SyntaxKind.StringLiteralExpression, 37512SyntaxKind.NothingLiteralExpression, 37513SyntaxKind.ParenthesizedExpression, 37514SyntaxKind.TupleExpression, 37515SyntaxKind.TupleType, 37516SyntaxKind.MeExpression, 37517SyntaxKind.MyBaseExpression, 37518SyntaxKind.MyClassExpression, 37519SyntaxKind.GetTypeExpression, 37520SyntaxKind.TypeOfIsExpression, 37521SyntaxKind.TypeOfIsNotExpression, 37522SyntaxKind.GetXmlNamespaceExpression, 37523SyntaxKind.SimpleMemberAccessExpression, 37524SyntaxKind.DictionaryAccessExpression, 37525SyntaxKind.XmlElementAccessExpression, 37526SyntaxKind.XmlDescendantAccessExpression, 37527SyntaxKind.XmlAttributeAccessExpression, 37528SyntaxKind.InvocationExpression, 37529SyntaxKind.ObjectCreationExpression, 37530SyntaxKind.AnonymousObjectCreationExpression, 37531SyntaxKind.ArrayCreationExpression, 37532SyntaxKind.CollectionInitializer, 37533SyntaxKind.CTypeExpression, 37534SyntaxKind.DirectCastExpression, 37535SyntaxKind.TryCastExpression, 37536SyntaxKind.PredefinedCastExpression, 37537SyntaxKind.AddExpression, 37538SyntaxKind.SubtractExpression, 37539SyntaxKind.MultiplyExpression, 37540SyntaxKind.DivideExpression, 37541SyntaxKind.IntegerDivideExpression, 37542SyntaxKind.ExponentiateExpression, 37543SyntaxKind.LeftShiftExpression, 37544SyntaxKind.RightShiftExpression, 37545SyntaxKind.ConcatenateExpression, 37546SyntaxKind.ModuloExpression, 37547SyntaxKind.EqualsExpression, 37548SyntaxKind.NotEqualsExpression, 37549SyntaxKind.LessThanExpression, 37550SyntaxKind.LessThanOrEqualExpression, 37551SyntaxKind.GreaterThanOrEqualExpression, 37552SyntaxKind.GreaterThanExpression, 37553SyntaxKind.IsExpression, 37554SyntaxKind.IsNotExpression, 37555SyntaxKind.LikeExpression, 37556SyntaxKind.OrExpression, 37557SyntaxKind.ExclusiveOrExpression, 37558SyntaxKind.AndExpression, 37559SyntaxKind.OrElseExpression, 37560SyntaxKind.AndAlsoExpression, 37561SyntaxKind.UnaryPlusExpression, 37562SyntaxKind.UnaryMinusExpression, 37563SyntaxKind.NotExpression, 37564SyntaxKind.AddressOfExpression, 37565SyntaxKind.BinaryConditionalExpression, 37566SyntaxKind.TernaryConditionalExpression, 37567SyntaxKind.SingleLineFunctionLambdaExpression, 37568SyntaxKind.SingleLineSubLambdaExpression, 37569SyntaxKind.MultiLineFunctionLambdaExpression, 37570SyntaxKind.MultiLineSubLambdaExpression, 37571SyntaxKind.QueryExpression, 37572SyntaxKind.FunctionAggregation, 37573SyntaxKind.GroupAggregation, 37574SyntaxKind.XmlDocument, 37575SyntaxKind.XmlElement, 37576SyntaxKind.XmlText, 37577SyntaxKind.XmlElementStartTag, 37578SyntaxKind.XmlElementEndTag, 37579SyntaxKind.XmlEmptyElement, 37580SyntaxKind.XmlAttribute, 37581SyntaxKind.XmlString, 37582SyntaxKind.XmlPrefixName, 37583SyntaxKind.XmlName, 37584SyntaxKind.XmlBracketedName, 37585SyntaxKind.XmlComment, 37586SyntaxKind.XmlProcessingInstruction, 37587SyntaxKind.XmlCDataSection, 37588SyntaxKind.XmlEmbeddedExpression, 37589SyntaxKind.ArrayType, 37590SyntaxKind.NullableType, 37591SyntaxKind.PredefinedType, 37592SyntaxKind.IdentifierName, 37593SyntaxKind.GenericName, 37594SyntaxKind.QualifiedName, 37595SyntaxKind.GlobalName, 37596SyntaxKind.CrefOperatorReference, 37597SyntaxKind.QualifiedCrefOperatorReference, 37598SyntaxKind.AwaitExpression, 37599SyntaxKind.XmlCrefAttribute, 37600SyntaxKind.XmlNameAttribute, 37601SyntaxKind.ConditionalAccessExpression, 37602SyntaxKind.NameOfExpression, 37603SyntaxKind.InterpolatedStringExpression 37607Return New CollectionRangeVariableSyntax(SyntaxKind.CollectionRangeVariable, Nothing, Nothing, identifier, asClause, DirectCast(inKeyword.Node, InternalSyntax.KeywordSyntax), expression) 37625Return SyntaxFactory.CollectionRangeVariable(identifier, asClause, SyntaxFactory.Token(SyntaxKind.InKeyword), expression) 37640Return SyntaxFactory.CollectionRangeVariable(identifier, Nothing, SyntaxFactory.Token(SyntaxKind.InKeyword), expression) 37660Case SyntaxKind.KeywordEventContainer, 37661SyntaxKind.WithEventsEventContainer, 37662SyntaxKind.WithEventsPropertyEventContainer, 37663SyntaxKind.IdentifierLabel, 37664SyntaxKind.NumericLabel, 37665SyntaxKind.NextLabel, 37666SyntaxKind.MidExpression, 37667SyntaxKind.CharacterLiteralExpression, 37668SyntaxKind.TrueLiteralExpression, 37669SyntaxKind.FalseLiteralExpression, 37670SyntaxKind.NumericLiteralExpression, 37671SyntaxKind.DateLiteralExpression, 37672SyntaxKind.StringLiteralExpression, 37673SyntaxKind.NothingLiteralExpression, 37674SyntaxKind.ParenthesizedExpression, 37675SyntaxKind.TupleExpression, 37676SyntaxKind.TupleType, 37677SyntaxKind.MeExpression, 37678SyntaxKind.MyBaseExpression, 37679SyntaxKind.MyClassExpression, 37680SyntaxKind.GetTypeExpression, 37681SyntaxKind.TypeOfIsExpression, 37682SyntaxKind.TypeOfIsNotExpression, 37683SyntaxKind.GetXmlNamespaceExpression, 37684SyntaxKind.SimpleMemberAccessExpression, 37685SyntaxKind.DictionaryAccessExpression, 37686SyntaxKind.XmlElementAccessExpression, 37687SyntaxKind.XmlDescendantAccessExpression, 37688SyntaxKind.XmlAttributeAccessExpression, 37689SyntaxKind.InvocationExpression, 37690SyntaxKind.ObjectCreationExpression, 37691SyntaxKind.AnonymousObjectCreationExpression, 37692SyntaxKind.ArrayCreationExpression, 37693SyntaxKind.CollectionInitializer, 37694SyntaxKind.CTypeExpression, 37695SyntaxKind.DirectCastExpression, 37696SyntaxKind.TryCastExpression, 37697SyntaxKind.PredefinedCastExpression, 37698SyntaxKind.AddExpression, 37699SyntaxKind.SubtractExpression, 37700SyntaxKind.MultiplyExpression, 37701SyntaxKind.DivideExpression, 37702SyntaxKind.IntegerDivideExpression, 37703SyntaxKind.ExponentiateExpression, 37704SyntaxKind.LeftShiftExpression, 37705SyntaxKind.RightShiftExpression, 37706SyntaxKind.ConcatenateExpression, 37707SyntaxKind.ModuloExpression, 37708SyntaxKind.EqualsExpression, 37709SyntaxKind.NotEqualsExpression, 37710SyntaxKind.LessThanExpression, 37711SyntaxKind.LessThanOrEqualExpression, 37712SyntaxKind.GreaterThanOrEqualExpression, 37713SyntaxKind.GreaterThanExpression, 37714SyntaxKind.IsExpression, 37715SyntaxKind.IsNotExpression, 37716SyntaxKind.LikeExpression, 37717SyntaxKind.OrExpression, 37718SyntaxKind.ExclusiveOrExpression, 37719SyntaxKind.AndExpression, 37720SyntaxKind.OrElseExpression, 37721SyntaxKind.AndAlsoExpression, 37722SyntaxKind.UnaryPlusExpression, 37723SyntaxKind.UnaryMinusExpression, 37724SyntaxKind.NotExpression, 37725SyntaxKind.AddressOfExpression, 37726SyntaxKind.BinaryConditionalExpression, 37727SyntaxKind.TernaryConditionalExpression, 37728SyntaxKind.SingleLineFunctionLambdaExpression, 37729SyntaxKind.SingleLineSubLambdaExpression, 37730SyntaxKind.MultiLineFunctionLambdaExpression, 37731SyntaxKind.MultiLineSubLambdaExpression, 37732SyntaxKind.QueryExpression, 37733SyntaxKind.FunctionAggregation, 37734SyntaxKind.GroupAggregation, 37735SyntaxKind.XmlDocument, 37736SyntaxKind.XmlElement, 37737SyntaxKind.XmlText, 37738SyntaxKind.XmlElementStartTag, 37739SyntaxKind.XmlElementEndTag, 37740SyntaxKind.XmlEmptyElement, 37741SyntaxKind.XmlAttribute, 37742SyntaxKind.XmlString, 37743SyntaxKind.XmlPrefixName, 37744SyntaxKind.XmlName, 37745SyntaxKind.XmlBracketedName, 37746SyntaxKind.XmlComment, 37747SyntaxKind.XmlProcessingInstruction, 37748SyntaxKind.XmlCDataSection, 37749SyntaxKind.XmlEmbeddedExpression, 37750SyntaxKind.ArrayType, 37751SyntaxKind.NullableType, 37752SyntaxKind.PredefinedType, 37753SyntaxKind.IdentifierName, 37754SyntaxKind.GenericName, 37755SyntaxKind.QualifiedName, 37756SyntaxKind.GlobalName, 37757SyntaxKind.CrefOperatorReference, 37758SyntaxKind.QualifiedCrefOperatorReference, 37759SyntaxKind.AwaitExpression, 37760SyntaxKind.XmlCrefAttribute, 37761SyntaxKind.XmlNameAttribute, 37762SyntaxKind.ConditionalAccessExpression, 37763SyntaxKind.NameOfExpression, 37764SyntaxKind.InterpolatedStringExpression 37768Return New ExpressionRangeVariableSyntax(SyntaxKind.ExpressionRangeVariable, Nothing, Nothing, nameEquals, expression) 37803Case SyntaxKind.FunctionAggregation, 37804SyntaxKind.GroupAggregation 37808Return New AggregationRangeVariableSyntax(SyntaxKind.AggregationRangeVariable, Nothing, Nothing, nameEquals, aggregation) 37843Case SyntaxKind.ModifiedIdentifier 37848Case SyntaxKind.EqualsToken 37852Return New VariableNameEqualsSyntax(SyntaxKind.VariableNameEquals, Nothing, Nothing, identifier, asClause, DirectCast(equalsToken.Node, InternalSyntax.PunctuationSyntax)) 37866Return SyntaxFactory.VariableNameEquals(identifier, asClause, SyntaxFactory.Token(SyntaxKind.EqualsToken)) 37877Return SyntaxFactory.VariableNameEquals(identifier, Nothing, SyntaxFactory.Token(SyntaxKind.EqualsToken)) 37899Case SyntaxKind.IdentifierToken 37903Return New FunctionAggregationSyntax(SyntaxKind.FunctionAggregation, Nothing, Nothing, DirectCast(functionName.Node, InternalSyntax.IdentifierTokenSyntax), DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), argument, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 37956Case SyntaxKind.GroupKeyword 37960Return New GroupAggregationSyntax(SyntaxKind.GroupAggregation, Nothing, Nothing, DirectCast(groupKeyword.Node, InternalSyntax.KeywordSyntax)) 37970Return SyntaxFactory.GroupAggregation(SyntaxFactory.Token(SyntaxKind.GroupKeyword)) 37987Case SyntaxKind.FromKeyword 37991Return New FromClauseSyntax(SyntaxKind.FromClause, Nothing, Nothing, DirectCast(fromKeyword.Node, InternalSyntax.KeywordSyntax), variables.Node) 38004Return SyntaxFactory.FromClause(SyntaxFactory.Token(SyntaxKind.FromKeyword), variables) 38017Return SyntaxFactory.FromClause(SyntaxFactory.Token(SyntaxKind.FromKeyword), SyntaxFactory.SeparatedList(Of CollectionRangeVariableSyntax)().AddRange(variables)) 38032Case SyntaxKind.LetKeyword 38036Return New LetClauseSyntax(SyntaxKind.LetClause, Nothing, Nothing, DirectCast(letKeyword.Node, InternalSyntax.KeywordSyntax), variables.Node) 38047Return SyntaxFactory.LetClause(SyntaxFactory.Token(SyntaxKind.LetKeyword), variables) 38058Return SyntaxFactory.LetClause(SyntaxFactory.Token(SyntaxKind.LetKeyword), SyntaxFactory.SeparatedList(Of ExpressionRangeVariableSyntax)().AddRange(variables)) 38082Case SyntaxKind.AggregateKeyword 38087Case SyntaxKind.IntoKeyword 38091Return New AggregateClauseSyntax(SyntaxKind.AggregateClause, Nothing, Nothing, DirectCast(aggregateKeyword.Node, InternalSyntax.KeywordSyntax), variables.Node, additionalQueryOperators.Node, DirectCast(intoKeyword.Node, InternalSyntax.KeywordSyntax), aggregationVariables.Node) 38108Return SyntaxFactory.AggregateClause(SyntaxFactory.Token(SyntaxKind.AggregateKeyword), variables, additionalQueryOperators, SyntaxFactory.Token(SyntaxKind.IntoKeyword), aggregationVariables) 38122Return SyntaxFactory.AggregateClause(SyntaxFactory.Token(SyntaxKind.AggregateKeyword), variables, Nothing, SyntaxFactory.Token(SyntaxKind.IntoKeyword), aggregationVariables) 38134Case SyntaxKind.DistinctKeyword 38138Return New DistinctClauseSyntax(SyntaxKind.DistinctClause, Nothing, Nothing, DirectCast(distinctKeyword.Node, InternalSyntax.KeywordSyntax)) 38146Return SyntaxFactory.DistinctClause(SyntaxFactory.Token(SyntaxKind.DistinctKeyword)) 38161Case SyntaxKind.WhereKeyword 38169Case SyntaxKind.KeywordEventContainer, 38170SyntaxKind.WithEventsEventContainer, 38171SyntaxKind.WithEventsPropertyEventContainer, 38172SyntaxKind.IdentifierLabel, 38173SyntaxKind.NumericLabel, 38174SyntaxKind.NextLabel, 38175SyntaxKind.MidExpression, 38176SyntaxKind.CharacterLiteralExpression, 38177SyntaxKind.TrueLiteralExpression, 38178SyntaxKind.FalseLiteralExpression, 38179SyntaxKind.NumericLiteralExpression, 38180SyntaxKind.DateLiteralExpression, 38181SyntaxKind.StringLiteralExpression, 38182SyntaxKind.NothingLiteralExpression, 38183SyntaxKind.ParenthesizedExpression, 38184SyntaxKind.TupleExpression, 38185SyntaxKind.TupleType, 38186SyntaxKind.MeExpression, 38187SyntaxKind.MyBaseExpression, 38188SyntaxKind.MyClassExpression, 38189SyntaxKind.GetTypeExpression, 38190SyntaxKind.TypeOfIsExpression, 38191SyntaxKind.TypeOfIsNotExpression, 38192SyntaxKind.GetXmlNamespaceExpression, 38193SyntaxKind.SimpleMemberAccessExpression, 38194SyntaxKind.DictionaryAccessExpression, 38195SyntaxKind.XmlElementAccessExpression, 38196SyntaxKind.XmlDescendantAccessExpression, 38197SyntaxKind.XmlAttributeAccessExpression, 38198SyntaxKind.InvocationExpression, 38199SyntaxKind.ObjectCreationExpression, 38200SyntaxKind.AnonymousObjectCreationExpression, 38201SyntaxKind.ArrayCreationExpression, 38202SyntaxKind.CollectionInitializer, 38203SyntaxKind.CTypeExpression, 38204SyntaxKind.DirectCastExpression, 38205SyntaxKind.TryCastExpression, 38206SyntaxKind.PredefinedCastExpression, 38207SyntaxKind.AddExpression, 38208SyntaxKind.SubtractExpression, 38209SyntaxKind.MultiplyExpression, 38210SyntaxKind.DivideExpression, 38211SyntaxKind.IntegerDivideExpression, 38212SyntaxKind.ExponentiateExpression, 38213SyntaxKind.LeftShiftExpression, 38214SyntaxKind.RightShiftExpression, 38215SyntaxKind.ConcatenateExpression, 38216SyntaxKind.ModuloExpression, 38217SyntaxKind.EqualsExpression, 38218SyntaxKind.NotEqualsExpression, 38219SyntaxKind.LessThanExpression, 38220SyntaxKind.LessThanOrEqualExpression, 38221SyntaxKind.GreaterThanOrEqualExpression, 38222SyntaxKind.GreaterThanExpression, 38223SyntaxKind.IsExpression, 38224SyntaxKind.IsNotExpression, 38225SyntaxKind.LikeExpression, 38226SyntaxKind.OrExpression, 38227SyntaxKind.ExclusiveOrExpression, 38228SyntaxKind.AndExpression, 38229SyntaxKind.OrElseExpression, 38230SyntaxKind.AndAlsoExpression, 38231SyntaxKind.UnaryPlusExpression, 38232SyntaxKind.UnaryMinusExpression, 38233SyntaxKind.NotExpression, 38234SyntaxKind.AddressOfExpression, 38235SyntaxKind.BinaryConditionalExpression, 38236SyntaxKind.TernaryConditionalExpression, 38237SyntaxKind.SingleLineFunctionLambdaExpression, 38238SyntaxKind.SingleLineSubLambdaExpression, 38239SyntaxKind.MultiLineFunctionLambdaExpression, 38240SyntaxKind.MultiLineSubLambdaExpression, 38241SyntaxKind.QueryExpression, 38242SyntaxKind.FunctionAggregation, 38243SyntaxKind.GroupAggregation, 38244SyntaxKind.XmlDocument, 38245SyntaxKind.XmlElement, 38246SyntaxKind.XmlText, 38247SyntaxKind.XmlElementStartTag, 38248SyntaxKind.XmlElementEndTag, 38249SyntaxKind.XmlEmptyElement, 38250SyntaxKind.XmlAttribute, 38251SyntaxKind.XmlString, 38252SyntaxKind.XmlPrefixName, 38253SyntaxKind.XmlName, 38254SyntaxKind.XmlBracketedName, 38255SyntaxKind.XmlComment, 38256SyntaxKind.XmlProcessingInstruction, 38257SyntaxKind.XmlCDataSection, 38258SyntaxKind.XmlEmbeddedExpression, 38259SyntaxKind.ArrayType, 38260SyntaxKind.NullableType, 38261SyntaxKind.PredefinedType, 38262SyntaxKind.IdentifierName, 38263SyntaxKind.GenericName, 38264SyntaxKind.QualifiedName, 38265SyntaxKind.GlobalName, 38266SyntaxKind.CrefOperatorReference, 38267SyntaxKind.QualifiedCrefOperatorReference, 38268SyntaxKind.AwaitExpression, 38269SyntaxKind.XmlCrefAttribute, 38270SyntaxKind.XmlNameAttribute, 38271SyntaxKind.ConditionalAccessExpression, 38272SyntaxKind.NameOfExpression, 38273SyntaxKind.InterpolatedStringExpression 38277Return New WhereClauseSyntax(SyntaxKind.WhereClause, Nothing, Nothing, DirectCast(whereKeyword.Node, InternalSyntax.KeywordSyntax), condition) 38288Return SyntaxFactory.WhereClause(SyntaxFactory.Token(SyntaxKind.WhereKeyword), condition) 38307Case SyntaxKind.SkipKeyword : 38308Case SyntaxKind.TakeKeyword 38313Case SyntaxKind.WhileKeyword 38321Case SyntaxKind.KeywordEventContainer, 38322SyntaxKind.WithEventsEventContainer, 38323SyntaxKind.WithEventsPropertyEventContainer, 38324SyntaxKind.IdentifierLabel, 38325SyntaxKind.NumericLabel, 38326SyntaxKind.NextLabel, 38327SyntaxKind.MidExpression, 38328SyntaxKind.CharacterLiteralExpression, 38329SyntaxKind.TrueLiteralExpression, 38330SyntaxKind.FalseLiteralExpression, 38331SyntaxKind.NumericLiteralExpression, 38332SyntaxKind.DateLiteralExpression, 38333SyntaxKind.StringLiteralExpression, 38334SyntaxKind.NothingLiteralExpression, 38335SyntaxKind.ParenthesizedExpression, 38336SyntaxKind.TupleExpression, 38337SyntaxKind.TupleType, 38338SyntaxKind.MeExpression, 38339SyntaxKind.MyBaseExpression, 38340SyntaxKind.MyClassExpression, 38341SyntaxKind.GetTypeExpression, 38342SyntaxKind.TypeOfIsExpression, 38343SyntaxKind.TypeOfIsNotExpression, 38344SyntaxKind.GetXmlNamespaceExpression, 38345SyntaxKind.SimpleMemberAccessExpression, 38346SyntaxKind.DictionaryAccessExpression, 38347SyntaxKind.XmlElementAccessExpression, 38348SyntaxKind.XmlDescendantAccessExpression, 38349SyntaxKind.XmlAttributeAccessExpression, 38350SyntaxKind.InvocationExpression, 38351SyntaxKind.ObjectCreationExpression, 38352SyntaxKind.AnonymousObjectCreationExpression, 38353SyntaxKind.ArrayCreationExpression, 38354SyntaxKind.CollectionInitializer, 38355SyntaxKind.CTypeExpression, 38356SyntaxKind.DirectCastExpression, 38357SyntaxKind.TryCastExpression, 38358SyntaxKind.PredefinedCastExpression, 38359SyntaxKind.AddExpression, 38360SyntaxKind.SubtractExpression, 38361SyntaxKind.MultiplyExpression, 38362SyntaxKind.DivideExpression, 38363SyntaxKind.IntegerDivideExpression, 38364SyntaxKind.ExponentiateExpression, 38365SyntaxKind.LeftShiftExpression, 38366SyntaxKind.RightShiftExpression, 38367SyntaxKind.ConcatenateExpression, 38368SyntaxKind.ModuloExpression, 38369SyntaxKind.EqualsExpression, 38370SyntaxKind.NotEqualsExpression, 38371SyntaxKind.LessThanExpression, 38372SyntaxKind.LessThanOrEqualExpression, 38373SyntaxKind.GreaterThanOrEqualExpression, 38374SyntaxKind.GreaterThanExpression, 38375SyntaxKind.IsExpression, 38376SyntaxKind.IsNotExpression, 38377SyntaxKind.LikeExpression, 38378SyntaxKind.OrExpression, 38379SyntaxKind.ExclusiveOrExpression, 38380SyntaxKind.AndExpression, 38381SyntaxKind.OrElseExpression, 38382SyntaxKind.AndAlsoExpression, 38383SyntaxKind.UnaryPlusExpression, 38384SyntaxKind.UnaryMinusExpression, 38385SyntaxKind.NotExpression, 38386SyntaxKind.AddressOfExpression, 38387SyntaxKind.BinaryConditionalExpression, 38388SyntaxKind.TernaryConditionalExpression, 38389SyntaxKind.SingleLineFunctionLambdaExpression, 38390SyntaxKind.SingleLineSubLambdaExpression, 38391SyntaxKind.MultiLineFunctionLambdaExpression, 38392SyntaxKind.MultiLineSubLambdaExpression, 38393SyntaxKind.QueryExpression, 38394SyntaxKind.FunctionAggregation, 38395SyntaxKind.GroupAggregation, 38396SyntaxKind.XmlDocument, 38397SyntaxKind.XmlElement, 38398SyntaxKind.XmlText, 38399SyntaxKind.XmlElementStartTag, 38400SyntaxKind.XmlElementEndTag, 38401SyntaxKind.XmlEmptyElement, 38402SyntaxKind.XmlAttribute, 38403SyntaxKind.XmlString, 38404SyntaxKind.XmlPrefixName, 38405SyntaxKind.XmlName, 38406SyntaxKind.XmlBracketedName, 38407SyntaxKind.XmlComment, 38408SyntaxKind.XmlProcessingInstruction, 38409SyntaxKind.XmlCDataSection, 38410SyntaxKind.XmlEmbeddedExpression, 38411SyntaxKind.ArrayType, 38412SyntaxKind.NullableType, 38413SyntaxKind.PredefinedType, 38414SyntaxKind.IdentifierName, 38415SyntaxKind.GenericName, 38416SyntaxKind.QualifiedName, 38417SyntaxKind.GlobalName, 38418SyntaxKind.CrefOperatorReference, 38419SyntaxKind.QualifiedCrefOperatorReference, 38420SyntaxKind.AwaitExpression, 38421SyntaxKind.XmlCrefAttribute, 38422SyntaxKind.XmlNameAttribute, 38423SyntaxKind.ConditionalAccessExpression, 38424SyntaxKind.NameOfExpression, 38425SyntaxKind.InterpolatedStringExpression 38429Return New PartitionWhileClauseSyntax(SyntaxKind.SkipWhileClause, Nothing, Nothing, DirectCast(skipOrTakeKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(whileKeyword.Node, InternalSyntax.KeywordSyntax), condition) 38441Return SyntaxFactory.SkipWhileClause(SyntaxFactory.Token(SyntaxKind.SkipKeyword), SyntaxFactory.Token(SyntaxKind.WhileKeyword), condition) 38460Case SyntaxKind.TakeKeyword 38465Case SyntaxKind.WhileKeyword 38473Case SyntaxKind.KeywordEventContainer, 38474SyntaxKind.WithEventsEventContainer, 38475SyntaxKind.WithEventsPropertyEventContainer, 38476SyntaxKind.IdentifierLabel, 38477SyntaxKind.NumericLabel, 38478SyntaxKind.NextLabel, 38479SyntaxKind.MidExpression, 38480SyntaxKind.CharacterLiteralExpression, 38481SyntaxKind.TrueLiteralExpression, 38482SyntaxKind.FalseLiteralExpression, 38483SyntaxKind.NumericLiteralExpression, 38484SyntaxKind.DateLiteralExpression, 38485SyntaxKind.StringLiteralExpression, 38486SyntaxKind.NothingLiteralExpression, 38487SyntaxKind.ParenthesizedExpression, 38488SyntaxKind.TupleExpression, 38489SyntaxKind.TupleType, 38490SyntaxKind.MeExpression, 38491SyntaxKind.MyBaseExpression, 38492SyntaxKind.MyClassExpression, 38493SyntaxKind.GetTypeExpression, 38494SyntaxKind.TypeOfIsExpression, 38495SyntaxKind.TypeOfIsNotExpression, 38496SyntaxKind.GetXmlNamespaceExpression, 38497SyntaxKind.SimpleMemberAccessExpression, 38498SyntaxKind.DictionaryAccessExpression, 38499SyntaxKind.XmlElementAccessExpression, 38500SyntaxKind.XmlDescendantAccessExpression, 38501SyntaxKind.XmlAttributeAccessExpression, 38502SyntaxKind.InvocationExpression, 38503SyntaxKind.ObjectCreationExpression, 38504SyntaxKind.AnonymousObjectCreationExpression, 38505SyntaxKind.ArrayCreationExpression, 38506SyntaxKind.CollectionInitializer, 38507SyntaxKind.CTypeExpression, 38508SyntaxKind.DirectCastExpression, 38509SyntaxKind.TryCastExpression, 38510SyntaxKind.PredefinedCastExpression, 38511SyntaxKind.AddExpression, 38512SyntaxKind.SubtractExpression, 38513SyntaxKind.MultiplyExpression, 38514SyntaxKind.DivideExpression, 38515SyntaxKind.IntegerDivideExpression, 38516SyntaxKind.ExponentiateExpression, 38517SyntaxKind.LeftShiftExpression, 38518SyntaxKind.RightShiftExpression, 38519SyntaxKind.ConcatenateExpression, 38520SyntaxKind.ModuloExpression, 38521SyntaxKind.EqualsExpression, 38522SyntaxKind.NotEqualsExpression, 38523SyntaxKind.LessThanExpression, 38524SyntaxKind.LessThanOrEqualExpression, 38525SyntaxKind.GreaterThanOrEqualExpression, 38526SyntaxKind.GreaterThanExpression, 38527SyntaxKind.IsExpression, 38528SyntaxKind.IsNotExpression, 38529SyntaxKind.LikeExpression, 38530SyntaxKind.OrExpression, 38531SyntaxKind.ExclusiveOrExpression, 38532SyntaxKind.AndExpression, 38533SyntaxKind.OrElseExpression, 38534SyntaxKind.AndAlsoExpression, 38535SyntaxKind.UnaryPlusExpression, 38536SyntaxKind.UnaryMinusExpression, 38537SyntaxKind.NotExpression, 38538SyntaxKind.AddressOfExpression, 38539SyntaxKind.BinaryConditionalExpression, 38540SyntaxKind.TernaryConditionalExpression, 38541SyntaxKind.SingleLineFunctionLambdaExpression, 38542SyntaxKind.SingleLineSubLambdaExpression, 38543SyntaxKind.MultiLineFunctionLambdaExpression, 38544SyntaxKind.MultiLineSubLambdaExpression, 38545SyntaxKind.QueryExpression, 38546SyntaxKind.FunctionAggregation, 38547SyntaxKind.GroupAggregation, 38548SyntaxKind.XmlDocument, 38549SyntaxKind.XmlElement, 38550SyntaxKind.XmlText, 38551SyntaxKind.XmlElementStartTag, 38552SyntaxKind.XmlElementEndTag, 38553SyntaxKind.XmlEmptyElement, 38554SyntaxKind.XmlAttribute, 38555SyntaxKind.XmlString, 38556SyntaxKind.XmlPrefixName, 38557SyntaxKind.XmlName, 38558SyntaxKind.XmlBracketedName, 38559SyntaxKind.XmlComment, 38560SyntaxKind.XmlProcessingInstruction, 38561SyntaxKind.XmlCDataSection, 38562SyntaxKind.XmlEmbeddedExpression, 38563SyntaxKind.ArrayType, 38564SyntaxKind.NullableType, 38565SyntaxKind.PredefinedType, 38566SyntaxKind.IdentifierName, 38567SyntaxKind.GenericName, 38568SyntaxKind.QualifiedName, 38569SyntaxKind.GlobalName, 38570SyntaxKind.CrefOperatorReference, 38571SyntaxKind.QualifiedCrefOperatorReference, 38572SyntaxKind.AwaitExpression, 38573SyntaxKind.XmlCrefAttribute, 38574SyntaxKind.XmlNameAttribute, 38575SyntaxKind.ConditionalAccessExpression, 38576SyntaxKind.NameOfExpression, 38577SyntaxKind.InterpolatedStringExpression 38581Return New PartitionWhileClauseSyntax(SyntaxKind.TakeWhileClause, Nothing, Nothing, DirectCast(skipOrTakeKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(whileKeyword.Node, InternalSyntax.KeywordSyntax), condition) 38593Return SyntaxFactory.TakeWhileClause(SyntaxFactory.Token(SyntaxKind.TakeKeyword), SyntaxFactory.Token(SyntaxKind.WhileKeyword), condition) 38602''' A <see cref="SyntaxKind"/> representing the specific kind of 38614Public Shared Function PartitionWhileClause(ByVal kind As SyntaxKind, skipOrTakeKeyword As SyntaxToken, whileKeyword As SyntaxToken, condition As ExpressionSyntax) As PartitionWhileClauseSyntax 38622Case SyntaxKind.WhileKeyword 38630Case SyntaxKind.KeywordEventContainer, 38631SyntaxKind.WithEventsEventContainer, 38632SyntaxKind.WithEventsPropertyEventContainer, 38633SyntaxKind.IdentifierLabel, 38634SyntaxKind.NumericLabel, 38635SyntaxKind.NextLabel, 38636SyntaxKind.MidExpression, 38637SyntaxKind.CharacterLiteralExpression, 38638SyntaxKind.TrueLiteralExpression, 38639SyntaxKind.FalseLiteralExpression, 38640SyntaxKind.NumericLiteralExpression, 38641SyntaxKind.DateLiteralExpression, 38642SyntaxKind.StringLiteralExpression, 38643SyntaxKind.NothingLiteralExpression, 38644SyntaxKind.ParenthesizedExpression, 38645SyntaxKind.TupleExpression, 38646SyntaxKind.TupleType, 38647SyntaxKind.MeExpression, 38648SyntaxKind.MyBaseExpression, 38649SyntaxKind.MyClassExpression, 38650SyntaxKind.GetTypeExpression, 38651SyntaxKind.TypeOfIsExpression, 38652SyntaxKind.TypeOfIsNotExpression, 38653SyntaxKind.GetXmlNamespaceExpression, 38654SyntaxKind.SimpleMemberAccessExpression, 38655SyntaxKind.DictionaryAccessExpression, 38656SyntaxKind.XmlElementAccessExpression, 38657SyntaxKind.XmlDescendantAccessExpression, 38658SyntaxKind.XmlAttributeAccessExpression, 38659SyntaxKind.InvocationExpression, 38660SyntaxKind.ObjectCreationExpression, 38661SyntaxKind.AnonymousObjectCreationExpression, 38662SyntaxKind.ArrayCreationExpression, 38663SyntaxKind.CollectionInitializer, 38664SyntaxKind.CTypeExpression, 38665SyntaxKind.DirectCastExpression, 38666SyntaxKind.TryCastExpression, 38667SyntaxKind.PredefinedCastExpression, 38668SyntaxKind.AddExpression, 38669SyntaxKind.SubtractExpression, 38670SyntaxKind.MultiplyExpression, 38671SyntaxKind.DivideExpression, 38672SyntaxKind.IntegerDivideExpression, 38673SyntaxKind.ExponentiateExpression, 38674SyntaxKind.LeftShiftExpression, 38675SyntaxKind.RightShiftExpression, 38676SyntaxKind.ConcatenateExpression, 38677SyntaxKind.ModuloExpression, 38678SyntaxKind.EqualsExpression, 38679SyntaxKind.NotEqualsExpression, 38680SyntaxKind.LessThanExpression, 38681SyntaxKind.LessThanOrEqualExpression, 38682SyntaxKind.GreaterThanOrEqualExpression, 38683SyntaxKind.GreaterThanExpression, 38684SyntaxKind.IsExpression, 38685SyntaxKind.IsNotExpression, 38686SyntaxKind.LikeExpression, 38687SyntaxKind.OrExpression, 38688SyntaxKind.ExclusiveOrExpression, 38689SyntaxKind.AndExpression, 38690SyntaxKind.OrElseExpression, 38691SyntaxKind.AndAlsoExpression, 38692SyntaxKind.UnaryPlusExpression, 38693SyntaxKind.UnaryMinusExpression, 38694SyntaxKind.NotExpression, 38695SyntaxKind.AddressOfExpression, 38696SyntaxKind.BinaryConditionalExpression, 38697SyntaxKind.TernaryConditionalExpression, 38698SyntaxKind.SingleLineFunctionLambdaExpression, 38699SyntaxKind.SingleLineSubLambdaExpression, 38700SyntaxKind.MultiLineFunctionLambdaExpression, 38701SyntaxKind.MultiLineSubLambdaExpression, 38702SyntaxKind.QueryExpression, 38703SyntaxKind.FunctionAggregation, 38704SyntaxKind.GroupAggregation, 38705SyntaxKind.XmlDocument, 38706SyntaxKind.XmlElement, 38707SyntaxKind.XmlText, 38708SyntaxKind.XmlElementStartTag, 38709SyntaxKind.XmlElementEndTag, 38710SyntaxKind.XmlEmptyElement, 38711SyntaxKind.XmlAttribute, 38712SyntaxKind.XmlString, 38713SyntaxKind.XmlPrefixName, 38714SyntaxKind.XmlName, 38715SyntaxKind.XmlBracketedName, 38716SyntaxKind.XmlComment, 38717SyntaxKind.XmlProcessingInstruction, 38718SyntaxKind.XmlCDataSection, 38719SyntaxKind.XmlEmbeddedExpression, 38720SyntaxKind.ArrayType, 38721SyntaxKind.NullableType, 38722SyntaxKind.PredefinedType, 38723SyntaxKind.IdentifierName, 38724SyntaxKind.GenericName, 38725SyntaxKind.QualifiedName, 38726SyntaxKind.GlobalName, 38727SyntaxKind.CrefOperatorReference, 38728SyntaxKind.QualifiedCrefOperatorReference, 38729SyntaxKind.AwaitExpression, 38730SyntaxKind.XmlCrefAttribute, 38731SyntaxKind.XmlNameAttribute, 38732SyntaxKind.ConditionalAccessExpression, 38733SyntaxKind.NameOfExpression, 38734SyntaxKind.InterpolatedStringExpression 38741Private Shared Function GetPartitionWhileClauseSkipOrTakeKeywordKind(kind As SyntaxKind) As SyntaxKind 38743Case SyntaxKind.SkipWhileClause 38744Return SyntaxKind.SkipKeyword 38745Case SyntaxKind.TakeWhileClause 38746Return SyntaxKind.TakeKeyword 38757''' A <see cref="SyntaxKind"/> representing the specific kind of 38766Public Shared Function PartitionWhileClause(ByVal kind As SyntaxKind, skipOrTakeKeyword As SyntaxToken, condition As ExpressionSyntax) As PartitionWhileClauseSyntax 38767Return SyntaxFactory.PartitionWhileClause(kind, skipOrTakeKeyword, SyntaxFactory.Token(SyntaxKind.WhileKeyword), condition) 38782Case SyntaxKind.SkipKeyword : 38783Case SyntaxKind.TakeKeyword 38791Case SyntaxKind.KeywordEventContainer, 38792SyntaxKind.WithEventsEventContainer, 38793SyntaxKind.WithEventsPropertyEventContainer, 38794SyntaxKind.IdentifierLabel, 38795SyntaxKind.NumericLabel, 38796SyntaxKind.NextLabel, 38797SyntaxKind.MidExpression, 38798SyntaxKind.CharacterLiteralExpression, 38799SyntaxKind.TrueLiteralExpression, 38800SyntaxKind.FalseLiteralExpression, 38801SyntaxKind.NumericLiteralExpression, 38802SyntaxKind.DateLiteralExpression, 38803SyntaxKind.StringLiteralExpression, 38804SyntaxKind.NothingLiteralExpression, 38805SyntaxKind.ParenthesizedExpression, 38806SyntaxKind.TupleExpression, 38807SyntaxKind.TupleType, 38808SyntaxKind.MeExpression, 38809SyntaxKind.MyBaseExpression, 38810SyntaxKind.MyClassExpression, 38811SyntaxKind.GetTypeExpression, 38812SyntaxKind.TypeOfIsExpression, 38813SyntaxKind.TypeOfIsNotExpression, 38814SyntaxKind.GetXmlNamespaceExpression, 38815SyntaxKind.SimpleMemberAccessExpression, 38816SyntaxKind.DictionaryAccessExpression, 38817SyntaxKind.XmlElementAccessExpression, 38818SyntaxKind.XmlDescendantAccessExpression, 38819SyntaxKind.XmlAttributeAccessExpression, 38820SyntaxKind.InvocationExpression, 38821SyntaxKind.ObjectCreationExpression, 38822SyntaxKind.AnonymousObjectCreationExpression, 38823SyntaxKind.ArrayCreationExpression, 38824SyntaxKind.CollectionInitializer, 38825SyntaxKind.CTypeExpression, 38826SyntaxKind.DirectCastExpression, 38827SyntaxKind.TryCastExpression, 38828SyntaxKind.PredefinedCastExpression, 38829SyntaxKind.AddExpression, 38830SyntaxKind.SubtractExpression, 38831SyntaxKind.MultiplyExpression, 38832SyntaxKind.DivideExpression, 38833SyntaxKind.IntegerDivideExpression, 38834SyntaxKind.ExponentiateExpression, 38835SyntaxKind.LeftShiftExpression, 38836SyntaxKind.RightShiftExpression, 38837SyntaxKind.ConcatenateExpression, 38838SyntaxKind.ModuloExpression, 38839SyntaxKind.EqualsExpression, 38840SyntaxKind.NotEqualsExpression, 38841SyntaxKind.LessThanExpression, 38842SyntaxKind.LessThanOrEqualExpression, 38843SyntaxKind.GreaterThanOrEqualExpression, 38844SyntaxKind.GreaterThanExpression, 38845SyntaxKind.IsExpression, 38846SyntaxKind.IsNotExpression, 38847SyntaxKind.LikeExpression, 38848SyntaxKind.OrExpression, 38849SyntaxKind.ExclusiveOrExpression, 38850SyntaxKind.AndExpression, 38851SyntaxKind.OrElseExpression, 38852SyntaxKind.AndAlsoExpression, 38853SyntaxKind.UnaryPlusExpression, 38854SyntaxKind.UnaryMinusExpression, 38855SyntaxKind.NotExpression, 38856SyntaxKind.AddressOfExpression, 38857SyntaxKind.BinaryConditionalExpression, 38858SyntaxKind.TernaryConditionalExpression, 38859SyntaxKind.SingleLineFunctionLambdaExpression, 38860SyntaxKind.SingleLineSubLambdaExpression, 38861SyntaxKind.MultiLineFunctionLambdaExpression, 38862SyntaxKind.MultiLineSubLambdaExpression, 38863SyntaxKind.QueryExpression, 38864SyntaxKind.FunctionAggregation, 38865SyntaxKind.GroupAggregation, 38866SyntaxKind.XmlDocument, 38867SyntaxKind.XmlElement, 38868SyntaxKind.XmlText, 38869SyntaxKind.XmlElementStartTag, 38870SyntaxKind.XmlElementEndTag, 38871SyntaxKind.XmlEmptyElement, 38872SyntaxKind.XmlAttribute, 38873SyntaxKind.XmlString, 38874SyntaxKind.XmlPrefixName, 38875SyntaxKind.XmlName, 38876SyntaxKind.XmlBracketedName, 38877SyntaxKind.XmlComment, 38878SyntaxKind.XmlProcessingInstruction, 38879SyntaxKind.XmlCDataSection, 38880SyntaxKind.XmlEmbeddedExpression, 38881SyntaxKind.ArrayType, 38882SyntaxKind.NullableType, 38883SyntaxKind.PredefinedType, 38884SyntaxKind.IdentifierName, 38885SyntaxKind.GenericName, 38886SyntaxKind.QualifiedName, 38887SyntaxKind.GlobalName, 38888SyntaxKind.CrefOperatorReference, 38889SyntaxKind.QualifiedCrefOperatorReference, 38890SyntaxKind.AwaitExpression, 38891SyntaxKind.XmlCrefAttribute, 38892SyntaxKind.XmlNameAttribute, 38893SyntaxKind.ConditionalAccessExpression, 38894SyntaxKind.NameOfExpression, 38895SyntaxKind.InterpolatedStringExpression 38899Return New PartitionClauseSyntax(SyntaxKind.SkipClause, Nothing, Nothing, DirectCast(skipOrTakeKeyword.Node, InternalSyntax.KeywordSyntax), count) 38910Return SyntaxFactory.SkipClause(SyntaxFactory.Token(SyntaxKind.SkipKeyword), count) 38925Case SyntaxKind.TakeKeyword 38933Case SyntaxKind.KeywordEventContainer, 38934SyntaxKind.WithEventsEventContainer, 38935SyntaxKind.WithEventsPropertyEventContainer, 38936SyntaxKind.IdentifierLabel, 38937SyntaxKind.NumericLabel, 38938SyntaxKind.NextLabel, 38939SyntaxKind.MidExpression, 38940SyntaxKind.CharacterLiteralExpression, 38941SyntaxKind.TrueLiteralExpression, 38942SyntaxKind.FalseLiteralExpression, 38943SyntaxKind.NumericLiteralExpression, 38944SyntaxKind.DateLiteralExpression, 38945SyntaxKind.StringLiteralExpression, 38946SyntaxKind.NothingLiteralExpression, 38947SyntaxKind.ParenthesizedExpression, 38948SyntaxKind.TupleExpression, 38949SyntaxKind.TupleType, 38950SyntaxKind.MeExpression, 38951SyntaxKind.MyBaseExpression, 38952SyntaxKind.MyClassExpression, 38953SyntaxKind.GetTypeExpression, 38954SyntaxKind.TypeOfIsExpression, 38955SyntaxKind.TypeOfIsNotExpression, 38956SyntaxKind.GetXmlNamespaceExpression, 38957SyntaxKind.SimpleMemberAccessExpression, 38958SyntaxKind.DictionaryAccessExpression, 38959SyntaxKind.XmlElementAccessExpression, 38960SyntaxKind.XmlDescendantAccessExpression, 38961SyntaxKind.XmlAttributeAccessExpression, 38962SyntaxKind.InvocationExpression, 38963SyntaxKind.ObjectCreationExpression, 38964SyntaxKind.AnonymousObjectCreationExpression, 38965SyntaxKind.ArrayCreationExpression, 38966SyntaxKind.CollectionInitializer, 38967SyntaxKind.CTypeExpression, 38968SyntaxKind.DirectCastExpression, 38969SyntaxKind.TryCastExpression, 38970SyntaxKind.PredefinedCastExpression, 38971SyntaxKind.AddExpression, 38972SyntaxKind.SubtractExpression, 38973SyntaxKind.MultiplyExpression, 38974SyntaxKind.DivideExpression, 38975SyntaxKind.IntegerDivideExpression, 38976SyntaxKind.ExponentiateExpression, 38977SyntaxKind.LeftShiftExpression, 38978SyntaxKind.RightShiftExpression, 38979SyntaxKind.ConcatenateExpression, 38980SyntaxKind.ModuloExpression, 38981SyntaxKind.EqualsExpression, 38982SyntaxKind.NotEqualsExpression, 38983SyntaxKind.LessThanExpression, 38984SyntaxKind.LessThanOrEqualExpression, 38985SyntaxKind.GreaterThanOrEqualExpression, 38986SyntaxKind.GreaterThanExpression, 38987SyntaxKind.IsExpression, 38988SyntaxKind.IsNotExpression, 38989SyntaxKind.LikeExpression, 38990SyntaxKind.OrExpression, 38991SyntaxKind.ExclusiveOrExpression, 38992SyntaxKind.AndExpression, 38993SyntaxKind.OrElseExpression, 38994SyntaxKind.AndAlsoExpression, 38995SyntaxKind.UnaryPlusExpression, 38996SyntaxKind.UnaryMinusExpression, 38997SyntaxKind.NotExpression, 38998SyntaxKind.AddressOfExpression, 38999SyntaxKind.BinaryConditionalExpression, 39000SyntaxKind.TernaryConditionalExpression, 39001SyntaxKind.SingleLineFunctionLambdaExpression, 39002SyntaxKind.SingleLineSubLambdaExpression, 39003SyntaxKind.MultiLineFunctionLambdaExpression, 39004SyntaxKind.MultiLineSubLambdaExpression, 39005SyntaxKind.QueryExpression, 39006SyntaxKind.FunctionAggregation, 39007SyntaxKind.GroupAggregation, 39008SyntaxKind.XmlDocument, 39009SyntaxKind.XmlElement, 39010SyntaxKind.XmlText, 39011SyntaxKind.XmlElementStartTag, 39012SyntaxKind.XmlElementEndTag, 39013SyntaxKind.XmlEmptyElement, 39014SyntaxKind.XmlAttribute, 39015SyntaxKind.XmlString, 39016SyntaxKind.XmlPrefixName, 39017SyntaxKind.XmlName, 39018SyntaxKind.XmlBracketedName, 39019SyntaxKind.XmlComment, 39020SyntaxKind.XmlProcessingInstruction, 39021SyntaxKind.XmlCDataSection, 39022SyntaxKind.XmlEmbeddedExpression, 39023SyntaxKind.ArrayType, 39024SyntaxKind.NullableType, 39025SyntaxKind.PredefinedType, 39026SyntaxKind.IdentifierName, 39027SyntaxKind.GenericName, 39028SyntaxKind.QualifiedName, 39029SyntaxKind.GlobalName, 39030SyntaxKind.CrefOperatorReference, 39031SyntaxKind.QualifiedCrefOperatorReference, 39032SyntaxKind.AwaitExpression, 39033SyntaxKind.XmlCrefAttribute, 39034SyntaxKind.XmlNameAttribute, 39035SyntaxKind.ConditionalAccessExpression, 39036SyntaxKind.NameOfExpression, 39037SyntaxKind.InterpolatedStringExpression 39041Return New PartitionClauseSyntax(SyntaxKind.TakeClause, Nothing, Nothing, DirectCast(skipOrTakeKeyword.Node, InternalSyntax.KeywordSyntax), count) 39052Return SyntaxFactory.TakeClause(SyntaxFactory.Token(SyntaxKind.TakeKeyword), count) 39060''' A <see cref="SyntaxKind"/> representing the specific kind of 39069Public Shared Function PartitionClause(ByVal kind As SyntaxKind, skipOrTakeKeyword As SyntaxToken, count As ExpressionSyntax) As PartitionClauseSyntax 39080Case SyntaxKind.KeywordEventContainer, 39081SyntaxKind.WithEventsEventContainer, 39082SyntaxKind.WithEventsPropertyEventContainer, 39083SyntaxKind.IdentifierLabel, 39084SyntaxKind.NumericLabel, 39085SyntaxKind.NextLabel, 39086SyntaxKind.MidExpression, 39087SyntaxKind.CharacterLiteralExpression, 39088SyntaxKind.TrueLiteralExpression, 39089SyntaxKind.FalseLiteralExpression, 39090SyntaxKind.NumericLiteralExpression, 39091SyntaxKind.DateLiteralExpression, 39092SyntaxKind.StringLiteralExpression, 39093SyntaxKind.NothingLiteralExpression, 39094SyntaxKind.ParenthesizedExpression, 39095SyntaxKind.TupleExpression, 39096SyntaxKind.TupleType, 39097SyntaxKind.MeExpression, 39098SyntaxKind.MyBaseExpression, 39099SyntaxKind.MyClassExpression, 39100SyntaxKind.GetTypeExpression, 39101SyntaxKind.TypeOfIsExpression, 39102SyntaxKind.TypeOfIsNotExpression, 39103SyntaxKind.GetXmlNamespaceExpression, 39104SyntaxKind.SimpleMemberAccessExpression, 39105SyntaxKind.DictionaryAccessExpression, 39106SyntaxKind.XmlElementAccessExpression, 39107SyntaxKind.XmlDescendantAccessExpression, 39108SyntaxKind.XmlAttributeAccessExpression, 39109SyntaxKind.InvocationExpression, 39110SyntaxKind.ObjectCreationExpression, 39111SyntaxKind.AnonymousObjectCreationExpression, 39112SyntaxKind.ArrayCreationExpression, 39113SyntaxKind.CollectionInitializer, 39114SyntaxKind.CTypeExpression, 39115SyntaxKind.DirectCastExpression, 39116SyntaxKind.TryCastExpression, 39117SyntaxKind.PredefinedCastExpression, 39118SyntaxKind.AddExpression, 39119SyntaxKind.SubtractExpression, 39120SyntaxKind.MultiplyExpression, 39121SyntaxKind.DivideExpression, 39122SyntaxKind.IntegerDivideExpression, 39123SyntaxKind.ExponentiateExpression, 39124SyntaxKind.LeftShiftExpression, 39125SyntaxKind.RightShiftExpression, 39126SyntaxKind.ConcatenateExpression, 39127SyntaxKind.ModuloExpression, 39128SyntaxKind.EqualsExpression, 39129SyntaxKind.NotEqualsExpression, 39130SyntaxKind.LessThanExpression, 39131SyntaxKind.LessThanOrEqualExpression, 39132SyntaxKind.GreaterThanOrEqualExpression, 39133SyntaxKind.GreaterThanExpression, 39134SyntaxKind.IsExpression, 39135SyntaxKind.IsNotExpression, 39136SyntaxKind.LikeExpression, 39137SyntaxKind.OrExpression, 39138SyntaxKind.ExclusiveOrExpression, 39139SyntaxKind.AndExpression, 39140SyntaxKind.OrElseExpression, 39141SyntaxKind.AndAlsoExpression, 39142SyntaxKind.UnaryPlusExpression, 39143SyntaxKind.UnaryMinusExpression, 39144SyntaxKind.NotExpression, 39145SyntaxKind.AddressOfExpression, 39146SyntaxKind.BinaryConditionalExpression, 39147SyntaxKind.TernaryConditionalExpression, 39148SyntaxKind.SingleLineFunctionLambdaExpression, 39149SyntaxKind.SingleLineSubLambdaExpression, 39150SyntaxKind.MultiLineFunctionLambdaExpression, 39151SyntaxKind.MultiLineSubLambdaExpression, 39152SyntaxKind.QueryExpression, 39153SyntaxKind.FunctionAggregation, 39154SyntaxKind.GroupAggregation, 39155SyntaxKind.XmlDocument, 39156SyntaxKind.XmlElement, 39157SyntaxKind.XmlText, 39158SyntaxKind.XmlElementStartTag, 39159SyntaxKind.XmlElementEndTag, 39160SyntaxKind.XmlEmptyElement, 39161SyntaxKind.XmlAttribute, 39162SyntaxKind.XmlString, 39163SyntaxKind.XmlPrefixName, 39164SyntaxKind.XmlName, 39165SyntaxKind.XmlBracketedName, 39166SyntaxKind.XmlComment, 39167SyntaxKind.XmlProcessingInstruction, 39168SyntaxKind.XmlCDataSection, 39169SyntaxKind.XmlEmbeddedExpression, 39170SyntaxKind.ArrayType, 39171SyntaxKind.NullableType, 39172SyntaxKind.PredefinedType, 39173SyntaxKind.IdentifierName, 39174SyntaxKind.GenericName, 39175SyntaxKind.QualifiedName, 39176SyntaxKind.GlobalName, 39177SyntaxKind.CrefOperatorReference, 39178SyntaxKind.QualifiedCrefOperatorReference, 39179SyntaxKind.AwaitExpression, 39180SyntaxKind.XmlCrefAttribute, 39181SyntaxKind.XmlNameAttribute, 39182SyntaxKind.ConditionalAccessExpression, 39183SyntaxKind.NameOfExpression, 39184SyntaxKind.InterpolatedStringExpression 39191Private Shared Function GetPartitionClauseSkipOrTakeKeywordKind(kind As SyntaxKind) As SyntaxKind 39193Case SyntaxKind.SkipClause 39194Return SyntaxKind.SkipKeyword 39195Case SyntaxKind.TakeClause 39196Return SyntaxKind.TakeKeyword 39223Case SyntaxKind.GroupKeyword 39228Case SyntaxKind.ByKeyword 39233Case SyntaxKind.IntoKeyword 39237Return New GroupByClauseSyntax(SyntaxKind.GroupByClause, Nothing, Nothing, DirectCast(groupKeyword.Node, InternalSyntax.KeywordSyntax), items.Node, DirectCast(byKeyword.Node, InternalSyntax.KeywordSyntax), keys.Node, DirectCast(intoKeyword.Node, InternalSyntax.KeywordSyntax), aggregationVariables.Node) 39255Return SyntaxFactory.GroupByClause(SyntaxFactory.Token(SyntaxKind.GroupKeyword), items, SyntaxFactory.Token(SyntaxKind.ByKeyword), keys, SyntaxFactory.Token(SyntaxKind.IntoKeyword), aggregationVariables) 39269Return SyntaxFactory.GroupByClause(SyntaxFactory.Token(SyntaxKind.GroupKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.ByKeyword), keys, SyntaxFactory.Token(SyntaxKind.IntoKeyword), aggregationVariables) 39290Case SyntaxKind.KeywordEventContainer, 39291SyntaxKind.WithEventsEventContainer, 39292SyntaxKind.WithEventsPropertyEventContainer, 39293SyntaxKind.IdentifierLabel, 39294SyntaxKind.NumericLabel, 39295SyntaxKind.NextLabel, 39296SyntaxKind.MidExpression, 39297SyntaxKind.CharacterLiteralExpression, 39298SyntaxKind.TrueLiteralExpression, 39299SyntaxKind.FalseLiteralExpression, 39300SyntaxKind.NumericLiteralExpression, 39301SyntaxKind.DateLiteralExpression, 39302SyntaxKind.StringLiteralExpression, 39303SyntaxKind.NothingLiteralExpression, 39304SyntaxKind.ParenthesizedExpression, 39305SyntaxKind.TupleExpression, 39306SyntaxKind.TupleType, 39307SyntaxKind.MeExpression, 39308SyntaxKind.MyBaseExpression, 39309SyntaxKind.MyClassExpression, 39310SyntaxKind.GetTypeExpression, 39311SyntaxKind.TypeOfIsExpression, 39312SyntaxKind.TypeOfIsNotExpression, 39313SyntaxKind.GetXmlNamespaceExpression, 39314SyntaxKind.SimpleMemberAccessExpression, 39315SyntaxKind.DictionaryAccessExpression, 39316SyntaxKind.XmlElementAccessExpression, 39317SyntaxKind.XmlDescendantAccessExpression, 39318SyntaxKind.XmlAttributeAccessExpression, 39319SyntaxKind.InvocationExpression, 39320SyntaxKind.ObjectCreationExpression, 39321SyntaxKind.AnonymousObjectCreationExpression, 39322SyntaxKind.ArrayCreationExpression, 39323SyntaxKind.CollectionInitializer, 39324SyntaxKind.CTypeExpression, 39325SyntaxKind.DirectCastExpression, 39326SyntaxKind.TryCastExpression, 39327SyntaxKind.PredefinedCastExpression, 39328SyntaxKind.AddExpression, 39329SyntaxKind.SubtractExpression, 39330SyntaxKind.MultiplyExpression, 39331SyntaxKind.DivideExpression, 39332SyntaxKind.IntegerDivideExpression, 39333SyntaxKind.ExponentiateExpression, 39334SyntaxKind.LeftShiftExpression, 39335SyntaxKind.RightShiftExpression, 39336SyntaxKind.ConcatenateExpression, 39337SyntaxKind.ModuloExpression, 39338SyntaxKind.EqualsExpression, 39339SyntaxKind.NotEqualsExpression, 39340SyntaxKind.LessThanExpression, 39341SyntaxKind.LessThanOrEqualExpression, 39342SyntaxKind.GreaterThanOrEqualExpression, 39343SyntaxKind.GreaterThanExpression, 39344SyntaxKind.IsExpression, 39345SyntaxKind.IsNotExpression, 39346SyntaxKind.LikeExpression, 39347SyntaxKind.OrExpression, 39348SyntaxKind.ExclusiveOrExpression, 39349SyntaxKind.AndExpression, 39350SyntaxKind.OrElseExpression, 39351SyntaxKind.AndAlsoExpression, 39352SyntaxKind.UnaryPlusExpression, 39353SyntaxKind.UnaryMinusExpression, 39354SyntaxKind.NotExpression, 39355SyntaxKind.AddressOfExpression, 39356SyntaxKind.BinaryConditionalExpression, 39357SyntaxKind.TernaryConditionalExpression, 39358SyntaxKind.SingleLineFunctionLambdaExpression, 39359SyntaxKind.SingleLineSubLambdaExpression, 39360SyntaxKind.MultiLineFunctionLambdaExpression, 39361SyntaxKind.MultiLineSubLambdaExpression, 39362SyntaxKind.QueryExpression, 39363SyntaxKind.FunctionAggregation, 39364SyntaxKind.GroupAggregation, 39365SyntaxKind.XmlDocument, 39366SyntaxKind.XmlElement, 39367SyntaxKind.XmlText, 39368SyntaxKind.XmlElementStartTag, 39369SyntaxKind.XmlElementEndTag, 39370SyntaxKind.XmlEmptyElement, 39371SyntaxKind.XmlAttribute, 39372SyntaxKind.XmlString, 39373SyntaxKind.XmlPrefixName, 39374SyntaxKind.XmlName, 39375SyntaxKind.XmlBracketedName, 39376SyntaxKind.XmlComment, 39377SyntaxKind.XmlProcessingInstruction, 39378SyntaxKind.XmlCDataSection, 39379SyntaxKind.XmlEmbeddedExpression, 39380SyntaxKind.ArrayType, 39381SyntaxKind.NullableType, 39382SyntaxKind.PredefinedType, 39383SyntaxKind.IdentifierName, 39384SyntaxKind.GenericName, 39385SyntaxKind.QualifiedName, 39386SyntaxKind.GlobalName, 39387SyntaxKind.CrefOperatorReference, 39388SyntaxKind.QualifiedCrefOperatorReference, 39389SyntaxKind.AwaitExpression, 39390SyntaxKind.XmlCrefAttribute, 39391SyntaxKind.XmlNameAttribute, 39392SyntaxKind.ConditionalAccessExpression, 39393SyntaxKind.NameOfExpression, 39394SyntaxKind.InterpolatedStringExpression 39399Case SyntaxKind.EqualsKeyword 39407Case SyntaxKind.KeywordEventContainer, 39408SyntaxKind.WithEventsEventContainer, 39409SyntaxKind.WithEventsPropertyEventContainer, 39410SyntaxKind.IdentifierLabel, 39411SyntaxKind.NumericLabel, 39412SyntaxKind.NextLabel, 39413SyntaxKind.MidExpression, 39414SyntaxKind.CharacterLiteralExpression, 39415SyntaxKind.TrueLiteralExpression, 39416SyntaxKind.FalseLiteralExpression, 39417SyntaxKind.NumericLiteralExpression, 39418SyntaxKind.DateLiteralExpression, 39419SyntaxKind.StringLiteralExpression, 39420SyntaxKind.NothingLiteralExpression, 39421SyntaxKind.ParenthesizedExpression, 39422SyntaxKind.TupleExpression, 39423SyntaxKind.TupleType, 39424SyntaxKind.MeExpression, 39425SyntaxKind.MyBaseExpression, 39426SyntaxKind.MyClassExpression, 39427SyntaxKind.GetTypeExpression, 39428SyntaxKind.TypeOfIsExpression, 39429SyntaxKind.TypeOfIsNotExpression, 39430SyntaxKind.GetXmlNamespaceExpression, 39431SyntaxKind.SimpleMemberAccessExpression, 39432SyntaxKind.DictionaryAccessExpression, 39433SyntaxKind.XmlElementAccessExpression, 39434SyntaxKind.XmlDescendantAccessExpression, 39435SyntaxKind.XmlAttributeAccessExpression, 39436SyntaxKind.InvocationExpression, 39437SyntaxKind.ObjectCreationExpression, 39438SyntaxKind.AnonymousObjectCreationExpression, 39439SyntaxKind.ArrayCreationExpression, 39440SyntaxKind.CollectionInitializer, 39441SyntaxKind.CTypeExpression, 39442SyntaxKind.DirectCastExpression, 39443SyntaxKind.TryCastExpression, 39444SyntaxKind.PredefinedCastExpression, 39445SyntaxKind.AddExpression, 39446SyntaxKind.SubtractExpression, 39447SyntaxKind.MultiplyExpression, 39448SyntaxKind.DivideExpression, 39449SyntaxKind.IntegerDivideExpression, 39450SyntaxKind.ExponentiateExpression, 39451SyntaxKind.LeftShiftExpression, 39452SyntaxKind.RightShiftExpression, 39453SyntaxKind.ConcatenateExpression, 39454SyntaxKind.ModuloExpression, 39455SyntaxKind.EqualsExpression, 39456SyntaxKind.NotEqualsExpression, 39457SyntaxKind.LessThanExpression, 39458SyntaxKind.LessThanOrEqualExpression, 39459SyntaxKind.GreaterThanOrEqualExpression, 39460SyntaxKind.GreaterThanExpression, 39461SyntaxKind.IsExpression, 39462SyntaxKind.IsNotExpression, 39463SyntaxKind.LikeExpression, 39464SyntaxKind.OrExpression, 39465SyntaxKind.ExclusiveOrExpression, 39466SyntaxKind.AndExpression, 39467SyntaxKind.OrElseExpression, 39468SyntaxKind.AndAlsoExpression, 39469SyntaxKind.UnaryPlusExpression, 39470SyntaxKind.UnaryMinusExpression, 39471SyntaxKind.NotExpression, 39472SyntaxKind.AddressOfExpression, 39473SyntaxKind.BinaryConditionalExpression, 39474SyntaxKind.TernaryConditionalExpression, 39475SyntaxKind.SingleLineFunctionLambdaExpression, 39476SyntaxKind.SingleLineSubLambdaExpression, 39477SyntaxKind.MultiLineFunctionLambdaExpression, 39478SyntaxKind.MultiLineSubLambdaExpression, 39479SyntaxKind.QueryExpression, 39480SyntaxKind.FunctionAggregation, 39481SyntaxKind.GroupAggregation, 39482SyntaxKind.XmlDocument, 39483SyntaxKind.XmlElement, 39484SyntaxKind.XmlText, 39485SyntaxKind.XmlElementStartTag, 39486SyntaxKind.XmlElementEndTag, 39487SyntaxKind.XmlEmptyElement, 39488SyntaxKind.XmlAttribute, 39489SyntaxKind.XmlString, 39490SyntaxKind.XmlPrefixName, 39491SyntaxKind.XmlName, 39492SyntaxKind.XmlBracketedName, 39493SyntaxKind.XmlComment, 39494SyntaxKind.XmlProcessingInstruction, 39495SyntaxKind.XmlCDataSection, 39496SyntaxKind.XmlEmbeddedExpression, 39497SyntaxKind.ArrayType, 39498SyntaxKind.NullableType, 39499SyntaxKind.PredefinedType, 39500SyntaxKind.IdentifierName, 39501SyntaxKind.GenericName, 39502SyntaxKind.QualifiedName, 39503SyntaxKind.GlobalName, 39504SyntaxKind.CrefOperatorReference, 39505SyntaxKind.QualifiedCrefOperatorReference, 39506SyntaxKind.AwaitExpression, 39507SyntaxKind.XmlCrefAttribute, 39508SyntaxKind.XmlNameAttribute, 39509SyntaxKind.ConditionalAccessExpression, 39510SyntaxKind.NameOfExpression, 39511SyntaxKind.InterpolatedStringExpression 39515Return New JoinConditionSyntax(SyntaxKind.JoinCondition, Nothing, Nothing, left, DirectCast(equalsKeyword.Node, InternalSyntax.KeywordSyntax), right) 39529Return SyntaxFactory.JoinCondition(left, SyntaxFactory.Token(SyntaxKind.EqualsKeyword), right) 39554Case SyntaxKind.JoinKeyword 39559Case SyntaxKind.OnKeyword 39563Return New SimpleJoinClauseSyntax(SyntaxKind.SimpleJoinClause, Nothing, Nothing, DirectCast(joinKeyword.Node, InternalSyntax.KeywordSyntax), joinedVariables.Node, additionalJoins.Node, DirectCast(onKeyword.Node, InternalSyntax.KeywordSyntax), joinConditions.Node) 39581Return SyntaxFactory.SimpleJoinClause(SyntaxFactory.Token(SyntaxKind.JoinKeyword), joinedVariables, additionalJoins, SyntaxFactory.Token(SyntaxKind.OnKeyword), joinConditions) 39596Return SyntaxFactory.SimpleJoinClause(SyntaxFactory.Token(SyntaxKind.JoinKeyword), joinedVariables, Nothing, SyntaxFactory.Token(SyntaxKind.OnKeyword), joinConditions) 39630Case SyntaxKind.GroupKeyword 39635Case SyntaxKind.JoinKeyword 39640Case SyntaxKind.OnKeyword 39645Case SyntaxKind.IntoKeyword 39649Return New GroupJoinClauseSyntax(SyntaxKind.GroupJoinClause, Nothing, Nothing, DirectCast(groupKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(joinKeyword.Node, InternalSyntax.KeywordSyntax), joinedVariables.Node, additionalJoins.Node, DirectCast(onKeyword.Node, InternalSyntax.KeywordSyntax), joinConditions.Node, DirectCast(intoKeyword.Node, InternalSyntax.KeywordSyntax), aggregationVariables.Node) 39670Return SyntaxFactory.GroupJoinClause(SyntaxFactory.Token(SyntaxKind.GroupKeyword), SyntaxFactory.Token(SyntaxKind.JoinKeyword), joinedVariables, additionalJoins, SyntaxFactory.Token(SyntaxKind.OnKeyword), joinConditions, SyntaxFactory.Token(SyntaxKind.IntoKeyword), aggregationVariables) 39688Return SyntaxFactory.GroupJoinClause(SyntaxFactory.Token(SyntaxKind.GroupKeyword), SyntaxFactory.Token(SyntaxKind.JoinKeyword), joinedVariables, Nothing, SyntaxFactory.Token(SyntaxKind.OnKeyword), joinConditions, SyntaxFactory.Token(SyntaxKind.IntoKeyword), aggregationVariables) 39706Case SyntaxKind.OrderKeyword 39711Case SyntaxKind.ByKeyword 39715Return New OrderByClauseSyntax(SyntaxKind.OrderByClause, Nothing, Nothing, DirectCast(orderKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(byKeyword.Node, InternalSyntax.KeywordSyntax), orderings.Node) 39726Return SyntaxFactory.OrderByClause(SyntaxFactory.Token(SyntaxKind.OrderKeyword), SyntaxFactory.Token(SyntaxKind.ByKeyword), orderings) 39737Return SyntaxFactory.OrderByClause(SyntaxFactory.Token(SyntaxKind.OrderKeyword), SyntaxFactory.Token(SyntaxKind.ByKeyword), SyntaxFactory.SeparatedList(Of OrderingSyntax)().AddRange(orderings)) 39757Case SyntaxKind.KeywordEventContainer, 39758SyntaxKind.WithEventsEventContainer, 39759SyntaxKind.WithEventsPropertyEventContainer, 39760SyntaxKind.IdentifierLabel, 39761SyntaxKind.NumericLabel, 39762SyntaxKind.NextLabel, 39763SyntaxKind.MidExpression, 39764SyntaxKind.CharacterLiteralExpression, 39765SyntaxKind.TrueLiteralExpression, 39766SyntaxKind.FalseLiteralExpression, 39767SyntaxKind.NumericLiteralExpression, 39768SyntaxKind.DateLiteralExpression, 39769SyntaxKind.StringLiteralExpression, 39770SyntaxKind.NothingLiteralExpression, 39771SyntaxKind.ParenthesizedExpression, 39772SyntaxKind.TupleExpression, 39773SyntaxKind.TupleType, 39774SyntaxKind.MeExpression, 39775SyntaxKind.MyBaseExpression, 39776SyntaxKind.MyClassExpression, 39777SyntaxKind.GetTypeExpression, 39778SyntaxKind.TypeOfIsExpression, 39779SyntaxKind.TypeOfIsNotExpression, 39780SyntaxKind.GetXmlNamespaceExpression, 39781SyntaxKind.SimpleMemberAccessExpression, 39782SyntaxKind.DictionaryAccessExpression, 39783SyntaxKind.XmlElementAccessExpression, 39784SyntaxKind.XmlDescendantAccessExpression, 39785SyntaxKind.XmlAttributeAccessExpression, 39786SyntaxKind.InvocationExpression, 39787SyntaxKind.ObjectCreationExpression, 39788SyntaxKind.AnonymousObjectCreationExpression, 39789SyntaxKind.ArrayCreationExpression, 39790SyntaxKind.CollectionInitializer, 39791SyntaxKind.CTypeExpression, 39792SyntaxKind.DirectCastExpression, 39793SyntaxKind.TryCastExpression, 39794SyntaxKind.PredefinedCastExpression, 39795SyntaxKind.AddExpression, 39796SyntaxKind.SubtractExpression, 39797SyntaxKind.MultiplyExpression, 39798SyntaxKind.DivideExpression, 39799SyntaxKind.IntegerDivideExpression, 39800SyntaxKind.ExponentiateExpression, 39801SyntaxKind.LeftShiftExpression, 39802SyntaxKind.RightShiftExpression, 39803SyntaxKind.ConcatenateExpression, 39804SyntaxKind.ModuloExpression, 39805SyntaxKind.EqualsExpression, 39806SyntaxKind.NotEqualsExpression, 39807SyntaxKind.LessThanExpression, 39808SyntaxKind.LessThanOrEqualExpression, 39809SyntaxKind.GreaterThanOrEqualExpression, 39810SyntaxKind.GreaterThanExpression, 39811SyntaxKind.IsExpression, 39812SyntaxKind.IsNotExpression, 39813SyntaxKind.LikeExpression, 39814SyntaxKind.OrExpression, 39815SyntaxKind.ExclusiveOrExpression, 39816SyntaxKind.AndExpression, 39817SyntaxKind.OrElseExpression, 39818SyntaxKind.AndAlsoExpression, 39819SyntaxKind.UnaryPlusExpression, 39820SyntaxKind.UnaryMinusExpression, 39821SyntaxKind.NotExpression, 39822SyntaxKind.AddressOfExpression, 39823SyntaxKind.BinaryConditionalExpression, 39824SyntaxKind.TernaryConditionalExpression, 39825SyntaxKind.SingleLineFunctionLambdaExpression, 39826SyntaxKind.SingleLineSubLambdaExpression, 39827SyntaxKind.MultiLineFunctionLambdaExpression, 39828SyntaxKind.MultiLineSubLambdaExpression, 39829SyntaxKind.QueryExpression, 39830SyntaxKind.FunctionAggregation, 39831SyntaxKind.GroupAggregation, 39832SyntaxKind.XmlDocument, 39833SyntaxKind.XmlElement, 39834SyntaxKind.XmlText, 39835SyntaxKind.XmlElementStartTag, 39836SyntaxKind.XmlElementEndTag, 39837SyntaxKind.XmlEmptyElement, 39838SyntaxKind.XmlAttribute, 39839SyntaxKind.XmlString, 39840SyntaxKind.XmlPrefixName, 39841SyntaxKind.XmlName, 39842SyntaxKind.XmlBracketedName, 39843SyntaxKind.XmlComment, 39844SyntaxKind.XmlProcessingInstruction, 39845SyntaxKind.XmlCDataSection, 39846SyntaxKind.XmlEmbeddedExpression, 39847SyntaxKind.ArrayType, 39848SyntaxKind.NullableType, 39849SyntaxKind.PredefinedType, 39850SyntaxKind.IdentifierName, 39851SyntaxKind.GenericName, 39852SyntaxKind.QualifiedName, 39853SyntaxKind.GlobalName, 39854SyntaxKind.CrefOperatorReference, 39855SyntaxKind.QualifiedCrefOperatorReference, 39856SyntaxKind.AwaitExpression, 39857SyntaxKind.XmlCrefAttribute, 39858SyntaxKind.XmlNameAttribute, 39859SyntaxKind.ConditionalAccessExpression, 39860SyntaxKind.NameOfExpression, 39861SyntaxKind.InterpolatedStringExpression 39865Return New OrderingSyntax(SyntaxKind.AscendingOrdering, Nothing, Nothing, expression, DirectCast(ascendingOrDescendingKeyword.Node, InternalSyntax.KeywordSyntax)) 39897Case SyntaxKind.KeywordEventContainer, 39898SyntaxKind.WithEventsEventContainer, 39899SyntaxKind.WithEventsPropertyEventContainer, 39900SyntaxKind.IdentifierLabel, 39901SyntaxKind.NumericLabel, 39902SyntaxKind.NextLabel, 39903SyntaxKind.MidExpression, 39904SyntaxKind.CharacterLiteralExpression, 39905SyntaxKind.TrueLiteralExpression, 39906SyntaxKind.FalseLiteralExpression, 39907SyntaxKind.NumericLiteralExpression, 39908SyntaxKind.DateLiteralExpression, 39909SyntaxKind.StringLiteralExpression, 39910SyntaxKind.NothingLiteralExpression, 39911SyntaxKind.ParenthesizedExpression, 39912SyntaxKind.TupleExpression, 39913SyntaxKind.TupleType, 39914SyntaxKind.MeExpression, 39915SyntaxKind.MyBaseExpression, 39916SyntaxKind.MyClassExpression, 39917SyntaxKind.GetTypeExpression, 39918SyntaxKind.TypeOfIsExpression, 39919SyntaxKind.TypeOfIsNotExpression, 39920SyntaxKind.GetXmlNamespaceExpression, 39921SyntaxKind.SimpleMemberAccessExpression, 39922SyntaxKind.DictionaryAccessExpression, 39923SyntaxKind.XmlElementAccessExpression, 39924SyntaxKind.XmlDescendantAccessExpression, 39925SyntaxKind.XmlAttributeAccessExpression, 39926SyntaxKind.InvocationExpression, 39927SyntaxKind.ObjectCreationExpression, 39928SyntaxKind.AnonymousObjectCreationExpression, 39929SyntaxKind.ArrayCreationExpression, 39930SyntaxKind.CollectionInitializer, 39931SyntaxKind.CTypeExpression, 39932SyntaxKind.DirectCastExpression, 39933SyntaxKind.TryCastExpression, 39934SyntaxKind.PredefinedCastExpression, 39935SyntaxKind.AddExpression, 39936SyntaxKind.SubtractExpression, 39937SyntaxKind.MultiplyExpression, 39938SyntaxKind.DivideExpression, 39939SyntaxKind.IntegerDivideExpression, 39940SyntaxKind.ExponentiateExpression, 39941SyntaxKind.LeftShiftExpression, 39942SyntaxKind.RightShiftExpression, 39943SyntaxKind.ConcatenateExpression, 39944SyntaxKind.ModuloExpression, 39945SyntaxKind.EqualsExpression, 39946SyntaxKind.NotEqualsExpression, 39947SyntaxKind.LessThanExpression, 39948SyntaxKind.LessThanOrEqualExpression, 39949SyntaxKind.GreaterThanOrEqualExpression, 39950SyntaxKind.GreaterThanExpression, 39951SyntaxKind.IsExpression, 39952SyntaxKind.IsNotExpression, 39953SyntaxKind.LikeExpression, 39954SyntaxKind.OrExpression, 39955SyntaxKind.ExclusiveOrExpression, 39956SyntaxKind.AndExpression, 39957SyntaxKind.OrElseExpression, 39958SyntaxKind.AndAlsoExpression, 39959SyntaxKind.UnaryPlusExpression, 39960SyntaxKind.UnaryMinusExpression, 39961SyntaxKind.NotExpression, 39962SyntaxKind.AddressOfExpression, 39963SyntaxKind.BinaryConditionalExpression, 39964SyntaxKind.TernaryConditionalExpression, 39965SyntaxKind.SingleLineFunctionLambdaExpression, 39966SyntaxKind.SingleLineSubLambdaExpression, 39967SyntaxKind.MultiLineFunctionLambdaExpression, 39968SyntaxKind.MultiLineSubLambdaExpression, 39969SyntaxKind.QueryExpression, 39970SyntaxKind.FunctionAggregation, 39971SyntaxKind.GroupAggregation, 39972SyntaxKind.XmlDocument, 39973SyntaxKind.XmlElement, 39974SyntaxKind.XmlText, 39975SyntaxKind.XmlElementStartTag, 39976SyntaxKind.XmlElementEndTag, 39977SyntaxKind.XmlEmptyElement, 39978SyntaxKind.XmlAttribute, 39979SyntaxKind.XmlString, 39980SyntaxKind.XmlPrefixName, 39981SyntaxKind.XmlName, 39982SyntaxKind.XmlBracketedName, 39983SyntaxKind.XmlComment, 39984SyntaxKind.XmlProcessingInstruction, 39985SyntaxKind.XmlCDataSection, 39986SyntaxKind.XmlEmbeddedExpression, 39987SyntaxKind.ArrayType, 39988SyntaxKind.NullableType, 39989SyntaxKind.PredefinedType, 39990SyntaxKind.IdentifierName, 39991SyntaxKind.GenericName, 39992SyntaxKind.QualifiedName, 39993SyntaxKind.GlobalName, 39994SyntaxKind.CrefOperatorReference, 39995SyntaxKind.QualifiedCrefOperatorReference, 39996SyntaxKind.AwaitExpression, 39997SyntaxKind.XmlCrefAttribute, 39998SyntaxKind.XmlNameAttribute, 39999SyntaxKind.ConditionalAccessExpression, 40000SyntaxKind.NameOfExpression, 40001SyntaxKind.InterpolatedStringExpression 40005Return New OrderingSyntax(SyntaxKind.DescendingOrdering, Nothing, Nothing, expression, DirectCast(ascendingOrDescendingKeyword.Node, InternalSyntax.KeywordSyntax)) 40026''' A <see cref="SyntaxKind"/> representing the specific kind of OrderingSyntax. 40036Public Shared Function Ordering(ByVal kind As SyntaxKind, expression As ExpressionSyntax, ascendingOrDescendingKeyword As SyntaxToken) As OrderingSyntax 40044Case SyntaxKind.KeywordEventContainer, 40045SyntaxKind.WithEventsEventContainer, 40046SyntaxKind.WithEventsPropertyEventContainer, 40047SyntaxKind.IdentifierLabel, 40048SyntaxKind.NumericLabel, 40049SyntaxKind.NextLabel, 40050SyntaxKind.MidExpression, 40051SyntaxKind.CharacterLiteralExpression, 40052SyntaxKind.TrueLiteralExpression, 40053SyntaxKind.FalseLiteralExpression, 40054SyntaxKind.NumericLiteralExpression, 40055SyntaxKind.DateLiteralExpression, 40056SyntaxKind.StringLiteralExpression, 40057SyntaxKind.NothingLiteralExpression, 40058SyntaxKind.ParenthesizedExpression, 40059SyntaxKind.TupleExpression, 40060SyntaxKind.TupleType, 40061SyntaxKind.MeExpression, 40062SyntaxKind.MyBaseExpression, 40063SyntaxKind.MyClassExpression, 40064SyntaxKind.GetTypeExpression, 40065SyntaxKind.TypeOfIsExpression, 40066SyntaxKind.TypeOfIsNotExpression, 40067SyntaxKind.GetXmlNamespaceExpression, 40068SyntaxKind.SimpleMemberAccessExpression, 40069SyntaxKind.DictionaryAccessExpression, 40070SyntaxKind.XmlElementAccessExpression, 40071SyntaxKind.XmlDescendantAccessExpression, 40072SyntaxKind.XmlAttributeAccessExpression, 40073SyntaxKind.InvocationExpression, 40074SyntaxKind.ObjectCreationExpression, 40075SyntaxKind.AnonymousObjectCreationExpression, 40076SyntaxKind.ArrayCreationExpression, 40077SyntaxKind.CollectionInitializer, 40078SyntaxKind.CTypeExpression, 40079SyntaxKind.DirectCastExpression, 40080SyntaxKind.TryCastExpression, 40081SyntaxKind.PredefinedCastExpression, 40082SyntaxKind.AddExpression, 40083SyntaxKind.SubtractExpression, 40084SyntaxKind.MultiplyExpression, 40085SyntaxKind.DivideExpression, 40086SyntaxKind.IntegerDivideExpression, 40087SyntaxKind.ExponentiateExpression, 40088SyntaxKind.LeftShiftExpression, 40089SyntaxKind.RightShiftExpression, 40090SyntaxKind.ConcatenateExpression, 40091SyntaxKind.ModuloExpression, 40092SyntaxKind.EqualsExpression, 40093SyntaxKind.NotEqualsExpression, 40094SyntaxKind.LessThanExpression, 40095SyntaxKind.LessThanOrEqualExpression, 40096SyntaxKind.GreaterThanOrEqualExpression, 40097SyntaxKind.GreaterThanExpression, 40098SyntaxKind.IsExpression, 40099SyntaxKind.IsNotExpression, 40100SyntaxKind.LikeExpression, 40101SyntaxKind.OrExpression, 40102SyntaxKind.ExclusiveOrExpression, 40103SyntaxKind.AndExpression, 40104SyntaxKind.OrElseExpression, 40105SyntaxKind.AndAlsoExpression, 40106SyntaxKind.UnaryPlusExpression, 40107SyntaxKind.UnaryMinusExpression, 40108SyntaxKind.NotExpression, 40109SyntaxKind.AddressOfExpression, 40110SyntaxKind.BinaryConditionalExpression, 40111SyntaxKind.TernaryConditionalExpression, 40112SyntaxKind.SingleLineFunctionLambdaExpression, 40113SyntaxKind.SingleLineSubLambdaExpression, 40114SyntaxKind.MultiLineFunctionLambdaExpression, 40115SyntaxKind.MultiLineSubLambdaExpression, 40116SyntaxKind.QueryExpression, 40117SyntaxKind.FunctionAggregation, 40118SyntaxKind.GroupAggregation, 40119SyntaxKind.XmlDocument, 40120SyntaxKind.XmlElement, 40121SyntaxKind.XmlText, 40122SyntaxKind.XmlElementStartTag, 40123SyntaxKind.XmlElementEndTag, 40124SyntaxKind.XmlEmptyElement, 40125SyntaxKind.XmlAttribute, 40126SyntaxKind.XmlString, 40127SyntaxKind.XmlPrefixName, 40128SyntaxKind.XmlName, 40129SyntaxKind.XmlBracketedName, 40130SyntaxKind.XmlComment, 40131SyntaxKind.XmlProcessingInstruction, 40132SyntaxKind.XmlCDataSection, 40133SyntaxKind.XmlEmbeddedExpression, 40134SyntaxKind.ArrayType, 40135SyntaxKind.NullableType, 40136SyntaxKind.PredefinedType, 40137SyntaxKind.IdentifierName, 40138SyntaxKind.GenericName, 40139SyntaxKind.QualifiedName, 40140SyntaxKind.GlobalName, 40141SyntaxKind.CrefOperatorReference, 40142SyntaxKind.QualifiedCrefOperatorReference, 40143SyntaxKind.AwaitExpression, 40144SyntaxKind.XmlCrefAttribute, 40145SyntaxKind.XmlNameAttribute, 40146SyntaxKind.ConditionalAccessExpression, 40147SyntaxKind.NameOfExpression, 40148SyntaxKind.InterpolatedStringExpression 40155Private Shared Function GetOrderingAscendingOrDescendingKeywordKind(kind As SyntaxKind) As SyntaxKind 40157Case SyntaxKind.AscendingOrdering 40158Return SyntaxKind.AscendingKeyword 40159Case SyntaxKind.DescendingOrdering 40160Return SyntaxKind.DescendingKeyword 40171''' A <see cref="SyntaxKind"/> representing the specific kind of OrderingSyntax. 40177Public Shared Function Ordering(ByVal kind As SyntaxKind, expression As ExpressionSyntax) As OrderingSyntax 40194Case SyntaxKind.SelectKeyword 40198Return New SelectClauseSyntax(SyntaxKind.SelectClause, Nothing, Nothing, DirectCast(selectKeyword.Node, InternalSyntax.KeywordSyntax), variables.Node) 40210Return SyntaxFactory.SelectClause(SyntaxFactory.Token(SyntaxKind.SelectKeyword), variables) 40222Return SyntaxFactory.SelectClause(SyntaxFactory.Token(SyntaxKind.SelectKeyword), SyntaxFactory.SeparatedList(Of ExpressionRangeVariableSyntax)().AddRange(variables)) 40234Case SyntaxKind.XmlDeclaration 40242Case SyntaxKind.XmlElement, 40243SyntaxKind.XmlEmptyElement, 40244SyntaxKind.XmlEmbeddedExpression 40248Return New XmlDocumentSyntax(SyntaxKind.XmlDocument, Nothing, Nothing, declaration, precedingMisc.Node, root, followingMisc.Node) 40265Case SyntaxKind.LessThanQuestionToken 40270Case SyntaxKind.XmlKeyword 40278Case SyntaxKind.XmlDeclarationOption 40283Case SyntaxKind.QuestionGreaterThanToken 40287Return New XmlDeclarationSyntax(SyntaxKind.XmlDeclaration, Nothing, Nothing, DirectCast(lessThanQuestionToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(xmlKeyword.Node, InternalSyntax.KeywordSyntax), version, encoding, standalone, DirectCast(questionGreaterThanToken.Node, InternalSyntax.PunctuationSyntax)) 40295Return SyntaxFactory.XmlDeclaration(SyntaxFactory.Token(SyntaxKind.LessThanQuestionToken), SyntaxFactory.Token(SyntaxKind.XmlKeyword), version, encoding, standalone, SyntaxFactory.Token(SyntaxKind.QuestionGreaterThanToken)) 40303Return SyntaxFactory.XmlDeclaration(SyntaxFactory.Token(SyntaxKind.LessThanQuestionToken), SyntaxFactory.Token(SyntaxKind.XmlKeyword), version, Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.QuestionGreaterThanToken)) 40313Case SyntaxKind.XmlNameToken 40318Case SyntaxKind.EqualsToken 40326Case SyntaxKind.XmlString 40330Return New XmlDeclarationOptionSyntax(SyntaxKind.XmlDeclarationOption, Nothing, Nothing, DirectCast(name.Node, InternalSyntax.XmlNameTokenSyntax), DirectCast(equals.Node, InternalSyntax.PunctuationSyntax), value) 40339Return SyntaxFactory.XmlDeclarationOption(SyntaxFactory.Token(SyntaxKind.XmlNameToken), SyntaxFactory.Token(SyntaxKind.EqualsToken), value) 40351Case SyntaxKind.XmlElementStartTag 40359Case SyntaxKind.XmlElementEndTag 40363Return New XmlElementSyntax(SyntaxKind.XmlElement, Nothing, Nothing, startTag, content.Node, endTag) 40383Return New XmlTextSyntax(SyntaxKind.XmlText, Nothing, Nothing, textTokens.Node) 40391Return SyntaxFactory.XmlText(SyntaxTokenList.Create(SyntaxFactory.Token(SyntaxKind.XmlTextLiteralToken))) 40400Case SyntaxKind.LessThanToken 40408Case SyntaxKind.XmlName, 40409SyntaxKind.XmlEmbeddedExpression 40414Case SyntaxKind.GreaterThanToken 40418Return New XmlElementStartTagSyntax(SyntaxKind.XmlElementStartTag, Nothing, Nothing, DirectCast(lessThanToken.Node, InternalSyntax.PunctuationSyntax), name, attributes.Node, DirectCast(greaterThanToken.Node, InternalSyntax.PunctuationSyntax)) 40426Return SyntaxFactory.XmlElementStartTag(SyntaxFactory.Token(SyntaxKind.LessThanToken), name, attributes, SyntaxFactory.Token(SyntaxKind.GreaterThanToken)) 40434Return SyntaxFactory.XmlElementStartTag(SyntaxFactory.Token(SyntaxKind.LessThanToken), name, Nothing, SyntaxFactory.Token(SyntaxKind.GreaterThanToken)) 40443Case SyntaxKind.LessThanSlashToken 40448Case SyntaxKind.GreaterThanToken 40452Return New XmlElementEndTagSyntax(SyntaxKind.XmlElementEndTag, Nothing, Nothing, DirectCast(lessThanSlashToken.Node, InternalSyntax.PunctuationSyntax), name, DirectCast(greaterThanToken.Node, InternalSyntax.PunctuationSyntax)) 40460Return SyntaxFactory.XmlElementEndTag(SyntaxFactory.Token(SyntaxKind.LessThanSlashToken), name, SyntaxFactory.Token(SyntaxKind.GreaterThanToken)) 40468Return SyntaxFactory.XmlElementEndTag(SyntaxFactory.Token(SyntaxKind.LessThanSlashToken), Nothing, SyntaxFactory.Token(SyntaxKind.GreaterThanToken)) 40477Case SyntaxKind.LessThanToken 40485Case SyntaxKind.XmlName, 40486SyntaxKind.XmlEmbeddedExpression 40491Case SyntaxKind.SlashGreaterThanToken 40495Return New XmlEmptyElementSyntax(SyntaxKind.XmlEmptyElement, Nothing, Nothing, DirectCast(lessThanToken.Node, InternalSyntax.PunctuationSyntax), name, attributes.Node, DirectCast(slashGreaterThanToken.Node, InternalSyntax.PunctuationSyntax)) 40503Return SyntaxFactory.XmlEmptyElement(SyntaxFactory.Token(SyntaxKind.LessThanToken), name, attributes, SyntaxFactory.Token(SyntaxKind.SlashGreaterThanToken)) 40511Return SyntaxFactory.XmlEmptyElement(SyntaxFactory.Token(SyntaxKind.LessThanToken), name, Nothing, SyntaxFactory.Token(SyntaxKind.SlashGreaterThanToken)) 40523Case SyntaxKind.XmlName, 40524SyntaxKind.XmlEmbeddedExpression 40529Case SyntaxKind.EqualsToken 40537Case SyntaxKind.XmlString, 40538SyntaxKind.XmlEmbeddedExpression 40542Return New XmlAttributeSyntax(SyntaxKind.XmlAttribute, Nothing, Nothing, name, DirectCast(equalsToken.Node, InternalSyntax.PunctuationSyntax), value) 40550Return SyntaxFactory.XmlAttribute(name, SyntaxFactory.Token(SyntaxKind.EqualsToken), value) 40560Case SyntaxKind.DoubleQuoteToken : 40561Case SyntaxKind.SingleQuoteToken 40566Case SyntaxKind.DoubleQuoteToken : 40567Case SyntaxKind.SingleQuoteToken 40571Return New XmlStringSyntax(SyntaxKind.XmlString, Nothing, Nothing, DirectCast(startQuoteToken.Node, InternalSyntax.PunctuationSyntax), textTokens.Node, DirectCast(endQuoteToken.Node, InternalSyntax.PunctuationSyntax)) 40589Case SyntaxKind.XmlNameToken 40593Return New XmlPrefixNameSyntax(SyntaxKind.XmlPrefixName, Nothing, Nothing, DirectCast(name.Node, InternalSyntax.XmlNameTokenSyntax)) 40601Return SyntaxFactory.XmlPrefixName(SyntaxFactory.Token(SyntaxKind.XmlNameToken)) 40612Case SyntaxKind.XmlNameToken 40616Return New XmlNameSyntax(SyntaxKind.XmlName, Nothing, Nothing, prefix, DirectCast(localName.Node, InternalSyntax.XmlNameTokenSyntax)) 40626Return SyntaxFactory.XmlName(Nothing, SyntaxFactory.Token(SyntaxKind.XmlNameToken)) 40637Case SyntaxKind.LessThanToken 40645Case SyntaxKind.XmlName 40650Case SyntaxKind.GreaterThanToken 40654Return New XmlBracketedNameSyntax(SyntaxKind.XmlBracketedName, Nothing, Nothing, DirectCast(lessThanToken.Node, InternalSyntax.PunctuationSyntax), name, DirectCast(greaterThanToken.Node, InternalSyntax.PunctuationSyntax)) 40664Return SyntaxFactory.XmlBracketedName(SyntaxFactory.Token(SyntaxKind.LessThanToken), name, SyntaxFactory.Token(SyntaxKind.GreaterThanToken)) 40673Case SyntaxKind.XmlNameToken 40678Case SyntaxKind.ColonToken 40682Return New XmlPrefixSyntax(SyntaxKind.XmlPrefix, Nothing, Nothing, DirectCast(name.Node, InternalSyntax.XmlNameTokenSyntax), DirectCast(colonToken.Node, InternalSyntax.PunctuationSyntax)) 40690Return SyntaxFactory.XmlPrefix(SyntaxFactory.Token(SyntaxKind.XmlNameToken), SyntaxFactory.Token(SyntaxKind.ColonToken)) 40700Case SyntaxKind.LessThanExclamationMinusMinusToken 40705Case SyntaxKind.MinusMinusGreaterThanToken 40709Return New XmlCommentSyntax(SyntaxKind.XmlComment, Nothing, Nothing, DirectCast(lessThanExclamationMinusMinusToken.Node, InternalSyntax.PunctuationSyntax), textTokens.Node, DirectCast(minusMinusGreaterThanToken.Node, InternalSyntax.PunctuationSyntax)) 40718Return SyntaxFactory.XmlComment(SyntaxFactory.Token(SyntaxKind.LessThanExclamationMinusMinusToken), SyntaxTokenList.Create(SyntaxFactory.Token(SyntaxKind.XmlTextLiteralToken)), SyntaxFactory.Token(SyntaxKind.MinusMinusGreaterThanToken)) 40728Case SyntaxKind.LessThanQuestionToken 40733Case SyntaxKind.XmlNameToken 40738Case SyntaxKind.QuestionGreaterThanToken 40742Return New XmlProcessingInstructionSyntax(SyntaxKind.XmlProcessingInstruction, Nothing, Nothing, DirectCast(lessThanQuestionToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(name.Node, InternalSyntax.XmlNameTokenSyntax), textTokens.Node, DirectCast(questionGreaterThanToken.Node, InternalSyntax.PunctuationSyntax)) 40751Return SyntaxFactory.XmlProcessingInstruction(SyntaxFactory.Token(SyntaxKind.LessThanQuestionToken), SyntaxFactory.Token(SyntaxKind.XmlNameToken), SyntaxTokenList.Create(SyntaxFactory.Token(SyntaxKind.XmlTextLiteralToken)), SyntaxFactory.Token(SyntaxKind.QuestionGreaterThanToken)) 40760Case SyntaxKind.BeginCDataToken 40765Case SyntaxKind.EndCDataToken 40769Return New XmlCDataSectionSyntax(SyntaxKind.XmlCDataSection, Nothing, Nothing, DirectCast(beginCDataToken.Node, InternalSyntax.PunctuationSyntax), textTokens.Node, DirectCast(endCDataToken.Node, InternalSyntax.PunctuationSyntax)) 40777Return SyntaxFactory.XmlCDataSection(SyntaxFactory.Token(SyntaxKind.BeginCDataToken), SyntaxTokenList.Create(SyntaxFactory.Token(SyntaxKind.XmlTextLiteralToken)), SyntaxFactory.Token(SyntaxKind.EndCDataToken)) 40787Case SyntaxKind.LessThanPercentEqualsToken 40795Case SyntaxKind.KeywordEventContainer, 40796SyntaxKind.WithEventsEventContainer, 40797SyntaxKind.WithEventsPropertyEventContainer, 40798SyntaxKind.IdentifierLabel, 40799SyntaxKind.NumericLabel, 40800SyntaxKind.NextLabel, 40801SyntaxKind.MidExpression, 40802SyntaxKind.CharacterLiteralExpression, 40803SyntaxKind.TrueLiteralExpression, 40804SyntaxKind.FalseLiteralExpression, 40805SyntaxKind.NumericLiteralExpression, 40806SyntaxKind.DateLiteralExpression, 40807SyntaxKind.StringLiteralExpression, 40808SyntaxKind.NothingLiteralExpression, 40809SyntaxKind.ParenthesizedExpression, 40810SyntaxKind.TupleExpression, 40811SyntaxKind.TupleType, 40812SyntaxKind.MeExpression, 40813SyntaxKind.MyBaseExpression, 40814SyntaxKind.MyClassExpression, 40815SyntaxKind.GetTypeExpression, 40816SyntaxKind.TypeOfIsExpression, 40817SyntaxKind.TypeOfIsNotExpression, 40818SyntaxKind.GetXmlNamespaceExpression, 40819SyntaxKind.SimpleMemberAccessExpression, 40820SyntaxKind.DictionaryAccessExpression, 40821SyntaxKind.XmlElementAccessExpression, 40822SyntaxKind.XmlDescendantAccessExpression, 40823SyntaxKind.XmlAttributeAccessExpression, 40824SyntaxKind.InvocationExpression, 40825SyntaxKind.ObjectCreationExpression, 40826SyntaxKind.AnonymousObjectCreationExpression, 40827SyntaxKind.ArrayCreationExpression, 40828SyntaxKind.CollectionInitializer, 40829SyntaxKind.CTypeExpression, 40830SyntaxKind.DirectCastExpression, 40831SyntaxKind.TryCastExpression, 40832SyntaxKind.PredefinedCastExpression, 40833SyntaxKind.AddExpression, 40834SyntaxKind.SubtractExpression, 40835SyntaxKind.MultiplyExpression, 40836SyntaxKind.DivideExpression, 40837SyntaxKind.IntegerDivideExpression, 40838SyntaxKind.ExponentiateExpression, 40839SyntaxKind.LeftShiftExpression, 40840SyntaxKind.RightShiftExpression, 40841SyntaxKind.ConcatenateExpression, 40842SyntaxKind.ModuloExpression, 40843SyntaxKind.EqualsExpression, 40844SyntaxKind.NotEqualsExpression, 40845SyntaxKind.LessThanExpression, 40846SyntaxKind.LessThanOrEqualExpression, 40847SyntaxKind.GreaterThanOrEqualExpression, 40848SyntaxKind.GreaterThanExpression, 40849SyntaxKind.IsExpression, 40850SyntaxKind.IsNotExpression, 40851SyntaxKind.LikeExpression, 40852SyntaxKind.OrExpression, 40853SyntaxKind.ExclusiveOrExpression, 40854SyntaxKind.AndExpression, 40855SyntaxKind.OrElseExpression, 40856SyntaxKind.AndAlsoExpression, 40857SyntaxKind.UnaryPlusExpression, 40858SyntaxKind.UnaryMinusExpression, 40859SyntaxKind.NotExpression, 40860SyntaxKind.AddressOfExpression, 40861SyntaxKind.BinaryConditionalExpression, 40862SyntaxKind.TernaryConditionalExpression, 40863SyntaxKind.SingleLineFunctionLambdaExpression, 40864SyntaxKind.SingleLineSubLambdaExpression, 40865SyntaxKind.MultiLineFunctionLambdaExpression, 40866SyntaxKind.MultiLineSubLambdaExpression, 40867SyntaxKind.QueryExpression, 40868SyntaxKind.FunctionAggregation, 40869SyntaxKind.GroupAggregation, 40870SyntaxKind.XmlDocument, 40871SyntaxKind.XmlElement, 40872SyntaxKind.XmlText, 40873SyntaxKind.XmlElementStartTag, 40874SyntaxKind.XmlElementEndTag, 40875SyntaxKind.XmlEmptyElement, 40876SyntaxKind.XmlAttribute, 40877SyntaxKind.XmlString, 40878SyntaxKind.XmlPrefixName, 40879SyntaxKind.XmlName, 40880SyntaxKind.XmlBracketedName, 40881SyntaxKind.XmlComment, 40882SyntaxKind.XmlProcessingInstruction, 40883SyntaxKind.XmlCDataSection, 40884SyntaxKind.XmlEmbeddedExpression, 40885SyntaxKind.ArrayType, 40886SyntaxKind.NullableType, 40887SyntaxKind.PredefinedType, 40888SyntaxKind.IdentifierName, 40889SyntaxKind.GenericName, 40890SyntaxKind.QualifiedName, 40891SyntaxKind.GlobalName, 40892SyntaxKind.CrefOperatorReference, 40893SyntaxKind.QualifiedCrefOperatorReference, 40894SyntaxKind.AwaitExpression, 40895SyntaxKind.XmlCrefAttribute, 40896SyntaxKind.XmlNameAttribute, 40897SyntaxKind.ConditionalAccessExpression, 40898SyntaxKind.NameOfExpression, 40899SyntaxKind.InterpolatedStringExpression 40904Case SyntaxKind.PercentGreaterThanToken 40908Return New XmlEmbeddedExpressionSyntax(SyntaxKind.XmlEmbeddedExpression, Nothing, Nothing, DirectCast(lessThanPercentEqualsToken.Node, InternalSyntax.PunctuationSyntax), expression, DirectCast(percentGreaterThanToken.Node, InternalSyntax.PunctuationSyntax)) 40917Return SyntaxFactory.XmlEmbeddedExpression(SyntaxFactory.Token(SyntaxKind.LessThanPercentEqualsToken), expression, SyntaxFactory.Token(SyntaxKind.PercentGreaterThanToken)) 40936Case SyntaxKind.PredefinedType, 40937SyntaxKind.NullableType, 40938SyntaxKind.IdentifierName, 40939SyntaxKind.GenericName, 40940SyntaxKind.QualifiedName, 40941SyntaxKind.GlobalName, 40942SyntaxKind.CrefOperatorReference, 40943SyntaxKind.QualifiedCrefOperatorReference, 40944SyntaxKind.TupleType 40948Return New ArrayTypeSyntax(SyntaxKind.ArrayType, Nothing, Nothing, elementType, rankSpecifiers.Node) 40979Case SyntaxKind.PredefinedType, 40980SyntaxKind.IdentifierName, 40981SyntaxKind.GenericName, 40982SyntaxKind.QualifiedName, 40983SyntaxKind.GlobalName, 40984SyntaxKind.CrefOperatorReference, 40985SyntaxKind.QualifiedCrefOperatorReference, 40986SyntaxKind.TupleType 40991Case SyntaxKind.QuestionToken 40995Return New NullableTypeSyntax(SyntaxKind.NullableType, Nothing, Nothing, elementType, DirectCast(questionMarkToken.Node, InternalSyntax.PunctuationSyntax)) 41007Return SyntaxFactory.NullableType(elementType, SyntaxFactory.Token(SyntaxKind.QuestionToken)) 41020Case SyntaxKind.ObjectKeyword : 41021Case SyntaxKind.BooleanKeyword : 41022Case SyntaxKind.DateKeyword : 41023Case SyntaxKind.CharKeyword : 41024Case SyntaxKind.StringKeyword : 41025Case SyntaxKind.DecimalKeyword : 41026Case SyntaxKind.ByteKeyword : 41027Case SyntaxKind.SByteKeyword : 41028Case SyntaxKind.UShortKeyword : 41029Case SyntaxKind.ShortKeyword : 41030Case SyntaxKind.UIntegerKeyword : 41031Case SyntaxKind.IntegerKeyword : 41032Case SyntaxKind.ULongKeyword : 41033Case SyntaxKind.LongKeyword : 41034Case SyntaxKind.SingleKeyword : 41035Case SyntaxKind.DoubleKeyword 41039Return New PredefinedTypeSyntax(SyntaxKind.PredefinedType, Nothing, Nothing, DirectCast(keyword.Node, InternalSyntax.KeywordSyntax)) 41052Case SyntaxKind.IdentifierToken 41056Return New IdentifierNameSyntax(SyntaxKind.IdentifierName, Nothing, Nothing, DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax)) 41084Case SyntaxKind.IdentifierToken 41092Case SyntaxKind.TypeArgumentList 41096Return New GenericNameSyntax(SyntaxKind.GenericName, Nothing, Nothing, DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeArgumentList) 41134Case SyntaxKind.IdentifierName, 41135SyntaxKind.GenericName, 41136SyntaxKind.QualifiedName, 41137SyntaxKind.GlobalName, 41138SyntaxKind.CrefOperatorReference, 41139SyntaxKind.QualifiedCrefOperatorReference 41144Case SyntaxKind.DotToken 41152Case SyntaxKind.IdentifierName, 41153SyntaxKind.GenericName 41157Return New QualifiedNameSyntax(SyntaxKind.QualifiedName, Nothing, Nothing, left, DirectCast(dotToken.Node, InternalSyntax.PunctuationSyntax), right) 41173Return SyntaxFactory.QualifiedName(left, SyntaxFactory.Token(SyntaxKind.DotToken), right) 41185Case SyntaxKind.GlobalKeyword 41189Return New GlobalNameSyntax(SyntaxKind.GlobalName, Nothing, Nothing, DirectCast(globalKeyword.Node, InternalSyntax.KeywordSyntax)) 41197Return SyntaxFactory.GlobalName(SyntaxFactory.Token(SyntaxKind.GlobalKeyword)) 41218Case SyntaxKind.OpenParenToken 41223Case SyntaxKind.OfKeyword 41228Case SyntaxKind.CloseParenToken 41232Return New TypeArgumentListSyntax(SyntaxKind.TypeArgumentList, Nothing, Nothing, DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(ofKeyword.Node, InternalSyntax.KeywordSyntax), arguments.Node, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 41243Return SyntaxFactory.TypeArgumentList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.OfKeyword), arguments, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 41254Return SyntaxFactory.TypeArgumentList(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.OfKeyword), SyntaxFactory.SeparatedList(Of TypeSyntax)().AddRange(arguments), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 41267Case SyntaxKind.TupleType, 41268SyntaxKind.ArrayType, 41269SyntaxKind.NullableType, 41270SyntaxKind.PredefinedType, 41271SyntaxKind.IdentifierName, 41272SyntaxKind.GenericName, 41273SyntaxKind.QualifiedName, 41274SyntaxKind.GlobalName, 41275SyntaxKind.CrefOperatorReference, 41276SyntaxKind.QualifiedCrefOperatorReference 41280Return New CrefReferenceSyntax(SyntaxKind.CrefReference, Nothing, Nothing, name, signature, asClause) 41299Case SyntaxKind.OpenParenToken 41304Case SyntaxKind.CloseParenToken 41308Return New CrefSignatureSyntax(SyntaxKind.CrefSignature, Nothing, Nothing, DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), argumentTypes.Node, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 41317Return SyntaxFactory.CrefSignature(SyntaxFactory.Token(SyntaxKind.OpenParenToken), argumentTypes, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 41326Return SyntaxFactory.CrefSignature(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.SeparatedList(Of CrefSignaturePartSyntax)().AddRange(argumentTypes), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 41331Return New CrefSignaturePartSyntax(SyntaxKind.CrefSignaturePart, Nothing, Nothing, DirectCast(modifier.Node, InternalSyntax.KeywordSyntax), type) 41342Case SyntaxKind.OperatorKeyword 41347Case SyntaxKind.CTypeKeyword : 41348Case SyntaxKind.IsTrueKeyword : 41349Case SyntaxKind.IsFalseKeyword : 41350Case SyntaxKind.NotKeyword : 41351Case SyntaxKind.PlusToken : 41352Case SyntaxKind.MinusToken : 41353Case SyntaxKind.AsteriskToken : 41354Case SyntaxKind.SlashToken : 41355Case SyntaxKind.CaretToken : 41356Case SyntaxKind.BackslashToken : 41357Case SyntaxKind.AmpersandToken : 41358Case SyntaxKind.LessThanLessThanToken : 41359Case SyntaxKind.GreaterThanGreaterThanToken : 41360Case SyntaxKind.ModKeyword : 41361Case SyntaxKind.OrKeyword : 41362Case SyntaxKind.XorKeyword : 41363Case SyntaxKind.AndKeyword : 41364Case SyntaxKind.LikeKeyword : 41365Case SyntaxKind.EqualsToken : 41366Case SyntaxKind.LessThanGreaterThanToken : 41367Case SyntaxKind.LessThanToken : 41368Case SyntaxKind.LessThanEqualsToken : 41369Case SyntaxKind.GreaterThanEqualsToken : 41370Case SyntaxKind.GreaterThanToken 41374Return New CrefOperatorReferenceSyntax(SyntaxKind.CrefOperatorReference, Nothing, Nothing, DirectCast(operatorKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken)) 41379Return SyntaxFactory.CrefOperatorReference(SyntaxFactory.Token(SyntaxKind.OperatorKeyword), operatorToken) 41388Case SyntaxKind.IdentifierName, 41389SyntaxKind.GenericName, 41390SyntaxKind.QualifiedName, 41391SyntaxKind.GlobalName, 41392SyntaxKind.CrefOperatorReference, 41393SyntaxKind.QualifiedCrefOperatorReference 41398Case SyntaxKind.DotToken 41406Case SyntaxKind.CrefOperatorReference 41410Return New QualifiedCrefOperatorReferenceSyntax(SyntaxKind.QualifiedCrefOperatorReference, Nothing, Nothing, left, DirectCast(dotToken.Node, InternalSyntax.PunctuationSyntax), right) 41415Return SyntaxFactory.QualifiedCrefOperatorReference(left, SyntaxFactory.Token(SyntaxKind.DotToken), right) 41430Case SyntaxKind.YieldKeyword 41438Case SyntaxKind.KeywordEventContainer, 41439SyntaxKind.WithEventsEventContainer, 41440SyntaxKind.WithEventsPropertyEventContainer, 41441SyntaxKind.IdentifierLabel, 41442SyntaxKind.NumericLabel, 41443SyntaxKind.NextLabel, 41444SyntaxKind.MidExpression, 41445SyntaxKind.CharacterLiteralExpression, 41446SyntaxKind.TrueLiteralExpression, 41447SyntaxKind.FalseLiteralExpression, 41448SyntaxKind.NumericLiteralExpression, 41449SyntaxKind.DateLiteralExpression, 41450SyntaxKind.StringLiteralExpression, 41451SyntaxKind.NothingLiteralExpression, 41452SyntaxKind.ParenthesizedExpression, 41453SyntaxKind.TupleExpression, 41454SyntaxKind.TupleType, 41455SyntaxKind.MeExpression, 41456SyntaxKind.MyBaseExpression, 41457SyntaxKind.MyClassExpression, 41458SyntaxKind.GetTypeExpression, 41459SyntaxKind.TypeOfIsExpression, 41460SyntaxKind.TypeOfIsNotExpression, 41461SyntaxKind.GetXmlNamespaceExpression, 41462SyntaxKind.SimpleMemberAccessExpression, 41463SyntaxKind.DictionaryAccessExpression, 41464SyntaxKind.XmlElementAccessExpression, 41465SyntaxKind.XmlDescendantAccessExpression, 41466SyntaxKind.XmlAttributeAccessExpression, 41467SyntaxKind.InvocationExpression, 41468SyntaxKind.ObjectCreationExpression, 41469SyntaxKind.AnonymousObjectCreationExpression, 41470SyntaxKind.ArrayCreationExpression, 41471SyntaxKind.CollectionInitializer, 41472SyntaxKind.CTypeExpression, 41473SyntaxKind.DirectCastExpression, 41474SyntaxKind.TryCastExpression, 41475SyntaxKind.PredefinedCastExpression, 41476SyntaxKind.AddExpression, 41477SyntaxKind.SubtractExpression, 41478SyntaxKind.MultiplyExpression, 41479SyntaxKind.DivideExpression, 41480SyntaxKind.IntegerDivideExpression, 41481SyntaxKind.ExponentiateExpression, 41482SyntaxKind.LeftShiftExpression, 41483SyntaxKind.RightShiftExpression, 41484SyntaxKind.ConcatenateExpression, 41485SyntaxKind.ModuloExpression, 41486SyntaxKind.EqualsExpression, 41487SyntaxKind.NotEqualsExpression, 41488SyntaxKind.LessThanExpression, 41489SyntaxKind.LessThanOrEqualExpression, 41490SyntaxKind.GreaterThanOrEqualExpression, 41491SyntaxKind.GreaterThanExpression, 41492SyntaxKind.IsExpression, 41493SyntaxKind.IsNotExpression, 41494SyntaxKind.LikeExpression, 41495SyntaxKind.OrExpression, 41496SyntaxKind.ExclusiveOrExpression, 41497SyntaxKind.AndExpression, 41498SyntaxKind.OrElseExpression, 41499SyntaxKind.AndAlsoExpression, 41500SyntaxKind.UnaryPlusExpression, 41501SyntaxKind.UnaryMinusExpression, 41502SyntaxKind.NotExpression, 41503SyntaxKind.AddressOfExpression, 41504SyntaxKind.BinaryConditionalExpression, 41505SyntaxKind.TernaryConditionalExpression, 41506SyntaxKind.SingleLineFunctionLambdaExpression, 41507SyntaxKind.SingleLineSubLambdaExpression, 41508SyntaxKind.MultiLineFunctionLambdaExpression, 41509SyntaxKind.MultiLineSubLambdaExpression, 41510SyntaxKind.QueryExpression, 41511SyntaxKind.FunctionAggregation, 41512SyntaxKind.GroupAggregation, 41513SyntaxKind.XmlDocument, 41514SyntaxKind.XmlElement, 41515SyntaxKind.XmlText, 41516SyntaxKind.XmlElementStartTag, 41517SyntaxKind.XmlElementEndTag, 41518SyntaxKind.XmlEmptyElement, 41519SyntaxKind.XmlAttribute, 41520SyntaxKind.XmlString, 41521SyntaxKind.XmlPrefixName, 41522SyntaxKind.XmlName, 41523SyntaxKind.XmlBracketedName, 41524SyntaxKind.XmlComment, 41525SyntaxKind.XmlProcessingInstruction, 41526SyntaxKind.XmlCDataSection, 41527SyntaxKind.XmlEmbeddedExpression, 41528SyntaxKind.ArrayType, 41529SyntaxKind.NullableType, 41530SyntaxKind.PredefinedType, 41531SyntaxKind.IdentifierName, 41532SyntaxKind.GenericName, 41533SyntaxKind.QualifiedName, 41534SyntaxKind.GlobalName, 41535SyntaxKind.CrefOperatorReference, 41536SyntaxKind.QualifiedCrefOperatorReference, 41537SyntaxKind.AwaitExpression, 41538SyntaxKind.XmlCrefAttribute, 41539SyntaxKind.XmlNameAttribute, 41540SyntaxKind.ConditionalAccessExpression, 41541SyntaxKind.NameOfExpression, 41542SyntaxKind.InterpolatedStringExpression 41546Return New YieldStatementSyntax(SyntaxKind.YieldStatement, Nothing, Nothing, DirectCast(yieldKeyword.Node, InternalSyntax.KeywordSyntax), expression) 41557Return SyntaxFactory.YieldStatement(SyntaxFactory.Token(SyntaxKind.YieldKeyword), expression) 41572Case SyntaxKind.AwaitKeyword 41580Case SyntaxKind.KeywordEventContainer, 41581SyntaxKind.WithEventsEventContainer, 41582SyntaxKind.WithEventsPropertyEventContainer, 41583SyntaxKind.IdentifierLabel, 41584SyntaxKind.NumericLabel, 41585SyntaxKind.NextLabel, 41586SyntaxKind.MidExpression, 41587SyntaxKind.CharacterLiteralExpression, 41588SyntaxKind.TrueLiteralExpression, 41589SyntaxKind.FalseLiteralExpression, 41590SyntaxKind.NumericLiteralExpression, 41591SyntaxKind.DateLiteralExpression, 41592SyntaxKind.StringLiteralExpression, 41593SyntaxKind.NothingLiteralExpression, 41594SyntaxKind.ParenthesizedExpression, 41595SyntaxKind.TupleExpression, 41596SyntaxKind.TupleType, 41597SyntaxKind.MeExpression, 41598SyntaxKind.MyBaseExpression, 41599SyntaxKind.MyClassExpression, 41600SyntaxKind.GetTypeExpression, 41601SyntaxKind.TypeOfIsExpression, 41602SyntaxKind.TypeOfIsNotExpression, 41603SyntaxKind.GetXmlNamespaceExpression, 41604SyntaxKind.SimpleMemberAccessExpression, 41605SyntaxKind.DictionaryAccessExpression, 41606SyntaxKind.XmlElementAccessExpression, 41607SyntaxKind.XmlDescendantAccessExpression, 41608SyntaxKind.XmlAttributeAccessExpression, 41609SyntaxKind.InvocationExpression, 41610SyntaxKind.ObjectCreationExpression, 41611SyntaxKind.AnonymousObjectCreationExpression, 41612SyntaxKind.ArrayCreationExpression, 41613SyntaxKind.CollectionInitializer, 41614SyntaxKind.CTypeExpression, 41615SyntaxKind.DirectCastExpression, 41616SyntaxKind.TryCastExpression, 41617SyntaxKind.PredefinedCastExpression, 41618SyntaxKind.AddExpression, 41619SyntaxKind.SubtractExpression, 41620SyntaxKind.MultiplyExpression, 41621SyntaxKind.DivideExpression, 41622SyntaxKind.IntegerDivideExpression, 41623SyntaxKind.ExponentiateExpression, 41624SyntaxKind.LeftShiftExpression, 41625SyntaxKind.RightShiftExpression, 41626SyntaxKind.ConcatenateExpression, 41627SyntaxKind.ModuloExpression, 41628SyntaxKind.EqualsExpression, 41629SyntaxKind.NotEqualsExpression, 41630SyntaxKind.LessThanExpression, 41631SyntaxKind.LessThanOrEqualExpression, 41632SyntaxKind.GreaterThanOrEqualExpression, 41633SyntaxKind.GreaterThanExpression, 41634SyntaxKind.IsExpression, 41635SyntaxKind.IsNotExpression, 41636SyntaxKind.LikeExpression, 41637SyntaxKind.OrExpression, 41638SyntaxKind.ExclusiveOrExpression, 41639SyntaxKind.AndExpression, 41640SyntaxKind.OrElseExpression, 41641SyntaxKind.AndAlsoExpression, 41642SyntaxKind.UnaryPlusExpression, 41643SyntaxKind.UnaryMinusExpression, 41644SyntaxKind.NotExpression, 41645SyntaxKind.AddressOfExpression, 41646SyntaxKind.BinaryConditionalExpression, 41647SyntaxKind.TernaryConditionalExpression, 41648SyntaxKind.SingleLineFunctionLambdaExpression, 41649SyntaxKind.SingleLineSubLambdaExpression, 41650SyntaxKind.MultiLineFunctionLambdaExpression, 41651SyntaxKind.MultiLineSubLambdaExpression, 41652SyntaxKind.QueryExpression, 41653SyntaxKind.FunctionAggregation, 41654SyntaxKind.GroupAggregation, 41655SyntaxKind.XmlDocument, 41656SyntaxKind.XmlElement, 41657SyntaxKind.XmlText, 41658SyntaxKind.XmlElementStartTag, 41659SyntaxKind.XmlElementEndTag, 41660SyntaxKind.XmlEmptyElement, 41661SyntaxKind.XmlAttribute, 41662SyntaxKind.XmlString, 41663SyntaxKind.XmlPrefixName, 41664SyntaxKind.XmlName, 41665SyntaxKind.XmlBracketedName, 41666SyntaxKind.XmlComment, 41667SyntaxKind.XmlProcessingInstruction, 41668SyntaxKind.XmlCDataSection, 41669SyntaxKind.XmlEmbeddedExpression, 41670SyntaxKind.ArrayType, 41671SyntaxKind.NullableType, 41672SyntaxKind.PredefinedType, 41673SyntaxKind.IdentifierName, 41674SyntaxKind.GenericName, 41675SyntaxKind.QualifiedName, 41676SyntaxKind.GlobalName, 41677SyntaxKind.CrefOperatorReference, 41678SyntaxKind.QualifiedCrefOperatorReference, 41679SyntaxKind.AwaitExpression, 41680SyntaxKind.XmlCrefAttribute, 41681SyntaxKind.XmlNameAttribute, 41682SyntaxKind.ConditionalAccessExpression, 41683SyntaxKind.NameOfExpression, 41684SyntaxKind.InterpolatedStringExpression 41688Return New AwaitExpressionSyntax(SyntaxKind.AwaitExpression, Nothing, Nothing, DirectCast(awaitKeyword.Node, InternalSyntax.KeywordSyntax), expression) 41699Return SyntaxFactory.AwaitExpression(SyntaxFactory.Token(SyntaxKind.AwaitKeyword), expression) 41709Public Shared Function XmlNameToken(leadingTrivia As SyntaxTriviaList, text as String, possibleKeywordKind As SyntaxKind, trailingTrivia As SyntaxTriviaList) As SyntaxToken 41713Return New SyntaxToken(Nothing, New InternalSyntax.XmlNameTokenSyntax(SyntaxKind.XmlNameToken, Nothing, Nothing, text, leadingTrivia.Node, trailingTrivia.Node, possibleKeywordKind), 0, 0) 41723Public Shared Function XmlNameToken(text as String, possibleKeywordKind As SyntaxKind) As SyntaxToken 41740Return New SyntaxToken(Nothing, New InternalSyntax.XmlTextTokenSyntax(SyntaxKind.XmlTextLiteralToken, Nothing, Nothing, text, leadingTrivia.Node, trailingTrivia.Node, value), 0, 0) 41769Return New SyntaxToken(Nothing, New InternalSyntax.XmlTextTokenSyntax(SyntaxKind.XmlEntityLiteralToken, Nothing, Nothing, text, leadingTrivia.Node, trailingTrivia.Node, value), 0, 0) 41798Return New SyntaxToken(Nothing, New InternalSyntax.XmlTextTokenSyntax(SyntaxKind.DocumentationCommentLineBreakToken, Nothing, Nothing, text, leadingTrivia.Node, trailingTrivia.Node, value), 0, 0) 41821''' A <see cref="SyntaxKind"/> representing the specific kind of 41828Public Shared Function XmlTextToken(leadingTrivia As SyntaxTriviaList, ByVal kind As SyntaxKind, text as String, value As String, trailingTrivia As SyntaxTriviaList) As SyntaxToken 41845''' A <see cref="SyntaxKind"/> representing the specific kind of 41852Public Shared Function XmlTextToken(ByVal kind As SyntaxKind, text as String, value As String) As SyntaxToken 41867Return New SyntaxToken(Nothing, New InternalSyntax.InterpolatedStringTextTokenSyntax(SyntaxKind.InterpolatedStringTextToken, Nothing, Nothing, text, leadingTrivia.Node, trailingTrivia.Node, value), 0, 0) 41892Return New SyntaxToken(Nothing, New InternalSyntax.DecimalLiteralTokenSyntax(SyntaxKind.DecimalLiteralToken, Nothing, Nothing, text, leadingTrivia.Node, trailingTrivia.Node, typeSuffix, value), 0, 0) 41917Return New SyntaxToken(Nothing, New InternalSyntax.DateLiteralTokenSyntax(SyntaxKind.DateLiteralToken, Nothing, Nothing, text, leadingTrivia.Node, trailingTrivia.Node, value), 0, 0) 41942Return New SyntaxToken(Nothing, New InternalSyntax.StringLiteralTokenSyntax(SyntaxKind.StringLiteralToken, Nothing, Nothing, text, leadingTrivia.Node, trailingTrivia.Node, value), 0, 0) 41967Return New SyntaxToken(Nothing, New InternalSyntax.CharacterLiteralTokenSyntax(SyntaxKind.CharacterLiteralToken, Nothing, Nothing, text, leadingTrivia.Node, trailingTrivia.Node, value), 0, 0) 41990Return New SkippedTokensTriviaSyntax(SyntaxKind.SkippedTokensTrivia, Nothing, Nothing, tokens.Node) 42008Return New DocumentationCommentTriviaSyntax(SyntaxKind.DocumentationCommentTrivia, Nothing, Nothing, content.Node) 42031Case SyntaxKind.XmlName 42036Case SyntaxKind.EqualsToken 42041Case SyntaxKind.DoubleQuoteToken : 42042Case SyntaxKind.SingleQuoteToken 42050Case SyntaxKind.CrefReference 42055Case SyntaxKind.DoubleQuoteToken : 42056Case SyntaxKind.SingleQuoteToken 42060Return New XmlCrefAttributeSyntax(SyntaxKind.XmlCrefAttribute, Nothing, Nothing, name, DirectCast(equalsToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(startQuoteToken.Node, InternalSyntax.PunctuationSyntax), reference, DirectCast(endQuoteToken.Node, InternalSyntax.PunctuationSyntax)) 42070Return SyntaxFactory.XmlCrefAttribute(name, SyntaxFactory.Token(SyntaxKind.EqualsToken), startQuoteToken, reference, endQuoteToken) 42084Case SyntaxKind.XmlName 42089Case SyntaxKind.EqualsToken 42094Case SyntaxKind.DoubleQuoteToken : 42095Case SyntaxKind.SingleQuoteToken 42103Case SyntaxKind.IdentifierName 42108Case SyntaxKind.DoubleQuoteToken : 42109Case SyntaxKind.SingleQuoteToken 42113Return New XmlNameAttributeSyntax(SyntaxKind.XmlNameAttribute, Nothing, Nothing, name, DirectCast(equalsToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(startQuoteToken.Node, InternalSyntax.PunctuationSyntax), reference, DirectCast(endQuoteToken.Node, InternalSyntax.PunctuationSyntax)) 42123Return SyntaxFactory.XmlNameAttribute(name, SyntaxFactory.Token(SyntaxKind.EqualsToken), startQuoteToken, reference, endQuoteToken) 42142Case SyntaxKind.QuestionToken 42150Case SyntaxKind.DictionaryAccessExpression, 42151SyntaxKind.SimpleMemberAccessExpression, 42152SyntaxKind.XmlElementAccessExpression, 42153SyntaxKind.XmlDescendantAccessExpression, 42154SyntaxKind.XmlAttributeAccessExpression, 42155SyntaxKind.InvocationExpression, 42156SyntaxKind.ConditionalAccessExpression 42160Return New ConditionalAccessExpressionSyntax(SyntaxKind.ConditionalAccessExpression, Nothing, Nothing, expression, DirectCast(questionMarkToken.Node, InternalSyntax.PunctuationSyntax), whenNotNull) 42175Return SyntaxFactory.ConditionalAccessExpression(expression, SyntaxFactory.Token(SyntaxKind.QuestionToken), whenNotNull) 42187Return SyntaxFactory.ConditionalAccessExpression(Nothing, SyntaxFactory.Token(SyntaxKind.QuestionToken), whenNotNull) 42208Case SyntaxKind.NameOfKeyword 42213Case SyntaxKind.OpenParenToken 42221Case SyntaxKind.KeywordEventContainer, 42222SyntaxKind.WithEventsEventContainer, 42223SyntaxKind.WithEventsPropertyEventContainer, 42224SyntaxKind.IdentifierLabel, 42225SyntaxKind.NumericLabel, 42226SyntaxKind.NextLabel, 42227SyntaxKind.MidExpression, 42228SyntaxKind.CharacterLiteralExpression, 42229SyntaxKind.TrueLiteralExpression, 42230SyntaxKind.FalseLiteralExpression, 42231SyntaxKind.NumericLiteralExpression, 42232SyntaxKind.DateLiteralExpression, 42233SyntaxKind.StringLiteralExpression, 42234SyntaxKind.NothingLiteralExpression, 42235SyntaxKind.ParenthesizedExpression, 42236SyntaxKind.TupleExpression, 42237SyntaxKind.TupleType, 42238SyntaxKind.MeExpression, 42239SyntaxKind.MyBaseExpression, 42240SyntaxKind.MyClassExpression, 42241SyntaxKind.GetTypeExpression, 42242SyntaxKind.TypeOfIsExpression, 42243SyntaxKind.TypeOfIsNotExpression, 42244SyntaxKind.GetXmlNamespaceExpression, 42245SyntaxKind.SimpleMemberAccessExpression, 42246SyntaxKind.DictionaryAccessExpression, 42247SyntaxKind.XmlElementAccessExpression, 42248SyntaxKind.XmlDescendantAccessExpression, 42249SyntaxKind.XmlAttributeAccessExpression, 42250SyntaxKind.InvocationExpression, 42251SyntaxKind.ObjectCreationExpression, 42252SyntaxKind.AnonymousObjectCreationExpression, 42253SyntaxKind.ArrayCreationExpression, 42254SyntaxKind.CollectionInitializer, 42255SyntaxKind.CTypeExpression, 42256SyntaxKind.DirectCastExpression, 42257SyntaxKind.TryCastExpression, 42258SyntaxKind.PredefinedCastExpression, 42259SyntaxKind.AddExpression, 42260SyntaxKind.SubtractExpression, 42261SyntaxKind.MultiplyExpression, 42262SyntaxKind.DivideExpression, 42263SyntaxKind.IntegerDivideExpression, 42264SyntaxKind.ExponentiateExpression, 42265SyntaxKind.LeftShiftExpression, 42266SyntaxKind.RightShiftExpression, 42267SyntaxKind.ConcatenateExpression, 42268SyntaxKind.ModuloExpression, 42269SyntaxKind.EqualsExpression, 42270SyntaxKind.NotEqualsExpression, 42271SyntaxKind.LessThanExpression, 42272SyntaxKind.LessThanOrEqualExpression, 42273SyntaxKind.GreaterThanOrEqualExpression, 42274SyntaxKind.GreaterThanExpression, 42275SyntaxKind.IsExpression, 42276SyntaxKind.IsNotExpression, 42277SyntaxKind.LikeExpression, 42278SyntaxKind.OrExpression, 42279SyntaxKind.ExclusiveOrExpression, 42280SyntaxKind.AndExpression, 42281SyntaxKind.OrElseExpression, 42282SyntaxKind.AndAlsoExpression, 42283SyntaxKind.UnaryPlusExpression, 42284SyntaxKind.UnaryMinusExpression, 42285SyntaxKind.NotExpression, 42286SyntaxKind.AddressOfExpression, 42287SyntaxKind.BinaryConditionalExpression, 42288SyntaxKind.TernaryConditionalExpression, 42289SyntaxKind.SingleLineFunctionLambdaExpression, 42290SyntaxKind.SingleLineSubLambdaExpression, 42291SyntaxKind.MultiLineFunctionLambdaExpression, 42292SyntaxKind.MultiLineSubLambdaExpression, 42293SyntaxKind.QueryExpression, 42294SyntaxKind.FunctionAggregation, 42295SyntaxKind.GroupAggregation, 42296SyntaxKind.XmlDocument, 42297SyntaxKind.XmlElement, 42298SyntaxKind.XmlText, 42299SyntaxKind.XmlElementStartTag, 42300SyntaxKind.XmlElementEndTag, 42301SyntaxKind.XmlEmptyElement, 42302SyntaxKind.XmlAttribute, 42303SyntaxKind.XmlString, 42304SyntaxKind.XmlPrefixName, 42305SyntaxKind.XmlName, 42306SyntaxKind.XmlBracketedName, 42307SyntaxKind.XmlComment, 42308SyntaxKind.XmlProcessingInstruction, 42309SyntaxKind.XmlCDataSection, 42310SyntaxKind.XmlEmbeddedExpression, 42311SyntaxKind.ArrayType, 42312SyntaxKind.NullableType, 42313SyntaxKind.PredefinedType, 42314SyntaxKind.IdentifierName, 42315SyntaxKind.GenericName, 42316SyntaxKind.QualifiedName, 42317SyntaxKind.GlobalName, 42318SyntaxKind.CrefOperatorReference, 42319SyntaxKind.QualifiedCrefOperatorReference, 42320SyntaxKind.AwaitExpression, 42321SyntaxKind.XmlCrefAttribute, 42322SyntaxKind.XmlNameAttribute, 42323SyntaxKind.ConditionalAccessExpression, 42324SyntaxKind.NameOfExpression, 42325SyntaxKind.InterpolatedStringExpression 42330Case SyntaxKind.CloseParenToken 42334Return New NameOfExpressionSyntax(SyntaxKind.NameOfExpression, Nothing, Nothing, DirectCast(nameOfKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), argument, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 42345Return SyntaxFactory.NameOfExpression(SyntaxFactory.Token(SyntaxKind.NameOfKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), argument, SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 42363Case SyntaxKind.DollarSignDoubleQuoteToken 42368Case SyntaxKind.DoubleQuoteToken 42372Return New InterpolatedStringExpressionSyntax(SyntaxKind.InterpolatedStringExpression, Nothing, Nothing, DirectCast(dollarSignDoubleQuoteToken.Node, InternalSyntax.PunctuationSyntax), contents.Node, DirectCast(doubleQuoteToken.Node, InternalSyntax.PunctuationSyntax)) 42383Return SyntaxFactory.InterpolatedStringExpression(SyntaxFactory.Token(SyntaxKind.DollarSignDoubleQuoteToken), contents, SyntaxFactory.Token(SyntaxKind.DoubleQuoteToken)) 42394Return SyntaxFactory.InterpolatedStringExpression(SyntaxFactory.Token(SyntaxKind.DollarSignDoubleQuoteToken), SyntaxFactory.List(contents), SyntaxFactory.Token(SyntaxKind.DoubleQuoteToken)) 42406Case SyntaxKind.InterpolatedStringTextToken 42410Return New InterpolatedStringTextSyntax(SyntaxKind.InterpolatedStringText, Nothing, Nothing, DirectCast(textToken.Node, InternalSyntax.InterpolatedStringTextTokenSyntax)) 42418Return SyntaxFactory.InterpolatedStringText(SyntaxFactory.Token(SyntaxKind.InterpolatedStringTextToken)) 42444Case SyntaxKind.OpenBraceToken 42452Case SyntaxKind.KeywordEventContainer, 42453SyntaxKind.WithEventsEventContainer, 42454SyntaxKind.WithEventsPropertyEventContainer, 42455SyntaxKind.IdentifierLabel, 42456SyntaxKind.NumericLabel, 42457SyntaxKind.NextLabel, 42458SyntaxKind.MidExpression, 42459SyntaxKind.CharacterLiteralExpression, 42460SyntaxKind.TrueLiteralExpression, 42461SyntaxKind.FalseLiteralExpression, 42462SyntaxKind.NumericLiteralExpression, 42463SyntaxKind.DateLiteralExpression, 42464SyntaxKind.StringLiteralExpression, 42465SyntaxKind.NothingLiteralExpression, 42466SyntaxKind.ParenthesizedExpression, 42467SyntaxKind.TupleExpression, 42468SyntaxKind.TupleType, 42469SyntaxKind.MeExpression, 42470SyntaxKind.MyBaseExpression, 42471SyntaxKind.MyClassExpression, 42472SyntaxKind.GetTypeExpression, 42473SyntaxKind.TypeOfIsExpression, 42474SyntaxKind.TypeOfIsNotExpression, 42475SyntaxKind.GetXmlNamespaceExpression, 42476SyntaxKind.SimpleMemberAccessExpression, 42477SyntaxKind.DictionaryAccessExpression, 42478SyntaxKind.XmlElementAccessExpression, 42479SyntaxKind.XmlDescendantAccessExpression, 42480SyntaxKind.XmlAttributeAccessExpression, 42481SyntaxKind.InvocationExpression, 42482SyntaxKind.ObjectCreationExpression, 42483SyntaxKind.AnonymousObjectCreationExpression, 42484SyntaxKind.ArrayCreationExpression, 42485SyntaxKind.CollectionInitializer, 42486SyntaxKind.CTypeExpression, 42487SyntaxKind.DirectCastExpression, 42488SyntaxKind.TryCastExpression, 42489SyntaxKind.PredefinedCastExpression, 42490SyntaxKind.AddExpression, 42491SyntaxKind.SubtractExpression, 42492SyntaxKind.MultiplyExpression, 42493SyntaxKind.DivideExpression, 42494SyntaxKind.IntegerDivideExpression, 42495SyntaxKind.ExponentiateExpression, 42496SyntaxKind.LeftShiftExpression, 42497SyntaxKind.RightShiftExpression, 42498SyntaxKind.ConcatenateExpression, 42499SyntaxKind.ModuloExpression, 42500SyntaxKind.EqualsExpression, 42501SyntaxKind.NotEqualsExpression, 42502SyntaxKind.LessThanExpression, 42503SyntaxKind.LessThanOrEqualExpression, 42504SyntaxKind.GreaterThanOrEqualExpression, 42505SyntaxKind.GreaterThanExpression, 42506SyntaxKind.IsExpression, 42507SyntaxKind.IsNotExpression, 42508SyntaxKind.LikeExpression, 42509SyntaxKind.OrExpression, 42510SyntaxKind.ExclusiveOrExpression, 42511SyntaxKind.AndExpression, 42512SyntaxKind.OrElseExpression, 42513SyntaxKind.AndAlsoExpression, 42514SyntaxKind.UnaryPlusExpression, 42515SyntaxKind.UnaryMinusExpression, 42516SyntaxKind.NotExpression, 42517SyntaxKind.AddressOfExpression, 42518SyntaxKind.BinaryConditionalExpression, 42519SyntaxKind.TernaryConditionalExpression, 42520SyntaxKind.SingleLineFunctionLambdaExpression, 42521SyntaxKind.SingleLineSubLambdaExpression, 42522SyntaxKind.MultiLineFunctionLambdaExpression, 42523SyntaxKind.MultiLineSubLambdaExpression, 42524SyntaxKind.QueryExpression, 42525SyntaxKind.FunctionAggregation, 42526SyntaxKind.GroupAggregation, 42527SyntaxKind.XmlDocument, 42528SyntaxKind.XmlElement, 42529SyntaxKind.XmlText, 42530SyntaxKind.XmlElementStartTag, 42531SyntaxKind.XmlElementEndTag, 42532SyntaxKind.XmlEmptyElement, 42533SyntaxKind.XmlAttribute, 42534SyntaxKind.XmlString, 42535SyntaxKind.XmlPrefixName, 42536SyntaxKind.XmlName, 42537SyntaxKind.XmlBracketedName, 42538SyntaxKind.XmlComment, 42539SyntaxKind.XmlProcessingInstruction, 42540SyntaxKind.XmlCDataSection, 42541SyntaxKind.XmlEmbeddedExpression, 42542SyntaxKind.ArrayType, 42543SyntaxKind.NullableType, 42544SyntaxKind.PredefinedType, 42545SyntaxKind.IdentifierName, 42546SyntaxKind.GenericName, 42547SyntaxKind.QualifiedName, 42548SyntaxKind.GlobalName, 42549SyntaxKind.CrefOperatorReference, 42550SyntaxKind.QualifiedCrefOperatorReference, 42551SyntaxKind.AwaitExpression, 42552SyntaxKind.XmlCrefAttribute, 42553SyntaxKind.XmlNameAttribute, 42554SyntaxKind.ConditionalAccessExpression, 42555SyntaxKind.NameOfExpression, 42556SyntaxKind.InterpolatedStringExpression 42561Case SyntaxKind.CloseBraceToken 42565Return New InterpolationSyntax(SyntaxKind.Interpolation, Nothing, Nothing, DirectCast(openBraceToken.Node, InternalSyntax.PunctuationSyntax), expression, alignmentClause, formatClause, DirectCast(closeBraceToken.Node, InternalSyntax.PunctuationSyntax)) 42581Return SyntaxFactory.Interpolation(SyntaxFactory.Token(SyntaxKind.OpenBraceToken), expression, alignmentClause, Nothing, SyntaxFactory.Token(SyntaxKind.CloseBraceToken)) 42594Return SyntaxFactory.Interpolation(SyntaxFactory.Token(SyntaxKind.OpenBraceToken), expression, Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.CloseBraceToken)) 42610Case SyntaxKind.CommaToken 42618Case SyntaxKind.KeywordEventContainer, 42619SyntaxKind.WithEventsEventContainer, 42620SyntaxKind.WithEventsPropertyEventContainer, 42621SyntaxKind.IdentifierLabel, 42622SyntaxKind.NumericLabel, 42623SyntaxKind.NextLabel, 42624SyntaxKind.MidExpression, 42625SyntaxKind.CharacterLiteralExpression, 42626SyntaxKind.TrueLiteralExpression, 42627SyntaxKind.FalseLiteralExpression, 42628SyntaxKind.NumericLiteralExpression, 42629SyntaxKind.DateLiteralExpression, 42630SyntaxKind.StringLiteralExpression, 42631SyntaxKind.NothingLiteralExpression, 42632SyntaxKind.ParenthesizedExpression, 42633SyntaxKind.TupleExpression, 42634SyntaxKind.TupleType, 42635SyntaxKind.MeExpression, 42636SyntaxKind.MyBaseExpression, 42637SyntaxKind.MyClassExpression, 42638SyntaxKind.GetTypeExpression, 42639SyntaxKind.TypeOfIsExpression, 42640SyntaxKind.TypeOfIsNotExpression, 42641SyntaxKind.GetXmlNamespaceExpression, 42642SyntaxKind.SimpleMemberAccessExpression, 42643SyntaxKind.DictionaryAccessExpression, 42644SyntaxKind.XmlElementAccessExpression, 42645SyntaxKind.XmlDescendantAccessExpression, 42646SyntaxKind.XmlAttributeAccessExpression, 42647SyntaxKind.InvocationExpression, 42648SyntaxKind.ObjectCreationExpression, 42649SyntaxKind.AnonymousObjectCreationExpression, 42650SyntaxKind.ArrayCreationExpression, 42651SyntaxKind.CollectionInitializer, 42652SyntaxKind.CTypeExpression, 42653SyntaxKind.DirectCastExpression, 42654SyntaxKind.TryCastExpression, 42655SyntaxKind.PredefinedCastExpression, 42656SyntaxKind.AddExpression, 42657SyntaxKind.SubtractExpression, 42658SyntaxKind.MultiplyExpression, 42659SyntaxKind.DivideExpression, 42660SyntaxKind.IntegerDivideExpression, 42661SyntaxKind.ExponentiateExpression, 42662SyntaxKind.LeftShiftExpression, 42663SyntaxKind.RightShiftExpression, 42664SyntaxKind.ConcatenateExpression, 42665SyntaxKind.ModuloExpression, 42666SyntaxKind.EqualsExpression, 42667SyntaxKind.NotEqualsExpression, 42668SyntaxKind.LessThanExpression, 42669SyntaxKind.LessThanOrEqualExpression, 42670SyntaxKind.GreaterThanOrEqualExpression, 42671SyntaxKind.GreaterThanExpression, 42672SyntaxKind.IsExpression, 42673SyntaxKind.IsNotExpression, 42674SyntaxKind.LikeExpression, 42675SyntaxKind.OrExpression, 42676SyntaxKind.ExclusiveOrExpression, 42677SyntaxKind.AndExpression, 42678SyntaxKind.OrElseExpression, 42679SyntaxKind.AndAlsoExpression, 42680SyntaxKind.UnaryPlusExpression, 42681SyntaxKind.UnaryMinusExpression, 42682SyntaxKind.NotExpression, 42683SyntaxKind.AddressOfExpression, 42684SyntaxKind.BinaryConditionalExpression, 42685SyntaxKind.TernaryConditionalExpression, 42686SyntaxKind.SingleLineFunctionLambdaExpression, 42687SyntaxKind.SingleLineSubLambdaExpression, 42688SyntaxKind.MultiLineFunctionLambdaExpression, 42689SyntaxKind.MultiLineSubLambdaExpression, 42690SyntaxKind.QueryExpression, 42691SyntaxKind.FunctionAggregation, 42692SyntaxKind.GroupAggregation, 42693SyntaxKind.XmlDocument, 42694SyntaxKind.XmlElement, 42695SyntaxKind.XmlText, 42696SyntaxKind.XmlElementStartTag, 42697SyntaxKind.XmlElementEndTag, 42698SyntaxKind.XmlEmptyElement, 42699SyntaxKind.XmlAttribute, 42700SyntaxKind.XmlString, 42701SyntaxKind.XmlPrefixName, 42702SyntaxKind.XmlName, 42703SyntaxKind.XmlBracketedName, 42704SyntaxKind.XmlComment, 42705SyntaxKind.XmlProcessingInstruction, 42706SyntaxKind.XmlCDataSection, 42707SyntaxKind.XmlEmbeddedExpression, 42708SyntaxKind.ArrayType, 42709SyntaxKind.NullableType, 42710SyntaxKind.PredefinedType, 42711SyntaxKind.IdentifierName, 42712SyntaxKind.GenericName, 42713SyntaxKind.QualifiedName, 42714SyntaxKind.GlobalName, 42715SyntaxKind.CrefOperatorReference, 42716SyntaxKind.QualifiedCrefOperatorReference, 42717SyntaxKind.AwaitExpression, 42718SyntaxKind.XmlCrefAttribute, 42719SyntaxKind.XmlNameAttribute, 42720SyntaxKind.ConditionalAccessExpression, 42721SyntaxKind.NameOfExpression, 42722SyntaxKind.InterpolatedStringExpression 42726Return New InterpolationAlignmentClauseSyntax(SyntaxKind.InterpolationAlignmentClause, Nothing, Nothing, DirectCast(commaToken.Node, InternalSyntax.PunctuationSyntax), value) 42738Return SyntaxFactory.InterpolationAlignmentClause(SyntaxFactory.Token(SyntaxKind.CommaToken), value) 42754Case SyntaxKind.ColonToken 42759Case SyntaxKind.InterpolatedStringTextToken 42763Return New InterpolationFormatClauseSyntax(SyntaxKind.InterpolationFormatClause, Nothing, Nothing, DirectCast(colonToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(formatStringToken.Node, InternalSyntax.InterpolatedStringTextTokenSyntax)) 42772Return SyntaxFactory.InterpolationFormatClause(SyntaxFactory.Token(SyntaxKind.ColonToken), SyntaxFactory.Token(SyntaxKind.InterpolatedStringTextToken)) 42788Return New SyntaxTrivia(Nothing, New InternalSyntax.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, Nothing, Nothing, text), 0, 0) 42804Return New SyntaxTrivia(Nothing, New InternalSyntax.SyntaxTrivia(SyntaxKind.EndOfLineTrivia, Nothing, Nothing, text), 0, 0) 42820Return New SyntaxTrivia(Nothing, New InternalSyntax.SyntaxTrivia(SyntaxKind.ColonTrivia, Nothing, Nothing, text), 0, 0) 42836Return New SyntaxTrivia(Nothing, New InternalSyntax.SyntaxTrivia(SyntaxKind.CommentTrivia, Nothing, Nothing, text), 0, 0) 42852Return New SyntaxTrivia(Nothing, New InternalSyntax.SyntaxTrivia(SyntaxKind.ConflictMarkerTrivia, Nothing, Nothing, text), 0, 0) 42868Return New SyntaxTrivia(Nothing, New InternalSyntax.SyntaxTrivia(SyntaxKind.LineContinuationTrivia, Nothing, Nothing, text), 0, 0) 42884Return New SyntaxTrivia(Nothing, New InternalSyntax.SyntaxTrivia(SyntaxKind.DocumentationCommentExteriorTrivia, Nothing, Nothing, text), 0, 0) 42900Return New SyntaxTrivia(Nothing, New InternalSyntax.SyntaxTrivia(SyntaxKind.DisabledTextTrivia, Nothing, Nothing, text), 0, 0) 42910''' A <see cref="SyntaxKind"/> representing the specific kind of SyntaxTrivia. One 42918Public Shared Function SyntaxTrivia(ByVal kind As SyntaxKind, text as String) As SyntaxTrivia 42950Case SyntaxKind.HashToken 42955Case SyntaxKind.ConstKeyword 42960Case SyntaxKind.IdentifierToken 42965Case SyntaxKind.EqualsToken 42973Case SyntaxKind.KeywordEventContainer, 42974SyntaxKind.WithEventsEventContainer, 42975SyntaxKind.WithEventsPropertyEventContainer, 42976SyntaxKind.IdentifierLabel, 42977SyntaxKind.NumericLabel, 42978SyntaxKind.NextLabel, 42979SyntaxKind.MidExpression, 42980SyntaxKind.CharacterLiteralExpression, 42981SyntaxKind.TrueLiteralExpression, 42982SyntaxKind.FalseLiteralExpression, 42983SyntaxKind.NumericLiteralExpression, 42984SyntaxKind.DateLiteralExpression, 42985SyntaxKind.StringLiteralExpression, 42986SyntaxKind.NothingLiteralExpression, 42987SyntaxKind.ParenthesizedExpression, 42988SyntaxKind.TupleExpression, 42989SyntaxKind.TupleType, 42990SyntaxKind.MeExpression, 42991SyntaxKind.MyBaseExpression, 42992SyntaxKind.MyClassExpression, 42993SyntaxKind.GetTypeExpression, 42994SyntaxKind.TypeOfIsExpression, 42995SyntaxKind.TypeOfIsNotExpression, 42996SyntaxKind.GetXmlNamespaceExpression, 42997SyntaxKind.SimpleMemberAccessExpression, 42998SyntaxKind.DictionaryAccessExpression, 42999SyntaxKind.XmlElementAccessExpression, 43000SyntaxKind.XmlDescendantAccessExpression, 43001SyntaxKind.XmlAttributeAccessExpression, 43002SyntaxKind.InvocationExpression, 43003SyntaxKind.ObjectCreationExpression, 43004SyntaxKind.AnonymousObjectCreationExpression, 43005SyntaxKind.ArrayCreationExpression, 43006SyntaxKind.CollectionInitializer, 43007SyntaxKind.CTypeExpression, 43008SyntaxKind.DirectCastExpression, 43009SyntaxKind.TryCastExpression, 43010SyntaxKind.PredefinedCastExpression, 43011SyntaxKind.AddExpression, 43012SyntaxKind.SubtractExpression, 43013SyntaxKind.MultiplyExpression, 43014SyntaxKind.DivideExpression, 43015SyntaxKind.IntegerDivideExpression, 43016SyntaxKind.ExponentiateExpression, 43017SyntaxKind.LeftShiftExpression, 43018SyntaxKind.RightShiftExpression, 43019SyntaxKind.ConcatenateExpression, 43020SyntaxKind.ModuloExpression, 43021SyntaxKind.EqualsExpression, 43022SyntaxKind.NotEqualsExpression, 43023SyntaxKind.LessThanExpression, 43024SyntaxKind.LessThanOrEqualExpression, 43025SyntaxKind.GreaterThanOrEqualExpression, 43026SyntaxKind.GreaterThanExpression, 43027SyntaxKind.IsExpression, 43028SyntaxKind.IsNotExpression, 43029SyntaxKind.LikeExpression, 43030SyntaxKind.OrExpression, 43031SyntaxKind.ExclusiveOrExpression, 43032SyntaxKind.AndExpression, 43033SyntaxKind.OrElseExpression, 43034SyntaxKind.AndAlsoExpression, 43035SyntaxKind.UnaryPlusExpression, 43036SyntaxKind.UnaryMinusExpression, 43037SyntaxKind.NotExpression, 43038SyntaxKind.AddressOfExpression, 43039SyntaxKind.BinaryConditionalExpression, 43040SyntaxKind.TernaryConditionalExpression, 43041SyntaxKind.SingleLineFunctionLambdaExpression, 43042SyntaxKind.SingleLineSubLambdaExpression, 43043SyntaxKind.MultiLineFunctionLambdaExpression, 43044SyntaxKind.MultiLineSubLambdaExpression, 43045SyntaxKind.QueryExpression, 43046SyntaxKind.FunctionAggregation, 43047SyntaxKind.GroupAggregation, 43048SyntaxKind.XmlDocument, 43049SyntaxKind.XmlElement, 43050SyntaxKind.XmlText, 43051SyntaxKind.XmlElementStartTag, 43052SyntaxKind.XmlElementEndTag, 43053SyntaxKind.XmlEmptyElement, 43054SyntaxKind.XmlAttribute, 43055SyntaxKind.XmlString, 43056SyntaxKind.XmlPrefixName, 43057SyntaxKind.XmlName, 43058SyntaxKind.XmlBracketedName, 43059SyntaxKind.XmlComment, 43060SyntaxKind.XmlProcessingInstruction, 43061SyntaxKind.XmlCDataSection, 43062SyntaxKind.XmlEmbeddedExpression, 43063SyntaxKind.ArrayType, 43064SyntaxKind.NullableType, 43065SyntaxKind.PredefinedType, 43066SyntaxKind.IdentifierName, 43067SyntaxKind.GenericName, 43068SyntaxKind.QualifiedName, 43069SyntaxKind.GlobalName, 43070SyntaxKind.CrefOperatorReference, 43071SyntaxKind.QualifiedCrefOperatorReference, 43072SyntaxKind.AwaitExpression, 43073SyntaxKind.XmlCrefAttribute, 43074SyntaxKind.XmlNameAttribute, 43075SyntaxKind.ConditionalAccessExpression, 43076SyntaxKind.NameOfExpression, 43077SyntaxKind.InterpolatedStringExpression 43081Return New ConstDirectiveTriviaSyntax(SyntaxKind.ConstDirectiveTrivia, Nothing, Nothing, DirectCast(hashToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(constKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(name.Node, InternalSyntax.IdentifierTokenSyntax), DirectCast(equalsToken.Node, InternalSyntax.PunctuationSyntax), value) 43096Return SyntaxFactory.ConstDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.ConstKeyword), name, SyntaxFactory.Token(SyntaxKind.EqualsToken), value) 43111Return SyntaxFactory.ConstDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.ConstKeyword), SyntaxFactory.Identifier(name), SyntaxFactory.Token(SyntaxKind.EqualsToken), value) 43124Case SyntaxKind.HashToken 43129Case SyntaxKind.IfKeyword : 43130Case SyntaxKind.ElseIfKeyword 43138Case SyntaxKind.KeywordEventContainer, 43139SyntaxKind.WithEventsEventContainer, 43140SyntaxKind.WithEventsPropertyEventContainer, 43141SyntaxKind.IdentifierLabel, 43142SyntaxKind.NumericLabel, 43143SyntaxKind.NextLabel, 43144SyntaxKind.MidExpression, 43145SyntaxKind.CharacterLiteralExpression, 43146SyntaxKind.TrueLiteralExpression, 43147SyntaxKind.FalseLiteralExpression, 43148SyntaxKind.NumericLiteralExpression, 43149SyntaxKind.DateLiteralExpression, 43150SyntaxKind.StringLiteralExpression, 43151SyntaxKind.NothingLiteralExpression, 43152SyntaxKind.ParenthesizedExpression, 43153SyntaxKind.TupleExpression, 43154SyntaxKind.TupleType, 43155SyntaxKind.MeExpression, 43156SyntaxKind.MyBaseExpression, 43157SyntaxKind.MyClassExpression, 43158SyntaxKind.GetTypeExpression, 43159SyntaxKind.TypeOfIsExpression, 43160SyntaxKind.TypeOfIsNotExpression, 43161SyntaxKind.GetXmlNamespaceExpression, 43162SyntaxKind.SimpleMemberAccessExpression, 43163SyntaxKind.DictionaryAccessExpression, 43164SyntaxKind.XmlElementAccessExpression, 43165SyntaxKind.XmlDescendantAccessExpression, 43166SyntaxKind.XmlAttributeAccessExpression, 43167SyntaxKind.InvocationExpression, 43168SyntaxKind.ObjectCreationExpression, 43169SyntaxKind.AnonymousObjectCreationExpression, 43170SyntaxKind.ArrayCreationExpression, 43171SyntaxKind.CollectionInitializer, 43172SyntaxKind.CTypeExpression, 43173SyntaxKind.DirectCastExpression, 43174SyntaxKind.TryCastExpression, 43175SyntaxKind.PredefinedCastExpression, 43176SyntaxKind.AddExpression, 43177SyntaxKind.SubtractExpression, 43178SyntaxKind.MultiplyExpression, 43179SyntaxKind.DivideExpression, 43180SyntaxKind.IntegerDivideExpression, 43181SyntaxKind.ExponentiateExpression, 43182SyntaxKind.LeftShiftExpression, 43183SyntaxKind.RightShiftExpression, 43184SyntaxKind.ConcatenateExpression, 43185SyntaxKind.ModuloExpression, 43186SyntaxKind.EqualsExpression, 43187SyntaxKind.NotEqualsExpression, 43188SyntaxKind.LessThanExpression, 43189SyntaxKind.LessThanOrEqualExpression, 43190SyntaxKind.GreaterThanOrEqualExpression, 43191SyntaxKind.GreaterThanExpression, 43192SyntaxKind.IsExpression, 43193SyntaxKind.IsNotExpression, 43194SyntaxKind.LikeExpression, 43195SyntaxKind.OrExpression, 43196SyntaxKind.ExclusiveOrExpression, 43197SyntaxKind.AndExpression, 43198SyntaxKind.OrElseExpression, 43199SyntaxKind.AndAlsoExpression, 43200SyntaxKind.UnaryPlusExpression, 43201SyntaxKind.UnaryMinusExpression, 43202SyntaxKind.NotExpression, 43203SyntaxKind.AddressOfExpression, 43204SyntaxKind.BinaryConditionalExpression, 43205SyntaxKind.TernaryConditionalExpression, 43206SyntaxKind.SingleLineFunctionLambdaExpression, 43207SyntaxKind.SingleLineSubLambdaExpression, 43208SyntaxKind.MultiLineFunctionLambdaExpression, 43209SyntaxKind.MultiLineSubLambdaExpression, 43210SyntaxKind.QueryExpression, 43211SyntaxKind.FunctionAggregation, 43212SyntaxKind.GroupAggregation, 43213SyntaxKind.XmlDocument, 43214SyntaxKind.XmlElement, 43215SyntaxKind.XmlText, 43216SyntaxKind.XmlElementStartTag, 43217SyntaxKind.XmlElementEndTag, 43218SyntaxKind.XmlEmptyElement, 43219SyntaxKind.XmlAttribute, 43220SyntaxKind.XmlString, 43221SyntaxKind.XmlPrefixName, 43222SyntaxKind.XmlName, 43223SyntaxKind.XmlBracketedName, 43224SyntaxKind.XmlComment, 43225SyntaxKind.XmlProcessingInstruction, 43226SyntaxKind.XmlCDataSection, 43227SyntaxKind.XmlEmbeddedExpression, 43228SyntaxKind.ArrayType, 43229SyntaxKind.NullableType, 43230SyntaxKind.PredefinedType, 43231SyntaxKind.IdentifierName, 43232SyntaxKind.GenericName, 43233SyntaxKind.QualifiedName, 43234SyntaxKind.GlobalName, 43235SyntaxKind.CrefOperatorReference, 43236SyntaxKind.QualifiedCrefOperatorReference, 43237SyntaxKind.AwaitExpression, 43238SyntaxKind.XmlCrefAttribute, 43239SyntaxKind.XmlNameAttribute, 43240SyntaxKind.ConditionalAccessExpression, 43241SyntaxKind.NameOfExpression, 43242SyntaxKind.InterpolatedStringExpression 43246Return New IfDirectiveTriviaSyntax(SyntaxKind.IfDirectiveTrivia, Nothing, Nothing, DirectCast(hashToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(elseKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(ifOrElseIfKeyword.Node, InternalSyntax.KeywordSyntax), condition, DirectCast(thenKeyword.Node, InternalSyntax.KeywordSyntax)) 43255Return SyntaxFactory.IfDirectiveTrivia(SyntaxKind.IfDirectiveTrivia, SyntaxFactory.Token(SyntaxKind.HashToken), Nothing, ifOrElseIfKeyword, condition, Nothing) 43268Case SyntaxKind.HashToken 43273Case SyntaxKind.IfKeyword : 43274Case SyntaxKind.ElseIfKeyword 43282Case SyntaxKind.KeywordEventContainer, 43283SyntaxKind.WithEventsEventContainer, 43284SyntaxKind.WithEventsPropertyEventContainer, 43285SyntaxKind.IdentifierLabel, 43286SyntaxKind.NumericLabel, 43287SyntaxKind.NextLabel, 43288SyntaxKind.MidExpression, 43289SyntaxKind.CharacterLiteralExpression, 43290SyntaxKind.TrueLiteralExpression, 43291SyntaxKind.FalseLiteralExpression, 43292SyntaxKind.NumericLiteralExpression, 43293SyntaxKind.DateLiteralExpression, 43294SyntaxKind.StringLiteralExpression, 43295SyntaxKind.NothingLiteralExpression, 43296SyntaxKind.ParenthesizedExpression, 43297SyntaxKind.TupleExpression, 43298SyntaxKind.TupleType, 43299SyntaxKind.MeExpression, 43300SyntaxKind.MyBaseExpression, 43301SyntaxKind.MyClassExpression, 43302SyntaxKind.GetTypeExpression, 43303SyntaxKind.TypeOfIsExpression, 43304SyntaxKind.TypeOfIsNotExpression, 43305SyntaxKind.GetXmlNamespaceExpression, 43306SyntaxKind.SimpleMemberAccessExpression, 43307SyntaxKind.DictionaryAccessExpression, 43308SyntaxKind.XmlElementAccessExpression, 43309SyntaxKind.XmlDescendantAccessExpression, 43310SyntaxKind.XmlAttributeAccessExpression, 43311SyntaxKind.InvocationExpression, 43312SyntaxKind.ObjectCreationExpression, 43313SyntaxKind.AnonymousObjectCreationExpression, 43314SyntaxKind.ArrayCreationExpression, 43315SyntaxKind.CollectionInitializer, 43316SyntaxKind.CTypeExpression, 43317SyntaxKind.DirectCastExpression, 43318SyntaxKind.TryCastExpression, 43319SyntaxKind.PredefinedCastExpression, 43320SyntaxKind.AddExpression, 43321SyntaxKind.SubtractExpression, 43322SyntaxKind.MultiplyExpression, 43323SyntaxKind.DivideExpression, 43324SyntaxKind.IntegerDivideExpression, 43325SyntaxKind.ExponentiateExpression, 43326SyntaxKind.LeftShiftExpression, 43327SyntaxKind.RightShiftExpression, 43328SyntaxKind.ConcatenateExpression, 43329SyntaxKind.ModuloExpression, 43330SyntaxKind.EqualsExpression, 43331SyntaxKind.NotEqualsExpression, 43332SyntaxKind.LessThanExpression, 43333SyntaxKind.LessThanOrEqualExpression, 43334SyntaxKind.GreaterThanOrEqualExpression, 43335SyntaxKind.GreaterThanExpression, 43336SyntaxKind.IsExpression, 43337SyntaxKind.IsNotExpression, 43338SyntaxKind.LikeExpression, 43339SyntaxKind.OrExpression, 43340SyntaxKind.ExclusiveOrExpression, 43341SyntaxKind.AndExpression, 43342SyntaxKind.OrElseExpression, 43343SyntaxKind.AndAlsoExpression, 43344SyntaxKind.UnaryPlusExpression, 43345SyntaxKind.UnaryMinusExpression, 43346SyntaxKind.NotExpression, 43347SyntaxKind.AddressOfExpression, 43348SyntaxKind.BinaryConditionalExpression, 43349SyntaxKind.TernaryConditionalExpression, 43350SyntaxKind.SingleLineFunctionLambdaExpression, 43351SyntaxKind.SingleLineSubLambdaExpression, 43352SyntaxKind.MultiLineFunctionLambdaExpression, 43353SyntaxKind.MultiLineSubLambdaExpression, 43354SyntaxKind.QueryExpression, 43355SyntaxKind.FunctionAggregation, 43356SyntaxKind.GroupAggregation, 43357SyntaxKind.XmlDocument, 43358SyntaxKind.XmlElement, 43359SyntaxKind.XmlText, 43360SyntaxKind.XmlElementStartTag, 43361SyntaxKind.XmlElementEndTag, 43362SyntaxKind.XmlEmptyElement, 43363SyntaxKind.XmlAttribute, 43364SyntaxKind.XmlString, 43365SyntaxKind.XmlPrefixName, 43366SyntaxKind.XmlName, 43367SyntaxKind.XmlBracketedName, 43368SyntaxKind.XmlComment, 43369SyntaxKind.XmlProcessingInstruction, 43370SyntaxKind.XmlCDataSection, 43371SyntaxKind.XmlEmbeddedExpression, 43372SyntaxKind.ArrayType, 43373SyntaxKind.NullableType, 43374SyntaxKind.PredefinedType, 43375SyntaxKind.IdentifierName, 43376SyntaxKind.GenericName, 43377SyntaxKind.QualifiedName, 43378SyntaxKind.GlobalName, 43379SyntaxKind.CrefOperatorReference, 43380SyntaxKind.QualifiedCrefOperatorReference, 43381SyntaxKind.AwaitExpression, 43382SyntaxKind.XmlCrefAttribute, 43383SyntaxKind.XmlNameAttribute, 43384SyntaxKind.ConditionalAccessExpression, 43385SyntaxKind.NameOfExpression, 43386SyntaxKind.InterpolatedStringExpression 43390Return New IfDirectiveTriviaSyntax(SyntaxKind.ElseIfDirectiveTrivia, Nothing, Nothing, DirectCast(hashToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(elseKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(ifOrElseIfKeyword.Node, InternalSyntax.KeywordSyntax), condition, DirectCast(thenKeyword.Node, InternalSyntax.KeywordSyntax)) 43399Return SyntaxFactory.ElseIfDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), Nothing, ifOrElseIfKeyword, condition, Nothing) 43408''' A <see cref="SyntaxKind"/> representing the specific kind of 43414Public Shared Function IfDirectiveTrivia(ByVal kind As SyntaxKind, hashToken As SyntaxToken, elseKeyword As SyntaxToken, ifOrElseIfKeyword As SyntaxToken, condition As ExpressionSyntax, thenKeyword As SyntaxToken) As IfDirectiveTriviaSyntax 43419Case SyntaxKind.HashToken 43424Case SyntaxKind.IfKeyword : 43425Case SyntaxKind.ElseIfKeyword 43433Case SyntaxKind.KeywordEventContainer, 43434SyntaxKind.WithEventsEventContainer, 43435SyntaxKind.WithEventsPropertyEventContainer, 43436SyntaxKind.IdentifierLabel, 43437SyntaxKind.NumericLabel, 43438SyntaxKind.NextLabel, 43439SyntaxKind.MidExpression, 43440SyntaxKind.CharacterLiteralExpression, 43441SyntaxKind.TrueLiteralExpression, 43442SyntaxKind.FalseLiteralExpression, 43443SyntaxKind.NumericLiteralExpression, 43444SyntaxKind.DateLiteralExpression, 43445SyntaxKind.StringLiteralExpression, 43446SyntaxKind.NothingLiteralExpression, 43447SyntaxKind.ParenthesizedExpression, 43448SyntaxKind.TupleExpression, 43449SyntaxKind.TupleType, 43450SyntaxKind.MeExpression, 43451SyntaxKind.MyBaseExpression, 43452SyntaxKind.MyClassExpression, 43453SyntaxKind.GetTypeExpression, 43454SyntaxKind.TypeOfIsExpression, 43455SyntaxKind.TypeOfIsNotExpression, 43456SyntaxKind.GetXmlNamespaceExpression, 43457SyntaxKind.SimpleMemberAccessExpression, 43458SyntaxKind.DictionaryAccessExpression, 43459SyntaxKind.XmlElementAccessExpression, 43460SyntaxKind.XmlDescendantAccessExpression, 43461SyntaxKind.XmlAttributeAccessExpression, 43462SyntaxKind.InvocationExpression, 43463SyntaxKind.ObjectCreationExpression, 43464SyntaxKind.AnonymousObjectCreationExpression, 43465SyntaxKind.ArrayCreationExpression, 43466SyntaxKind.CollectionInitializer, 43467SyntaxKind.CTypeExpression, 43468SyntaxKind.DirectCastExpression, 43469SyntaxKind.TryCastExpression, 43470SyntaxKind.PredefinedCastExpression, 43471SyntaxKind.AddExpression, 43472SyntaxKind.SubtractExpression, 43473SyntaxKind.MultiplyExpression, 43474SyntaxKind.DivideExpression, 43475SyntaxKind.IntegerDivideExpression, 43476SyntaxKind.ExponentiateExpression, 43477SyntaxKind.LeftShiftExpression, 43478SyntaxKind.RightShiftExpression, 43479SyntaxKind.ConcatenateExpression, 43480SyntaxKind.ModuloExpression, 43481SyntaxKind.EqualsExpression, 43482SyntaxKind.NotEqualsExpression, 43483SyntaxKind.LessThanExpression, 43484SyntaxKind.LessThanOrEqualExpression, 43485SyntaxKind.GreaterThanOrEqualExpression, 43486SyntaxKind.GreaterThanExpression, 43487SyntaxKind.IsExpression, 43488SyntaxKind.IsNotExpression, 43489SyntaxKind.LikeExpression, 43490SyntaxKind.OrExpression, 43491SyntaxKind.ExclusiveOrExpression, 43492SyntaxKind.AndExpression, 43493SyntaxKind.OrElseExpression, 43494SyntaxKind.AndAlsoExpression, 43495SyntaxKind.UnaryPlusExpression, 43496SyntaxKind.UnaryMinusExpression, 43497SyntaxKind.NotExpression, 43498SyntaxKind.AddressOfExpression, 43499SyntaxKind.BinaryConditionalExpression, 43500SyntaxKind.TernaryConditionalExpression, 43501SyntaxKind.SingleLineFunctionLambdaExpression, 43502SyntaxKind.SingleLineSubLambdaExpression, 43503SyntaxKind.MultiLineFunctionLambdaExpression, 43504SyntaxKind.MultiLineSubLambdaExpression, 43505SyntaxKind.QueryExpression, 43506SyntaxKind.FunctionAggregation, 43507SyntaxKind.GroupAggregation, 43508SyntaxKind.XmlDocument, 43509SyntaxKind.XmlElement, 43510SyntaxKind.XmlText, 43511SyntaxKind.XmlElementStartTag, 43512SyntaxKind.XmlElementEndTag, 43513SyntaxKind.XmlEmptyElement, 43514SyntaxKind.XmlAttribute, 43515SyntaxKind.XmlString, 43516SyntaxKind.XmlPrefixName, 43517SyntaxKind.XmlName, 43518SyntaxKind.XmlBracketedName, 43519SyntaxKind.XmlComment, 43520SyntaxKind.XmlProcessingInstruction, 43521SyntaxKind.XmlCDataSection, 43522SyntaxKind.XmlEmbeddedExpression, 43523SyntaxKind.ArrayType, 43524SyntaxKind.NullableType, 43525SyntaxKind.PredefinedType, 43526SyntaxKind.IdentifierName, 43527SyntaxKind.GenericName, 43528SyntaxKind.QualifiedName, 43529SyntaxKind.GlobalName, 43530SyntaxKind.CrefOperatorReference, 43531SyntaxKind.QualifiedCrefOperatorReference, 43532SyntaxKind.AwaitExpression, 43533SyntaxKind.XmlCrefAttribute, 43534SyntaxKind.XmlNameAttribute, 43535SyntaxKind.ConditionalAccessExpression, 43536SyntaxKind.NameOfExpression, 43537SyntaxKind.InterpolatedStringExpression 43550''' A <see cref="SyntaxKind"/> representing the specific kind of 43553Public Shared Function IfDirectiveTrivia(ByVal kind As SyntaxKind, ifOrElseIfKeyword As SyntaxToken, condition As ExpressionSyntax) As IfDirectiveTriviaSyntax 43554Return SyntaxFactory.IfDirectiveTrivia(kind, SyntaxFactory.Token(SyntaxKind.HashToken), Nothing, ifOrElseIfKeyword, condition, Nothing) 43566Case SyntaxKind.HashToken 43571Case SyntaxKind.ElseKeyword 43575Return New ElseDirectiveTriviaSyntax(SyntaxKind.ElseDirectiveTrivia, Nothing, Nothing, DirectCast(hashToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(elseKeyword.Node, InternalSyntax.KeywordSyntax)) 43583Return SyntaxFactory.ElseDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.ElseKeyword)) 43595Case SyntaxKind.HashToken 43600Case SyntaxKind.EndKeyword 43605Case SyntaxKind.IfKeyword 43609Return New EndIfDirectiveTriviaSyntax(SyntaxKind.EndIfDirectiveTrivia, Nothing, Nothing, DirectCast(hashToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(ifKeyword.Node, InternalSyntax.KeywordSyntax)) 43617Return SyntaxFactory.EndIfDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.IfKeyword)) 43635Case SyntaxKind.HashToken 43640Case SyntaxKind.RegionKeyword 43645Case SyntaxKind.StringLiteralToken 43649Return New RegionDirectiveTriviaSyntax(SyntaxKind.RegionDirectiveTrivia, Nothing, Nothing, DirectCast(hashToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(regionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(name.Node, InternalSyntax.StringLiteralTokenSyntax)) 43657Return SyntaxFactory.RegionDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.RegionKeyword), SyntaxFactory.Token(SyntaxKind.StringLiteralToken)) 43675Case SyntaxKind.HashToken 43680Case SyntaxKind.EndKeyword 43685Case SyntaxKind.RegionKeyword 43689Return New EndRegionDirectiveTriviaSyntax(SyntaxKind.EndRegionDirectiveTrivia, Nothing, Nothing, DirectCast(hashToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(regionKeyword.Node, InternalSyntax.KeywordSyntax)) 43697Return SyntaxFactory.EndRegionDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.RegionKeyword)) 43710Case SyntaxKind.HashToken 43715Case SyntaxKind.ExternalSourceKeyword 43720Case SyntaxKind.OpenParenToken 43725Case SyntaxKind.StringLiteralToken 43730Case SyntaxKind.CommaToken 43735Case SyntaxKind.IntegerLiteralToken 43740Case SyntaxKind.CloseParenToken 43744Return New ExternalSourceDirectiveTriviaSyntax(SyntaxKind.ExternalSourceDirectiveTrivia, Nothing, Nothing, DirectCast(hashToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(externalSourceKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(externalSource.Node, InternalSyntax.StringLiteralTokenSyntax), DirectCast(commaToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(lineStart.Node, InternalSyntax.IntegerLiteralTokenSyntax), DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 43753Return SyntaxFactory.ExternalSourceDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.StringLiteralToken), SyntaxFactory.Token(SyntaxKind.CommaToken), SyntaxFactory.Token(SyntaxKind.IntegerLiteralToken), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 43765Case SyntaxKind.HashToken 43770Case SyntaxKind.EndKeyword 43775Case SyntaxKind.ExternalSourceKeyword 43779Return New EndExternalSourceDirectiveTriviaSyntax(SyntaxKind.EndExternalSourceDirectiveTrivia, Nothing, Nothing, DirectCast(hashToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(endKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(externalSourceKeyword.Node, InternalSyntax.KeywordSyntax)) 43787Return SyntaxFactory.EndExternalSourceDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword)) 43799Case SyntaxKind.HashToken 43804Case SyntaxKind.ExternalChecksumKeyword 43809Case SyntaxKind.OpenParenToken 43814Case SyntaxKind.StringLiteralToken 43819Case SyntaxKind.CommaToken 43824Case SyntaxKind.StringLiteralToken 43829Case SyntaxKind.CommaToken 43834Case SyntaxKind.StringLiteralToken 43839Case SyntaxKind.CloseParenToken 43843Return New ExternalChecksumDirectiveTriviaSyntax(SyntaxKind.ExternalChecksumDirectiveTrivia, Nothing, Nothing, DirectCast(hashToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(externalChecksumKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(externalSource.Node, InternalSyntax.StringLiteralTokenSyntax), DirectCast(firstCommaToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(guid.Node, InternalSyntax.StringLiteralTokenSyntax), DirectCast(secondCommaToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(checksum.Node, InternalSyntax.StringLiteralTokenSyntax), DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 43851Return SyntaxFactory.ExternalChecksumDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.ExternalChecksumKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.Token(SyntaxKind.StringLiteralToken), SyntaxFactory.Token(SyntaxKind.CommaToken), SyntaxFactory.Token(SyntaxKind.StringLiteralToken), SyntaxFactory.Token(SyntaxKind.CommaToken), SyntaxFactory.Token(SyntaxKind.StringLiteralToken), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 43863Case SyntaxKind.HashToken 43868Case SyntaxKind.EnableKeyword 43873Case SyntaxKind.WarningKeyword 43877Return New EnableWarningDirectiveTriviaSyntax(SyntaxKind.EnableWarningDirectiveTrivia, Nothing, Nothing, DirectCast(hashToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(enableKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(warningKeyword.Node, InternalSyntax.KeywordSyntax), errorCodes.Node) 43885Return SyntaxFactory.EnableWarningDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.EnableKeyword), SyntaxFactory.Token(SyntaxKind.WarningKeyword), errorCodes) 43893Return SyntaxFactory.EnableWarningDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.EnableKeyword), SyntaxFactory.Token(SyntaxKind.WarningKeyword), SyntaxFactory.SeparatedList(Of IdentifierNameSyntax)().AddRange(errorCodes)) 43905Case SyntaxKind.HashToken 43910Case SyntaxKind.DisableKeyword 43915Case SyntaxKind.WarningKeyword 43919Return New DisableWarningDirectiveTriviaSyntax(SyntaxKind.DisableWarningDirectiveTrivia, Nothing, Nothing, DirectCast(hashToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(disableKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(warningKeyword.Node, InternalSyntax.KeywordSyntax), errorCodes.Node) 43927Return SyntaxFactory.DisableWarningDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.DisableKeyword), SyntaxFactory.Token(SyntaxKind.WarningKeyword), errorCodes) 43935Return SyntaxFactory.DisableWarningDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.DisableKeyword), SyntaxFactory.Token(SyntaxKind.WarningKeyword), SyntaxFactory.SeparatedList(Of IdentifierNameSyntax)().AddRange(errorCodes)) 43947Case SyntaxKind.HashToken 43952Case SyntaxKind.ReferenceKeyword 43957Case SyntaxKind.StringLiteralToken 43961Return New ReferenceDirectiveTriviaSyntax(SyntaxKind.ReferenceDirectiveTrivia, Nothing, Nothing, DirectCast(hashToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(referenceKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(file.Node, InternalSyntax.StringLiteralTokenSyntax)) 43969Return SyntaxFactory.ReferenceDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.ReferenceKeyword), SyntaxFactory.Token(SyntaxKind.StringLiteralToken)) 43984Case SyntaxKind.HashToken 43988Return New BadDirectiveTriviaSyntax(SyntaxKind.BadDirectiveTrivia, Nothing, Nothing, DirectCast(hashToken.Node, InternalSyntax.PunctuationSyntax)) 43999Return SyntaxFactory.BadDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken)) 44008Public Shared Function IsEndBlockStatement(kind As SyntaxKind) As Boolean 44011SyntaxKind.EndIfStatement, 44012SyntaxKind.EndUsingStatement, 44013SyntaxKind.EndWithStatement, 44014SyntaxKind.EndSelectStatement, 44015SyntaxKind.EndStructureStatement, 44016SyntaxKind.EndEnumStatement, 44017SyntaxKind.EndInterfaceStatement, 44018SyntaxKind.EndClassStatement, 44019SyntaxKind.EndModuleStatement, 44020SyntaxKind.EndNamespaceStatement, 44021SyntaxKind.EndSubStatement, 44022SyntaxKind.EndFunctionStatement, 44023SyntaxKind.EndGetStatement, 44024SyntaxKind.EndSetStatement, 44025SyntaxKind.EndPropertyStatement, 44026SyntaxKind.EndOperatorStatement, 44027SyntaxKind.EndEventStatement, 44028SyntaxKind.EndAddHandlerStatement, 44029SyntaxKind.EndRemoveHandlerStatement, 44030SyntaxKind.EndRaiseEventStatement, 44031SyntaxKind.EndWhileStatement, 44032SyntaxKind.EndTryStatement, 44033SyntaxKind.EndSyncLockStatement 44039Public Shared Function IsEndBlockStatementBlockKeyword(kind As SyntaxKind) As Boolean 44042SyntaxKind.IfKeyword, 44043SyntaxKind.UsingKeyword, 44044SyntaxKind.WithKeyword, 44045SyntaxKind.SelectKeyword, 44046SyntaxKind.StructureKeyword, 44047SyntaxKind.EnumKeyword, 44048SyntaxKind.InterfaceKeyword, 44049SyntaxKind.ClassKeyword, 44050SyntaxKind.ModuleKeyword, 44051SyntaxKind.NamespaceKeyword, 44052SyntaxKind.SubKeyword, 44053SyntaxKind.FunctionKeyword, 44054SyntaxKind.GetKeyword, 44055SyntaxKind.SetKeyword, 44056SyntaxKind.PropertyKeyword, 44057SyntaxKind.OperatorKeyword, 44058SyntaxKind.EventKeyword, 44059SyntaxKind.AddHandlerKeyword, 44060SyntaxKind.RemoveHandlerKeyword, 44061SyntaxKind.RaiseEventKeyword, 44062SyntaxKind.WhileKeyword, 44063SyntaxKind.TryKeyword, 44064SyntaxKind.SyncLockKeyword 44070Public Shared Function IsOptionStatementNameKeyword(kind As SyntaxKind) As Boolean 44073SyntaxKind.ExplicitKeyword, 44074SyntaxKind.StrictKeyword, 44075SyntaxKind.CompareKeyword, 44076SyntaxKind.InferKeyword 44082Public Shared Function IsOptionStatementValueKeyword(kind As SyntaxKind) As Boolean 44085SyntaxKind.OnKeyword, 44086SyntaxKind.OffKeyword, 44087SyntaxKind.TextKeyword, 44088SyntaxKind.BinaryKeyword 44094Public Shared Function IsTypeParameterVarianceKeyword(kind As SyntaxKind) As Boolean 44097SyntaxKind.InKeyword, 44098SyntaxKind.OutKeyword 44104Public Shared Function IsSpecialConstraint(kind As SyntaxKind) As Boolean 44107SyntaxKind.NewConstraint, 44108SyntaxKind.ClassConstraint, 44109SyntaxKind.StructureConstraint 44115Public Shared Function IsSpecialConstraintConstraintKeyword(kind As SyntaxKind) As Boolean 44118SyntaxKind.NewKeyword, 44119SyntaxKind.ClassKeyword, 44120SyntaxKind.StructureKeyword 44126Public Shared Function IsMethodBlock(kind As SyntaxKind) As Boolean 44129SyntaxKind.SubBlock, 44130SyntaxKind.FunctionBlock 44136Public Shared Function IsAccessorBlock(kind As SyntaxKind) As Boolean 44139SyntaxKind.GetAccessorBlock, 44140SyntaxKind.SetAccessorBlock, 44141SyntaxKind.AddHandlerAccessorBlock, 44142SyntaxKind.RemoveHandlerAccessorBlock, 44143SyntaxKind.RaiseEventAccessorBlock 44149Public Shared Function IsMethodStatement(kind As SyntaxKind) As Boolean 44152SyntaxKind.SubStatement, 44153SyntaxKind.FunctionStatement 44159Public Shared Function IsMethodStatementSubOrFunctionKeyword(kind As SyntaxKind) As Boolean 44162SyntaxKind.SubKeyword, 44163SyntaxKind.FunctionKeyword 44169Public Shared Function IsDeclareStatement(kind As SyntaxKind) As Boolean 44172SyntaxKind.DeclareSubStatement, 44173SyntaxKind.DeclareFunctionStatement 44179Public Shared Function IsDeclareStatementCharsetKeyword(kind As SyntaxKind) As Boolean 44182SyntaxKind.AnsiKeyword, 44183SyntaxKind.UnicodeKeyword, 44184SyntaxKind.AutoKeyword 44190Public Shared Function IsDeclareStatementSubOrFunctionKeyword(kind As SyntaxKind) As Boolean 44193SyntaxKind.SubKeyword, 44194SyntaxKind.FunctionKeyword 44200Public Shared Function IsDelegateStatement(kind As SyntaxKind) As Boolean 44203SyntaxKind.DelegateSubStatement, 44204SyntaxKind.DelegateFunctionStatement 44210Public Shared Function IsDelegateStatementSubOrFunctionKeyword(kind As SyntaxKind) As Boolean 44213SyntaxKind.SubKeyword, 44214SyntaxKind.FunctionKeyword 44220Public Shared Function IsOperatorStatementOperatorToken(kind As SyntaxKind) As Boolean 44223SyntaxKind.CTypeKeyword, 44224SyntaxKind.IsTrueKeyword, 44225SyntaxKind.IsFalseKeyword, 44226SyntaxKind.NotKeyword, 44227SyntaxKind.PlusToken, 44228SyntaxKind.MinusToken, 44229SyntaxKind.AsteriskToken, 44230SyntaxKind.SlashToken, 44231SyntaxKind.CaretToken, 44232SyntaxKind.BackslashToken, 44233SyntaxKind.AmpersandToken, 44234SyntaxKind.LessThanLessThanToken, 44235SyntaxKind.GreaterThanGreaterThanToken, 44236SyntaxKind.ModKeyword, 44237SyntaxKind.OrKeyword, 44238SyntaxKind.XorKeyword, 44239SyntaxKind.AndKeyword, 44240SyntaxKind.LikeKeyword, 44241SyntaxKind.EqualsToken, 44242SyntaxKind.LessThanGreaterThanToken, 44243SyntaxKind.LessThanToken, 44244SyntaxKind.LessThanEqualsToken, 44245SyntaxKind.GreaterThanEqualsToken, 44246SyntaxKind.GreaterThanToken 44252Public Shared Function IsAccessorStatement(kind As SyntaxKind) As Boolean 44255SyntaxKind.GetAccessorStatement, 44256SyntaxKind.SetAccessorStatement, 44257SyntaxKind.AddHandlerAccessorStatement, 44258SyntaxKind.RemoveHandlerAccessorStatement, 44259SyntaxKind.RaiseEventAccessorStatement 44265Public Shared Function IsAccessorStatementAccessorKeyword(kind As SyntaxKind) As Boolean 44268SyntaxKind.GetKeyword, 44269SyntaxKind.SetKeyword, 44270SyntaxKind.AddHandlerKeyword, 44271SyntaxKind.RemoveHandlerKeyword, 44272SyntaxKind.RaiseEventKeyword 44278Public Shared Function IsKeywordEventContainerKeyword(kind As SyntaxKind) As Boolean 44281SyntaxKind.MyBaseKeyword, 44282SyntaxKind.MeKeyword, 44283SyntaxKind.MyClassKeyword 44289Public Shared Function IsAttributeTargetAttributeModifier(kind As SyntaxKind) As Boolean 44292SyntaxKind.AssemblyKeyword, 44293SyntaxKind.ModuleKeyword 44299Public Shared Function IsLabelStatementLabelToken(kind As SyntaxKind) As Boolean 44302SyntaxKind.IdentifierToken, 44303SyntaxKind.IntegerLiteralToken 44309Public Shared Function IsLabel(kind As SyntaxKind) As Boolean 44312SyntaxKind.IdentifierLabel, 44313SyntaxKind.NumericLabel, 44314SyntaxKind.NextLabel 44320Public Shared Function IsLabelLabelToken(kind As SyntaxKind) As Boolean 44323SyntaxKind.IdentifierToken, 44324SyntaxKind.IntegerLiteralToken, 44325SyntaxKind.NextKeyword 44331Public Shared Function IsStopOrEndStatement(kind As SyntaxKind) As Boolean 44334SyntaxKind.StopStatement, 44335SyntaxKind.EndStatement 44341Public Shared Function IsStopOrEndStatementStopOrEndKeyword(kind As SyntaxKind) As Boolean 44344SyntaxKind.StopKeyword, 44345SyntaxKind.EndKeyword 44351Public Shared Function IsExitStatement(kind As SyntaxKind) As Boolean 44354SyntaxKind.ExitDoStatement, 44355SyntaxKind.ExitForStatement, 44356SyntaxKind.ExitSubStatement, 44357SyntaxKind.ExitFunctionStatement, 44358SyntaxKind.ExitOperatorStatement, 44359SyntaxKind.ExitPropertyStatement, 44360SyntaxKind.ExitTryStatement, 44361SyntaxKind.ExitSelectStatement, 44362SyntaxKind.ExitWhileStatement 44368Public Shared Function IsExitStatementBlockKeyword(kind As SyntaxKind) As Boolean 44371SyntaxKind.DoKeyword, 44372SyntaxKind.ForKeyword, 44373SyntaxKind.SubKeyword, 44374SyntaxKind.FunctionKeyword, 44375SyntaxKind.OperatorKeyword, 44376SyntaxKind.PropertyKeyword, 44377SyntaxKind.TryKeyword, 44378SyntaxKind.SelectKeyword, 44379SyntaxKind.WhileKeyword 44385Public Shared Function IsContinueStatement(kind As SyntaxKind) As Boolean 44388SyntaxKind.ContinueWhileStatement, 44389SyntaxKind.ContinueDoStatement, 44390SyntaxKind.ContinueForStatement 44396Public Shared Function IsContinueStatementBlockKeyword(kind As SyntaxKind) As Boolean 44399SyntaxKind.WhileKeyword, 44400SyntaxKind.DoKeyword, 44401SyntaxKind.ForKeyword 44407Public Shared Function IsOnErrorGoToStatement(kind As SyntaxKind) As Boolean 44410SyntaxKind.OnErrorGoToZeroStatement, 44411SyntaxKind.OnErrorGoToMinusOneStatement, 44412SyntaxKind.OnErrorGoToLabelStatement 44418Public Shared Function IsResumeStatement(kind As SyntaxKind) As Boolean 44421SyntaxKind.ResumeStatement, 44422SyntaxKind.ResumeLabelStatement, 44423SyntaxKind.ResumeNextStatement 44429Public Shared Function IsCaseBlock(kind As SyntaxKind) As Boolean 44432SyntaxKind.CaseBlock, 44433SyntaxKind.CaseElseBlock 44439Public Shared Function IsCaseStatement(kind As SyntaxKind) As Boolean 44442SyntaxKind.CaseStatement, 44443SyntaxKind.CaseElseStatement 44449Public Shared Function IsRelationalCaseClause(kind As SyntaxKind) As Boolean 44452SyntaxKind.CaseEqualsClause, 44453SyntaxKind.CaseNotEqualsClause, 44454SyntaxKind.CaseLessThanClause, 44455SyntaxKind.CaseLessThanOrEqualClause, 44456SyntaxKind.CaseGreaterThanOrEqualClause, 44457SyntaxKind.CaseGreaterThanClause 44463Public Shared Function IsRelationalCaseClauseOperatorToken(kind As SyntaxKind) As Boolean 44466SyntaxKind.EqualsToken, 44467SyntaxKind.LessThanGreaterThanToken, 44468SyntaxKind.LessThanToken, 44469SyntaxKind.LessThanEqualsToken, 44470SyntaxKind.GreaterThanEqualsToken, 44471SyntaxKind.GreaterThanToken 44477Public Shared Function IsDoLoopBlock(kind As SyntaxKind) As Boolean 44480SyntaxKind.SimpleDoLoopBlock, 44481SyntaxKind.DoWhileLoopBlock, 44482SyntaxKind.DoUntilLoopBlock, 44483SyntaxKind.DoLoopWhileBlock, 44484SyntaxKind.DoLoopUntilBlock 44490Public Shared Function IsDoStatement(kind As SyntaxKind) As Boolean 44493SyntaxKind.SimpleDoStatement, 44494SyntaxKind.DoWhileStatement, 44495SyntaxKind.DoUntilStatement 44501Public Shared Function IsLoopStatement(kind As SyntaxKind) As Boolean 44504SyntaxKind.SimpleLoopStatement, 44505SyntaxKind.LoopWhileStatement, 44506SyntaxKind.LoopUntilStatement 44512Public Shared Function IsWhileOrUntilClause(kind As SyntaxKind) As Boolean 44515SyntaxKind.WhileClause, 44516SyntaxKind.UntilClause 44522Public Shared Function IsWhileOrUntilClauseWhileOrUntilKeyword(kind As SyntaxKind) As Boolean 44525SyntaxKind.WhileKeyword, 44526SyntaxKind.UntilKeyword 44532Public Shared Function IsAssignmentStatement(kind As SyntaxKind) As Boolean 44535SyntaxKind.SimpleAssignmentStatement, 44536SyntaxKind.MidAssignmentStatement, 44537SyntaxKind.AddAssignmentStatement, 44538SyntaxKind.SubtractAssignmentStatement, 44539SyntaxKind.MultiplyAssignmentStatement, 44540SyntaxKind.DivideAssignmentStatement, 44541SyntaxKind.IntegerDivideAssignmentStatement, 44542SyntaxKind.ExponentiateAssignmentStatement, 44543SyntaxKind.LeftShiftAssignmentStatement, 44544SyntaxKind.RightShiftAssignmentStatement, 44545SyntaxKind.ConcatenateAssignmentStatement 44551Public Shared Function IsAssignmentStatementOperatorToken(kind As SyntaxKind) As Boolean 44554SyntaxKind.EqualsToken, 44555SyntaxKind.EqualsToken, 44556SyntaxKind.PlusEqualsToken, 44557SyntaxKind.MinusEqualsToken, 44558SyntaxKind.AsteriskEqualsToken, 44559SyntaxKind.SlashEqualsToken, 44560SyntaxKind.BackslashEqualsToken, 44561SyntaxKind.CaretEqualsToken, 44562SyntaxKind.LessThanLessThanEqualsToken, 44563SyntaxKind.GreaterThanGreaterThanEqualsToken, 44564SyntaxKind.AmpersandEqualsToken 44570Public Shared Function IsAddRemoveHandlerStatement(kind As SyntaxKind) As Boolean 44573SyntaxKind.AddHandlerStatement, 44574SyntaxKind.RemoveHandlerStatement 44580Public Shared Function IsAddRemoveHandlerStatementAddHandlerOrRemoveHandlerKeyword(kind As SyntaxKind) As Boolean 44583SyntaxKind.AddHandlerKeyword, 44584SyntaxKind.RemoveHandlerKeyword 44590Public Shared Function IsReDimStatement(kind As SyntaxKind) As Boolean 44593SyntaxKind.ReDimStatement, 44594SyntaxKind.ReDimPreserveStatement 44600Public Shared Function IsLiteralExpression(kind As SyntaxKind) As Boolean 44603SyntaxKind.CharacterLiteralExpression, 44604SyntaxKind.TrueLiteralExpression, 44605SyntaxKind.FalseLiteralExpression, 44606SyntaxKind.NumericLiteralExpression, 44607SyntaxKind.DateLiteralExpression, 44608SyntaxKind.StringLiteralExpression, 44609SyntaxKind.NothingLiteralExpression 44615Public Shared Function IsLiteralExpressionToken(kind As SyntaxKind) As Boolean 44618SyntaxKind.IntegerLiteralToken, 44619SyntaxKind.CharacterLiteralToken, 44620SyntaxKind.DecimalLiteralToken, 44621SyntaxKind.FloatingLiteralToken, 44622SyntaxKind.DateLiteralToken, 44623SyntaxKind.StringLiteralToken, 44624SyntaxKind.TrueKeyword, 44625SyntaxKind.FalseKeyword, 44626SyntaxKind.NothingKeyword 44632Public Shared Function IsTypeOfExpression(kind As SyntaxKind) As Boolean 44635SyntaxKind.TypeOfIsExpression, 44636SyntaxKind.TypeOfIsNotExpression 44642Public Shared Function IsTypeOfExpressionOperatorToken(kind As SyntaxKind) As Boolean 44645SyntaxKind.IsKeyword, 44646SyntaxKind.IsNotKeyword 44652Public Shared Function IsMemberAccessExpression(kind As SyntaxKind) As Boolean 44655SyntaxKind.SimpleMemberAccessExpression, 44656SyntaxKind.DictionaryAccessExpression 44662Public Shared Function IsMemberAccessExpressionOperatorToken(kind As SyntaxKind) As Boolean 44665SyntaxKind.DotToken, 44666SyntaxKind.ExclamationToken 44672Public Shared Function IsXmlMemberAccessExpression(kind As SyntaxKind) As Boolean 44675SyntaxKind.XmlElementAccessExpression, 44676SyntaxKind.XmlDescendantAccessExpression, 44677SyntaxKind.XmlAttributeAccessExpression 44683Public Shared Function IsXmlMemberAccessExpressionToken2(kind As SyntaxKind) As Boolean 44686SyntaxKind.DotToken, 44687SyntaxKind.AtToken 44693Public Shared Function IsPredefinedCastExpressionKeyword(kind As SyntaxKind) As Boolean 44696SyntaxKind.CObjKeyword, 44697SyntaxKind.CBoolKeyword, 44698SyntaxKind.CDateKeyword, 44699SyntaxKind.CCharKeyword, 44700SyntaxKind.CStrKeyword, 44701SyntaxKind.CDecKeyword, 44702SyntaxKind.CByteKeyword, 44703SyntaxKind.CSByteKeyword, 44704SyntaxKind.CUShortKeyword, 44705SyntaxKind.CShortKeyword, 44706SyntaxKind.CUIntKeyword, 44707SyntaxKind.CIntKeyword, 44708SyntaxKind.CULngKeyword, 44709SyntaxKind.CLngKeyword, 44710SyntaxKind.CSngKeyword, 44711SyntaxKind.CDblKeyword 44717Public Shared Function IsBinaryExpression(kind As SyntaxKind) As Boolean 44720SyntaxKind.AddExpression, 44721SyntaxKind.SubtractExpression, 44722SyntaxKind.MultiplyExpression, 44723SyntaxKind.DivideExpression, 44724SyntaxKind.IntegerDivideExpression, 44725SyntaxKind.ExponentiateExpression, 44726SyntaxKind.LeftShiftExpression, 44727SyntaxKind.RightShiftExpression, 44728SyntaxKind.ConcatenateExpression, 44729SyntaxKind.ModuloExpression, 44730SyntaxKind.EqualsExpression, 44731SyntaxKind.NotEqualsExpression, 44732SyntaxKind.LessThanExpression, 44733SyntaxKind.LessThanOrEqualExpression, 44734SyntaxKind.GreaterThanOrEqualExpression, 44735SyntaxKind.GreaterThanExpression, 44736SyntaxKind.IsExpression, 44737SyntaxKind.IsNotExpression, 44738SyntaxKind.LikeExpression, 44739SyntaxKind.OrExpression, 44740SyntaxKind.ExclusiveOrExpression, 44741SyntaxKind.AndExpression, 44742SyntaxKind.OrElseExpression, 44743SyntaxKind.AndAlsoExpression 44749Public Shared Function IsBinaryExpressionOperatorToken(kind As SyntaxKind) As Boolean 44752SyntaxKind.PlusToken, 44753SyntaxKind.MinusToken, 44754SyntaxKind.AsteriskToken, 44755SyntaxKind.SlashToken, 44756SyntaxKind.BackslashToken, 44757SyntaxKind.CaretToken, 44758SyntaxKind.LessThanLessThanToken, 44759SyntaxKind.GreaterThanGreaterThanToken, 44760SyntaxKind.AmpersandToken, 44761SyntaxKind.ModKeyword, 44762SyntaxKind.EqualsToken, 44763SyntaxKind.LessThanGreaterThanToken, 44764SyntaxKind.LessThanToken, 44765SyntaxKind.LessThanEqualsToken, 44766SyntaxKind.GreaterThanEqualsToken, 44767SyntaxKind.GreaterThanToken, 44768SyntaxKind.IsKeyword, 44769SyntaxKind.IsNotKeyword, 44770SyntaxKind.LikeKeyword, 44771SyntaxKind.OrKeyword, 44772SyntaxKind.XorKeyword, 44773SyntaxKind.AndKeyword, 44774SyntaxKind.OrElseKeyword, 44775SyntaxKind.AndAlsoKeyword 44781Public Shared Function IsUnaryExpression(kind As SyntaxKind) As Boolean 44784SyntaxKind.UnaryPlusExpression, 44785SyntaxKind.UnaryMinusExpression, 44786SyntaxKind.NotExpression, 44787SyntaxKind.AddressOfExpression 44793Public Shared Function IsUnaryExpressionOperatorToken(kind As SyntaxKind) As Boolean 44796SyntaxKind.PlusToken, 44797SyntaxKind.MinusToken, 44798SyntaxKind.NotKeyword, 44799SyntaxKind.AddressOfKeyword 44805Public Shared Function IsSingleLineLambdaExpression(kind As SyntaxKind) As Boolean 44808SyntaxKind.SingleLineFunctionLambdaExpression, 44809SyntaxKind.SingleLineSubLambdaExpression 44815Public Shared Function IsMultiLineLambdaExpression(kind As SyntaxKind) As Boolean 44818SyntaxKind.MultiLineFunctionLambdaExpression, 44819SyntaxKind.MultiLineSubLambdaExpression 44825Public Shared Function IsLambdaHeader(kind As SyntaxKind) As Boolean 44828SyntaxKind.SubLambdaHeader, 44829SyntaxKind.FunctionLambdaHeader 44835Public Shared Function IsLambdaHeaderSubOrFunctionKeyword(kind As SyntaxKind) As Boolean 44838SyntaxKind.SubKeyword, 44839SyntaxKind.FunctionKeyword 44845Public Shared Function IsPartitionWhileClause(kind As SyntaxKind) As Boolean 44848SyntaxKind.SkipWhileClause, 44849SyntaxKind.TakeWhileClause 44855Public Shared Function IsPartitionWhileClauseSkipOrTakeKeyword(kind As SyntaxKind) As Boolean 44858SyntaxKind.SkipKeyword, 44859SyntaxKind.TakeKeyword 44865Public Shared Function IsPartitionClause(kind As SyntaxKind) As Boolean 44868SyntaxKind.SkipClause, 44869SyntaxKind.TakeClause 44875Public Shared Function IsPartitionClauseSkipOrTakeKeyword(kind As SyntaxKind) As Boolean 44878SyntaxKind.SkipKeyword, 44879SyntaxKind.TakeKeyword 44885Public Shared Function IsOrdering(kind As SyntaxKind) As Boolean 44888SyntaxKind.AscendingOrdering, 44889SyntaxKind.DescendingOrdering 44895Public Shared Function IsOrderingAscendingOrDescendingKeyword(kind As SyntaxKind) As Boolean 44898SyntaxKind.AscendingKeyword, 44899SyntaxKind.DescendingKeyword 44905Public Shared Function IsXmlStringStartQuoteToken(kind As SyntaxKind) As Boolean 44908SyntaxKind.DoubleQuoteToken, 44909SyntaxKind.SingleQuoteToken 44915Public Shared Function IsXmlStringEndQuoteToken(kind As SyntaxKind) As Boolean 44918SyntaxKind.DoubleQuoteToken, 44919SyntaxKind.SingleQuoteToken 44925Friend Shared Function IsPredefinedTypeKeyword(kind As SyntaxKind) As Boolean 44928SyntaxKind.ObjectKeyword, 44929SyntaxKind.BooleanKeyword, 44930SyntaxKind.DateKeyword, 44931SyntaxKind.CharKeyword, 44932SyntaxKind.StringKeyword, 44933SyntaxKind.DecimalKeyword, 44934SyntaxKind.ByteKeyword, 44935SyntaxKind.SByteKeyword, 44936SyntaxKind.UShortKeyword, 44937SyntaxKind.ShortKeyword, 44938SyntaxKind.UIntegerKeyword, 44939SyntaxKind.IntegerKeyword, 44940SyntaxKind.ULongKeyword, 44941SyntaxKind.LongKeyword, 44942SyntaxKind.SingleKeyword, 44943SyntaxKind.DoubleKeyword 44949Public Shared Function IsCrefSignaturePartModifier(kind As SyntaxKind) As Boolean 44952SyntaxKind.ByValKeyword, 44953SyntaxKind.ByRefKeyword 44959Public Shared Function IsCrefOperatorReferenceOperatorToken(kind As SyntaxKind) As Boolean 44962SyntaxKind.CTypeKeyword, 44963SyntaxKind.IsTrueKeyword, 44964SyntaxKind.IsFalseKeyword, 44965SyntaxKind.NotKeyword, 44966SyntaxKind.PlusToken, 44967SyntaxKind.MinusToken, 44968SyntaxKind.AsteriskToken, 44969SyntaxKind.SlashToken, 44970SyntaxKind.CaretToken, 44971SyntaxKind.BackslashToken, 44972SyntaxKind.AmpersandToken, 44973SyntaxKind.LessThanLessThanToken, 44974SyntaxKind.GreaterThanGreaterThanToken, 44975SyntaxKind.ModKeyword, 44976SyntaxKind.OrKeyword, 44977SyntaxKind.XorKeyword, 44978SyntaxKind.AndKeyword, 44979SyntaxKind.LikeKeyword, 44980SyntaxKind.EqualsToken, 44981SyntaxKind.LessThanGreaterThanToken, 44982SyntaxKind.LessThanToken, 44983SyntaxKind.LessThanEqualsToken, 44984SyntaxKind.GreaterThanEqualsToken, 44985SyntaxKind.GreaterThanToken 44991Public Shared Function IsKeywordKind(kind As SyntaxKind) As Boolean 44994SyntaxKind.AddHandlerKeyword, 44995SyntaxKind.AddressOfKeyword, 44996SyntaxKind.AliasKeyword, 44997SyntaxKind.AndKeyword, 44998SyntaxKind.AndAlsoKeyword, 44999SyntaxKind.AsKeyword, 45000SyntaxKind.BooleanKeyword, 45001SyntaxKind.ByRefKeyword, 45002SyntaxKind.ByteKeyword, 45003SyntaxKind.ByValKeyword, 45004SyntaxKind.CallKeyword, 45005SyntaxKind.CaseKeyword, 45006SyntaxKind.CatchKeyword, 45007SyntaxKind.CBoolKeyword, 45008SyntaxKind.CByteKeyword, 45009SyntaxKind.CCharKeyword, 45010SyntaxKind.CDateKeyword, 45011SyntaxKind.CDecKeyword, 45012SyntaxKind.CDblKeyword, 45013SyntaxKind.CharKeyword, 45014SyntaxKind.CIntKeyword, 45015SyntaxKind.ClassKeyword, 45016SyntaxKind.CLngKeyword, 45017SyntaxKind.CObjKeyword, 45018SyntaxKind.ConstKeyword, 45019SyntaxKind.ReferenceKeyword, 45020SyntaxKind.ContinueKeyword, 45021SyntaxKind.CSByteKeyword, 45022SyntaxKind.CShortKeyword, 45023SyntaxKind.CSngKeyword, 45024SyntaxKind.CStrKeyword, 45025SyntaxKind.CTypeKeyword, 45026SyntaxKind.CUIntKeyword, 45027SyntaxKind.CULngKeyword, 45028SyntaxKind.CUShortKeyword, 45029SyntaxKind.DateKeyword, 45030SyntaxKind.DecimalKeyword, 45031SyntaxKind.DeclareKeyword, 45032SyntaxKind.DefaultKeyword, 45033SyntaxKind.DelegateKeyword, 45034SyntaxKind.DimKeyword, 45035SyntaxKind.DirectCastKeyword, 45036SyntaxKind.DoKeyword, 45037SyntaxKind.DoubleKeyword, 45038SyntaxKind.EachKeyword, 45039SyntaxKind.ElseKeyword, 45040SyntaxKind.ElseIfKeyword, 45041SyntaxKind.EndKeyword, 45042SyntaxKind.EnumKeyword, 45043SyntaxKind.EraseKeyword, 45044SyntaxKind.ErrorKeyword, 45045SyntaxKind.EventKeyword, 45046SyntaxKind.ExitKeyword, 45047SyntaxKind.FalseKeyword, 45048SyntaxKind.FinallyKeyword, 45049SyntaxKind.ForKeyword, 45050SyntaxKind.FriendKeyword, 45051SyntaxKind.FunctionKeyword, 45052SyntaxKind.GetKeyword, 45053SyntaxKind.GetTypeKeyword, 45054SyntaxKind.GetXmlNamespaceKeyword, 45055SyntaxKind.GlobalKeyword, 45056SyntaxKind.GoToKeyword, 45057SyntaxKind.HandlesKeyword, 45058SyntaxKind.IfKeyword, 45059SyntaxKind.ImplementsKeyword, 45060SyntaxKind.ImportsKeyword, 45061SyntaxKind.InKeyword, 45062SyntaxKind.InheritsKeyword, 45063SyntaxKind.IntegerKeyword, 45064SyntaxKind.InterfaceKeyword, 45065SyntaxKind.IsKeyword, 45066SyntaxKind.IsNotKeyword, 45067SyntaxKind.LetKeyword, 45068SyntaxKind.LibKeyword, 45069SyntaxKind.LikeKeyword, 45070SyntaxKind.LongKeyword, 45071SyntaxKind.LoopKeyword, 45072SyntaxKind.MeKeyword, 45073SyntaxKind.ModKeyword, 45074SyntaxKind.ModuleKeyword, 45075SyntaxKind.MustInheritKeyword, 45076SyntaxKind.MustOverrideKeyword, 45077SyntaxKind.MyBaseKeyword, 45078SyntaxKind.MyClassKeyword, 45079SyntaxKind.NameOfKeyword, 45080SyntaxKind.NamespaceKeyword, 45081SyntaxKind.NarrowingKeyword, 45082SyntaxKind.NextKeyword, 45083SyntaxKind.NewKeyword, 45084SyntaxKind.NotKeyword, 45085SyntaxKind.NothingKeyword, 45086SyntaxKind.NotInheritableKeyword, 45087SyntaxKind.NotOverridableKeyword, 45088SyntaxKind.ObjectKeyword, 45089SyntaxKind.OfKeyword, 45090SyntaxKind.OnKeyword, 45091SyntaxKind.OperatorKeyword, 45092SyntaxKind.OptionKeyword, 45093SyntaxKind.OptionalKeyword, 45094SyntaxKind.OrKeyword, 45095SyntaxKind.OrElseKeyword, 45096SyntaxKind.OverloadsKeyword, 45097SyntaxKind.OverridableKeyword, 45098SyntaxKind.OverridesKeyword, 45099SyntaxKind.ParamArrayKeyword, 45100SyntaxKind.PartialKeyword, 45101SyntaxKind.PrivateKeyword, 45102SyntaxKind.PropertyKeyword, 45103SyntaxKind.ProtectedKeyword, 45104SyntaxKind.PublicKeyword, 45105SyntaxKind.RaiseEventKeyword, 45106SyntaxKind.ReadOnlyKeyword, 45107SyntaxKind.ReDimKeyword, 45108SyntaxKind.REMKeyword, 45109SyntaxKind.RemoveHandlerKeyword, 45110SyntaxKind.ResumeKeyword, 45111SyntaxKind.ReturnKeyword, 45112SyntaxKind.SByteKeyword, 45113SyntaxKind.SelectKeyword, 45114SyntaxKind.SetKeyword, 45115SyntaxKind.ShadowsKeyword, 45116SyntaxKind.SharedKeyword, 45117SyntaxKind.ShortKeyword, 45118SyntaxKind.SingleKeyword, 45119SyntaxKind.StaticKeyword, 45120SyntaxKind.StepKeyword, 45121SyntaxKind.StopKeyword, 45122SyntaxKind.StringKeyword, 45123SyntaxKind.StructureKeyword, 45124SyntaxKind.SubKeyword, 45125SyntaxKind.SyncLockKeyword, 45126SyntaxKind.ThenKeyword, 45127SyntaxKind.ThrowKeyword, 45128SyntaxKind.ToKeyword, 45129SyntaxKind.TrueKeyword, 45130SyntaxKind.TryKeyword, 45131SyntaxKind.TryCastKeyword, 45132SyntaxKind.TypeOfKeyword, 45133SyntaxKind.UIntegerKeyword, 45134SyntaxKind.ULongKeyword, 45135SyntaxKind.UShortKeyword, 45136SyntaxKind.UsingKeyword, 45137SyntaxKind.WhenKeyword, 45138SyntaxKind.WhileKeyword, 45139SyntaxKind.WideningKeyword, 45140SyntaxKind.WithKeyword, 45141SyntaxKind.WithEventsKeyword, 45142SyntaxKind.WriteOnlyKeyword, 45143SyntaxKind.XorKeyword, 45144SyntaxKind.EndIfKeyword, 45145SyntaxKind.GosubKeyword, 45146SyntaxKind.VariantKeyword, 45147SyntaxKind.WendKeyword, 45148SyntaxKind.AggregateKeyword, 45149SyntaxKind.AllKeyword, 45150SyntaxKind.AnsiKeyword, 45151SyntaxKind.AscendingKeyword, 45152SyntaxKind.AssemblyKeyword, 45153SyntaxKind.AutoKeyword, 45154SyntaxKind.BinaryKeyword, 45155SyntaxKind.ByKeyword, 45156SyntaxKind.CompareKeyword, 45157SyntaxKind.CustomKeyword, 45158SyntaxKind.DescendingKeyword, 45159SyntaxKind.DisableKeyword, 45160SyntaxKind.DistinctKeyword, 45161SyntaxKind.EnableKeyword, 45162SyntaxKind.EqualsKeyword, 45163SyntaxKind.ExplicitKeyword, 45164SyntaxKind.ExternalSourceKeyword, 45165SyntaxKind.ExternalChecksumKeyword, 45166SyntaxKind.FromKeyword, 45167SyntaxKind.GroupKeyword, 45168SyntaxKind.InferKeyword, 45169SyntaxKind.IntoKeyword, 45170SyntaxKind.IsFalseKeyword, 45171SyntaxKind.IsTrueKeyword, 45172SyntaxKind.JoinKeyword, 45173SyntaxKind.KeyKeyword, 45174SyntaxKind.MidKeyword, 45175SyntaxKind.OffKeyword, 45176SyntaxKind.OrderKeyword, 45177SyntaxKind.OutKeyword, 45178SyntaxKind.PreserveKeyword, 45179SyntaxKind.RegionKeyword, 45180SyntaxKind.SkipKeyword, 45181SyntaxKind.StrictKeyword, 45182SyntaxKind.TakeKeyword, 45183SyntaxKind.TextKeyword, 45184SyntaxKind.UnicodeKeyword, 45185SyntaxKind.UntilKeyword, 45186SyntaxKind.WarningKeyword, 45187SyntaxKind.WhereKeyword, 45188SyntaxKind.TypeKeyword, 45189SyntaxKind.XmlKeyword, 45190SyntaxKind.AsyncKeyword, 45191SyntaxKind.AwaitKeyword, 45192SyntaxKind.IteratorKeyword, 45193SyntaxKind.YieldKeyword 45199Public Shared Function IsPunctuation(kind As SyntaxKind) As Boolean 45202SyntaxKind.ExclamationToken, 45203SyntaxKind.AtToken, 45204SyntaxKind.CommaToken, 45205SyntaxKind.HashToken, 45206SyntaxKind.AmpersandToken, 45207SyntaxKind.SingleQuoteToken, 45208SyntaxKind.OpenParenToken, 45209SyntaxKind.CloseParenToken, 45210SyntaxKind.OpenBraceToken, 45211SyntaxKind.CloseBraceToken, 45212SyntaxKind.SemicolonToken, 45213SyntaxKind.AsteriskToken, 45214SyntaxKind.PlusToken, 45215SyntaxKind.MinusToken, 45216SyntaxKind.DotToken, 45217SyntaxKind.SlashToken, 45218SyntaxKind.ColonToken, 45219SyntaxKind.LessThanToken, 45220SyntaxKind.LessThanEqualsToken, 45221SyntaxKind.LessThanGreaterThanToken, 45222SyntaxKind.EqualsToken, 45223SyntaxKind.GreaterThanToken, 45224SyntaxKind.GreaterThanEqualsToken, 45225SyntaxKind.BackslashToken, 45226SyntaxKind.CaretToken, 45227SyntaxKind.ColonEqualsToken, 45228SyntaxKind.AmpersandEqualsToken, 45229SyntaxKind.AsteriskEqualsToken, 45230SyntaxKind.PlusEqualsToken, 45231SyntaxKind.MinusEqualsToken, 45232SyntaxKind.SlashEqualsToken, 45233SyntaxKind.BackslashEqualsToken, 45234SyntaxKind.CaretEqualsToken, 45235SyntaxKind.LessThanLessThanToken, 45236SyntaxKind.GreaterThanGreaterThanToken, 45237SyntaxKind.LessThanLessThanEqualsToken, 45238SyntaxKind.GreaterThanGreaterThanEqualsToken, 45239SyntaxKind.QuestionToken, 45240SyntaxKind.DoubleQuoteToken, 45241SyntaxKind.DollarSignDoubleQuoteToken, 45242SyntaxKind.EndOfInterpolatedStringToken, 45243SyntaxKind.StatementTerminatorToken, 45244SyntaxKind.EndOfFileToken, 45245SyntaxKind.EmptyToken, 45246SyntaxKind.SlashGreaterThanToken, 45247SyntaxKind.LessThanSlashToken, 45248SyntaxKind.LessThanExclamationMinusMinusToken, 45249SyntaxKind.MinusMinusGreaterThanToken, 45250SyntaxKind.LessThanQuestionToken, 45251SyntaxKind.QuestionGreaterThanToken, 45252SyntaxKind.LessThanPercentEqualsToken, 45253SyntaxKind.PercentGreaterThanToken, 45254SyntaxKind.BeginCDataToken, 45255SyntaxKind.EndCDataToken, 45256SyntaxKind.EndOfXmlToken 45262Public Shared Function IsXmlTextToken(kind As SyntaxKind) As Boolean 45265SyntaxKind.XmlTextLiteralToken, 45266SyntaxKind.XmlEntityLiteralToken, 45267SyntaxKind.DocumentationCommentLineBreakToken 45273Public Shared Function IsXmlCrefAttributeStartQuoteToken(kind As SyntaxKind) As Boolean 45276SyntaxKind.DoubleQuoteToken, 45277SyntaxKind.SingleQuoteToken 45283Public Shared Function IsXmlCrefAttributeEndQuoteToken(kind As SyntaxKind) As Boolean 45286SyntaxKind.DoubleQuoteToken, 45287SyntaxKind.SingleQuoteToken 45293Public Shared Function IsXmlNameAttributeStartQuoteToken(kind As SyntaxKind) As Boolean 45296SyntaxKind.DoubleQuoteToken, 45297SyntaxKind.SingleQuoteToken 45303Public Shared Function IsXmlNameAttributeEndQuoteToken(kind As SyntaxKind) As Boolean 45306SyntaxKind.DoubleQuoteToken, 45307SyntaxKind.SingleQuoteToken 45313Friend Shared Function IsSyntaxTrivia(kind As SyntaxKind) As Boolean 45316SyntaxKind.WhitespaceTrivia, 45317SyntaxKind.EndOfLineTrivia, 45318SyntaxKind.ColonTrivia, 45319SyntaxKind.CommentTrivia, 45320SyntaxKind.ConflictMarkerTrivia, 45321SyntaxKind.LineContinuationTrivia, 45322SyntaxKind.DocumentationCommentExteriorTrivia, 45323SyntaxKind.DisabledTextTrivia 45329Public Shared Function IsIfDirectiveTrivia(kind As SyntaxKind) As Boolean 45332SyntaxKind.IfDirectiveTrivia, 45333SyntaxKind.ElseIfDirectiveTrivia 45339Public Shared Function IsIfDirectiveTriviaIfOrElseIfKeyword(kind As SyntaxKind) As Boolean 45342SyntaxKind.IfKeyword, 45343SyntaxKind.ElseIfKeyword 45352Public Shared Function GetText(kind As SyntaxKind) As String 45354Case SyntaxKind.AddHandlerKeyword 45356Case SyntaxKind.AddressOfKeyword 45358Case SyntaxKind.AliasKeyword 45360Case SyntaxKind.AndKeyword 45362Case SyntaxKind.AndAlsoKeyword 45364Case SyntaxKind.AsKeyword 45366Case SyntaxKind.BooleanKeyword 45368Case SyntaxKind.ByRefKeyword 45370Case SyntaxKind.ByteKeyword 45372Case SyntaxKind.ByValKeyword 45374Case SyntaxKind.CallKeyword 45376Case SyntaxKind.CaseKeyword 45378Case SyntaxKind.CatchKeyword 45380Case SyntaxKind.CBoolKeyword 45382Case SyntaxKind.CByteKeyword 45384Case SyntaxKind.CCharKeyword 45386Case SyntaxKind.CDateKeyword 45388Case SyntaxKind.CDecKeyword 45390Case SyntaxKind.CDblKeyword 45392Case SyntaxKind.CharKeyword 45394Case SyntaxKind.CIntKeyword 45396Case SyntaxKind.ClassKeyword 45398Case SyntaxKind.CLngKeyword 45400Case SyntaxKind.CObjKeyword 45402Case SyntaxKind.ConstKeyword 45404Case SyntaxKind.ReferenceKeyword 45406Case SyntaxKind.ContinueKeyword 45408Case SyntaxKind.CSByteKeyword 45410Case SyntaxKind.CShortKeyword 45412Case SyntaxKind.CSngKeyword 45414Case SyntaxKind.CStrKeyword 45416Case SyntaxKind.CTypeKeyword 45418Case SyntaxKind.CUIntKeyword 45420Case SyntaxKind.CULngKeyword 45422Case SyntaxKind.CUShortKeyword 45424Case SyntaxKind.DateKeyword 45426Case SyntaxKind.DecimalKeyword 45428Case SyntaxKind.DeclareKeyword 45430Case SyntaxKind.DefaultKeyword 45432Case SyntaxKind.DelegateKeyword 45434Case SyntaxKind.DimKeyword 45436Case SyntaxKind.DirectCastKeyword 45438Case SyntaxKind.DoKeyword 45440Case SyntaxKind.DoubleKeyword 45442Case SyntaxKind.EachKeyword 45444Case SyntaxKind.ElseKeyword 45446Case SyntaxKind.ElseIfKeyword 45448Case SyntaxKind.EndKeyword 45450Case SyntaxKind.EnumKeyword 45452Case SyntaxKind.EraseKeyword 45454Case SyntaxKind.ErrorKeyword 45456Case SyntaxKind.EventKeyword 45458Case SyntaxKind.ExitKeyword 45460Case SyntaxKind.FalseKeyword 45462Case SyntaxKind.FinallyKeyword 45464Case SyntaxKind.ForKeyword 45466Case SyntaxKind.FriendKeyword 45468Case SyntaxKind.FunctionKeyword 45470Case SyntaxKind.GetKeyword 45472Case SyntaxKind.GetTypeKeyword 45474Case SyntaxKind.GetXmlNamespaceKeyword 45476Case SyntaxKind.GlobalKeyword 45478Case SyntaxKind.GoToKeyword 45480Case SyntaxKind.HandlesKeyword 45482Case SyntaxKind.IfKeyword 45484Case SyntaxKind.ImplementsKeyword 45486Case SyntaxKind.ImportsKeyword 45488Case SyntaxKind.InKeyword 45490Case SyntaxKind.InheritsKeyword 45492Case SyntaxKind.IntegerKeyword 45494Case SyntaxKind.InterfaceKeyword 45496Case SyntaxKind.IsKeyword 45498Case SyntaxKind.IsNotKeyword 45500Case SyntaxKind.LetKeyword 45502Case SyntaxKind.LibKeyword 45504Case SyntaxKind.LikeKeyword 45506Case SyntaxKind.LongKeyword 45508Case SyntaxKind.LoopKeyword 45510Case SyntaxKind.MeKeyword 45512Case SyntaxKind.ModKeyword 45514Case SyntaxKind.ModuleKeyword 45516Case SyntaxKind.MustInheritKeyword 45518Case SyntaxKind.MustOverrideKeyword 45520Case SyntaxKind.MyBaseKeyword 45522Case SyntaxKind.MyClassKeyword 45524Case SyntaxKind.NameOfKeyword 45526Case SyntaxKind.NamespaceKeyword 45528Case SyntaxKind.NarrowingKeyword 45530Case SyntaxKind.NextKeyword 45532Case SyntaxKind.NewKeyword 45534Case SyntaxKind.NotKeyword 45536Case SyntaxKind.NothingKeyword 45538Case SyntaxKind.NotInheritableKeyword 45540Case SyntaxKind.NotOverridableKeyword 45542Case SyntaxKind.ObjectKeyword 45544Case SyntaxKind.OfKeyword 45546Case SyntaxKind.OnKeyword 45548Case SyntaxKind.OperatorKeyword 45550Case SyntaxKind.OptionKeyword 45552Case SyntaxKind.OptionalKeyword 45554Case SyntaxKind.OrKeyword 45556Case SyntaxKind.OrElseKeyword 45558Case SyntaxKind.OverloadsKeyword 45560Case SyntaxKind.OverridableKeyword 45562Case SyntaxKind.OverridesKeyword 45564Case SyntaxKind.ParamArrayKeyword 45566Case SyntaxKind.PartialKeyword 45568Case SyntaxKind.PrivateKeyword 45570Case SyntaxKind.PropertyKeyword 45572Case SyntaxKind.ProtectedKeyword 45574Case SyntaxKind.PublicKeyword 45576Case SyntaxKind.RaiseEventKeyword 45578Case SyntaxKind.ReadOnlyKeyword 45580Case SyntaxKind.ReDimKeyword 45582Case SyntaxKind.REMKeyword 45584Case SyntaxKind.RemoveHandlerKeyword 45586Case SyntaxKind.ResumeKeyword 45588Case SyntaxKind.ReturnKeyword 45590Case SyntaxKind.SByteKeyword 45592Case SyntaxKind.SelectKeyword 45594Case SyntaxKind.SetKeyword 45596Case SyntaxKind.ShadowsKeyword 45598Case SyntaxKind.SharedKeyword 45600Case SyntaxKind.ShortKeyword 45602Case SyntaxKind.SingleKeyword 45604Case SyntaxKind.StaticKeyword 45606Case SyntaxKind.StepKeyword 45608Case SyntaxKind.StopKeyword 45610Case SyntaxKind.StringKeyword 45612Case SyntaxKind.StructureKeyword 45614Case SyntaxKind.SubKeyword 45616Case SyntaxKind.SyncLockKeyword 45618Case SyntaxKind.ThenKeyword 45620Case SyntaxKind.ThrowKeyword 45622Case SyntaxKind.ToKeyword 45624Case SyntaxKind.TrueKeyword 45626Case SyntaxKind.TryKeyword 45628Case SyntaxKind.TryCastKeyword 45630Case SyntaxKind.TypeOfKeyword 45632Case SyntaxKind.UIntegerKeyword 45634Case SyntaxKind.ULongKeyword 45636Case SyntaxKind.UShortKeyword 45638Case SyntaxKind.UsingKeyword 45640Case SyntaxKind.WhenKeyword 45642Case SyntaxKind.WhileKeyword 45644Case SyntaxKind.WideningKeyword 45646Case SyntaxKind.WithKeyword 45648Case SyntaxKind.WithEventsKeyword 45650Case SyntaxKind.WriteOnlyKeyword 45652Case SyntaxKind.XorKeyword 45654Case SyntaxKind.EndIfKeyword 45656Case SyntaxKind.GosubKeyword 45658Case SyntaxKind.VariantKeyword 45660Case SyntaxKind.WendKeyword 45662Case SyntaxKind.AggregateKeyword 45664Case SyntaxKind.AllKeyword 45666Case SyntaxKind.AnsiKeyword 45668Case SyntaxKind.AscendingKeyword 45670Case SyntaxKind.AssemblyKeyword 45672Case SyntaxKind.AutoKeyword 45674Case SyntaxKind.BinaryKeyword 45676Case SyntaxKind.ByKeyword 45678Case SyntaxKind.CompareKeyword 45680Case SyntaxKind.CustomKeyword 45682Case SyntaxKind.DescendingKeyword 45684Case SyntaxKind.DisableKeyword 45686Case SyntaxKind.DistinctKeyword 45688Case SyntaxKind.EnableKeyword 45690Case SyntaxKind.EqualsKeyword 45692Case SyntaxKind.ExplicitKeyword 45694Case SyntaxKind.ExternalSourceKeyword 45696Case SyntaxKind.ExternalChecksumKeyword 45698Case SyntaxKind.FromKeyword 45700Case SyntaxKind.GroupKeyword 45702Case SyntaxKind.InferKeyword 45704Case SyntaxKind.IntoKeyword 45706Case SyntaxKind.IsFalseKeyword 45708Case SyntaxKind.IsTrueKeyword 45710Case SyntaxKind.JoinKeyword 45712Case SyntaxKind.KeyKeyword 45714Case SyntaxKind.MidKeyword 45716Case SyntaxKind.OffKeyword 45718Case SyntaxKind.OrderKeyword 45720Case SyntaxKind.OutKeyword 45722Case SyntaxKind.PreserveKeyword 45724Case SyntaxKind.RegionKeyword 45726Case SyntaxKind.SkipKeyword 45728Case SyntaxKind.StrictKeyword 45730Case SyntaxKind.TakeKeyword 45732Case SyntaxKind.TextKeyword 45734Case SyntaxKind.UnicodeKeyword 45736Case SyntaxKind.UntilKeyword 45738Case SyntaxKind.WarningKeyword 45740Case SyntaxKind.WhereKeyword 45742Case SyntaxKind.TypeKeyword 45744Case SyntaxKind.XmlKeyword 45746Case SyntaxKind.AsyncKeyword 45748Case SyntaxKind.AwaitKeyword 45750Case SyntaxKind.IteratorKeyword 45752Case SyntaxKind.YieldKeyword 45754Case SyntaxKind.ExclamationToken 45756Case SyntaxKind.AtToken 45758Case SyntaxKind.CommaToken 45760Case SyntaxKind.HashToken 45762Case SyntaxKind.AmpersandToken 45764Case SyntaxKind.SingleQuoteToken 45766Case SyntaxKind.OpenParenToken 45768Case SyntaxKind.CloseParenToken 45770Case SyntaxKind.OpenBraceToken 45772Case SyntaxKind.CloseBraceToken 45774Case SyntaxKind.SemicolonToken 45776Case SyntaxKind.AsteriskToken 45778Case SyntaxKind.PlusToken 45780Case SyntaxKind.MinusToken 45782Case SyntaxKind.DotToken 45784Case SyntaxKind.SlashToken 45786Case SyntaxKind.ColonToken 45788Case SyntaxKind.LessThanToken 45790Case SyntaxKind.LessThanEqualsToken 45792Case SyntaxKind.LessThanGreaterThanToken 45794Case SyntaxKind.EqualsToken 45796Case SyntaxKind.GreaterThanToken 45798Case SyntaxKind.GreaterThanEqualsToken 45800Case SyntaxKind.BackslashToken 45802Case SyntaxKind.CaretToken 45804Case SyntaxKind.ColonEqualsToken 45806Case SyntaxKind.AmpersandEqualsToken 45808Case SyntaxKind.AsteriskEqualsToken 45810Case SyntaxKind.PlusEqualsToken 45812Case SyntaxKind.MinusEqualsToken 45814Case SyntaxKind.SlashEqualsToken 45816Case SyntaxKind.BackslashEqualsToken 45818Case SyntaxKind.CaretEqualsToken 45820Case SyntaxKind.LessThanLessThanToken 45822Case SyntaxKind.GreaterThanGreaterThanToken 45824Case SyntaxKind.LessThanLessThanEqualsToken 45826Case SyntaxKind.GreaterThanGreaterThanEqualsToken 45828Case SyntaxKind.QuestionToken 45830Case SyntaxKind.DoubleQuoteToken 45832Case SyntaxKind.DollarSignDoubleQuoteToken 45834Case SyntaxKind.StatementTerminatorToken 45836Case SyntaxKind.SlashGreaterThanToken 45838Case SyntaxKind.LessThanSlashToken 45840Case SyntaxKind.LessThanExclamationMinusMinusToken 45842Case SyntaxKind.MinusMinusGreaterThanToken 45844Case SyntaxKind.LessThanQuestionToken 45846Case SyntaxKind.QuestionGreaterThanToken 45848Case SyntaxKind.LessThanPercentEqualsToken 45850Case SyntaxKind.PercentGreaterThanToken 45852Case SyntaxKind.BeginCDataToken 45854Case SyntaxKind.EndCDataToken 45856Case SyntaxKind.ColonTrivia 45858Case SyntaxKind.LineContinuationTrivia 45861Case SyntaxKind.DocumentationCommentExteriorTrivia 45874Public Function GetText(kind As SyntaxKind) As String
Generated\Syntax.xml.Syntax.Generated.vb (649)
169''' <item><description><see cref="SyntaxKind.EmptyStatement"/></description></item> 182Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), empty As InternalSyntax.PunctuationSyntax) 251''' <item><description><see cref="SyntaxKind.EndIfStatement"/></description></item> 252''' <item><description><see cref="SyntaxKind.EndUsingStatement"/></description></item> 253''' <item><description><see cref="SyntaxKind.EndWithStatement"/></description></item> 254''' <item><description><see cref="SyntaxKind.EndSelectStatement"/></description></item> 255''' <item><description><see cref="SyntaxKind.EndStructureStatement"/></description></item> 256''' <item><description><see cref="SyntaxKind.EndEnumStatement"/></description></item> 257''' <item><description><see cref="SyntaxKind.EndInterfaceStatement"/></description></item> 258''' <item><description><see cref="SyntaxKind.EndClassStatement"/></description></item> 259''' <item><description><see cref="SyntaxKind.EndModuleStatement"/></description></item> 260''' <item><description><see cref="SyntaxKind.EndNamespaceStatement"/></description></item> 261''' <item><description><see cref="SyntaxKind.EndSubStatement"/></description></item> 262''' <item><description><see cref="SyntaxKind.EndFunctionStatement"/></description></item> 263''' <item><description><see cref="SyntaxKind.EndGetStatement"/></description></item> 264''' <item><description><see cref="SyntaxKind.EndSetStatement"/></description></item> 265''' <item><description><see cref="SyntaxKind.EndPropertyStatement"/></description></item> 266''' <item><description><see cref="SyntaxKind.EndOperatorStatement"/></description></item> 267''' <item><description><see cref="SyntaxKind.EndEventStatement"/></description></item> 268''' <item><description><see cref="SyntaxKind.EndAddHandlerStatement"/></description></item> 269''' <item><description><see cref="SyntaxKind.EndRemoveHandlerStatement"/></description></item> 270''' <item><description><see cref="SyntaxKind.EndRaiseEventStatement"/></description></item> 271''' <item><description><see cref="SyntaxKind.EndWhileStatement"/></description></item> 272''' <item><description><see cref="SyntaxKind.EndTryStatement"/></description></item> 273''' <item><description><see cref="SyntaxKind.EndSyncLockStatement"/></description></item> 286Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), endKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax) 365Public Function Update(kind As SyntaxKind, endKeyword As SyntaxToken, blockKeyword As SyntaxToken) As EndBlockStatementSyntax 385''' <item><description><see cref="SyntaxKind.CompilationUnit"/></description></item> 402Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), options As SyntaxNode, [imports] As SyntaxNode, attributes As SyntaxNode, members As SyntaxNode, endOfFileToken As InternalSyntax.PunctuationSyntax) 610''' <item><description><see cref="SyntaxKind.OptionStatement"/></description></item> 623Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), optionKeyword As InternalSyntax.KeywordSyntax, nameKeyword As InternalSyntax.KeywordSyntax, valueKeyword As InternalSyntax.KeywordSyntax) 746''' <item><description><see cref="SyntaxKind.ImportsStatement"/></description></item> 760Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), importsKeyword As InternalSyntax.KeywordSyntax, importsClauses As SyntaxNode) 885''' <item><description><see cref="SyntaxKind.SimpleImportsClause"/></description></item> 900Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), [alias] As ImportAliasClauseSyntax, name As NameSyntax) 1003''' <item><description><see cref="SyntaxKind.ImportAliasClause"/></description></item> 1016Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax, equalsToken As InternalSyntax.PunctuationSyntax) 1109''' <item><description><see cref="SyntaxKind.XmlNamespaceImportsClause"/></description></item> 1123Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, xmlNamespace As XmlAttributeSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax) 1235''' <item><description><see cref="SyntaxKind.NamespaceBlock"/></description></item> 1251Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), namespaceStatement As NamespaceStatementSyntax, members As SyntaxNode, endNamespaceStatement As EndBlockStatementSyntax) 1386''' <item><description><see cref="SyntaxKind.NamespaceStatement"/></description></item> 1400Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), namespaceKeyword As InternalSyntax.KeywordSyntax, name As NameSyntax) 1609''' <item><description><see cref="SyntaxKind.ModuleBlock"/></description></item> 1624Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), moduleStatement As ModuleStatementSyntax, [inherits] As SyntaxNode, [implements] As SyntaxNode, members As SyntaxNode, endModuleStatement As EndBlockStatementSyntax) 1861''' <item><description><see cref="SyntaxKind.StructureBlock"/></description></item> 1876Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), structureStatement As StructureStatementSyntax, [inherits] As SyntaxNode, [implements] As SyntaxNode, members As SyntaxNode, endStructureStatement As EndBlockStatementSyntax) 2113''' <item><description><see cref="SyntaxKind.InterfaceBlock"/></description></item> 2128Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), interfaceStatement As InterfaceStatementSyntax, [inherits] As SyntaxNode, [implements] As SyntaxNode, members As SyntaxNode, endInterfaceStatement As EndBlockStatementSyntax) 2365''' <item><description><see cref="SyntaxKind.ClassBlock"/></description></item> 2380Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), classStatement As ClassStatementSyntax, [inherits] As SyntaxNode, [implements] As SyntaxNode, members As SyntaxNode, endClassStatement As EndBlockStatementSyntax) 2617''' <item><description><see cref="SyntaxKind.EnumBlock"/></description></item> 2633Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), enumStatement As EnumStatementSyntax, members As SyntaxNode, endEnumStatement As EndBlockStatementSyntax) 2783''' <item><description><see cref="SyntaxKind.InheritsStatement"/></description></item> 2797Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), inheritsKeyword As InternalSyntax.KeywordSyntax, types As SyntaxNode) 2901''' <item><description><see cref="SyntaxKind.ImplementsStatement"/></description></item> 2915Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), implementsKeyword As InternalSyntax.KeywordSyntax, types As SyntaxNode) 3162''' <item><description><see cref="SyntaxKind.ModuleStatement"/></description></item> 3175Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, moduleKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 3414''' <item><description><see cref="SyntaxKind.StructureStatement"/></description></item> 3427Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, structureKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 3666''' <item><description><see cref="SyntaxKind.InterfaceStatement"/></description></item> 3679Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, interfaceKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 3918''' <item><description><see cref="SyntaxKind.ClassStatement"/></description></item> 3931Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, classKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax) 4170''' <item><description><see cref="SyntaxKind.EnumStatement"/></description></item> 4185Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, enumKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, underlyingType As AsClauseSyntax) 4374''' <item><description><see cref="SyntaxKind.TypeParameterList"/></description></item> 4388Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, ofKeyword As InternalSyntax.KeywordSyntax, parameters As SyntaxNode, closeParenToken As InternalSyntax.PunctuationSyntax) 4536''' <item><description><see cref="SyntaxKind.TypeParameter"/></description></item> 4550Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), varianceKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterConstraintClause As TypeParameterConstraintClauseSyntax) 4697''' <item><description><see cref="SyntaxKind.TypeParameterSingleConstraintClause"/></description></item> 4711Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax, constraint As ConstraintSyntax) 4811''' <item><description><see cref="SyntaxKind.TypeParameterMultipleConstraintClause"/></description></item> 4825Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax, openBraceToken As InternalSyntax.PunctuationSyntax, constraints As SyntaxNode, closeBraceToken As InternalSyntax.PunctuationSyntax) 4991''' <item><description><see cref="SyntaxKind.NewConstraint"/></description></item> 4992''' <item><description><see cref="SyntaxKind.ClassConstraint"/></description></item> 4993''' <item><description><see cref="SyntaxKind.StructureConstraint"/></description></item> 5006Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), constraintKeyword As InternalSyntax.KeywordSyntax) 5060Public Function Update(kind As SyntaxKind, constraintKeyword As SyntaxToken) As SpecialConstraintSyntax 5080''' <item><description><see cref="SyntaxKind.TypeConstraint"/></description></item> 5094Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), type As TypeSyntax) 5167''' <item><description><see cref="SyntaxKind.EnumMemberDeclaration"/></description></item> 5182Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, identifier As InternalSyntax.IdentifierTokenSyntax, initializer As EqualsValueSyntax) 5360''' <item><description><see cref="SyntaxKind.SubBlock"/></description></item> 5361''' <item><description><see cref="SyntaxKind.FunctionBlock"/></description></item> 5376Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionStatement As MethodStatementSyntax, statements As SyntaxNode, endSubOrFunctionStatement As EndBlockStatementSyntax) 5505Public Function Update(kind As SyntaxKind, subOrFunctionStatement As MethodStatementSyntax, statements As SyntaxList(of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As MethodBlockSyntax 5526''' <item><description><see cref="SyntaxKind.ConstructorBlock"/></description></item> 5541Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subNewStatement As SubNewStatementSyntax, statements As SyntaxNode, endSubStatement As EndBlockStatementSyntax) 5688''' <item><description><see cref="SyntaxKind.OperatorBlock"/></description></item> 5703Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), operatorStatement As OperatorStatementSyntax, statements As SyntaxNode, endOperatorStatement As EndBlockStatementSyntax) 5851''' <item><description><see cref="SyntaxKind.GetAccessorBlock"/></description></item> 5852''' <item><description><see cref="SyntaxKind.SetAccessorBlock"/></description></item> 5853''' <item><description><see cref="SyntaxKind.AddHandlerAccessorBlock"/></description></item> 5854''' <item><description><see cref="SyntaxKind.RemoveHandlerAccessorBlock"/></description></item> 5855''' <item><description><see cref="SyntaxKind.RaiseEventAccessorBlock"/></description></item> 5870Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), accessorStatement As AccessorStatementSyntax, statements As SyntaxNode, endAccessorStatement As EndBlockStatementSyntax) 6001Public Function Update(kind As SyntaxKind, accessorStatement As AccessorStatementSyntax, statements As SyntaxList(of StatementSyntax), endAccessorStatement As EndBlockStatementSyntax) As AccessorBlockSyntax 6022''' <item><description><see cref="SyntaxKind.PropertyBlock"/></description></item> 6038Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), propertyStatement As PropertyStatementSyntax, accessors As SyntaxNode, endPropertyStatement As EndBlockStatementSyntax) 6171''' <item><description><see cref="SyntaxKind.EventBlock"/></description></item> 6187Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), eventStatement As EventStatementSyntax, accessors As SyntaxNode, endEventStatement As EndBlockStatementSyntax) 6440''' <item><description><see cref="SyntaxKind.ParameterList"/></description></item> 6454Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, parameters As SyntaxNode, closeParenToken As InternalSyntax.PunctuationSyntax) 6588''' <item><description><see cref="SyntaxKind.SubStatement"/></description></item> 6589''' <item><description><see cref="SyntaxKind.FunctionStatement"/></description></item> 6606Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) 6951Public Function Update(kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) As MethodStatementSyntax 6973''' <item><description><see cref="SyntaxKind.SubNewStatement"/></description></item> 6986Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, subKeyword As InternalSyntax.KeywordSyntax, newKeyword As InternalSyntax.KeywordSyntax, parameterList As ParameterListSyntax) 7218''' <item><description><see cref="SyntaxKind.DeclareSubStatement"/></description></item> 7219''' <item><description><see cref="SyntaxKind.DeclareFunctionStatement"/></description></item> 7235Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, declareKeyword As InternalSyntax.KeywordSyntax, charsetKeyword As InternalSyntax.KeywordSyntax, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, libKeyword As InternalSyntax.KeywordSyntax, libraryName As LiteralExpressionSyntax, aliasKeyword As InternalSyntax.KeywordSyntax, aliasName As LiteralExpressionSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 7631Public Function Update(kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, declareKeyword As SyntaxToken, charsetKeyword As SyntaxToken, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, libKeyword As SyntaxToken, libraryName As LiteralExpressionSyntax, aliasKeyword As SyntaxToken, aliasName As LiteralExpressionSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DeclareStatementSyntax 7651''' <item><description><see cref="SyntaxKind.DelegateSubStatement"/></description></item> 7652''' <item><description><see cref="SyntaxKind.DelegateFunctionStatement"/></description></item> 7667Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, delegateKeyword As InternalSyntax.KeywordSyntax, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 7966Public Function Update(kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, delegateKeyword As SyntaxToken, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As DelegateStatementSyntax 7988''' <item><description><see cref="SyntaxKind.EventStatement"/></description></item> 8003Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, customKeyword As InternalSyntax.KeywordSyntax, eventKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, implementsClause As ImplementsClauseSyntax) 8329''' <item><description><see cref="SyntaxKind.OperatorStatement"/></description></item> 8343Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, operatorKeyword As InternalSyntax.KeywordSyntax, operatorToken As InternalSyntax.SyntaxToken, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 8607''' <item><description><see cref="SyntaxKind.PropertyStatement"/></description></item> 8623Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, propertyKeyword As InternalSyntax.KeywordSyntax, identifier As InternalSyntax.IdentifierTokenSyntax, parameterList As ParameterListSyntax, asClause As AsClauseSyntax, initializer As EqualsValueSyntax, implementsClause As ImplementsClauseSyntax) 8950''' <item><description><see cref="SyntaxKind.GetAccessorStatement"/></description></item> 8951''' <item><description><see cref="SyntaxKind.SetAccessorStatement"/></description></item> 8952''' <item><description><see cref="SyntaxKind.AddHandlerAccessorStatement"/></description></item> 8953''' <item><description><see cref="SyntaxKind.RemoveHandlerAccessorStatement"/></description></item> 8954''' <item><description><see cref="SyntaxKind.RaiseEventAccessorStatement"/></description></item> 8967Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, accessorKeyword As InternalSyntax.KeywordSyntax, parameterList As ParameterListSyntax) 9162Public Function Update(kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, accessorKeyword As SyntaxToken, parameterList As ParameterListSyntax) As AccessorStatementSyntax 9183''' <item><description><see cref="SyntaxKind.ImplementsClause"/></description></item> 9197Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), implementsKeyword As InternalSyntax.KeywordSyntax, interfaceMembers As SyntaxNode) 9303''' <item><description><see cref="SyntaxKind.HandlesClause"/></description></item> 9317Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), handlesKeyword As InternalSyntax.KeywordSyntax, events As SyntaxNode) 9437''' <item><description><see cref="SyntaxKind.KeywordEventContainer"/></description></item> 9450Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 9521''' <item><description><see cref="SyntaxKind.WithEventsEventContainer"/></description></item> 9534Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax) 9605''' <item><description><see cref="SyntaxKind.WithEventsPropertyEventContainer"/></description></item> 9620Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withEventsContainer As WithEventsEventContainerSyntax, dotToken As InternalSyntax.PunctuationSyntax, [property] As IdentifierNameSyntax) 9743''' <item><description><see cref="SyntaxKind.HandlesClauseItem"/></description></item> 9758Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), eventContainer As EventContainerSyntax, dotToken As InternalSyntax.PunctuationSyntax, eventMember As IdentifierNameSyntax) 9884''' <item><description><see cref="SyntaxKind.IncompleteMember"/></description></item> 9898Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, missingIdentifier As InternalSyntax.IdentifierTokenSyntax) 10048''' <item><description><see cref="SyntaxKind.FieldDeclaration"/></description></item> 10063Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, declarators As SyntaxNode) 10216''' <item><description><see cref="SyntaxKind.VariableDeclarator"/></description></item> 10232Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), names As SyntaxNode, asClause As AsClauseSyntax, initializer As EqualsValueSyntax) 10417''' <item><description><see cref="SyntaxKind.SimpleAsClause"/></description></item> 10432Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax, attributeLists As SyntaxNode, type As TypeSyntax) 10573''' <item><description><see cref="SyntaxKind.AsNewClause"/></description></item> 10587Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), asKeyword As InternalSyntax.KeywordSyntax, newExpression As NewExpressionSyntax) 10708''' <item><description><see cref="SyntaxKind.ObjectMemberInitializer"/></description></item> 10722Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withKeyword As InternalSyntax.KeywordSyntax, openBraceToken As InternalSyntax.PunctuationSyntax, initializers As SyntaxNode, closeBraceToken As InternalSyntax.PunctuationSyntax) 10870''' <item><description><see cref="SyntaxKind.ObjectCollectionInitializer"/></description></item> 10884Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), fromKeyword As InternalSyntax.KeywordSyntax, initializer As CollectionInitializerSyntax) 11033''' <item><description><see cref="SyntaxKind.InferredFieldInitializer"/></description></item> 11047Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 11160''' <item><description><see cref="SyntaxKind.NamedFieldInitializer"/></description></item> 11175Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyKeyword As InternalSyntax.KeywordSyntax, dotToken As InternalSyntax.PunctuationSyntax, name As IdentifierNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax) 11354''' <item><description><see cref="SyntaxKind.EqualsValue"/></description></item> 11368Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), equalsToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 11464''' <item><description><see cref="SyntaxKind.Parameter"/></description></item> 11481Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, [default] As EqualsValueSyntax) 11683''' <item><description><see cref="SyntaxKind.ModifiedIdentifier"/></description></item> 11698Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax, nullable As InternalSyntax.PunctuationSyntax, arrayBounds As ArgumentListSyntax, arrayRankSpecifiers As SyntaxNode) 11866''' <item><description><see cref="SyntaxKind.ArrayRankSpecifier"/></description></item> 11879Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, commaTokens As GreenNode, closeParenToken As InternalSyntax.PunctuationSyntax) 12004''' <item><description><see cref="SyntaxKind.AttributeList"/></description></item> 12018Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, attributes As SyntaxNode, greaterThanToken As InternalSyntax.PunctuationSyntax) 12147''' <item><description><see cref="SyntaxKind.Attribute"/></description></item> 12163Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), target As AttributeTargetSyntax, name As TypeSyntax, argumentList As ArgumentListSyntax) 12299''' <item><description><see cref="SyntaxKind.AttributeTarget"/></description></item> 12312Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeModifier As InternalSyntax.KeywordSyntax, colonToken As InternalSyntax.PunctuationSyntax) 12408''' <item><description><see cref="SyntaxKind.AttributesStatement"/></description></item> 12422Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode) 12506''' <item><description><see cref="SyntaxKind.ExpressionStatement"/></description></item> 12520Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax) 12594''' <item><description><see cref="SyntaxKind.PrintStatement"/></description></item> 12608Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), questionToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax) 12706''' <item><description><see cref="SyntaxKind.WhileBlock"/></description></item> 12722Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whileStatement As WhileStatementSyntax, statements As SyntaxNode, endWhileStatement As EndBlockStatementSyntax) 12857''' <item><description><see cref="SyntaxKind.UsingBlock"/></description></item> 12873Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), usingStatement As UsingStatementSyntax, statements As SyntaxNode, endUsingStatement As EndBlockStatementSyntax) 13009''' <item><description><see cref="SyntaxKind.SyncLockBlock"/></description></item> 13025Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), syncLockStatement As SyncLockStatementSyntax, statements As SyntaxNode, endSyncLockStatement As EndBlockStatementSyntax) 13161''' <item><description><see cref="SyntaxKind.WithBlock"/></description></item> 13177Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withStatement As WithStatementSyntax, statements As SyntaxNode, endWithStatement As EndBlockStatementSyntax) 13312''' <item><description><see cref="SyntaxKind.LocalDeclarationStatement"/></description></item> 13326Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), modifiers As GreenNode, declarators As SyntaxNode) 13441''' <item><description><see cref="SyntaxKind.LabelStatement"/></description></item> 13454Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), labelToken As InternalSyntax.SyntaxToken, colonToken As InternalSyntax.PunctuationSyntax) 13548''' <item><description><see cref="SyntaxKind.GoToStatement"/></description></item> 13562Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), goToKeyword As InternalSyntax.KeywordSyntax, label As LabelSyntax) 13660''' <item><description><see cref="SyntaxKind.IdentifierLabel"/></description></item> 13661''' <item><description><see cref="SyntaxKind.NumericLabel"/></description></item> 13662''' <item><description><see cref="SyntaxKind.NextLabel"/></description></item> 13675Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), labelToken As InternalSyntax.SyntaxToken) 13729Public Function Update(kind As SyntaxKind, labelToken As SyntaxToken) As LabelSyntax 13750''' <item><description><see cref="SyntaxKind.StopStatement"/></description></item> 13751''' <item><description><see cref="SyntaxKind.EndStatement"/></description></item> 13764Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), stopOrEndKeyword As InternalSyntax.KeywordSyntax) 13817Public Function Update(kind As SyntaxKind, stopOrEndKeyword As SyntaxToken) As StopOrEndStatementSyntax 13838''' <item><description><see cref="SyntaxKind.ExitDoStatement"/></description></item> 13839''' <item><description><see cref="SyntaxKind.ExitForStatement"/></description></item> 13840''' <item><description><see cref="SyntaxKind.ExitSubStatement"/></description></item> 13841''' <item><description><see cref="SyntaxKind.ExitFunctionStatement"/></description></item> 13842''' <item><description><see cref="SyntaxKind.ExitOperatorStatement"/></description></item> 13843''' <item><description><see cref="SyntaxKind.ExitPropertyStatement"/></description></item> 13844''' <item><description><see cref="SyntaxKind.ExitTryStatement"/></description></item> 13845''' <item><description><see cref="SyntaxKind.ExitSelectStatement"/></description></item> 13846''' <item><description><see cref="SyntaxKind.ExitWhileStatement"/></description></item> 13859Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), exitKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax) 13935Public Function Update(kind As SyntaxKind, exitKeyword As SyntaxToken, blockKeyword As SyntaxToken) As ExitStatementSyntax 13956''' <item><description><see cref="SyntaxKind.ContinueWhileStatement"/></description></item> 13957''' <item><description><see cref="SyntaxKind.ContinueDoStatement"/></description></item> 13958''' <item><description><see cref="SyntaxKind.ContinueForStatement"/></description></item> 13971Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), continueKeyword As InternalSyntax.KeywordSyntax, blockKeyword As InternalSyntax.KeywordSyntax) 14048Public Function Update(kind As SyntaxKind, continueKeyword As SyntaxToken, blockKeyword As SyntaxToken) As ContinueStatementSyntax 14068''' <item><description><see cref="SyntaxKind.ReturnStatement"/></description></item> 14082Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), returnKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 14182''' <item><description><see cref="SyntaxKind.SingleLineIfStatement"/></description></item> 14198Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax, statements As SyntaxNode, elseClause As SingleLineElseClauseSyntax) 14383''' <item><description><see cref="SyntaxKind.SingleLineElseClause"/></description></item> 14397Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseKeyword As InternalSyntax.KeywordSyntax, statements As SyntaxNode) 14504''' <item><description><see cref="SyntaxKind.MultiLineIfBlock"/></description></item> 14522Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifStatement As IfStatementSyntax, statements As SyntaxNode, elseIfBlocks As SyntaxNode, elseBlock As ElseBlockSyntax, endIfStatement As EndBlockStatementSyntax) 14725''' <item><description><see cref="SyntaxKind.IfStatement"/></description></item> 14739Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax) 14864''' <item><description><see cref="SyntaxKind.ElseIfBlock"/></description></item> 14879Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseIfStatement As ElseIfStatementSyntax, statements As SyntaxNode) 14989''' <item><description><see cref="SyntaxKind.ElseIfStatement"/></description></item> 15003Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseIfKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax) 15128''' <item><description><see cref="SyntaxKind.ElseBlock"/></description></item> 15143Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseStatement As ElseStatementSyntax, statements As SyntaxNode) 15252''' <item><description><see cref="SyntaxKind.ElseStatement"/></description></item> 15265Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseKeyword As InternalSyntax.KeywordSyntax) 15335''' <item><description><see cref="SyntaxKind.TryBlock"/></description></item> 15353Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), tryStatement As TryStatementSyntax, statements As SyntaxNode, catchBlocks As SyntaxNode, finallyBlock As FinallyBlockSyntax, endTryStatement As EndBlockStatementSyntax) 15554''' <item><description><see cref="SyntaxKind.TryStatement"/></description></item> 15567Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), tryKeyword As InternalSyntax.KeywordSyntax) 15637''' <item><description><see cref="SyntaxKind.CatchBlock"/></description></item> 15652Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), catchStatement As CatchStatementSyntax, statements As SyntaxNode) 15762''' <item><description><see cref="SyntaxKind.CatchStatement"/></description></item> 15778Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), catchKeyword As InternalSyntax.KeywordSyntax, identifierName As IdentifierNameSyntax, asClause As SimpleAsClauseSyntax, whenClause As CatchFilterClauseSyntax) 15935''' <item><description><see cref="SyntaxKind.CatchFilterClause"/></description></item> 15949Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whenKeyword As InternalSyntax.KeywordSyntax, filter As ExpressionSyntax) 16045''' <item><description><see cref="SyntaxKind.FinallyBlock"/></description></item> 16060Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), finallyStatement As FinallyStatementSyntax, statements As SyntaxNode) 16169''' <item><description><see cref="SyntaxKind.FinallyStatement"/></description></item> 16182Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), finallyKeyword As InternalSyntax.KeywordSyntax) 16252''' <item><description><see cref="SyntaxKind.ErrorStatement"/></description></item> 16266Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), errorKeyword As InternalSyntax.KeywordSyntax, errorNumber As ExpressionSyntax) 16363''' <item><description><see cref="SyntaxKind.OnErrorGoToZeroStatement"/></description></item> 16364''' <item><description><see cref="SyntaxKind.OnErrorGoToMinusOneStatement"/></description></item> 16365''' <item><description><see cref="SyntaxKind.OnErrorGoToLabelStatement"/></description></item> 16379Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), onKeyword As InternalSyntax.KeywordSyntax, errorKeyword As InternalSyntax.KeywordSyntax, goToKeyword As InternalSyntax.KeywordSyntax, minus As InternalSyntax.PunctuationSyntax, label As LabelSyntax) 16528Public Function Update(kind As SyntaxKind, onKeyword As SyntaxToken, errorKeyword As SyntaxToken, goToKeyword As SyntaxToken, minus As SyntaxToken, label As LabelSyntax) As OnErrorGoToStatementSyntax 16548''' <item><description><see cref="SyntaxKind.OnErrorResumeNextStatement"/></description></item> 16561Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), onKeyword As InternalSyntax.KeywordSyntax, errorKeyword As InternalSyntax.KeywordSyntax, resumeKeyword As InternalSyntax.KeywordSyntax, nextKeyword As InternalSyntax.KeywordSyntax) 16697''' <item><description><see cref="SyntaxKind.ResumeStatement"/></description></item> 16698''' <item><description><see cref="SyntaxKind.ResumeLabelStatement"/></description></item> 16699''' <item><description><see cref="SyntaxKind.ResumeNextStatement"/></description></item> 16713Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), resumeKeyword As InternalSyntax.KeywordSyntax, label As LabelSyntax) 16797Public Function Update(kind As SyntaxKind, resumeKeyword As SyntaxToken, label As LabelSyntax) As ResumeStatementSyntax 16818''' <item><description><see cref="SyntaxKind.SelectBlock"/></description></item> 16834Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), selectStatement As SelectStatementSyntax, caseBlocks As SyntaxNode, endSelectStatement As EndBlockStatementSyntax) 16969''' <item><description><see cref="SyntaxKind.SelectStatement"/></description></item> 16983Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), selectKeyword As InternalSyntax.KeywordSyntax, caseKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 17108''' <item><description><see cref="SyntaxKind.CaseBlock"/></description></item> 17109''' <item><description><see cref="SyntaxKind.CaseElseBlock"/></description></item> 17124Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), caseStatement As CaseStatementSyntax, statements As SyntaxNode) 17221Public Function Update(kind As SyntaxKind, caseStatement As CaseStatementSyntax, statements As SyntaxList(of StatementSyntax)) As CaseBlockSyntax 17243''' <item><description><see cref="SyntaxKind.CaseStatement"/></description></item> 17244''' <item><description><see cref="SyntaxKind.CaseElseStatement"/></description></item> 17258Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), caseKeyword As InternalSyntax.KeywordSyntax, cases As SyntaxNode) 17346Public Function Update(kind As SyntaxKind, caseKeyword As SyntaxToken, cases As SeparatedSyntaxList(Of CaseClauseSyntax)) As CaseStatementSyntax 17382''' <item><description><see cref="SyntaxKind.ElseCaseClause"/></description></item> 17395Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elseKeyword As InternalSyntax.KeywordSyntax) 17465''' <item><description><see cref="SyntaxKind.SimpleCaseClause"/></description></item> 17479Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), value As ExpressionSyntax) 17552''' <item><description><see cref="SyntaxKind.RangeCaseClause"/></description></item> 17567Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lowerBound As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, upperBound As ExpressionSyntax) 17689''' <item><description><see cref="SyntaxKind.CaseEqualsClause"/></description></item> 17690''' <item><description><see cref="SyntaxKind.CaseNotEqualsClause"/></description></item> 17691''' <item><description><see cref="SyntaxKind.CaseLessThanClause"/></description></item> 17692''' <item><description><see cref="SyntaxKind.CaseLessThanOrEqualClause"/></description></item> 17693''' <item><description><see cref="SyntaxKind.CaseGreaterThanOrEqualClause"/></description></item> 17694''' <item><description><see cref="SyntaxKind.CaseGreaterThanClause"/></description></item> 17708Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), isKeyword As InternalSyntax.KeywordSyntax, operatorToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 17816Public Function Update(kind As SyntaxKind, isKeyword As SyntaxToken, operatorToken As SyntaxToken, value As ExpressionSyntax) As RelationalCaseClauseSyntax 17837''' <item><description><see cref="SyntaxKind.SyncLockStatement"/></description></item> 17851Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), syncLockKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 17949''' <item><description><see cref="SyntaxKind.SimpleDoLoopBlock"/></description></item> 17950''' <item><description><see cref="SyntaxKind.DoWhileLoopBlock"/></description></item> 17951''' <item><description><see cref="SyntaxKind.DoUntilLoopBlock"/></description></item> 17952''' <item><description><see cref="SyntaxKind.DoLoopWhileBlock"/></description></item> 17953''' <item><description><see cref="SyntaxKind.DoLoopUntilBlock"/></description></item> 17969Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), doStatement As DoStatementSyntax, statements As SyntaxNode, loopStatement As LoopStatementSyntax) 18086Public Function Update(kind As SyntaxKind, doStatement As DoStatementSyntax, statements As SyntaxList(of StatementSyntax), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax 18106''' <item><description><see cref="SyntaxKind.SimpleDoStatement"/></description></item> 18107''' <item><description><see cref="SyntaxKind.DoWhileStatement"/></description></item> 18108''' <item><description><see cref="SyntaxKind.DoUntilStatement"/></description></item> 18122Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), doKeyword As InternalSyntax.KeywordSyntax, whileOrUntilClause As WhileOrUntilClauseSyntax) 18206Public Function Update(kind As SyntaxKind, doKeyword As SyntaxToken, whileOrUntilClause As WhileOrUntilClauseSyntax) As DoStatementSyntax 18226''' <item><description><see cref="SyntaxKind.SimpleLoopStatement"/></description></item> 18227''' <item><description><see cref="SyntaxKind.LoopWhileStatement"/></description></item> 18228''' <item><description><see cref="SyntaxKind.LoopUntilStatement"/></description></item> 18242Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), loopKeyword As InternalSyntax.KeywordSyntax, whileOrUntilClause As WhileOrUntilClauseSyntax) 18326Public Function Update(kind As SyntaxKind, loopKeyword As SyntaxToken, whileOrUntilClause As WhileOrUntilClauseSyntax) As LoopStatementSyntax 18348''' <item><description><see cref="SyntaxKind.WhileClause"/></description></item> 18349''' <item><description><see cref="SyntaxKind.UntilClause"/></description></item> 18363Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whileOrUntilKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 18443Public Function Update(kind As SyntaxKind, whileOrUntilKeyword As SyntaxToken, condition As ExpressionSyntax) As WhileOrUntilClauseSyntax 18464''' <item><description><see cref="SyntaxKind.WhileStatement"/></description></item> 18478Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whileKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 18658''' <item><description><see cref="SyntaxKind.ForBlock"/></description></item> 18672Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forStatement As ForStatementSyntax, statements As SyntaxNode, nextStatement As NextStatementSyntax) 18842''' <item><description><see cref="SyntaxKind.ForEachBlock"/></description></item> 18856Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forEachStatement As ForEachStatementSyntax, statements As SyntaxNode, nextStatement As NextStatementSyntax) 19094''' <item><description><see cref="SyntaxKind.ForStatement"/></description></item> 19110Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forKeyword As InternalSyntax.KeywordSyntax, controlVariable As VisualBasicSyntaxNode, equalsToken As InternalSyntax.PunctuationSyntax, fromValue As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, toValue As ExpressionSyntax, stepClause As ForStepClauseSyntax) 19346''' <item><description><see cref="SyntaxKind.ForStepClause"/></description></item> 19360Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), stepKeyword As InternalSyntax.KeywordSyntax, stepValue As ExpressionSyntax) 19463''' <item><description><see cref="SyntaxKind.ForEachStatement"/></description></item> 19477Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forKeyword As InternalSyntax.KeywordSyntax, eachKeyword As InternalSyntax.KeywordSyntax, controlVariable As VisualBasicSyntaxNode, inKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 19663''' <item><description><see cref="SyntaxKind.NextStatement"/></description></item> 19677Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nextKeyword As InternalSyntax.KeywordSyntax, controlVariables As SyntaxNode) 19787''' <item><description><see cref="SyntaxKind.UsingStatement"/></description></item> 19802Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), usingKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, variables As SyntaxNode) 19940''' <item><description><see cref="SyntaxKind.ThrowStatement"/></description></item> 19954Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), throwKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 20055''' <item><description><see cref="SyntaxKind.SimpleAssignmentStatement"/></description></item> 20056''' <item><description><see cref="SyntaxKind.MidAssignmentStatement"/></description></item> 20057''' <item><description><see cref="SyntaxKind.AddAssignmentStatement"/></description></item> 20058''' <item><description><see cref="SyntaxKind.SubtractAssignmentStatement"/></description></item> 20059''' <item><description><see cref="SyntaxKind.MultiplyAssignmentStatement"/></description></item> 20060''' <item><description><see cref="SyntaxKind.DivideAssignmentStatement"/></description></item> 20061''' <item><description><see cref="SyntaxKind.IntegerDivideAssignmentStatement"/></description></item> 20062''' <item><description><see cref="SyntaxKind.ExponentiateAssignmentStatement"/></description></item> 20063''' <item><description><see cref="SyntaxKind.LeftShiftAssignmentStatement"/></description></item> 20064''' <item><description><see cref="SyntaxKind.RightShiftAssignmentStatement"/></description></item> 20065''' <item><description><see cref="SyntaxKind.ConcatenateAssignmentStatement"/></description></item> 20080Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As ExpressionSyntax, operatorToken As InternalSyntax.PunctuationSyntax, right As ExpressionSyntax) 20184Public Function Update(kind As SyntaxKind, left As ExpressionSyntax, operatorToken As SyntaxToken, right As ExpressionSyntax) As AssignmentStatementSyntax 20204''' <item><description><see cref="SyntaxKind.MidExpression"/></description></item> 20218Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), mid As InternalSyntax.IdentifierTokenSyntax, argumentList As ArgumentListSyntax) 20319''' <item><description><see cref="SyntaxKind.CallStatement"/></description></item> 20333Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), callKeyword As InternalSyntax.KeywordSyntax, invocation As ExpressionSyntax) 20432''' <item><description><see cref="SyntaxKind.AddHandlerStatement"/></description></item> 20433''' <item><description><see cref="SyntaxKind.RemoveHandlerStatement"/></description></item> 20448Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), addHandlerOrRemoveHandlerKeyword As InternalSyntax.KeywordSyntax, eventExpression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, delegateExpression As ExpressionSyntax) 20574Public Function Update(kind As SyntaxKind, addHandlerOrRemoveHandlerKeyword As SyntaxToken, eventExpression As ExpressionSyntax, commaToken As SyntaxToken, delegateExpression As ExpressionSyntax) As AddRemoveHandlerStatementSyntax 20594''' <item><description><see cref="SyntaxKind.RaiseEventStatement"/></description></item> 20609Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), raiseEventKeyword As InternalSyntax.KeywordSyntax, name As IdentifierNameSyntax, argumentList As ArgumentListSyntax) 20740''' <item><description><see cref="SyntaxKind.WithStatement"/></description></item> 20754Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), withKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 20851''' <item><description><see cref="SyntaxKind.ReDimStatement"/></description></item> 20852''' <item><description><see cref="SyntaxKind.ReDimPreserveStatement"/></description></item> 20866Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), reDimKeyword As InternalSyntax.KeywordSyntax, preserveKeyword As InternalSyntax.KeywordSyntax, clauses As SyntaxNode) 20983Public Function Update(kind As SyntaxKind, reDimKeyword As SyntaxToken, preserveKeyword As SyntaxToken, clauses As SeparatedSyntaxList(Of RedimClauseSyntax)) As ReDimStatementSyntax 21003''' <item><description><see cref="SyntaxKind.RedimClause"/></description></item> 21018Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, arrayBounds As ArgumentListSyntax) 21124''' <item><description><see cref="SyntaxKind.EraseStatement"/></description></item> 21138Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), eraseKeyword As InternalSyntax.KeywordSyntax, expressions As SyntaxNode) 21262''' <item><description><see cref="SyntaxKind.CharacterLiteralExpression"/></description></item> 21263''' <item><description><see cref="SyntaxKind.TrueLiteralExpression"/></description></item> 21264''' <item><description><see cref="SyntaxKind.FalseLiteralExpression"/></description></item> 21265''' <item><description><see cref="SyntaxKind.NumericLiteralExpression"/></description></item> 21266''' <item><description><see cref="SyntaxKind.DateLiteralExpression"/></description></item> 21267''' <item><description><see cref="SyntaxKind.StringLiteralExpression"/></description></item> 21268''' <item><description><see cref="SyntaxKind.NothingLiteralExpression"/></description></item> 21281Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), token As InternalSyntax.SyntaxToken) 21341Public Function Update(kind As SyntaxKind, token As SyntaxToken) As LiteralExpressionSyntax 21361''' <item><description><see cref="SyntaxKind.ParenthesizedExpression"/></description></item> 21375Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 21493''' <item><description><see cref="SyntaxKind.TupleExpression"/></description></item> 21507Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, arguments As SyntaxNode, closeParenToken As InternalSyntax.PunctuationSyntax) 21633''' <item><description><see cref="SyntaxKind.TupleType"/></description></item> 21647Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, elements As SyntaxNode, closeParenToken As InternalSyntax.PunctuationSyntax) 21788''' <item><description><see cref="SyntaxKind.TypedTupleElement"/></description></item> 21802Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), type As TypeSyntax) 21876''' <item><description><see cref="SyntaxKind.NamedTupleElement"/></description></item> 21890Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax, asClause As SimpleAsClauseSyntax) 22029''' <item><description><see cref="SyntaxKind.MeExpression"/></description></item> 22042Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 22120''' <item><description><see cref="SyntaxKind.MyBaseExpression"/></description></item> 22133Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 22211''' <item><description><see cref="SyntaxKind.MyClassExpression"/></description></item> 22224Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 22302''' <item><description><see cref="SyntaxKind.GetTypeExpression"/></description></item> 22316Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), getTypeKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 22454''' <item><description><see cref="SyntaxKind.TypeOfIsExpression"/></description></item> 22455''' <item><description><see cref="SyntaxKind.TypeOfIsNotExpression"/></description></item> 22470Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), typeOfKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax, operatorToken As InternalSyntax.KeywordSyntax, type As TypeSyntax) 22595Public Function Update(kind As SyntaxKind, typeOfKeyword As SyntaxToken, expression As ExpressionSyntax, operatorToken As SyntaxToken, type As TypeSyntax) As TypeOfExpressionSyntax 22615''' <item><description><see cref="SyntaxKind.GetXmlNamespaceExpression"/></description></item> 22629Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), getXmlNamespaceKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, name As XmlPrefixNameSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 22771''' <item><description><see cref="SyntaxKind.SimpleMemberAccessExpression"/></description></item> 22772''' <item><description><see cref="SyntaxKind.DictionaryAccessExpression"/></description></item> 22787Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, operatorToken As InternalSyntax.PunctuationSyntax, name As SimpleNameSyntax) 22894Public Function Update(kind As SyntaxKind, expression As ExpressionSyntax, operatorToken As SyntaxToken, name As SimpleNameSyntax) As MemberAccessExpressionSyntax 22916''' <item><description><see cref="SyntaxKind.XmlElementAccessExpression"/></description></item> 22917''' <item><description><see cref="SyntaxKind.XmlDescendantAccessExpression"/></description></item> 22918''' <item><description><see cref="SyntaxKind.XmlAttributeAccessExpression"/></description></item> 22933Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), base As ExpressionSyntax, token1 As InternalSyntax.PunctuationSyntax, token2 As InternalSyntax.PunctuationSyntax, token3 As InternalSyntax.PunctuationSyntax, name As XmlNodeSyntax) 23092Public Function Update(kind As SyntaxKind, base As ExpressionSyntax, token1 As SyntaxToken, token2 As SyntaxToken, token3 As SyntaxToken, name As XmlNodeSyntax) As XmlMemberAccessExpressionSyntax 23114''' <item><description><see cref="SyntaxKind.InvocationExpression"/></description></item> 23129Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, argumentList As ArgumentListSyntax) 23313''' <item><description><see cref="SyntaxKind.ObjectCreationExpression"/></description></item> 23329Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), newKeyword As InternalSyntax.KeywordSyntax, attributeLists As SyntaxNode, type As TypeSyntax, argumentList As ArgumentListSyntax, initializer As ObjectCreationInitializerSyntax) 23541''' <item><description><see cref="SyntaxKind.AnonymousObjectCreationExpression"/></description></item> 23555Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), newKeyword As InternalSyntax.KeywordSyntax, attributeLists As SyntaxNode, initializer As ObjectMemberInitializerSyntax) 23711''' <item><description><see cref="SyntaxKind.ArrayCreationExpression"/></description></item> 23728Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), newKeyword As InternalSyntax.KeywordSyntax, attributeLists As SyntaxNode, type As TypeSyntax, arrayBounds As ArgumentListSyntax, rankSpecifiers As SyntaxNode, initializer As CollectionInitializerSyntax) 23976''' <item><description><see cref="SyntaxKind.CollectionInitializer"/></description></item> 23990Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openBraceToken As InternalSyntax.PunctuationSyntax, initializers As SyntaxNode, closeBraceToken As InternalSyntax.PunctuationSyntax) 24271''' <item><description><see cref="SyntaxKind.CTypeExpression"/></description></item> 24284Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 24513''' <item><description><see cref="SyntaxKind.DirectCastExpression"/></description></item> 24526Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 24755''' <item><description><see cref="SyntaxKind.TryCastExpression"/></description></item> 24768Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, type As TypeSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 25001''' <item><description><see cref="SyntaxKind.PredefinedCastExpression"/></description></item> 25015Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 25156''' <item><description><see cref="SyntaxKind.AddExpression"/></description></item> 25157''' <item><description><see cref="SyntaxKind.SubtractExpression"/></description></item> 25158''' <item><description><see cref="SyntaxKind.MultiplyExpression"/></description></item> 25159''' <item><description><see cref="SyntaxKind.DivideExpression"/></description></item> 25160''' <item><description><see cref="SyntaxKind.IntegerDivideExpression"/></description></item> 25161''' <item><description><see cref="SyntaxKind.ExponentiateExpression"/></description></item> 25162''' <item><description><see cref="SyntaxKind.LeftShiftExpression"/></description></item> 25163''' <item><description><see cref="SyntaxKind.RightShiftExpression"/></description></item> 25164''' <item><description><see cref="SyntaxKind.ConcatenateExpression"/></description></item> 25165''' <item><description><see cref="SyntaxKind.ModuloExpression"/></description></item> 25166''' <item><description><see cref="SyntaxKind.EqualsExpression"/></description></item> 25167''' <item><description><see cref="SyntaxKind.NotEqualsExpression"/></description></item> 25168''' <item><description><see cref="SyntaxKind.LessThanExpression"/></description></item> 25169''' <item><description><see cref="SyntaxKind.LessThanOrEqualExpression"/></description></item> 25170''' <item><description><see cref="SyntaxKind.GreaterThanOrEqualExpression"/></description></item> 25171''' <item><description><see cref="SyntaxKind.GreaterThanExpression"/></description></item> 25172''' <item><description><see cref="SyntaxKind.IsExpression"/></description></item> 25173''' <item><description><see cref="SyntaxKind.IsNotExpression"/></description></item> 25174''' <item><description><see cref="SyntaxKind.LikeExpression"/></description></item> 25175''' <item><description><see cref="SyntaxKind.OrExpression"/></description></item> 25176''' <item><description><see cref="SyntaxKind.ExclusiveOrExpression"/></description></item> 25177''' <item><description><see cref="SyntaxKind.AndExpression"/></description></item> 25178''' <item><description><see cref="SyntaxKind.OrElseExpression"/></description></item> 25179''' <item><description><see cref="SyntaxKind.AndAlsoExpression"/></description></item> 25194Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As ExpressionSyntax, operatorToken As InternalSyntax.SyntaxToken, right As ExpressionSyntax) 25294Public Function Update(kind As SyntaxKind, left As ExpressionSyntax, operatorToken As SyntaxToken, right As ExpressionSyntax) As BinaryExpressionSyntax 25314''' <item><description><see cref="SyntaxKind.UnaryPlusExpression"/></description></item> 25315''' <item><description><see cref="SyntaxKind.UnaryMinusExpression"/></description></item> 25316''' <item><description><see cref="SyntaxKind.NotExpression"/></description></item> 25317''' <item><description><see cref="SyntaxKind.AddressOfExpression"/></description></item> 25331Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), operatorToken As InternalSyntax.SyntaxToken, operand As ExpressionSyntax) 25411Public Function Update(kind As SyntaxKind, operatorToken As SyntaxToken, operand As ExpressionSyntax) As UnaryExpressionSyntax 25432''' <item><description><see cref="SyntaxKind.BinaryConditionalExpression"/></description></item> 25447Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, firstExpression As ExpressionSyntax, commaToken As InternalSyntax.PunctuationSyntax, secondExpression As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 25633''' <item><description><see cref="SyntaxKind.TernaryConditionalExpression"/></description></item> 25649Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), ifKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, condition As ExpressionSyntax, firstCommaToken As InternalSyntax.PunctuationSyntax, whenTrue As ExpressionSyntax, secondCommaToken As InternalSyntax.PunctuationSyntax, whenFalse As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 25920''' <item><description><see cref="SyntaxKind.SingleLineFunctionLambdaExpression"/></description></item> 25921''' <item><description><see cref="SyntaxKind.SingleLineSubLambdaExpression"/></description></item> 25935Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionHeader As LambdaHeaderSyntax, body As VisualBasicSyntaxNode) 26028Public Function Update(kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, body As VisualBasicSyntaxNode) As SingleLineLambdaExpressionSyntax 26048''' <item><description><see cref="SyntaxKind.MultiLineFunctionLambdaExpression"/></description></item> 26049''' <item><description><see cref="SyntaxKind.MultiLineSubLambdaExpression"/></description></item> 26064Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionHeader As LambdaHeaderSyntax, statements As SyntaxNode, endSubOrFunctionStatement As EndBlockStatementSyntax) 26193Public Function Update(kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, statements As SyntaxList(of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As MultiLineLambdaExpressionSyntax 26213''' <item><description><see cref="SyntaxKind.SubLambdaHeader"/></description></item> 26214''' <item><description><see cref="SyntaxKind.FunctionLambdaHeader"/></description></item> 26228Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), attributeLists As SyntaxNode, modifiers As GreenNode, subOrFunctionKeyword As InternalSyntax.KeywordSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) 26451Public Function Update(kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, subOrFunctionKeyword As SyntaxToken, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax) As LambdaHeaderSyntax 26471''' <item><description><see cref="SyntaxKind.ArgumentList"/></description></item> 26485Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, arguments As SyntaxNode, closeParenToken As InternalSyntax.PunctuationSyntax) 26632''' <item><description><see cref="SyntaxKind.OmittedArgument"/></description></item> 26645Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), empty As InternalSyntax.PunctuationSyntax) 26715''' <item><description><see cref="SyntaxKind.SimpleArgument"/></description></item> 26730Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nameColonEquals As NameColonEqualsSyntax, expression As ExpressionSyntax) 26834''' <item><description><see cref="SyntaxKind.NameColonEquals"/></description></item> 26848Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As IdentifierNameSyntax, colonEqualsToken As InternalSyntax.PunctuationSyntax) 26945''' <item><description><see cref="SyntaxKind.RangeArgument"/></description></item> 26960Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lowerBound As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, upperBound As ExpressionSyntax) 27084''' <item><description><see cref="SyntaxKind.QueryExpression"/></description></item> 27098Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), clauses As SyntaxNode) 27194''' <item><description><see cref="SyntaxKind.CollectionRangeVariable"/></description></item> 27210Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, inKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 27361''' <item><description><see cref="SyntaxKind.ExpressionRangeVariable"/></description></item> 27376Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nameEquals As VariableNameEqualsSyntax, expression As ExpressionSyntax) 27483''' <item><description><see cref="SyntaxKind.AggregationRangeVariable"/></description></item> 27498Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nameEquals As VariableNameEqualsSyntax, aggregation As AggregationSyntax) 27605''' <item><description><see cref="SyntaxKind.VariableNameEquals"/></description></item> 27620Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, equalsToken As InternalSyntax.PunctuationSyntax) 27762''' <item><description><see cref="SyntaxKind.FunctionAggregation"/></description></item> 27776Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), functionName As InternalSyntax.IdentifierTokenSyntax, openParenToken As InternalSyntax.PunctuationSyntax, argument As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 27934''' <item><description><see cref="SyntaxKind.GroupAggregation"/></description></item> 27947Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), groupKeyword As InternalSyntax.KeywordSyntax) 28019''' <item><description><see cref="SyntaxKind.FromClause"/></description></item> 28033Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), fromKeyword As InternalSyntax.KeywordSyntax, variables As SyntaxNode) 28138''' <item><description><see cref="SyntaxKind.LetClause"/></description></item> 28152Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), letKeyword As InternalSyntax.KeywordSyntax, variables As SyntaxNode) 28257''' <item><description><see cref="SyntaxKind.AggregateClause"/></description></item> 28273Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), aggregateKeyword As InternalSyntax.KeywordSyntax, variables As SyntaxNode, additionalQueryOperators As SyntaxNode, intoKeyword As InternalSyntax.KeywordSyntax, aggregationVariables As SyntaxNode) 28465''' <item><description><see cref="SyntaxKind.DistinctClause"/></description></item> 28478Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), distinctKeyword As InternalSyntax.KeywordSyntax) 28548''' <item><description><see cref="SyntaxKind.WhereClause"/></description></item> 28562Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), whereKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 28660''' <item><description><see cref="SyntaxKind.SkipWhileClause"/></description></item> 28661''' <item><description><see cref="SyntaxKind.TakeWhileClause"/></description></item> 28675Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), skipOrTakeKeyword As InternalSyntax.KeywordSyntax, whileKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax) 28776Public Function Update(kind As SyntaxKind, skipOrTakeKeyword As SyntaxToken, whileKeyword As SyntaxToken, condition As ExpressionSyntax) As PartitionWhileClauseSyntax 28796''' <item><description><see cref="SyntaxKind.SkipClause"/></description></item> 28797''' <item><description><see cref="SyntaxKind.TakeClause"/></description></item> 28811Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), skipOrTakeKeyword As InternalSyntax.KeywordSyntax, count As ExpressionSyntax) 28890Public Function Update(kind As SyntaxKind, skipOrTakeKeyword As SyntaxToken, count As ExpressionSyntax) As PartitionClauseSyntax 28910''' <item><description><see cref="SyntaxKind.GroupByClause"/></description></item> 28926Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), groupKeyword As InternalSyntax.KeywordSyntax, items As SyntaxNode, byKeyword As InternalSyntax.KeywordSyntax, keys As SyntaxNode, intoKeyword As InternalSyntax.KeywordSyntax, aggregationVariables As SyntaxNode) 29288''' <item><description><see cref="SyntaxKind.JoinCondition"/></description></item> 29303Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As ExpressionSyntax, equalsKeyword As InternalSyntax.KeywordSyntax, right As ExpressionSyntax) 29423''' <item><description><see cref="SyntaxKind.SimpleJoinClause"/></description></item> 29436Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), joinKeyword As InternalSyntax.KeywordSyntax, joinedVariables As SyntaxNode, additionalJoins As SyntaxNode, onKeyword As InternalSyntax.KeywordSyntax, joinConditions As SyntaxNode) 29673''' <item><description><see cref="SyntaxKind.GroupJoinClause"/></description></item> 29687Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), groupKeyword As InternalSyntax.KeywordSyntax, joinKeyword As InternalSyntax.KeywordSyntax, joinedVariables As SyntaxNode, additionalJoins As SyntaxNode, onKeyword As InternalSyntax.KeywordSyntax, joinConditions As SyntaxNode, intoKeyword As InternalSyntax.KeywordSyntax, aggregationVariables As SyntaxNode) 29999''' <item><description><see cref="SyntaxKind.OrderByClause"/></description></item> 30013Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), orderKeyword As InternalSyntax.KeywordSyntax, byKeyword As InternalSyntax.KeywordSyntax, orderings As SyntaxNode) 30140''' <item><description><see cref="SyntaxKind.AscendingOrdering"/></description></item> 30141''' <item><description><see cref="SyntaxKind.DescendingOrdering"/></description></item> 30155Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, ascendingOrDescendingKeyword As InternalSyntax.KeywordSyntax) 30243Public Function Update(kind As SyntaxKind, expression As ExpressionSyntax, ascendingOrDescendingKeyword As SyntaxToken) As OrderingSyntax 30263''' <item><description><see cref="SyntaxKind.SelectClause"/></description></item> 30277Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), selectKeyword As InternalSyntax.KeywordSyntax, variables As SyntaxNode) 30399''' <item><description><see cref="SyntaxKind.XmlDocument"/></description></item> 30416Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), declaration As XmlDeclarationSyntax, precedingMisc As SyntaxNode, root As XmlNodeSyntax, followingMisc As SyntaxNode) 30570''' <item><description><see cref="SyntaxKind.XmlDeclaration"/></description></item> 30586Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanQuestionToken As InternalSyntax.PunctuationSyntax, xmlKeyword As InternalSyntax.KeywordSyntax, version As XmlDeclarationOptionSyntax, encoding As XmlDeclarationOptionSyntax, standalone As XmlDeclarationOptionSyntax, questionGreaterThanToken As InternalSyntax.PunctuationSyntax) 30764''' <item><description><see cref="SyntaxKind.XmlDeclarationOption"/></description></item> 30778Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As InternalSyntax.XmlNameTokenSyntax, equals As InternalSyntax.PunctuationSyntax, value As XmlStringSyntax) 30884''' <item><description><see cref="SyntaxKind.XmlElement"/></description></item> 30900Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), startTag As XmlElementStartTagSyntax, content As SyntaxNode, endTag As XmlElementEndTagSyntax) 31024''' <item><description><see cref="SyntaxKind.XmlText"/></description></item> 31037Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), textTokens As GreenNode) 31116''' <item><description><see cref="SyntaxKind.XmlElementStartTag"/></description></item> 31131Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNodeSyntax, attributes As SyntaxNode, greaterThanToken As InternalSyntax.PunctuationSyntax) 31269''' <item><description><see cref="SyntaxKind.XmlElementEndTag"/></description></item> 31283Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanSlashToken As InternalSyntax.PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax) 31394''' <item><description><see cref="SyntaxKind.XmlEmptyElement"/></description></item> 31409Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNodeSyntax, attributes As SyntaxNode, slashGreaterThanToken As InternalSyntax.PunctuationSyntax) 31547''' <item><description><see cref="SyntaxKind.XmlAttribute"/></description></item> 31562Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As XmlNodeSyntax, equalsToken As InternalSyntax.PunctuationSyntax, value As XmlNodeSyntax) 31689''' <item><description><see cref="SyntaxKind.XmlString"/></description></item> 31702Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), startQuoteToken As InternalSyntax.PunctuationSyntax, textTokens As GreenNode, endQuoteToken As InternalSyntax.PunctuationSyntax) 31818''' <item><description><see cref="SyntaxKind.XmlPrefixName"/></description></item> 31831Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As InternalSyntax.XmlNameTokenSyntax) 31899''' <item><description><see cref="SyntaxKind.XmlName"/></description></item> 31913Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), prefix As XmlPrefixSyntax, localName As InternalSyntax.XmlNameTokenSyntax) 32008''' <item><description><see cref="SyntaxKind.XmlBracketedName"/></description></item> 32022Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax) 32130''' <item><description><see cref="SyntaxKind.XmlPrefix"/></description></item> 32143Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As InternalSyntax.XmlNameTokenSyntax, colonToken As InternalSyntax.PunctuationSyntax) 32230''' <item><description><see cref="SyntaxKind.XmlComment"/></description></item> 32243Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanExclamationMinusMinusToken As InternalSyntax.PunctuationSyntax, textTokens As GreenNode, minusMinusGreaterThanToken As InternalSyntax.PunctuationSyntax) 32357''' <item><description><see cref="SyntaxKind.XmlProcessingInstruction"/></description></item> 32370Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanQuestionToken As InternalSyntax.PunctuationSyntax, name As InternalSyntax.XmlNameTokenSyntax, textTokens As GreenNode, questionGreaterThanToken As InternalSyntax.PunctuationSyntax) 32500''' <item><description><see cref="SyntaxKind.XmlCDataSection"/></description></item> 32513Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), beginCDataToken As InternalSyntax.PunctuationSyntax, textTokens As GreenNode, endCDataToken As InternalSyntax.PunctuationSyntax) 32627''' <item><description><see cref="SyntaxKind.XmlEmbeddedExpression"/></description></item> 32641Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanPercentEqualsToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, percentGreaterThanToken As InternalSyntax.PunctuationSyntax) 32768''' <item><description><see cref="SyntaxKind.ArrayType"/></description></item> 32783Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elementType As TypeSyntax, rankSpecifiers As SyntaxNode) 32889''' <item><description><see cref="SyntaxKind.NullableType"/></description></item> 32903Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), elementType As TypeSyntax, questionMarkToken As InternalSyntax.PunctuationSyntax) 33002''' <item><description><see cref="SyntaxKind.PredefinedType"/></description></item> 33015Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), keyword As InternalSyntax.KeywordSyntax) 33140''' <item><description><see cref="SyntaxKind.IdentifierName"/></description></item> 33153Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax) 33232''' <item><description><see cref="SyntaxKind.GenericName"/></description></item> 33246Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), identifier As InternalSyntax.IdentifierTokenSyntax, typeArgumentList As TypeArgumentListSyntax) 33356''' <item><description><see cref="SyntaxKind.QualifiedName"/></description></item> 33371Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As NameSyntax, dotToken As InternalSyntax.PunctuationSyntax, right As SimpleNameSyntax) 33493''' <item><description><see cref="SyntaxKind.GlobalName"/></description></item> 33506Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), globalKeyword As InternalSyntax.KeywordSyntax) 33576''' <item><description><see cref="SyntaxKind.TypeArgumentList"/></description></item> 33590Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, ofKeyword As InternalSyntax.KeywordSyntax, arguments As SyntaxNode, closeParenToken As InternalSyntax.PunctuationSyntax) 33738''' <item><description><see cref="SyntaxKind.CrefReference"/></description></item> 33754Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As TypeSyntax, signature As CrefSignatureSyntax, asClause As SimpleAsClauseSyntax) 33882''' <item><description><see cref="SyntaxKind.CrefSignature"/></description></item> 33896Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openParenToken As InternalSyntax.PunctuationSyntax, argumentTypes As SyntaxNode, closeParenToken As InternalSyntax.PunctuationSyntax) 34010''' <item><description><see cref="SyntaxKind.CrefSignaturePart"/></description></item> 34024Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), modifier As InternalSyntax.KeywordSyntax, type As TypeSyntax) 34121''' <item><description><see cref="SyntaxKind.CrefOperatorReference"/></description></item> 34134Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), operatorKeyword As InternalSyntax.KeywordSyntax, operatorToken As InternalSyntax.SyntaxToken) 34218''' <item><description><see cref="SyntaxKind.QualifiedCrefOperatorReference"/></description></item> 34233Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), left As NameSyntax, dotToken As InternalSyntax.PunctuationSyntax, right As CrefOperatorReferenceSyntax) 34344''' <item><description><see cref="SyntaxKind.YieldStatement"/></description></item> 34358Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), yieldKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 34455''' <item><description><see cref="SyntaxKind.AwaitExpression"/></description></item> 34469Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), awaitKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 34576''' <item><description><see cref="SyntaxKind.SkippedTokensTrivia"/></description></item> 34589Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), tokens As GreenNode) 34670''' <item><description><see cref="SyntaxKind.DocumentationCommentTrivia"/></description></item> 34684Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), content As SyntaxNode) 34765''' <item><description><see cref="SyntaxKind.XmlCrefAttribute"/></description></item> 34780Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As XmlNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, startQuoteToken As InternalSyntax.PunctuationSyntax, reference As CrefReferenceSyntax, endQuoteToken As InternalSyntax.PunctuationSyntax) 34930''' <item><description><see cref="SyntaxKind.XmlNameAttribute"/></description></item> 34945Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As XmlNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, startQuoteToken As InternalSyntax.PunctuationSyntax, reference As IdentifierNameSyntax, endQuoteToken As InternalSyntax.PunctuationSyntax) 35093''' <item><description><see cref="SyntaxKind.ConditionalAccessExpression"/></description></item> 35108Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), expression As ExpressionSyntax, questionMarkToken As InternalSyntax.PunctuationSyntax, whenNotNull As ExpressionSyntax) 35234''' <item><description><see cref="SyntaxKind.NameOfExpression"/></description></item> 35248Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), nameOfKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, argument As ExpressionSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 35387''' <item><description><see cref="SyntaxKind.InterpolatedStringExpression"/></description></item> 35401Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), dollarSignDoubleQuoteToken As InternalSyntax.PunctuationSyntax, contents As SyntaxNode, doubleQuoteToken As InternalSyntax.PunctuationSyntax) 35539''' <item><description><see cref="SyntaxKind.InterpolatedStringText"/></description></item> 35552Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), textToken As InternalSyntax.InterpolatedStringTextTokenSyntax) 35623''' <item><description><see cref="SyntaxKind.Interpolation"/></description></item> 35639Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), openBraceToken As InternalSyntax.PunctuationSyntax, expression As ExpressionSyntax, alignmentClause As InterpolationAlignmentClauseSyntax, formatClause As InterpolationFormatClauseSyntax, closeBraceToken As InternalSyntax.PunctuationSyntax) 35815''' <item><description><see cref="SyntaxKind.InterpolationAlignmentClause"/></description></item> 35829Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), commaToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 35926''' <item><description><see cref="SyntaxKind.InterpolationFormatClause"/></description></item> 35939Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), colonToken As InternalSyntax.PunctuationSyntax, formatStringToken As InternalSyntax.InterpolatedStringTextTokenSyntax) 36071''' <item><description><see cref="SyntaxKind.ConstDirectiveTrivia"/></description></item> 36085Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, constKeyword As InternalSyntax.KeywordSyntax, name As InternalSyntax.IdentifierTokenSyntax, equalsToken As InternalSyntax.PunctuationSyntax, value As ExpressionSyntax) 36253''' <item><description><see cref="SyntaxKind.IfDirectiveTrivia"/></description></item> 36254''' <item><description><see cref="SyntaxKind.ElseIfDirectiveTrivia"/></description></item> 36268Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, elseKeyword As InternalSyntax.KeywordSyntax, ifOrElseIfKeyword As InternalSyntax.KeywordSyntax, condition As ExpressionSyntax, thenKeyword As InternalSyntax.KeywordSyntax) 36421Public Function Update(kind As SyntaxKind, hashToken As SyntaxToken, elseKeyword As SyntaxToken, ifOrElseIfKeyword As SyntaxToken, condition As ExpressionSyntax, thenKeyword As SyntaxToken) As IfDirectiveTriviaSyntax 36441''' <item><description><see cref="SyntaxKind.ElseDirectiveTrivia"/></description></item> 36454Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, elseKeyword As InternalSyntax.KeywordSyntax) 36552''' <item><description><see cref="SyntaxKind.EndIfDirectiveTrivia"/></description></item> 36565Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, endKeyword As InternalSyntax.KeywordSyntax, ifKeyword As InternalSyntax.KeywordSyntax) 36681''' <item><description><see cref="SyntaxKind.RegionDirectiveTrivia"/></description></item> 36694Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, regionKeyword As InternalSyntax.KeywordSyntax, name As InternalSyntax.StringLiteralTokenSyntax) 36815''' <item><description><see cref="SyntaxKind.EndRegionDirectiveTrivia"/></description></item> 36828Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, endKeyword As InternalSyntax.KeywordSyntax, regionKeyword As InternalSyntax.KeywordSyntax) 36951''' <item><description><see cref="SyntaxKind.ExternalSourceDirectiveTrivia"/></description></item> 36964Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, externalSourceKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, externalSource As InternalSyntax.StringLiteralTokenSyntax, commaToken As InternalSyntax.PunctuationSyntax, lineStart As InternalSyntax.IntegerLiteralTokenSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 37152''' <item><description><see cref="SyntaxKind.EndExternalSourceDirectiveTrivia"/></description></item> 37165Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, endKeyword As InternalSyntax.KeywordSyntax, externalSourceKeyword As InternalSyntax.KeywordSyntax) 37281''' <item><description><see cref="SyntaxKind.ExternalChecksumDirectiveTrivia"/></description></item> 37294Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, externalChecksumKeyword As InternalSyntax.KeywordSyntax, openParenToken As InternalSyntax.PunctuationSyntax, externalSource As InternalSyntax.StringLiteralTokenSyntax, firstCommaToken As InternalSyntax.PunctuationSyntax, guid As InternalSyntax.StringLiteralTokenSyntax, secondCommaToken As InternalSyntax.PunctuationSyntax, checksum As InternalSyntax.StringLiteralTokenSyntax, closeParenToken As InternalSyntax.PunctuationSyntax) 37517''' <item><description><see cref="SyntaxKind.EnableWarningDirectiveTrivia"/></description></item> 37531Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, enableKeyword As InternalSyntax.KeywordSyntax, warningKeyword As InternalSyntax.KeywordSyntax, errorCodes As SyntaxNode) 37677''' <item><description><see cref="SyntaxKind.DisableWarningDirectiveTrivia"/></description></item> 37691Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, disableKeyword As InternalSyntax.KeywordSyntax, warningKeyword As InternalSyntax.KeywordSyntax, errorCodes As SyntaxNode) 37837''' <item><description><see cref="SyntaxKind.ReferenceDirectiveTrivia"/></description></item> 37850Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax, referenceKeyword As InternalSyntax.KeywordSyntax, file As InternalSyntax.StringLiteralTokenSyntax) 37968''' <item><description><see cref="SyntaxKind.BadDirectiveTrivia"/></description></item> 37981Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), hashToken As InternalSyntax.PunctuationSyntax)
GlobalImport.vb (1)
40Return Clause.IsKind(SyntaxKind.XmlNamespaceImportsClause)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Await.vb (1)
33Debug.Assert(node.Syntax.IsKind(SyntaxKind.AwaitExpression))
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (4)
203Case SyntaxKind.MultiLineFunctionLambdaExpression, 204SyntaxKind.MultiLineSubLambdaExpression 207Case SyntaxKind.SingleLineSubLambdaExpression, 208SyntaxKind.SingleLineFunctionLambdaExpression
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (7)
522Case SyntaxKind.SubBlock, SyntaxKind.FunctionBlock 526Case SyntaxKind.PropertyBlock 530Case SyntaxKind.GetAccessorBlock, SyntaxKind.SetAccessorBlock 534Case SyntaxKind.ConstructorBlock 538Case SyntaxKind.OperatorBlock
Lowering\Instrumentation\DebugInfoInjector.vb (9)
135Debug.Assert(original.Syntax.Parent.IsKind(SyntaxKind.ExpressionRangeVariable)) 201Case SyntaxKind.MultiLineIfBlock 204Case SyntaxKind.ElseIfBlock 207Case SyntaxKind.SingleLineIfStatement 226Case SyntaxKind.MultiLineIfBlock 228Case SyntaxKind.ElseIfBlock 230Case SyntaxKind.SingleLineIfStatement 247Case SyntaxKind.ElseBlock 249Case SyntaxKind.SingleLineElseClause
Lowering\Instrumentation\DebugInfoInjector_SequencePoints.vb (8)
13Debug.Assert(containingCatchWithFilter.ExceptionFilterOpt.Syntax.Parent.IsKind(SyntaxKind.CatchFilterClause)) 119If syntax.Parent.IsKind(SyntaxKind.PropertyStatement) Then 130If syntax.IsKind(SyntaxKind.AsNewClause) Then 141If syntax.IsKind(SyntaxKind.ModifiedIdentifier) Then 148Debug.Assert(syntax.IsKind(SyntaxKind.EqualsValue)) 153Debug.Assert(syntax.IsKind(SyntaxKind.ModifiedIdentifier)) 154Debug.Assert(syntax.Parent.Kind = SyntaxKind.VariableDeclarator) 164Debug.Assert(declarator.AsClause.IsKind(SyntaxKind.AsNewClause))
Lowering\Instrumentation\Instrumenter.vb (40)
133Debug.Assert(original.Syntax.Kind = SyntaxKind.SyncLockBlock) 139Debug.Assert(original.Syntax.Kind = SyntaxKind.SyncLockBlock) 148Debug.Assert(original.Syntax.Kind = SyntaxKind.SyncLockBlock) 157Debug.Assert(original.Syntax.Kind = SyntaxKind.SyncLockBlock) 166Debug.Assert(original.Syntax.Kind = SyntaxKind.WhileBlock) 172Debug.Assert(original.Syntax.Kind = SyntaxKind.WhileBlock) 187Debug.Assert(original.Syntax.Kind = SyntaxKind.ForEachBlock) 193Debug.Assert(original.Syntax.Kind = SyntaxKind.MultiLineIfBlock OrElse original.Syntax.Kind = SyntaxKind.ElseIfBlock OrElse original.Syntax.Kind = SyntaxKind.SingleLineIfStatement) 199Debug.Assert(original.Syntax.Kind = SyntaxKind.MultiLineIfBlock) 208Debug.Assert(original.Syntax.Kind = SyntaxKind.MultiLineIfBlock OrElse original.Syntax.Kind = SyntaxKind.ElseIfBlock OrElse original.Syntax.Kind = SyntaxKind.SingleLineIfStatement) 217Debug.Assert(original.AlternativeOpt.Syntax.Kind = SyntaxKind.ElseBlock) 218Debug.Assert(original.AlternativeOpt.Syntax.Parent.Kind = SyntaxKind.MultiLineIfBlock) 227Debug.Assert(original.AlternativeOpt.Syntax.Kind = SyntaxKind.ElseBlock OrElse original.AlternativeOpt.Syntax.Kind = SyntaxKind.SingleLineElseClause) 263Debug.Assert(original.Syntax.Kind = SyntaxKind.CatchBlock) 265Debug.Assert(original.ExceptionFilterOpt.Syntax.Parent.IsKind(SyntaxKind.CatchFilterClause)) 276Debug.Assert(original.Syntax.Kind = SyntaxKind.CatchBlock) 286Debug.Assert(original.Syntax.Kind = SyntaxKind.TryBlock) 288Debug.Assert(original.FinallyBlockOpt.Syntax.Kind = SyntaxKind.FinallyBlock) 297Debug.Assert(original.Syntax.Kind = SyntaxKind.TryBlock) 303Debug.Assert(original.Syntax.Kind = SyntaxKind.TryBlock) 336Debug.Assert(original.Syntax.Kind = SyntaxKind.SelectBlock) 342Debug.Assert(original.Syntax.IsKind(SyntaxKind.AsNewClause) OrElse ' Dim a As New C(); Dim a,b As New C(); Property P As New C() 343original.Syntax.IsKind(SyntaxKind.ModifiedIdentifier) OrElse ' Dim a(1) As Integer 344original.Syntax.IsKind(SyntaxKind.EqualsValue)) ' Dim a = 1; Property P As Integer = 1 350Debug.Assert(original.Syntax.Kind = SyntaxKind.ForEachBlock) 360Debug.Assert(original.Syntax.Kind = SyntaxKind.ForEachBlock) 366Debug.Assert(original.Syntax.Kind = SyntaxKind.ForBlock) 372Debug.Assert(original.Syntax.Kind = SyntaxKind.ForBlock) 378Debug.Assert(original.Syntax.Kind = SyntaxKind.ModifiedIdentifier) 379Debug.Assert(original.Syntax.Parent.Kind = SyntaxKind.VariableDeclarator) 388Debug.Assert(original.Syntax.Kind = SyntaxKind.UsingBlock) 394Debug.Assert(original.Syntax.Kind = SyntaxKind.UsingBlock) 403Debug.Assert(original.Syntax.Kind = SyntaxKind.UsingBlock) 412Debug.Assert(original.Syntax.Kind = SyntaxKind.WithBlock) 421Debug.Assert(original.Syntax.Kind = SyntaxKind.WithBlock)
Lowering\LambdaRewriter\LambdaFrame.vb (1)
115Case SyntaxKind.ObjectMemberInitializer
Lowering\LambdaRewriter\LambdaRewriter.vb (15)
1024ElseIf syntax.IsKind(SyntaxKind.AddressOfExpression) Then 1282Case SyntaxKind.ForBlock, 1283SyntaxKind.ForEachBlock, 1284SyntaxKind.WhileBlock, 1285SyntaxKind.SimpleDoLoopBlock, 1286SyntaxKind.DoWhileLoopBlock, 1287SyntaxKind.DoUntilLoopBlock, 1288SyntaxKind.DoLoopWhileBlock, 1289SyntaxKind.DoLoopUntilBlock, 1290SyntaxKind.MultiLineFunctionLambdaExpression, 1291SyntaxKind.MultiLineSubLambdaExpression, 1292SyntaxKind.SingleLineFunctionLambdaExpression, 1293SyntaxKind.SingleLineSubLambdaExpression 1392Case SyntaxKind.ResumeLabelStatement, SyntaxKind.OnErrorGoToLabelStatement
Lowering\LocalRewriter\LocalRewriter.vb (3)
301node.Syntax.Kind <> SyntaxKind.GroupAggregation AndAlso 302((node.Syntax.Kind = SyntaxKind.SimpleAsClause AndAlso node.Syntax.Parent.Kind = SyntaxKind.CollectionRangeVariable) OrElse
Lowering\LocalRewriter\LocalRewriter_AsNewLocalDeclarations.vb (1)
54Debug.Assert(node.Syntax.Kind = SyntaxKind.VariableDeclarator)
Lowering\LocalRewriter\LocalRewriter_FieldOrPropertyInitializer.vb (3)
41syntax.IsKind(SyntaxKind.AsNewClause) OrElse ' Dim a As New C(); Dim a,b As New C(); Property P As New C() 42syntax.IsKind(SyntaxKind.ModifiedIdentifier) OrElse ' Dim a(1) As Integer 43syntax.IsKind(SyntaxKind.EqualsValue)) ' Dim a = 1; Property P As Integer = 1
Lowering\LocalRewriter\LocalRewriter_If.vb (13)
43Case SyntaxKind.MultiLineIfBlock, 44SyntaxKind.ElseIfBlock 51Case SyntaxKind.SingleLineIfStatement 69If syntax.Kind <> SyntaxKind.SingleLineIfStatement Then 147Case SyntaxKind.MultiLineIfBlock, 148SyntaxKind.ElseIfBlock, 149SyntaxKind.SingleLineIfStatement 151Case SyntaxKind.CaseBlock 157If instrumentationTargetOpt.Syntax.Kind = SyntaxKind.MultiLineIfBlock Then 191Case SyntaxKind.MultiLineIfBlock, 192SyntaxKind.ElseIfBlock, 193SyntaxKind.SingleLineIfStatement 195Case SyntaxKind.CaseBlock
Lowering\LocalRewriter\LocalRewriter_Label.vb (2)
21Not node.WasCompilerGenerated AndAlso node.Syntax.Kind = SyntaxKind.LabelStatement Then 24If labelSyntax.LabelToken.Kind = SyntaxKind.IntegerLiteralToken Then
Lowering\LocalRewriter\LocalRewriter_SelectCase.vb (4)
285Debug.Assert(curCaseBlock.Syntax.Kind = SyntaxKind.CaseElseBlock) 298Debug.Assert(curCaseBlock.Syntax.Kind = SyntaxKind.CaseBlock) 325Debug.Assert(node.Syntax.Kind = SyntaxKind.CaseStatement) 333Debug.Assert(node.Syntax.Kind = SyntaxKind.CaseElseStatement)
Lowering\LocalRewriter\LocalRewriter_SyncLock.vb (1)
182If syntaxNode.Parent.Kind = SyntaxKind.SyncLockStatement Then
Lowering\LocalRewriter\LocalRewriter_Throw.vb (1)
23Debug.Assert(node.Syntax.Kind = SyntaxKind.ErrorStatement, "Must be an Error statement.")
Lowering\LocalRewriter\LocalRewriter_UnstructuredExceptionHandling.vb (17)
480If statement.Syntax.Parent IsNot Nothing AndAlso statement.Syntax.Parent.Kind = SyntaxKind.EraseStatement Then 484Case SyntaxKind.ElseIfBlock 489Case SyntaxKind.CaseBlock, SyntaxKind.CaseElseBlock 494Case SyntaxKind.ModifiedIdentifier 497statement.Syntax.Parent.Kind <> SyntaxKind.VariableDeclarator OrElse 499statement.Syntax.Parent.Parent.Kind <> SyntaxKind.LocalDeclarationStatement Then 503Case SyntaxKind.RedimClause 524Debug.Assert(statement.Syntax.Kind = SyntaxKind.ElseIfBlock AndAlso 526statement.Syntax.Parent.Kind = SyntaxKind.MultiLineIfBlock AndAlso 530Debug.Assert((statement.Syntax.Kind = SyntaxKind.CaseBlock OrElse statement.Syntax.Kind = SyntaxKind.CaseElseBlock) AndAlso 532statement.Syntax.Parent.Kind = SyntaxKind.SelectBlock AndAlso 536Debug.Assert(statement.Syntax.Kind = SyntaxKind.ModifiedIdentifier AndAlso 538statement.Syntax.Parent.Kind = SyntaxKind.VariableDeclarator AndAlso 540statement.Syntax.Parent.Parent.Kind = SyntaxKind.LocalDeclarationStatement) 543Debug.Assert((statement.Syntax.Kind = SyntaxKind.RedimClause AndAlso
Lowering\LocalRewriter\LocalRewriter_With.vb (1)
68Dim instrument As Boolean = Me.Instrument(node) AndAlso syntax.Kind = SyntaxKind.WithBlock
Parser\BlockContexts\BlockContext.vb (213)
23Private ReadOnly _kind As SyntaxKind 24Private ReadOnly _endKind As SyntaxKind 33Protected Sub New(kind As SyntaxKind, statement As StatementSyntax, prev As BlockContext) 54Case SyntaxKind.PropertyBlock 56_isWithinIteratorMethodOrLambdaOrProperty = DirectCast(statement, PropertyStatementSyntax).Modifiers.Any(SyntaxKind.IteratorKeyword) 58Case SyntaxKind.GetAccessorBlock, 59SyntaxKind.SetAccessorBlock 64Case SyntaxKind.SubBlock, 65SyntaxKind.FunctionBlock 67_isWithinAsyncMethodOrLambda = DirectCast(statement, MethodStatementSyntax).Modifiers.Any(SyntaxKind.AsyncKeyword) 68_isWithinIteratorMethodOrLambdaOrProperty = DirectCast(statement, MethodStatementSyntax).Modifiers.Any(SyntaxKind.IteratorKeyword) 70Case SyntaxKind.SingleLineSubLambdaExpression, 71SyntaxKind.MultiLineSubLambdaExpression, 72SyntaxKind.SingleLineFunctionLambdaExpression, 73SyntaxKind.MultiLineFunctionLambdaExpression 75_isWithinAsyncMethodOrLambda = DirectCast(statement, LambdaHeaderSyntax).Modifiers.Any(SyntaxKind.AsyncKeyword) 76_isWithinIteratorMethodOrLambdaOrProperty = DirectCast(statement, LambdaHeaderSyntax).Modifiers.Any(SyntaxKind.IteratorKeyword) 116Friend Overridable Function KindEndsBlock(kind As SyntaxKind) As Boolean 122Return _kind = SyntaxKind.SingleLineIfStatement OrElse _kind = SyntaxKind.SingleLineElseClause 164Debug.Assert(BlockKind = SyntaxKind.CompilationUnit) 175Friend ReadOnly Property BlockKind As SyntaxKind 233statement.Kind = SyntaxKind.EmptyStatement AndAlso 361Dim kind As SyntaxKind = node.Kind 431Case SyntaxKind.SingleLineIfStatement 434Case SyntaxKind.IfStatement 445Case SyntaxKind.ElseStatement 454Case SyntaxKind.ElseIfStatement 463Case SyntaxKind.SimpleDoStatement, 464SyntaxKind.DoWhileStatement, 465SyntaxKind.DoUntilStatement 468Case SyntaxKind.ForStatement, SyntaxKind.ForEachStatement 471Case SyntaxKind.SelectStatement 474Case SyntaxKind.CaseStatement 480Case SyntaxKind.CaseElseStatement 486Case SyntaxKind.WhileStatement 487Return New StatementBlockContext(SyntaxKind.WhileBlock, DirectCast(node, StatementSyntax), Me) 489Case SyntaxKind.WithStatement 490Return New StatementBlockContext(SyntaxKind.WithBlock, DirectCast(node, StatementSyntax), Me) 492Case SyntaxKind.SyncLockStatement 493Return New StatementBlockContext(SyntaxKind.SyncLockBlock, DirectCast(node, StatementSyntax), Me) 495Case SyntaxKind.UsingStatement 496Return New StatementBlockContext(SyntaxKind.UsingBlock, DirectCast(node, StatementSyntax), Me) 498Case SyntaxKind.TryStatement 501Case SyntaxKind.CatchStatement, SyntaxKind.FinallyStatement 502Dim context = FindNearestInSameMethodScope(SyntaxKind.TryBlock, SyntaxKind.CatchBlock, SyntaxKind.FinallyBlock) 510Add(Parser.ReportSyntaxError(node, If(node.Kind = SyntaxKind.CatchStatement, ERRID.ERR_CatchNoMatchingTry, ERRID.ERR_FinallyNoMatchingTry))) 512Case SyntaxKind.SelectBlock, 513SyntaxKind.WhileBlock, 514SyntaxKind.WithBlock, 515SyntaxKind.SyncLockBlock, 516SyntaxKind.UsingBlock, 517SyntaxKind.TryBlock, 518SyntaxKind.SimpleDoLoopBlock, 519SyntaxKind.DoWhileLoopBlock, 520SyntaxKind.DoUntilLoopBlock, 521SyntaxKind.DoLoopWhileBlock, 522SyntaxKind.DoLoopUntilBlock, 523SyntaxKind.ForBlock, 524SyntaxKind.ForEachBlock, 525SyntaxKind.SingleLineIfStatement, 526SyntaxKind.MultiLineIfBlock 543Case SyntaxKind.SelectBlock 546Case SyntaxKind.WhileBlock 549Case SyntaxKind.WithBlock 552Case SyntaxKind.SyncLockBlock 555Case SyntaxKind.UsingBlock 558Case SyntaxKind.TryBlock 561Case SyntaxKind.SimpleDoLoopBlock, 562SyntaxKind.DoWhileLoopBlock, 563SyntaxKind.DoUntilLoopBlock, 564SyntaxKind.DoLoopWhileBlock, 565SyntaxKind.DoLoopUntilBlock 569Case SyntaxKind.ForBlock, 570SyntaxKind.ForEachBlock 578Case SyntaxKind.SingleLineIfStatement 581Case SyntaxKind.MultiLineIfBlock 584Case SyntaxKind.NextStatement 601Private Function CreateMissingEnd(kind As SyntaxKind, ByRef errorId As ERRID) As StatementSyntax 603Dim missingEndKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.EndKeyword) 606Case SyntaxKind.NamespaceBlock 607endStmt = SyntaxFactory.EndNamespaceStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.NamespaceKeyword)) 610Case SyntaxKind.ModuleBlock 611endStmt = SyntaxFactory.EndModuleStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.ModuleKeyword)) 614Case SyntaxKind.ClassBlock 615endStmt = SyntaxFactory.EndClassStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.ClassKeyword)) 618Case SyntaxKind.StructureBlock 619endStmt = SyntaxFactory.EndStructureStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.StructureKeyword)) 622Case SyntaxKind.InterfaceBlock 623endStmt = SyntaxFactory.EndInterfaceStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.InterfaceKeyword)) 626Case SyntaxKind.EnumBlock 627endStmt = SyntaxFactory.EndEnumStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.EnumKeyword)) 630Case SyntaxKind.SubBlock, 631SyntaxKind.ConstructorBlock 632endStmt = SyntaxFactory.EndSubStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.SubKeyword)) 636Case SyntaxKind.MultiLineSubLambdaExpression 637endStmt = SyntaxFactory.EndSubStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.SubKeyword)) 640Case SyntaxKind.FunctionBlock 641endStmt = SyntaxFactory.EndFunctionStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.FunctionKeyword)) 644Case SyntaxKind.MultiLineFunctionLambdaExpression 645endStmt = SyntaxFactory.EndFunctionStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.FunctionKeyword)) 648Case SyntaxKind.OperatorBlock 649endStmt = SyntaxFactory.EndOperatorStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.OperatorKeyword)) 652Case SyntaxKind.PropertyBlock 653endStmt = SyntaxFactory.EndPropertyStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.PropertyKeyword)) 657Case SyntaxKind.GetAccessorBlock 658endStmt = SyntaxFactory.EndGetStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.GetKeyword)) 661Case SyntaxKind.SetAccessorBlock 662endStmt = SyntaxFactory.EndSetStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.SetKeyword)) 665Case SyntaxKind.EventBlock 666endStmt = SyntaxFactory.EndEventStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.EventKeyword)) 670Case SyntaxKind.AddHandlerAccessorBlock 671endStmt = SyntaxFactory.EndAddHandlerStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.AddHandlerKeyword)) 674Case SyntaxKind.RemoveHandlerAccessorBlock 675endStmt = SyntaxFactory.EndRemoveHandlerStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.RemoveHandlerKeyword)) 678Case SyntaxKind.RaiseEventAccessorBlock 679endStmt = SyntaxFactory.EndRaiseEventStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.RaiseEventKeyword)) 682Case SyntaxKind.MultiLineIfBlock, SyntaxKind.ElseIfBlock, SyntaxKind.ElseBlock 683endStmt = SyntaxFactory.EndIfStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.IfKeyword)) 686Case SyntaxKind.SimpleDoLoopBlock, SyntaxKind.DoWhileLoopBlock 687endStmt = SyntaxFactory.SimpleLoopStatement(InternalSyntaxFactory.MissingKeyword(SyntaxKind.LoopKeyword), Nothing) 690Case SyntaxKind.WhileBlock 691endStmt = SyntaxFactory.EndWhileStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.WhileKeyword)) 694Case SyntaxKind.WithBlock 695endStmt = SyntaxFactory.EndWithStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.WithKeyword)) 698Case SyntaxKind.ForBlock, SyntaxKind.ForEachBlock 699endStmt = SyntaxFactory.NextStatement(InternalSyntaxFactory.MissingKeyword(SyntaxKind.NextKeyword), Nothing) 702Case SyntaxKind.SyncLockBlock 703endStmt = SyntaxFactory.EndSyncLockStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.SyncLockKeyword)) 706Case SyntaxKind.SelectBlock 707endStmt = SyntaxFactory.EndSelectStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.SelectKeyword)) 710Case SyntaxKind.TryBlock 711endStmt = SyntaxFactory.EndTryStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.TryKeyword)) 714Case SyntaxKind.UsingBlock 715endStmt = SyntaxFactory.EndUsingStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.UsingKeyword)) 725Private Shared Function GetEndKind(kind As SyntaxKind) As SyntaxKind 727Case SyntaxKind.CompilationUnit, 728SyntaxKind.SingleLineFunctionLambdaExpression, 729SyntaxKind.SingleLineSubLambdaExpression 730Return SyntaxKind.None 732Case SyntaxKind.NamespaceBlock 733Return SyntaxKind.EndNamespaceStatement 735Case SyntaxKind.ModuleBlock 736Return SyntaxKind.EndModuleStatement 738Case SyntaxKind.ClassBlock 739Return SyntaxKind.EndClassStatement 741Case SyntaxKind.StructureBlock 742Return SyntaxKind.EndStructureStatement 744Case SyntaxKind.InterfaceBlock 745Return SyntaxKind.EndInterfaceStatement 747Case SyntaxKind.EnumBlock 748Return SyntaxKind.EndEnumStatement 750Case SyntaxKind.SubBlock, 751SyntaxKind.ConstructorBlock, 752SyntaxKind.MultiLineSubLambdaExpression 753Return SyntaxKind.EndSubStatement 755Case SyntaxKind.FunctionBlock, 756SyntaxKind.MultiLineFunctionLambdaExpression 757Return SyntaxKind.EndFunctionStatement 759Case SyntaxKind.OperatorBlock 760Return SyntaxKind.EndOperatorStatement 762Case SyntaxKind.PropertyBlock 763Return SyntaxKind.EndPropertyStatement 765Case SyntaxKind.GetAccessorBlock 766Return SyntaxKind.EndGetStatement 768Case SyntaxKind.SetAccessorBlock 769Return SyntaxKind.EndSetStatement 771Case SyntaxKind.EventBlock 772Return SyntaxKind.EndEventStatement 774Case SyntaxKind.AddHandlerAccessorBlock 775Return SyntaxKind.EndAddHandlerStatement 777Case SyntaxKind.RemoveHandlerAccessorBlock 778Return SyntaxKind.EndRemoveHandlerStatement 780Case SyntaxKind.RaiseEventAccessorBlock 781Return SyntaxKind.EndRaiseEventStatement 783Case SyntaxKind.MultiLineIfBlock, SyntaxKind.ElseIfBlock, SyntaxKind.ElseBlock 784Return SyntaxKind.EndIfStatement 786Case SyntaxKind.SingleLineIfStatement, SyntaxKind.SingleLineElseClause 787Return SyntaxKind.None 789Case SyntaxKind.SimpleDoLoopBlock, 790SyntaxKind.DoWhileLoopBlock 791Return SyntaxKind.SimpleLoopStatement 793Case SyntaxKind.WhileBlock 794Return SyntaxKind.EndWhileStatement 796Case SyntaxKind.ForBlock, SyntaxKind.ForEachBlock 797Return SyntaxKind.NextStatement 799Case SyntaxKind.WithBlock 800Return SyntaxKind.EndWithStatement 802Case SyntaxKind.SyncLockBlock 803Return SyntaxKind.EndSyncLockStatement 805Case SyntaxKind.SelectBlock, SyntaxKind.CaseBlock, SyntaxKind.CaseElseBlock 806Return SyntaxKind.EndSelectStatement 808Case SyntaxKind.TryBlock, SyntaxKind.CatchBlock, SyntaxKind.FinallyBlock 809Return SyntaxKind.EndTryStatement 811Case SyntaxKind.UsingBlock 812Return SyntaxKind.EndUsingStatement
Parser\BlockContexts\BlockContextExtensions.vb (4)
31Friend Function IsWithin(context As BlockContext, ParamArray kinds() As SyntaxKind) As Boolean 47Friend Function FindNearest(context As BlockContext, conditionIsTrue As Func(Of SyntaxKind, Boolean)) As BlockContext 58Friend Function FindNearest(context As BlockContext, ParamArray kinds() As SyntaxKind) As BlockContext 69Friend Function FindNearestInSameMethodScope(context As BlockContext, ParamArray kinds() As SyntaxKind) As BlockContext
Parser\BlockContexts\CaseBlockContext.vb (11)
17Friend Sub New(contextKind As SyntaxKind, statement As StatementSyntax, prevContext As BlockContext) 20Debug.Assert((contextKind = SyntaxKind.CaseBlock AndAlso statement.Kind = SyntaxKind.CaseStatement) OrElse 21(contextKind = SyntaxKind.CaseElseBlock AndAlso statement.Kind = SyntaxKind.CaseElseStatement)) 27Case SyntaxKind.CaseStatement, SyntaxKind.CaseElseStatement 29If BlockKind = SyntaxKind.CaseElseBlock Then 45SyntaxKind.CaseStatement, 46SyntaxKind.CaseElseStatement 60If BlockKind = SyntaxKind.CaseBlock Then
Parser\BlockContexts\CatchPartContext.vb (6)
18MyBase.New(SyntaxKind.CatchBlock, statement, prevContext) 20Debug.Assert(statement.Kind = SyntaxKind.CatchStatement) 27Case SyntaxKind.CatchStatement, SyntaxKind.FinallyStatement 41SyntaxKind.CatchStatement, 42SyntaxKind.FinallyStatement
Parser\BlockContexts\CompilationUnitContext.vb (30)
23Private _state As SyntaxKind 26MyBase.New(SyntaxKind.CompilationUnit, Nothing, Nothing) 30_state = SyntaxKind.OptionStatement 42Case SyntaxKind.OptionStatement 43If node.Kind = SyntaxKind.OptionStatement Then 48_state = SyntaxKind.ImportsStatement 50Case SyntaxKind.ImportsStatement 51If node.Kind = SyntaxKind.ImportsStatement Then 56_state = SyntaxKind.AttributesStatement 58Case SyntaxKind.AttributesStatement 59If node.Kind = SyntaxKind.AttributesStatement Then 64_state = SyntaxKind.None 98Debug.Assert(optionalTerminator Is Nothing OrElse optionalTerminator.Kind = SyntaxKind.EndOfFileToken) 100If _state <> SyntaxKind.None Then 102Case SyntaxKind.OptionStatement 105Case SyntaxKind.ImportsStatement 108Case SyntaxKind.AttributesStatement 111_state = SyntaxKind.None 438Debug.Assert(_declarationBlocksBeingVisited.Count > 1 OrElse containingBlock.Kind = SyntaxKind.CompilationUnit) 460If original.Kind = SyntaxKind.RegionDirectiveTrivia Then 463Debug.Assert(original.Kind = SyntaxKind.EndRegionDirectiveTrivia) 483Case SyntaxKind.FunctionBlock, 484SyntaxKind.SubBlock, 485SyntaxKind.ConstructorBlock, 486SyntaxKind.OperatorBlock, 487SyntaxKind.SetAccessorBlock, 488SyntaxKind.GetAccessorBlock, 489SyntaxKind.AddHandlerAccessorBlock, 490SyntaxKind.RemoveHandlerAccessorBlock, 491SyntaxKind.RaiseEventAccessorBlock
Parser\BlockContexts\DeclarationContext.vb (134)
16Friend Sub New(kind As SyntaxKind, statement As StatementSyntax, context As BlockContext) 26Dim kind As SyntaxKind = node.Kind 27Dim methodBlockKind As SyntaxKind 31Case SyntaxKind.NamespaceStatement 59Case SyntaxKind.ModuleStatement 62Return New TypeBlockContext(SyntaxKind.ModuleBlock, DirectCast(node, StatementSyntax), Me) 64Case SyntaxKind.EnumStatement 67Case SyntaxKind.ClassStatement 68Return New TypeBlockContext(SyntaxKind.ClassBlock, DirectCast(node, StatementSyntax), Me) 70Case SyntaxKind.StructureStatement 71Return New TypeBlockContext(SyntaxKind.StructureBlock, DirectCast(node, StatementSyntax), Me) 73Case SyntaxKind.InterfaceStatement 76Case SyntaxKind.SubStatement 77methodBlockKind = SyntaxKind.SubBlock 80Case SyntaxKind.SubNewStatement 81methodBlockKind = SyntaxKind.ConstructorBlock 84Case SyntaxKind.FunctionStatement 85methodBlockKind = SyntaxKind.FunctionBlock 93If Not methodBase.Modifiers.Any(SyntaxKind.MustOverrideKeyword) Then 98Case SyntaxKind.OperatorStatement 105If Me.BlockKind = SyntaxKind.ModuleBlock Then 109Return New MethodBlockContext(SyntaxKind.OperatorBlock, DirectCast(node, StatementSyntax), Me) 111Case SyntaxKind.PropertyStatement 119If modifiers.Any(SyntaxKind.MustOverrideKeyword) Then 131isPropertyBlock = modifiers.Any(SyntaxKind.DefaultKeyword, 132SyntaxKind.IteratorKeyword) 139SyntaxKind.SetAccessorStatement, 140SyntaxKind.GetAccessorStatement, 141SyntaxKind.AddHandlerAccessorStatement, 142SyntaxKind.RemoveHandlerAccessorStatement, 143SyntaxKind.RaiseEventAccessorStatement 150Case SyntaxKind.EventStatement 167Case SyntaxKind.AttributesStatement 171Case SyntaxKind.OptionStatement 175Case SyntaxKind.ImportsStatement 179Case SyntaxKind.InheritsStatement 182If beginStatement IsNot Nothing AndAlso beginStatement.Kind = SyntaxKind.InterfaceStatement Then 190Case SyntaxKind.ImplementsStatement 195SyntaxKind.EnumBlock, 196SyntaxKind.ClassBlock, 197SyntaxKind.ModuleBlock, 198SyntaxKind.NamespaceBlock, 199SyntaxKind.StructureBlock, 200SyntaxKind.InterfaceBlock, 201SyntaxKind.SubBlock, 202SyntaxKind.ConstructorBlock, 203SyntaxKind.FunctionBlock, 204SyntaxKind.OperatorBlock, 205SyntaxKind.PropertyBlock, 206SyntaxKind.EventBlock 213SyntaxKind.EmptyStatement, 214SyntaxKind.IncompleteMember, 215SyntaxKind.FieldDeclaration, 216SyntaxKind.DelegateSubStatement, 217SyntaxKind.DelegateFunctionStatement, 218SyntaxKind.DeclareSubStatement, 219SyntaxKind.DeclareFunctionStatement, 220SyntaxKind.EnumMemberDeclaration 224Case SyntaxKind.LabelStatement 229SyntaxKind.EndStatement, 230SyntaxKind.StopStatement 260SyntaxKind.NamespaceStatement, 261SyntaxKind.ModuleStatement, 262SyntaxKind.EnumStatement, 263SyntaxKind.ClassStatement, 264SyntaxKind.StructureStatement, 265SyntaxKind.InterfaceStatement, 266SyntaxKind.SubStatement, 267SyntaxKind.SubNewStatement, 268SyntaxKind.FunctionStatement, 269SyntaxKind.OperatorStatement, 270SyntaxKind.PropertyStatement, 271SyntaxKind.SetAccessorStatement, 272SyntaxKind.GetAccessorStatement, 273SyntaxKind.AddHandlerAccessorStatement, 274SyntaxKind.RemoveHandlerAccessorStatement, 275SyntaxKind.RaiseEventAccessorStatement, 276SyntaxKind.EventStatement, 277SyntaxKind.AttributesStatement, 278SyntaxKind.OptionStatement, 279SyntaxKind.ImportsStatement, 280SyntaxKind.InheritsStatement, 281SyntaxKind.ImplementsStatement 286SyntaxKind.FieldDeclaration, 287SyntaxKind.DelegateSubStatement, 288SyntaxKind.DelegateFunctionStatement, 289SyntaxKind.DeclareSubStatement, 290SyntaxKind.DeclareFunctionStatement, 291SyntaxKind.EnumMemberDeclaration 296SyntaxKind.ClassBlock, 297SyntaxKind.StructureBlock, 298SyntaxKind.InterfaceBlock 302Case SyntaxKind.EnumBlock 307SyntaxKind.SubBlock, 308SyntaxKind.ConstructorBlock, 309SyntaxKind.FunctionBlock 312Case SyntaxKind.OperatorBlock 313If Me.BlockKind = SyntaxKind.ModuleBlock Then 320Case SyntaxKind.EventBlock 323Case SyntaxKind.PropertyBlock 327SyntaxKind.NamespaceBlock, 328SyntaxKind.ModuleBlock 336Case SyntaxKind.SingleLineIfStatement 340Case SyntaxKind.LocalDeclarationStatement 347Case SyntaxKind.IfStatement 369Case SyntaxKind.EndIfStatement 372Case SyntaxKind.EndWithStatement 375Case SyntaxKind.EndSelectStatement 378Case SyntaxKind.EndWhileStatement 381Case SyntaxKind.SimpleLoopStatement, SyntaxKind.LoopWhileStatement, SyntaxKind.LoopUntilStatement 384Case SyntaxKind.NextStatement 387Case SyntaxKind.EndSubStatement 390Case SyntaxKind.EndFunctionStatement 393Case SyntaxKind.EndOperatorStatement 396Case SyntaxKind.EndPropertyStatement 399Case SyntaxKind.EndGetStatement 402Case SyntaxKind.EndSetStatement 405Case SyntaxKind.EndEventStatement 408Case SyntaxKind.EndAddHandlerStatement 411Case SyntaxKind.EndRemoveHandlerStatement 414Case SyntaxKind.EndRaiseEventStatement 417Case SyntaxKind.EndStructureStatement 420Case SyntaxKind.EndEnumStatement 423Case SyntaxKind.EndInterfaceStatement 426Case SyntaxKind.EndTryStatement 429Case SyntaxKind.EndClassStatement 432Case SyntaxKind.EndModuleStatement 435Case SyntaxKind.EndNamespaceStatement 438Case SyntaxKind.EndUsingStatement 441Case SyntaxKind.EndSyncLockStatement 450Case SyntaxKind.EmptyStatement, SyntaxKind.IncompleteMember
Parser\BlockContexts\DoLoopBlockContext.vb (15)
19SyntaxKind.SimpleDoLoopBlock, 20SyntaxKind.DoWhileLoopBlock), 31Dim kind As SyntaxKind = BlockKind 33If kind = SyntaxKind.DoWhileLoopBlock AndAlso 51If kind = SyntaxKind.SimpleDoLoopBlock AndAlso loopStmt.WhileOrUntilClause IsNot Nothing Then 53kind = If(loopStmt.Kind = SyntaxKind.LoopWhileStatement, SyntaxKind.DoLoopWhileBlock, SyntaxKind.DoLoopUntilBlock) 55kind = If(doStmt.Kind = SyntaxKind.DoWhileStatement, SyntaxKind.DoWhileLoopBlock, SyntaxKind.DoUntilLoopBlock) 65Friend Overrides Function KindEndsBlock(kind As SyntaxKind) As Boolean 67Case SyntaxKind.SimpleLoopStatement, 68SyntaxKind.LoopWhileStatement, 69SyntaxKind.LoopUntilStatement
Parser\BlockContexts\EnumDeclarationBlockContext.vb (15)
18MyBase.New(SyntaxKind.EnumBlock, statement, prevContext) 36Case SyntaxKind.EnumMemberDeclaration 57Case SyntaxKind.EnumMemberDeclaration 60Case SyntaxKind.NamespaceBlock, 61SyntaxKind.ModuleBlock, 62SyntaxKind.EnumBlock, 63SyntaxKind.ClassBlock, 64SyntaxKind.StructureBlock, 65SyntaxKind.InterfaceBlock, 66SyntaxKind.SubBlock, 67SyntaxKind.ConstructorBlock, 68SyntaxKind.FunctionBlock, 69SyntaxKind.OperatorBlock, 70SyntaxKind.PropertyBlock, 71SyntaxKind.EventBlock
Parser\BlockContexts\EventBlockContext.vb (16)
18MyBase.New(SyntaxKind.EventBlock, statement, prevContext) 25Case SyntaxKind.AddHandlerAccessorStatement 26Return New MethodBlockContext(SyntaxKind.AddHandlerAccessorBlock, DirectCast(node, StatementSyntax), Me) 28Case SyntaxKind.RemoveHandlerAccessorStatement 29Return New MethodBlockContext(SyntaxKind.RemoveHandlerAccessorBlock, DirectCast(node, StatementSyntax), Me) 31Case SyntaxKind.RaiseEventAccessorStatement 32Return New MethodBlockContext(SyntaxKind.RaiseEventAccessorBlock, DirectCast(node, StatementSyntax), Me) 34Case SyntaxKind.AddHandlerAccessorBlock, 35SyntaxKind.RemoveHandlerAccessorBlock, 36SyntaxKind.RaiseEventAccessorBlock 64SyntaxKind.AddHandlerAccessorStatement, 65SyntaxKind.RemoveHandlerAccessorStatement, 66SyntaxKind.RaiseEventAccessorStatement 70SyntaxKind.AddHandlerAccessorBlock, 71SyntaxKind.RemoveHandlerAccessorBlock, 72SyntaxKind.RaiseEventAccessorBlock
Parser\BlockContexts\ExecutableStatementContext.vb (67)
17Friend Sub New(contextKind As SyntaxKind, statement As StatementSyntax, prevContext As BlockContext) 41s = SyntaxKind.ConstructorBlock OrElse 42s = SyntaxKind.OperatorBlock OrElse 58SyntaxKind.InheritsStatement, 59SyntaxKind.ImplementsStatement, 60SyntaxKind.OptionStatement, 61SyntaxKind.ImportsStatement 64s = SyntaxKind.ConstructorBlock OrElse 65s = SyntaxKind.OperatorBlock OrElse 94SyntaxKind.OptionStatement, 95SyntaxKind.ImportsStatement, 96SyntaxKind.InheritsStatement, 97SyntaxKind.ImplementsStatement, 98SyntaxKind.NamespaceStatement 102SyntaxKind.ClassStatement, 103SyntaxKind.StructureStatement, 104SyntaxKind.ModuleStatement, 105SyntaxKind.InterfaceStatement 116Case SyntaxKind.EnumStatement 128SyntaxKind.SubNewStatement, 129SyntaxKind.DeclareSubStatement, 130SyntaxKind.DeclareFunctionStatement, 131SyntaxKind.DelegateFunctionStatement, 132SyntaxKind.DelegateSubStatement 144SyntaxKind.SubStatement, 145SyntaxKind.FunctionStatement, 146SyntaxKind.OperatorStatement, 147SyntaxKind.PropertyStatement, 148SyntaxKind.EventStatement 150If Not DirectCast(node, MethodBaseSyntax).Modifiers.Any(SyntaxKind.DimKeyword, SyntaxKind.ConstKeyword) Then 160SyntaxKind.SubBlock, 161SyntaxKind.ConstructorBlock, 162SyntaxKind.FunctionBlock, 163SyntaxKind.OperatorBlock, 164SyntaxKind.PropertyBlock, 165SyntaxKind.GetAccessorBlock, 166SyntaxKind.SetAccessorBlock, 167SyntaxKind.EventBlock, 168SyntaxKind.AddHandlerAccessorBlock, 169SyntaxKind.RemoveHandlerAccessorBlock, 170SyntaxKind.RaiseEventAccessorBlock, 171SyntaxKind.NamespaceBlock, 172SyntaxKind.ClassBlock, 173SyntaxKind.StructureBlock, 174SyntaxKind.EnumBlock, 175SyntaxKind.ModuleBlock, 176SyntaxKind.InterfaceBlock, 177SyntaxKind.CaseBlock, 178SyntaxKind.CaseElseBlock, 179SyntaxKind.CatchBlock, 180SyntaxKind.FinallyBlock, 181SyntaxKind.ElseBlock, 182SyntaxKind.ElseIfBlock, 183SyntaxKind.SingleLineElseClause, 184SyntaxKind.AttributeList, 185SyntaxKind.ConstructorBlock, 186SyntaxKind.FieldDeclaration 192SyntaxKind.SetAccessorStatement, 193SyntaxKind.GetAccessorStatement, 194SyntaxKind.AddHandlerAccessorStatement, 195SyntaxKind.RemoveHandlerAccessorStatement, 196SyntaxKind.RaiseEventAccessorStatement 213Case SyntaxKind.StatementTerminatorToken, SyntaxKind.EndOfFileToken 222Case SyntaxKind.StatementTerminatorToken 224Case SyntaxKind.ColonToken
Parser\BlockContexts\FinallyPartBlock.vb (6)
18MyBase.New(SyntaxKind.FinallyBlock, statement, prevContext) 20Debug.Assert(statement.Kind = SyntaxKind.FinallyStatement) 27Case SyntaxKind.CatchStatement 33Case SyntaxKind.FinallyStatement 48SyntaxKind.CatchStatement, 49SyntaxKind.FinallyStatement
Parser\BlockContexts\ForBlockContext.vb (9)
21s_emptyNextStatement = InternalSyntaxFactory.NextStatement(InternalSyntaxFactory.MissingKeyword(SyntaxKind.NextKeyword), Nothing) 25MyBase.New(If(statement.Kind = SyntaxKind.ForStatement, SyntaxKind.ForBlock, SyntaxKind.ForEachBlock), statement, prevContext) 27Debug.Assert(statement.Kind = SyntaxKind.ForStatement OrElse statement.Kind = SyntaxKind.ForEachStatement) 45If BlockKind = SyntaxKind.ForBlock Then 73If context.BlockKind <> SyntaxKind.ForBlock AndAlso context.BlockKind <> SyntaxKind.ForEachBlock Then
Parser\BlockContexts\IfBlockContext.vb (16)
20MyBase.New(SyntaxKind.MultiLineIfBlock, statement, prevContext) 22Debug.Assert(statement.Kind = SyntaxKind.IfStatement OrElse 23(statement.Kind = SyntaxKind.ElseIfStatement AndAlso PrevBlock.BlockKind = SyntaxKind.SingleLineIfStatement)) 31Case SyntaxKind.ElseIfStatement 33Return New IfPartContext(SyntaxKind.ElseIfBlock, DirectCast(node, StatementSyntax), Me) 35Case SyntaxKind.ElseIfBlock 38Case SyntaxKind.ElseStatement 40Return New IfPartContext(SyntaxKind.ElseBlock, DirectCast(node, StatementSyntax), Me) 42Case SyntaxKind.ElseBlock 57SyntaxKind.ElseIfStatement, 58SyntaxKind.ElseStatement 62SyntaxKind.ElseIfBlock, 63SyntaxKind.ElseBlock 79endStmt = SyntaxFactory.EndIfStatement(InternalSyntaxFactory.MissingKeyword(SyntaxKind.EndKeyword), InternalSyntaxFactory.MissingKeyword(SyntaxKind.IfKeyword))
Parser\BlockContexts\IfPartContext.vb (10)
17Friend Sub New(kind As SyntaxKind, statement As StatementSyntax, prevContext As BlockContext) 20Debug.Assert(kind = SyntaxKind.ElseIfBlock OrElse kind = SyntaxKind.ElseBlock) 26Case SyntaxKind.ElseIfStatement, SyntaxKind.ElseStatement 27If BlockKind = SyntaxKind.ElseIfBlock Then 42SyntaxKind.ElseIfStatement, 43SyntaxKind.ElseStatement 57If BeginStatement.Kind = SyntaxKind.ElseStatement Then 77If statement.Kind = SyntaxKind.ElseStatement Then
Parser\BlockContexts\InterfaceDeclarationBlockContext.vb (80)
18MyBase.New(SyntaxKind.InterfaceBlock, statement, prevContext) 20Debug.Assert(BlockKind = SyntaxKind.InterfaceBlock) 26Dim kind As SyntaxKind = node.Kind 30Case SyntaxKind.None 32Case SyntaxKind.InheritsStatement 33_state = SyntaxKind.InheritsStatement 36_state = SyntaxKind.InterfaceStatement ' done with inherits 39Case SyntaxKind.InheritsStatement 41Case SyntaxKind.InheritsStatement 47_state = SyntaxKind.InterfaceStatement ' done with inherits 57Debug.Assert(_state = SyntaxKind.InterfaceStatement) 61SyntaxKind.DelegateSubStatement, 62SyntaxKind.DelegateFunctionStatement, 63SyntaxKind.SubStatement, 64SyntaxKind.FunctionStatement, 65SyntaxKind.EmptyStatement 68Case SyntaxKind.IncompleteMember 73Case SyntaxKind.PropertyStatement 78Case SyntaxKind.SubNewStatement 82Case SyntaxKind.EventStatement 90Case SyntaxKind.EnumStatement 93Case SyntaxKind.ClassStatement 94Return New TypeBlockContext(SyntaxKind.ClassBlock, DirectCast(node, StatementSyntax), Me) 96Case SyntaxKind.StructureStatement 97Return New TypeBlockContext(SyntaxKind.StructureBlock, DirectCast(node, StatementSyntax), Me) 99Case SyntaxKind.InterfaceStatement 102Case SyntaxKind.FieldDeclaration 105Case SyntaxKind.LabelStatement 109Case SyntaxKind.EnumBlock, 110SyntaxKind.ClassBlock, 111SyntaxKind.StructureBlock, 112SyntaxKind.InterfaceBlock 117SyntaxKind.EndSubStatement, 118SyntaxKind.EndFunctionStatement, 119SyntaxKind.EndOperatorStatement, 120SyntaxKind.EndPropertyStatement, 121SyntaxKind.EndGetStatement, 122SyntaxKind.EndSetStatement, 123SyntaxKind.EndEventStatement, 124SyntaxKind.EndAddHandlerStatement, 125SyntaxKind.EndRemoveHandlerStatement, 126SyntaxKind.EndRaiseEventStatement 130SyntaxKind.StructureStatement, 131SyntaxKind.ClassStatement, 132SyntaxKind.InterfaceStatement, 133SyntaxKind.EnumStatement, 134SyntaxKind.DelegateSubStatement, 135SyntaxKind.NamespaceStatement 159SyntaxKind.DelegateSubStatement, 160SyntaxKind.DelegateFunctionStatement, 161SyntaxKind.EventStatement, 162SyntaxKind.SubStatement, 163SyntaxKind.SubNewStatement, 164SyntaxKind.FunctionStatement, 165SyntaxKind.PropertyStatement, 166SyntaxKind.InheritsStatement, 167SyntaxKind.EndSubStatement, 168SyntaxKind.EndFunctionStatement, 169SyntaxKind.EndOperatorStatement, 170SyntaxKind.EndPropertyStatement, 171SyntaxKind.EndGetStatement, 172SyntaxKind.EndSetStatement, 173SyntaxKind.EndEventStatement, 174SyntaxKind.EndAddHandlerStatement, 175SyntaxKind.EndRemoveHandlerStatement, 176SyntaxKind.EndRaiseEventStatement 180SyntaxKind.ClassBlock, 181SyntaxKind.StructureBlock, 182SyntaxKind.InterfaceBlock 185Case SyntaxKind.EnumBlock 203Case SyntaxKind.EndSubStatement, 204SyntaxKind.EndFunctionStatement, 205SyntaxKind.EndOperatorStatement, 206SyntaxKind.EndPropertyStatement, 207SyntaxKind.EndGetStatement, 208SyntaxKind.EndSetStatement, 209SyntaxKind.EndEventStatement, 210SyntaxKind.EndAddHandlerStatement, 211SyntaxKind.EndRemoveHandlerStatement, 212SyntaxKind.EndRaiseEventStatement
Parser\BlockContexts\LambdaContext.vb (5)
16MyBase.New(If(statement.Kind = SyntaxKind.FunctionLambdaHeader, SyntaxKind.MultiLineFunctionLambdaExpression, SyntaxKind.MultiLineSubLambdaExpression), statement, prevContext) 18Debug.Assert(statement.Kind = SyntaxKind.FunctionLambdaHeader OrElse statement.Kind = SyntaxKind.SubLambdaHeader)
Parser\BlockContexts\MethodBlockContext.vb (16)
17Friend Sub New(contextKind As SyntaxKind, statement As StatementSyntax, prevContext As BlockContext) 21contextKind = SyntaxKind.ConstructorBlock OrElse 22contextKind = SyntaxKind.OperatorBlock OrElse 33trailingTrivia.Kind = SyntaxKind.ColonTrivia Then 44Case SyntaxKind.ExitPropertyStatement 45If BlockKind <> SyntaxKind.GetAccessorBlock AndAlso 46BlockKind <> SyntaxKind.SetAccessorBlock Then 60Case SyntaxKind.SubBlock, 61SyntaxKind.FunctionBlock 66Case SyntaxKind.ConstructorBlock 71Case SyntaxKind.GetAccessorBlock, 72SyntaxKind.SetAccessorBlock, 73SyntaxKind.AddHandlerAccessorBlock, 74SyntaxKind.RemoveHandlerAccessorBlock, 75SyntaxKind.RaiseEventAccessorBlock 80Case SyntaxKind.OperatorBlock
Parser\BlockContexts\NamespaceBlockContext.vb (26)
18MyBase.New(SyntaxKind.NamespaceBlock, statement, prevContext) 21Friend Sub New(kind As SyntaxKind, statement As StatementSyntax, prevContext As BlockContext) 24Debug.Assert(kind = SyntaxKind.CompilationUnit) 29Dim kind As SyntaxKind = node.Kind 33Case SyntaxKind.NamespaceStatement 36Case SyntaxKind.ModuleStatement 37Return New TypeBlockContext(SyntaxKind.ModuleBlock, DirectCast(node, StatementSyntax), Me) 40SyntaxKind.NamespaceBlock, 41SyntaxKind.ModuleBlock 55SyntaxKind.NamespaceStatement, 56SyntaxKind.ModuleStatement, 57SyntaxKind.SubStatement, 58SyntaxKind.SubNewStatement, 59SyntaxKind.FunctionStatement, 60SyntaxKind.OperatorStatement, 61SyntaxKind.PropertyStatement, 62SyntaxKind.EventStatement, 63SyntaxKind.FieldDeclaration 67Case SyntaxKind.ModuleBlock 71Case SyntaxKind.NamespaceBlock 76SyntaxKind.SubBlock, 77SyntaxKind.ConstructorBlock, 78SyntaxKind.FunctionBlock, 79SyntaxKind.OperatorBlock, 80SyntaxKind.PropertyBlock, 81SyntaxKind.EventBlock
Parser\BlockContexts\PropertyBlockContext.vb (11)
20MyBase.New(SyntaxKind.PropertyBlock, statement, prevContext) 53Case SyntaxKind.GetAccessorStatement 54Return New MethodBlockContext(SyntaxKind.GetAccessorBlock, DirectCast(node, StatementSyntax), Me) 56Case SyntaxKind.SetAccessorStatement 58Return New MethodBlockContext(SyntaxKind.SetAccessorBlock, DirectCast(node, StatementSyntax), Me) 60Case SyntaxKind.GetAccessorBlock, 61SyntaxKind.SetAccessorBlock 95SyntaxKind.GetAccessorStatement, 96SyntaxKind.SetAccessorStatement 99Case SyntaxKind.GetAccessorBlock, 100SyntaxKind.SetAccessorBlock
Parser\BlockContexts\SelectBlockContext.vb (13)
22MyBase.New(SyntaxKind.SelectBlock, statement, prevContext) 24Debug.Assert(statement.Kind = SyntaxKind.SelectStatement) 32Case SyntaxKind.CaseStatement 33Return New CaseBlockContext(SyntaxKind.CaseBlock, DirectCast(node, StatementSyntax), Me) 35Case SyntaxKind.CaseElseStatement 36Return New CaseBlockContext(SyntaxKind.CaseElseBlock, DirectCast(node, StatementSyntax), Me) 38Case SyntaxKind.CaseBlock, 39SyntaxKind.CaseElseBlock 50Dim caseStmt = SyntaxFactory.CaseStatement(InternalSyntaxFactory.MissingKeyword(SyntaxKind.CaseKeyword), New CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(Of CaseClauseSyntax)()) 51Dim context = New CaseBlockContext(SyntaxKind.CaseBlock, caseStmt, Me) 70SyntaxKind.CaseStatement, 71SyntaxKind.CaseElseStatement 76Case SyntaxKind.CaseBlock
Parser\BlockContexts\SingleLineElseContext.vb (25)
15Friend Sub New(kind As SyntaxKind, statement As StatementSyntax, prevContext As BlockContext) 18Debug.Assert(kind = SyntaxKind.SingleLineElseClause) 19Debug.Assert(prevContext.BlockKind = SyntaxKind.SingleLineIfStatement) 25Case SyntaxKind.IfStatement 38Case SyntaxKind.ElseIfStatement 44Case SyntaxKind.CatchStatement, SyntaxKind.FinallyStatement 46Add(Parser.ReportSyntaxError(node, If(node.Kind = SyntaxKind.CatchStatement, ERRID.ERR_CatchNoMatchingTry, ERRID.ERR_FinallyNoMatchingTry))) 83Case SyntaxKind.StatementTerminatorToken, SyntaxKind.EndOfFileToken 89Case SyntaxKind.ColonToken 106Case SyntaxKind.StatementTerminatorToken, SyntaxKind.EndOfFileToken, SyntaxKind.ColonToken 109Case SyntaxKind.ElseKeyword 138Debug.Assert(BlockKind = SyntaxKind.SingleLineElseClause) 139Debug.Assert(PrevBlock.BlockKind = SyntaxKind.SingleLineIfStatement) 143While possiblyLineIfWithoutElse.BlockKind <> SyntaxKind.SingleLineIfStatement 145Case SyntaxKind.SingleLineElseClause 147Debug.Assert(possiblyLineIfWithoutElse.PrevBlock.BlockKind = SyntaxKind.SingleLineIfStatement) 150Case SyntaxKind.SingleLineSubLambdaExpression 158Debug.Assert(possiblyLineIfWithoutElse.BlockKind = SyntaxKind.SingleLineIfStatement) 166While context.BlockKind <> SyntaxKind.SingleLineIfStatement 168Case SyntaxKind.SingleLineElseClause 172Case SyntaxKind.SingleLineSubLambdaExpression
Parser\BlockContexts\SingleLineIfBlockContext.vb (17)
19MyBase.New(SyntaxKind.SingleLineIfStatement, statement, prevContext) 21Debug.Assert(statement.Kind = SyntaxKind.IfStatement) 27Case SyntaxKind.IfStatement 36Case SyntaxKind.ElseIfStatement 41Case SyntaxKind.ElseStatement 47Return New SingleLineElseContext(SyntaxKind.SingleLineElseClause, DirectCast(node, StatementSyntax), Me) 49Case SyntaxKind.SingleLineElseClause 53Case SyntaxKind.CatchStatement, SyntaxKind.FinallyStatement 55Add(Parser.ReportSyntaxError(node, If(node.Kind = SyntaxKind.CatchStatement, ERRID.ERR_CatchNoMatchingTry, ERRID.ERR_FinallyNoMatchingTry))) 89Case SyntaxKind.StatementTerminatorToken, SyntaxKind.EndOfFileToken 94Case SyntaxKind.ColonToken 108Case SyntaxKind.StatementTerminatorToken, SyntaxKind.EndOfFileToken, SyntaxKind.ColonToken 111Case SyntaxKind.ElseKeyword
Parser\BlockContexts\SingleLineIfOrElseBlockContext.vb (7)
10Protected Sub New(kind As SyntaxKind, statement As StatementSyntax, prevContext As BlockContext) 29Case SyntaxKind.SingleLineElseClause, 30SyntaxKind.SingleLineIfStatement 33Case SyntaxKind.SingleLineSubLambdaExpression 48Case SyntaxKind.SingleLineElseClause, 49SyntaxKind.SingleLineIfStatement 52Case SyntaxKind.SingleLineSubLambdaExpression
Parser\BlockContexts\SingleLineLambdaContext.vb (25)
17MyBase.New(If(statement.Kind = SyntaxKind.FunctionLambdaHeader, SyntaxKind.SingleLineFunctionLambdaExpression, SyntaxKind.SingleLineSubLambdaExpression), statement, prevContext) 19Debug.Assert(statement.Kind = SyntaxKind.FunctionLambdaHeader OrElse statement.Kind = SyntaxKind.SubLambdaHeader) 49ElseIf header.Kind = SyntaxKind.FunctionLambdaHeader AndAlso header.Modifiers.Any(SyntaxKind.IteratorKeyword) Then 73Case SyntaxKind.StatementTerminatorToken, SyntaxKind.EndOfFileToken 76Case SyntaxKind.ColonToken 98Case SyntaxKind.EmptyStatement, 99SyntaxKind.MultiLineIfBlock, 100SyntaxKind.SimpleDoLoopBlock, 101SyntaxKind.DoWhileLoopBlock, 102SyntaxKind.DoUntilLoopBlock, 103SyntaxKind.DoLoopWhileBlock, 104SyntaxKind.DoLoopUntilBlock, 105SyntaxKind.ForBlock, 106SyntaxKind.ForEachBlock, 107SyntaxKind.SelectBlock, 108SyntaxKind.WhileBlock, 109SyntaxKind.WithBlock, 110SyntaxKind.SyncLockBlock, 111SyntaxKind.UsingBlock, 112SyntaxKind.TryBlock
Parser\BlockContexts\StatementBlockContext.vb (5)
16Friend Sub New(kind As SyntaxKind, statement As StatementSyntax, prevContext As BlockContext) 25Case SyntaxKind.WhileBlock 30Case SyntaxKind.WithBlock 35Case SyntaxKind.SyncLockBlock 40Case SyntaxKind.UsingBlock
Parser\BlockContexts\TryBlockContext.vb (12)
20MyBase.New(SyntaxKind.TryBlock, statement, prevContext) 22Debug.Assert(statement.Kind = SyntaxKind.TryStatement) 31Case SyntaxKind.CatchStatement 34Case SyntaxKind.FinallyStatement 37Case SyntaxKind.CatchBlock 40Case SyntaxKind.FinallyBlock 55SyntaxKind.CatchStatement, 56SyntaxKind.FinallyStatement 60SyntaxKind.CatchBlock, 61SyntaxKind.FinallyBlock 77endStmt = SyntaxFactory.EndTryStatement(InternalSyntaxFactory.MissingKeyword(SyntaxKind.EndKeyword), InternalSyntaxFactory.MissingKeyword(SyntaxKind.TryKeyword))
Parser\BlockContexts\TypeBlockContext.vb (27)
16Protected _state As SyntaxKind 18Friend Sub New(contextKind As SyntaxKind, statement As StatementSyntax, prevContext As BlockContext) 21Debug.Assert(contextKind = SyntaxKind.ModuleBlock OrElse contextKind = SyntaxKind.ClassBlock OrElse 22contextKind = SyntaxKind.StructureBlock OrElse contextKind = SyntaxKind.InterfaceBlock) 24Debug.Assert(BlockKind = SyntaxKind.ModuleBlock OrElse BlockKind = SyntaxKind.ClassBlock OrElse 25BlockKind = SyntaxKind.StructureBlock OrElse BlockKind = SyntaxKind.InterfaceBlock) 27_state = SyntaxKind.None 34Case SyntaxKind.None 36Case SyntaxKind.InheritsStatement 37_state = SyntaxKind.InheritsStatement 39Case SyntaxKind.ImplementsStatement 40_state = SyntaxKind.ImplementsStatement 43_state = SyntaxKind.ClassStatement 46Case SyntaxKind.InheritsStatement 48Case SyntaxKind.InheritsStatement 54_state = SyntaxKind.ImplementsStatement 57Case SyntaxKind.ImplementsStatement 59Case SyntaxKind.ImplementsStatement 65_state = SyntaxKind.ClassStatement ' done with base decls 83If _state <> SyntaxKind.ClassStatement Then 85Case SyntaxKind.InheritsStatement 88Case SyntaxKind.ImplementsStatement 91_state = SyntaxKind.ClassStatement
Parser\ParseConditional.vb (69)
24If CurrentToken.Kind = SyntaxKind.DateLiteralToken OrElse 25CurrentToken.Kind = SyntaxKind.BadToken Then 27Dim missingHash = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.HashToken) 33Debug.Assert(CurrentToken.Kind = SyntaxKind.HashToken, "Conditional compilation lines start with '#'.") 43Case SyntaxKind.ElseKeyword 47Case SyntaxKind.IfKeyword 51Case SyntaxKind.ElseIfKeyword 55Case SyntaxKind.EndKeyword 59Case SyntaxKind.EndIfKeyword 63Case SyntaxKind.ConstKeyword 67Case SyntaxKind.IdentifierToken 70Case SyntaxKind.ExternalSourceKeyword 73Case SyntaxKind.ExternalChecksumKeyword 76Case SyntaxKind.RegionKeyword 79Case SyntaxKind.EnableKeyword, SyntaxKind.DisableKeyword 82Case SyntaxKind.ReferenceKeyword 113Debug.Assert(CurrentToken.Kind = SyntaxKind.ElseKeyword) 118If CurrentToken.Kind <> SyntaxKind.IfKeyword Then 133Debug.Assert(CurrentToken.Kind = SyntaxKind.ElseIfKeyword) 140Debug.Assert(CurrentToken.Kind = SyntaxKind.IfKeyword OrElse CurrentToken.Kind = SyntaxKind.ElseIfKeyword) 152If CurrentToken.Kind = SyntaxKind.ThenKeyword Then 159If ifKeyword.Kind = SyntaxKind.IfKeyword AndAlso elseKeyword Is Nothing Then 169Debug.Assert(CurrentToken.Kind = SyntaxKind.EndKeyword) 176If CurrentToken.Kind = SyntaxKind.IfKeyword Then 183ElseIf CurrentToken.Kind = SyntaxKind.IdentifierToken Then 187If identifier.PossibleKeywordKind = SyntaxKind.RegionKeyword Then 193ElseIf identifier.PossibleKeywordKind = SyntaxKind.ExternalSourceKeyword Then 211Debug.Assert(CurrentToken.Kind = SyntaxKind.EndIfKeyword) 216Dim endKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.EndKeyword) 219Dim statement = SyntaxFactory.EndIfDirectiveTrivia(hashToken, endKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.IfKeyword)) 226Debug.Assert(CurrentToken.Kind = SyntaxKind.ConstKeyword) 235unexpected = ResyncAt({SyntaxKind.EqualsToken}) 239VerifyExpectedToken(SyntaxKind.EqualsToken, equalsToken) 256Debug.Assert(CurrentToken.Kind = SyntaxKind.IdentifierToken AndAlso DirectCast(CurrentToken, IdentifierTokenSyntax).PossibleKeywordKind = SyntaxKind.RegionKeyword, 263VerifyExpectedToken(SyntaxKind.StringLiteralToken, title) 270Debug.Assert(CurrentToken.Kind = SyntaxKind.IdentifierToken AndAlso DirectCast(CurrentToken, IdentifierTokenSyntax).PossibleKeywordKind = SyntaxKind.ExternalSourceKeyword, 281VerifyExpectedToken(SyntaxKind.OpenParenToken, openParen) 284VerifyExpectedToken(SyntaxKind.StringLiteralToken, externalSource) 287VerifyExpectedToken(SyntaxKind.CommaToken, comma) 290VerifyExpectedToken(SyntaxKind.IntegerLiteralToken, externalSourceFileStartLine) 292VerifyExpectedToken(SyntaxKind.CloseParenToken, closeParen) 317Debug.Assert(CurrentToken.Kind = SyntaxKind.IdentifierToken AndAlso DirectCast(CurrentToken, IdentifierTokenSyntax).PossibleKeywordKind = SyntaxKind.ExternalChecksumKeyword, 328VerifyExpectedToken(SyntaxKind.OpenParenToken, openParen) 331VerifyExpectedToken(SyntaxKind.StringLiteralToken, externalSource) 334VerifyExpectedToken(SyntaxKind.CommaToken, firstComma) 337VerifyExpectedToken(SyntaxKind.StringLiteralToken, guid) 347VerifyExpectedToken(SyntaxKind.CommaToken, secondComma) 350VerifyExpectedToken(SyntaxKind.StringLiteralToken, checksum) 368VerifyExpectedToken(SyntaxKind.CloseParenToken, closeParen) 385Debug.Assert(CurrentToken.Kind = SyntaxKind.IdentifierToken, 386NameOf(ParseWarningDirective) & " called with token that is not an " & NameOf(SyntaxKind.IdentifierToken)) 389Debug.Assert((identifier.PossibleKeywordKind = SyntaxKind.EnableKeyword) OrElse 390(identifier.PossibleKeywordKind = SyntaxKind.DisableKeyword), 391NameOf(ParseWarningDirective) & " called with token that is neither " & NameOf(SyntaxKind.EnableKeyword) & " nor " & NameOf(SyntaxKind.DisableKeyword)) 397TryGetContextualKeyword(SyntaxKind.WarningKeyword, warningKeyword, createIfMissing:=True) 407errorCode = ResyncAt(errorCode, SyntaxKind.CommaToken) 415If Not TryGetToken(SyntaxKind.CommaToken, comma) Then 419comma = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.CommaToken) 432If enableOrDisableKeyword.Kind = SyntaxKind.EnableKeyword Then 435ElseIf enableOrDisableKeyword.Kind = SyntaxKind.DisableKeyword Then 449Debug.Assert(CurrentToken.Kind = SyntaxKind.IdentifierToken AndAlso DirectCast(CurrentToken, IdentifierTokenSyntax).PossibleKeywordKind = SyntaxKind.ReferenceKeyword, 461VerifyExpectedToken(SyntaxKind.StringLiteralToken, file)
Parser\ParseExpression.vb (289)
82Case SyntaxKind.MinusToken 90Case SyntaxKind.NotKeyword 96Case SyntaxKind.PlusToken 105Case SyntaxKind.AddressOfKeyword 122If SyntaxKind.CollectionInitializer <> expression.Kind Then 'AndAlso 192Case SyntaxKind.IdentifierToken 198If keyword.Kind = SyntaxKind.FromKeyword OrElse keyword.Kind = SyntaxKind.AggregateKeyword Then 205ElseIf keyword.Kind = SyntaxKind.AsyncKeyword OrElse keyword.Kind = SyntaxKind.IteratorKeyword Then 209If nextToken.Kind = SyntaxKind.IdentifierToken Then 213(possibleKeyword.Kind = SyntaxKind.AsyncKeyword OrElse possibleKeyword.Kind = SyntaxKind.IteratorKeyword) Then 218If nextToken.Kind = SyntaxKind.SubKeyword OrElse nextToken.Kind = SyntaxKind.FunctionKeyword Then 224ElseIf Context.IsWithinAsyncMethodOrLambda AndAlso keyword.Kind = SyntaxKind.AwaitKeyword Then 233Case SyntaxKind.ExclamationToken 236Case SyntaxKind.DotToken 239Case SyntaxKind.GlobalKeyword 243If CurrentToken.Kind <> SyntaxKind.DotToken Then 250Case SyntaxKind.MyBaseKeyword 253If CurrentToken.Kind <> SyntaxKind.DotToken Then 260Case SyntaxKind.MyClassKeyword 263If CurrentToken.Kind <> SyntaxKind.DotToken Then 270Case SyntaxKind.MeKeyword 274Case SyntaxKind.OpenParenToken 278Case SyntaxKind.LessThanToken, 279SyntaxKind.LessThanQuestionToken, 280SyntaxKind.BeginCDataToken, 281SyntaxKind.LessThanExclamationMinusMinusToken, 282SyntaxKind.LessThanSlashToken, 283SyntaxKind.LessThanGreaterThanToken 311Case SyntaxKind.IntegerLiteralToken 314Case SyntaxKind.CharacterLiteralToken 317Case SyntaxKind.DecimalLiteralToken 320Case SyntaxKind.FloatingLiteralToken 323Case SyntaxKind.DateLiteralToken 326Case SyntaxKind.StringLiteralToken 329Case SyntaxKind.TrueKeyword 333Case SyntaxKind.FalseKeyword 337Case SyntaxKind.NothingKeyword 341Case SyntaxKind.TypeOfKeyword 344Case SyntaxKind.GetTypeKeyword 347Case SyntaxKind.NameOfKeyword 350Case SyntaxKind.GetXmlNamespaceKeyword 353Case SyntaxKind.NewKeyword 356Case SyntaxKind.CBoolKeyword, 357SyntaxKind.CDateKeyword, 358SyntaxKind.CDblKeyword, 359SyntaxKind.CSByteKeyword, 360SyntaxKind.CByteKeyword, 361SyntaxKind.CCharKeyword, 362SyntaxKind.CShortKeyword, 363SyntaxKind.CUShortKeyword, 364SyntaxKind.CIntKeyword, 365SyntaxKind.CUIntKeyword, 366SyntaxKind.CLngKeyword, 367SyntaxKind.CULngKeyword, 368SyntaxKind.CSngKeyword, 369SyntaxKind.CStrKeyword, 370SyntaxKind.CDecKeyword, 371SyntaxKind.CObjKeyword 374Case SyntaxKind.CTypeKeyword, SyntaxKind.DirectCastKeyword, SyntaxKind.TryCastKeyword 377Case SyntaxKind.IfKeyword 380Case SyntaxKind.ShortKeyword, 381SyntaxKind.UShortKeyword, 382SyntaxKind.IntegerKeyword, 383SyntaxKind.UIntegerKeyword, 384SyntaxKind.LongKeyword, 385SyntaxKind.ULongKeyword, 386SyntaxKind.DecimalKeyword, 387SyntaxKind.SingleKeyword, 388SyntaxKind.DoubleKeyword, 389SyntaxKind.SByteKeyword, 390SyntaxKind.ByteKeyword, 391SyntaxKind.BooleanKeyword, 392SyntaxKind.CharKeyword, 393SyntaxKind.DateKeyword, 394SyntaxKind.StringKeyword, 395SyntaxKind.VariantKeyword, 396SyntaxKind.ObjectKeyword 400Case SyntaxKind.OpenBraceToken 405Case SyntaxKind.SubKeyword, 406SyntaxKind.FunctionKeyword 409Case SyntaxKind.DollarSignDoubleQuoteToken 415If start.Kind = SyntaxKind.QuestionToken AndAlso CanStartConsequenceExpression(Me.PeekToken(1).Kind, qualified:=False) Then 444If CurrentToken IsNot Nothing AndAlso CurrentToken.Kind = SyntaxKind.QuestionToken Then 458Dim isAfterSingleLineSub As Boolean = term IsNot Nothing AndAlso term.Kind = SyntaxKind.SingleLineSubLambdaExpression 460If [Next].Kind = SyntaxKind.DotToken Then 467ElseIf [Next].Kind = SyntaxKind.ExclamationToken Then 474ElseIf [Next].Kind = SyntaxKind.OpenParenToken Then 481ElseIf [Next].Kind = SyntaxKind.QuestionToken AndAlso CanStartConsequenceExpression(Me.PeekToken(1).Kind, qualified:=True) Then 491Case SyntaxKind.DotToken 493Case SyntaxKind.ExclamationToken 495Case SyntaxKind.OpenParenToken 512Private Function CanStartConsequenceExpression(kind As SyntaxKind, qualified As Boolean) As Boolean 513Return kind = SyntaxKind.DotToken OrElse kind = SyntaxKind.ExclamationToken OrElse (qualified AndAlso kind = SyntaxKind.OpenParenToken) 529Case SyntaxKind.SimpleArgument 550Debug.Assert(CurrentToken.Kind = SyntaxKind.IfKeyword) 555If CurrentToken.Kind = SyntaxKind.OpenParenToken Then 566DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.CommaToken), PunctuationSyntax), 574DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.CommaToken), PunctuationSyntax), 626DirectCast(HandleUnexpectedToken(SyntaxKind.OpenParenToken), PunctuationSyntax), 628DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.CommaToken), PunctuationSyntax), 630DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.CloseParenToken), PunctuationSyntax)) 641Debug.Assert(CurrentToken.Kind = SyntaxKind.GetTypeKeyword, "should be at GetType.") 648TryGetTokenAndEatNewLine(SyntaxKind.OpenParenToken, openParen, createIfMissing:=True) 660TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 672Debug.Assert(CurrentToken.Kind = SyntaxKind.NameOfKeyword, "should be at NameOf.") 680TryGetTokenAndEatNewLine(SyntaxKind.OpenParenToken, openParen, createIfMissing:=True) 685TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 693Case SyntaxKind.IdentifierName, 694SyntaxKind.GenericName 697Case SyntaxKind.MeExpression, 698SyntaxKind.MyClassExpression, 699SyntaxKind.MyBaseExpression, 700SyntaxKind.PredefinedType, 701SyntaxKind.NullableType, 702SyntaxKind.GlobalName 710Case SyntaxKind.SimpleMemberAccessExpression 733Debug.Assert(CurrentToken.Kind = SyntaxKind.GetXmlNamespaceKeyword, "should be at GetXmlNamespace.") 738If CurrentToken.Kind = SyntaxKind.OpenParenToken Then 742VerifyExpectedToken(SyntaxKind.OpenParenToken, openParen, ScannerState.Element) 745If CurrentToken.Kind = SyntaxKind.XmlNameToken Then 751VerifyExpectedToken(SyntaxKind.CloseParenToken, closeParen) 759Dim openParen = DirectCast(HandleUnexpectedToken(SyntaxKind.OpenParenToken), PunctuationSyntax) 760Dim closeParen = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.CloseParenToken) 778TryGetTokenAndEatNewLine(SyntaxKind.OpenParenToken, openParen, createIfMissing:=True) 783TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 793Debug.Assert(CurrentToken.Kind = SyntaxKind.NewKeyword, "must be at a New expression.") 798If CurrentToken.Kind = SyntaxKind.WithKeyword Then 809Type = ResyncAt(Type, SyntaxKind.OpenParenToken) 814If CurrentToken.Kind = SyntaxKind.OpenParenToken Then 840ElseIf CurrentToken.Kind = SyntaxKind.OpenBraceToken Then 869If TryTokenAsContextualKeyword(CurrentToken, SyntaxKind.FromKeyword, FromToken) Then 881If PeekToken(1).Kind = SyntaxKind.OpenBraceToken OrElse PeekToken(1).Kind = SyntaxKind.StatementTerminatorToken Then 887If (CurrentToken.Kind = SyntaxKind.WithKeyword) Then 897If CurrentToken.Kind = SyntaxKind.WithKeyword Then 901If (CurrentToken.Kind = SyntaxKind.WithKeyword) Then 907If TryTokenAsContextualKeyword(CurrentToken, SyntaxKind.FromKeyword, FromToken) AndAlso 908PeekToken(1).Kind = SyntaxKind.OpenBraceToken Then 926Debug.Assert(CurrentToken.Kind = SyntaxKind.TypeOfKeyword, "must be at TypeOf.") 935exp = ResyncAt(exp, SyntaxKind.IsKeyword, SyntaxKind.IsNotKeyword) 942If current.Kind = SyntaxKind.IsKeyword OrElse 943current.Kind = SyntaxKind.IsNotKeyword Then 947If operatorToken.Kind = SyntaxKind.IsNotKeyword Then 955operatorToken = DirectCast(HandleUnexpectedToken(SyntaxKind.IsKeyword), KeywordSyntax) 960Dim kind As SyntaxKind = If(operatorToken.Kind = SyntaxKind.IsNotKeyword, 961SyntaxKind.TypeOfIsNotExpression, 962SyntaxKind.TypeOfIsExpression) 1000Debug.Assert(CurrentToken.Kind = SyntaxKind.DotToken OrElse 1001CurrentToken.Kind = SyntaxKind.ExclamationToken, 1009If DotOrBangToken.Kind = SyntaxKind.ExclamationToken Then 1015Debug.Assert(CurrentToken.Kind = SyntaxKind.StatementTerminatorToken AndAlso 1016PrevToken.Kind = SyntaxKind.DotToken, 1026prevPrevToken.Kind = SyntaxKind.StatementTerminatorToken) Then 1039TryEatNewLineIfNotFollowedBy(SyntaxKind.DotToken) 1050Case SyntaxKind.AtToken 1059name = SyntaxFactory.XmlName(Nothing, DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.XmlNameToken), XmlNameTokenSyntax)) 1063If PeekNextToken(ScannerState.VB).Kind = SyntaxKind.LessThanToken Then 1076name = SyntaxFactory.XmlName(Nothing, DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.XmlNameToken), XmlNameTokenSyntax)) 1081Return SyntaxFactory.XmlMemberAccessExpression(SyntaxKind.XmlAttributeAccessExpression, Term, DotOrBangToken, atToken, Nothing, name) 1083Case SyntaxKind.LessThanToken 1089Return SyntaxFactory.XmlMemberAccessExpression(SyntaxKind.XmlElementAccessExpression, Term, DotOrBangToken, Nothing, Nothing, name) 1091Case SyntaxKind.DotToken 1092If PeekToken(1).Kind = SyntaxKind.DotToken Then 1097TryGetToken(SyntaxKind.DotToken, thirdDotToken) 1100TryEatNewLineIfFollowedBy(SyntaxKind.LessThanToken) 1102If CurrentToken.Kind = SyntaxKind.LessThanToken Then 1107Return SyntaxFactory.XmlMemberAccessExpression(SyntaxKind.XmlDescendantAccessExpression, Term, DotOrBangToken, secondDotToken, thirdDotToken, name) 1124If CurrentToken.Kind = SyntaxKind.AtToken Then 1125Dim missingName = DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.XmlNameToken), XmlNameTokenSyntax) 1126result = SyntaxFactory.XmlMemberAccessExpression(SyntaxKind.XmlAttributeAccessExpression, 1189If TryGetToken(SyntaxKind.LessThanToken, lessToken) Then 1196VerifyExpectedToken(SyntaxKind.GreaterThanToken, greaterToken) 1214Dim lessToken = DirectCast(HandleUnexpectedToken(SyntaxKind.LessThanToken), PunctuationSyntax) 1216Dim greaterToken = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.GreaterThanToken) 1221Return ReportSyntaxError(SyntaxFactory.XmlName(Nothing, SyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing)), ERRID.ERR_ExpectedXmlName) 1225Debug.Assert(CurrentToken.Kind = SyntaxKind.OpenParenToken) 1232TryGetTokenAndEatNewLine(SyntaxKind.OpenParenToken, openParen) 1234If (CurrentToken.Kind = SyntaxKind.IdentifierToken AndAlso 1235PeekToken(1).Kind = SyntaxKind.ColonEqualsToken) Then 1239TryGetTokenAndEatNewLine(SyntaxKind.ColonEqualsToken, colonEquals) 1249If (CurrentToken.Kind = SyntaxKind.CommaToken) Then 1256TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 1266While CurrentToken.Kind = SyntaxKind.CommaToken 1268TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, commaToken) 1273If (CurrentToken.Kind = SyntaxKind.IdentifierToken AndAlso 1274PeekToken(1).Kind = SyntaxKind.ColonEqualsToken) Then 1278TryGetTokenAndEatNewLine(SyntaxKind.ColonEqualsToken, colonEquals) 1288TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 1291argumentBuilder.AddSeparator(InternalSyntaxFactory.MissingToken(SyntaxKind.CommaToken)) 1313Debug.Assert(CurrentToken.Kind = SyntaxKind.OpenParenToken, "should be at tkLParen.") 1319Debug.Assert(CurrentToken.Kind = SyntaxKind.OpenParenToken) 1320TryGetTokenAndEatNewLine(SyntaxKind.OpenParenToken, openParen) 1325If Not TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=False) Then 1330Dim clue As SyntaxKind = PeekAheadFor(SyntaxKind.OpenParenToken, SyntaxKind.CloseParenToken) 1332If clue = SyntaxKind.CloseParenToken Then 1337Dim trash = ResyncAt({SyntaxKind.CloseParenToken}) 1343closeParen = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.CloseParenToken) 1400If (CurrentToken.Kind = SyntaxKind.IdentifierToken OrElse CurrentToken.IsKeyword()) AndAlso 1401PeekToken(1).Kind = SyntaxKind.ColonEqualsToken Then 1417TryGetTokenAndEatNewLine(SyntaxKind.ColonEqualsToken, colonEquals) 1421ElseIf CurrentToken.Kind = SyntaxKind.CommaToken Then 1422TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) 1429ElseIf CurrentToken.Kind = SyntaxKind.CloseParenToken Then 1442If TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 1446ElseIf CurrentToken.Kind = SyntaxKind.CloseParenToken OrElse MustEndStatement(CurrentToken) Then 1452Dim skipped = ResyncAt({SyntaxKind.CommaToken, SyntaxKind.CloseParenToken}).Node 1457If CurrentToken.Kind = SyntaxKind.CommaToken Then 1501If (CurrentToken.Kind = SyntaxKind.IdentifierToken OrElse CurrentToken.IsKeyword()) AndAlso 1502PeekToken(1).Kind = SyntaxKind.ColonEqualsToken Then 1505TryGetTokenAndEatNewLine(SyntaxKind.ColonEqualsToken, colonEquals) 1508colonEquals = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.ColonEqualsToken) 1518If CurrentToken.Kind <> SyntaxKind.CommaToken Then 1519If CurrentToken.Kind = SyntaxKind.CloseParenToken OrElse MustEndStatement(CurrentToken) Then 1527namedArgument = ResyncAt(namedArgument, SyntaxKind.CommaToken, SyntaxKind.CloseParenToken) 1529If CurrentToken.Kind <> SyntaxKind.CommaToken Then 1537TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) 1538Debug.Assert(comma.Kind = SyntaxKind.CommaToken) 1555value = ResyncAt(value, SyntaxKind.CommaToken, SyntaxKind.CloseParenToken) 1558If RedimOrNewParent AndAlso CurrentToken.Kind = SyntaxKind.ToKeyword Then 1588Dim keywordKind As SyntaxKind = keyword.Kind 1590Debug.Assert(keywordKind = SyntaxKind.CTypeKeyword OrElse 1591keywordKind = SyntaxKind.DirectCastKeyword OrElse 1592keywordKind = SyntaxKind.TryCastKeyword, 1599TryGetTokenAndEatNewLine(SyntaxKind.OpenParenToken, openParen, createIfMissing:=True) 1604exp = ResyncAt(exp, SyntaxKind.CommaToken, SyntaxKind.CloseParenToken) 1609If Not TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 1611comma = ReportSyntaxError(InternalSyntaxFactory.MissingPunctuation(SyntaxKind.CommaToken), 1619TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 1624Case SyntaxKind.CTypeKeyword 1626Case SyntaxKind.DirectCastKeyword 1628Case SyntaxKind.TryCastKeyword 1649Debug.Assert(CurrentToken.Kind = SyntaxKind.IdentifierToken) 1653_isInAsyncMethodDeclarationHeader = modifiers.Any(SyntaxKind.AsyncKeyword) 1654_isInIteratorMethodDeclarationHeader = modifiers.Any(SyntaxKind.IteratorKeyword) 1661Debug.Assert(CurrentToken.Kind = SyntaxKind.FunctionKeyword OrElse 1662CurrentToken.Kind = SyntaxKind.SubKeyword, 1676If CurrentToken.Kind = SyntaxKind.OpenParenToken Then 1680If CurrentToken.Kind = SyntaxKind.OpenParenToken Then 1683openParen = DirectCast(HandleUnexpectedToken(SyntaxKind.OpenParenToken), PunctuationSyntax) 1684closeParen = DirectCast(HandleUnexpectedToken(SyntaxKind.CloseParenToken), PunctuationSyntax) 1703If CurrentToken.Kind = SyntaxKind.AsKeyword Then 1707If CurrentToken.Kind = SyntaxKind.LessThanToken Then 1724If methodKeyword.Kind <> SyntaxKind.FunctionKeyword AndAlso asClause IsNot Nothing Then 1729isMultiLine = isMultiLine OrElse CurrentToken.Kind = SyntaxKind.StatementTerminatorToken 1735Return SyntaxFactory.LambdaHeader(If(methodKeyword.Kind = SyntaxKind.FunctionKeyword, SyntaxKind.FunctionLambdaHeader, SyntaxKind.SubLambdaHeader), 1756If header.Kind = SyntaxKind.FunctionLambdaHeader AndAlso Not isMultiLine Then 1761value = SyntaxFactory.SingleLineLambdaExpression(SyntaxKind.SingleLineFunctionLambdaExpression, 1765If header.Modifiers.Any(SyntaxKind.IteratorKeyword) Then 1785If isMultiLine OrElse CurrentToken.Kind = SyntaxKind.ColonToken Then 1836Friend Shared Function IsDeclarationStatement(kind As SyntaxKind) As Boolean 1839SyntaxKind.SubStatement, 1840SyntaxKind.SubNewStatement, 1841SyntaxKind.FunctionStatement, 1842SyntaxKind.OperatorStatement, 1843SyntaxKind.PropertyStatement, 1844SyntaxKind.EventStatement, 1845SyntaxKind.NamespaceStatement, 1846SyntaxKind.ClassStatement, 1847SyntaxKind.StructureStatement, 1848SyntaxKind.EnumStatement, 1849SyntaxKind.ModuleStatement, 1850SyntaxKind.InterfaceStatement, 1851SyntaxKind.SetAccessorStatement, 1852SyntaxKind.GetAccessorStatement, 1853SyntaxKind.DeclareSubStatement, 1854SyntaxKind.DeclareFunctionStatement, 1855SyntaxKind.DelegateFunctionStatement, 1856SyntaxKind.DelegateSubStatement 1877If Not TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 1892Debug.Assert(DirectCast(CurrentToken, IdentifierTokenSyntax).ContextualKind = SyntaxKind.AwaitKeyword) 1897Debug.Assert(awaitKeyword IsNot Nothing AndAlso awaitKeyword.Kind = SyntaxKind.AwaitKeyword)
Parser\ParseInterpolatedString.vb (38)
18Debug.Assert(CurrentToken.Kind = SyntaxKind.DollarSignDoubleQuoteToken, "ParseInterpolatedStringExpression called on the wrong token.") 22Debug.Assert(CurrentToken.Kind = SyntaxKind.DollarSignDoubleQuoteToken, "Rescanning $"" failed.") 35Case SyntaxKind.InterpolatedStringTextToken 42Debug.Assert(CurrentToken.Kind <> SyntaxKind.InterpolatedStringTextToken, 48Case SyntaxKind.OpenBraceToken 52Case SyntaxKind.CloseBraceToken 62Case SyntaxKind.DoubleQuoteToken 68Case SyntaxKind.EndOfInterpolatedStringToken 70doubleQuoteToken = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.DoubleQuoteToken) 76doubleQuoteToken = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.DoubleQuoteToken) 101Debug.Assert(CurrentToken.Kind = SyntaxKind.OpenBraceToken, "ParseInterpolatedStringEmbeddedExpression called on the wrong token.") 111If CurrentToken.Kind = SyntaxKind.ColonToken Then 120If CurrentToken.Kind = SyntaxKind.ColonToken Then 127If CurrentToken.Kind = SyntaxKind.CommaToken Then 133If CurrentToken.Kind = SyntaxKind.ColonToken Then 139If CurrentToken.Kind = SyntaxKind.MinusToken OrElse 140CurrentToken.Kind = SyntaxKind.PlusToken Then 145If CurrentToken.Kind = SyntaxKind.ColonToken Then 154If CurrentToken.Kind = SyntaxKind.IntegerLiteralToken Then 159If CurrentToken.Kind = SyntaxKind.ColonToken Then 170If(signTokenOpt.Kind = SyntaxKind.PlusToken, SyntaxKind.UnaryPlusExpression, SyntaxKind.UnaryMinusExpression), 182If CurrentToken.Kind = SyntaxKind.ColonToken AndAlso colonToken IsNot Nothing Then 189If CurrentToken.Kind = SyntaxKind.InterpolatedStringTextToken Then 211formatStringToken = DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.InterpolatedStringTextToken), InterpolatedStringTextTokenSyntax) 224If CurrentToken.Kind = SyntaxKind.ColonToken Then 232If CurrentToken.Kind = SyntaxKind.CloseBraceToken Then 240ElseIf CurrentToken.Kind = SyntaxKind.EndOfInterpolatedStringToken Then 243closeBraceToken = DirectCast(HandleUnexpectedToken(SyntaxKind.CloseBraceToken), PunctuationSyntax) 250Debug.Assert(CurrentToken.Kind <> SyntaxKind.CloseBraceToken) 251closeBraceToken = DirectCast(HandleUnexpectedToken(SyntaxKind.CloseBraceToken), PunctuationSyntax) 253If CurrentToken.Kind = SyntaxKind.InterpolatedStringTextToken Then 284ElseIf triviaList(0).Kind = SyntaxKind.ColonTrivia 290If triviaList(i).Kind = SyntaxKind.ColonTrivia Then 302Debug.Assert(triviaList.GetEndOfTrivia(indexOfFirstColon + 1).AnyAndOnly(SyntaxKind.ColonTrivia, SyntaxKind.WhitespaceTrivia)) 308colonToken = New PunctuationSyntax(SyntaxKind.ColonToken, firstColonTrivia.Text, Nothing, Nothing)
Parser\ParseQuery.vb (370)
19If ((CurrentToken.Kind = SyntaxKind.IdentifierToken OrElse CurrentToken.IsKeyword()) AndAlso 20PeekToken(1).Kind = SyntaxKind.EqualsToken OrElse 21(PeekToken(1).Kind = SyntaxKind.QuestionToken AndAlso PeekToken(2).Kind = SyntaxKind.EqualsToken)) Then 30Debug.Assert(CurrentToken.Kind = SyntaxKind.EqualsToken) 58rangeVar = ResyncAt(rangeVar, SyntaxKind.CommaToken, SyntaxKind.WhereKeyword, SyntaxKind.GroupKeyword, 59SyntaxKind.SelectKeyword, SyntaxKind.OrderKeyword, SyntaxKind.JoinKeyword, 60SyntaxKind.FromKeyword, SyntaxKind.DistinctKeyword, SyntaxKind.AggregateKeyword, 61SyntaxKind.IntoKeyword, SyntaxKind.SkipKeyword, SyntaxKind.TakeKeyword, SyntaxKind.LetKeyword) 66If CurrentToken.Kind = SyntaxKind.CommaToken Then 88If CurrentToken.Kind = SyntaxKind.IdentifierToken Then 90If curIdent.PossibleKeywordKind = SyntaxKind.GroupKeyword Then 91Debug.Assert(PeekToken(1).Kind = SyntaxKind.OpenParenToken) 103If Not aggName.ContainsDiagnostics AndAlso CurrentToken.Kind = SyntaxKind.OpenParenToken Then 110If CurrentToken.Kind <> SyntaxKind.CloseParenToken Then 115If TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, rParen, createIfMissing:=True) Then 146CurrentToken.Kind <> SyntaxKind.DotToken Then 159If CurrentToken.Kind = SyntaxKind.QuestionToken Then 176If ((CurrentToken.Kind = SyntaxKind.IdentifierToken OrElse CurrentToken.IsKeyword()) AndAlso 177PeekToken(1).Kind = SyntaxKind.EqualsToken _ 179(PeekToken(1).Kind = SyntaxKind.QuestionToken AndAlso PeekToken(2).Kind = SyntaxKind.EqualsToken)) Then 185Debug.Assert(CurrentToken.Kind = SyntaxKind.EqualsToken) 194If CurrentToken.Kind = SyntaxKind.IdentifierToken OrElse CurrentToken.IsKeyword() Then 196If TryTokenAsContextualKeyword(CurrentToken, SyntaxKind.GroupKeyword, groupKw) AndAlso 197PeekToken(1).Kind <> SyntaxKind.OpenParenToken Then 247rangeVar = ResyncAt(rangeVar, SyntaxKind.CommaToken, SyntaxKind.WhereKeyword, SyntaxKind.GroupKeyword, 248SyntaxKind.SelectKeyword, SyntaxKind.OrderKeyword, SyntaxKind.JoinKeyword, 249SyntaxKind.FromKeyword, SyntaxKind.DistinctKeyword, SyntaxKind.AggregateKeyword, 250SyntaxKind.IntoKeyword, SyntaxKind.OnKeyword, SyntaxKind.SkipKeyword, 251SyntaxKind.TakeKeyword, SyntaxKind.LetKeyword) 253rangeVar = ResyncAt(rangeVar, SyntaxKind.CommaToken, SyntaxKind.WhereKeyword, SyntaxKind.GroupKeyword, 254SyntaxKind.SelectKeyword, SyntaxKind.OrderKeyword, SyntaxKind.JoinKeyword, 255SyntaxKind.FromKeyword, SyntaxKind.DistinctKeyword, SyntaxKind.AggregateKeyword, 256SyntaxKind.IntoKeyword, SyntaxKind.SkipKeyword, SyntaxKind.TakeKeyword, 257SyntaxKind.LetKeyword) 263If CurrentToken.Kind = SyntaxKind.CommaToken Then 297Dim peek = PeekAheadFor(SyntaxKind.AsKeyword, SyntaxKind.InKeyword, SyntaxKind.CommaToken, 298SyntaxKind.FromKeyword, SyntaxKind.WhereKeyword, SyntaxKind.GroupKeyword, 299SyntaxKind.SelectKeyword, SyntaxKind.OrderKeyword, SyntaxKind.JoinKeyword, 300SyntaxKind.DistinctKeyword, SyntaxKind.AggregateKeyword, SyntaxKind.IntoKeyword, 301SyntaxKind.SkipKeyword, SyntaxKind.TakeKeyword, SyntaxKind.LetKeyword) 304Case SyntaxKind.AsKeyword, 305SyntaxKind.InKeyword, 306SyntaxKind.CommaToken 312If CurrentToken.Kind = SyntaxKind.QuestionToken AndAlso 313(PeekToken(1).Kind = SyntaxKind.InKeyword OrElse 314PeekToken(1).Kind = SyntaxKind.EqualsToken) Then 326If CurrentToken.Kind = SyntaxKind.AsKeyword Then 333If CurrentToken.Kind = SyntaxKind.InKeyword Then 342Dim peek = PeekAheadFor(SyntaxKind.InKeyword, SyntaxKind.CommaToken, SyntaxKind.EqualsToken, 343SyntaxKind.FromKeyword, SyntaxKind.WhereKeyword, SyntaxKind.GroupKeyword, 344SyntaxKind.SelectKeyword, SyntaxKind.OrderKeyword, SyntaxKind.JoinKeyword, 345SyntaxKind.DistinctKeyword, SyntaxKind.AggregateKeyword, SyntaxKind.IntoKeyword, 346SyntaxKind.SkipKeyword, SyntaxKind.TakeKeyword, SyntaxKind.LetKeyword) 348Case SyntaxKind.AsKeyword, 349SyntaxKind.InKeyword, 350SyntaxKind.CommaToken 359If Not TryGetToken(SyntaxKind.EqualsToken, Equals) Then 360Equals = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.EqualsToken) 374Dim peek = PeekAheadFor(SyntaxKind.CommaToken, 375SyntaxKind.FromKeyword, SyntaxKind.WhereKeyword, SyntaxKind.GroupKeyword, 376SyntaxKind.SelectKeyword, SyntaxKind.OrderKeyword, SyntaxKind.JoinKeyword, 377SyntaxKind.DistinctKeyword, SyntaxKind.AggregateKeyword, SyntaxKind.IntoKeyword, 378SyntaxKind.SkipKeyword, SyntaxKind.TakeKeyword, SyntaxKind.LetKeyword) 380If peek = SyntaxKind.CommaToken Then 393If TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 418Dim peek = PeekAheadFor(SyntaxKind.AsKeyword, SyntaxKind.InKeyword, SyntaxKind.CommaToken, 419SyntaxKind.FromKeyword, SyntaxKind.WhereKeyword, SyntaxKind.GroupKeyword, 420SyntaxKind.SelectKeyword, SyntaxKind.OrderKeyword, SyntaxKind.JoinKeyword, 421SyntaxKind.DistinctKeyword, SyntaxKind.AggregateKeyword, SyntaxKind.IntoKeyword, 422SyntaxKind.SkipKeyword, SyntaxKind.TakeKeyword, SyntaxKind.LetKeyword) 425Case SyntaxKind.AsKeyword, 426SyntaxKind.InKeyword, 427SyntaxKind.CommaToken 433If CurrentToken.Kind = SyntaxKind.QuestionToken AndAlso 434(PeekToken(1).Kind = SyntaxKind.InKeyword OrElse 435PeekToken(1).Kind = SyntaxKind.EqualsToken) Then 447If CurrentToken.Kind = SyntaxKind.AsKeyword Then 454If CurrentToken.Kind = SyntaxKind.InKeyword Then 463Dim peek = PeekAheadFor(SyntaxKind.InKeyword, SyntaxKind.CommaToken, SyntaxKind.EqualsToken, 464SyntaxKind.FromKeyword, SyntaxKind.WhereKeyword, SyntaxKind.GroupKeyword, 465SyntaxKind.SelectKeyword, SyntaxKind.OrderKeyword, SyntaxKind.JoinKeyword, 466SyntaxKind.DistinctKeyword, SyntaxKind.AggregateKeyword, SyntaxKind.IntoKeyword, 467SyntaxKind.SkipKeyword, SyntaxKind.TakeKeyword, SyntaxKind.LetKeyword) 470Case SyntaxKind.AsKeyword, 471SyntaxKind.InKeyword, 472SyntaxKind.CommaToken 481If TryEatNewLineAndGetToken(SyntaxKind.InKeyword, [In], createIfMissing:=True) Then 494Dim peek = PeekAheadFor(SyntaxKind.CommaToken, 495SyntaxKind.FromKeyword, SyntaxKind.WhereKeyword, SyntaxKind.GroupKeyword, 496SyntaxKind.SelectKeyword, SyntaxKind.OrderKeyword, SyntaxKind.JoinKeyword, 497SyntaxKind.DistinctKeyword, SyntaxKind.AggregateKeyword, SyntaxKind.IntoKeyword, 498SyntaxKind.SkipKeyword, SyntaxKind.TakeKeyword, SyntaxKind.LetKeyword) 500If peek = SyntaxKind.CommaToken Then 510If TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 537Debug.Assert(contextualKeyword.Kind = SyntaxKind.FromKeyword OrElse contextualKeyword.Kind = SyntaxKind.AggregateKeyword) 557If current Is Nothing OrElse (current.Kind <> SyntaxKind.IdentifierToken AndAlso Not current.IsKeyword) Then 586(current.Kind = SyntaxKind.IdentifierToken AndAlso 597If current.Kind = SyntaxKind.StatementTerminatorToken Then 600If current Is Nothing OrElse current.Kind <> SyntaxKind.InKeyword Then 603ElseIf current.Kind = SyntaxKind.QuestionToken Then 616If current.Kind <> SyntaxKind.InKeyword AndAlso 617current.Kind <> SyntaxKind.AsKeyword AndAlso 618(newLineAfterFrom OrElse current.Kind <> SyntaxKind.EqualsToken) Then 625If contextualKeyword.Kind = SyntaxKind.FromKeyword Then 629Debug.Assert(contextualKeyword.Kind = SyntaxKind.AggregateKeyword) 640If Not TryEatNewLineAndGetContextualKeyword(SyntaxKind.ByKeyword, byKw, createIfMissing:=False) Then 647If byKw IsNot Nothing OrElse TryEatNewLineAndGetContextualKeyword(SyntaxKind.ByKeyword, byKw, createIfMissing:=True) Then 660If TryEatNewLineAndGetContextualKeyword(SyntaxKind.IntoKeyword, intoKw, createIfMissing:=True) Then 706If TryEatNewLineAndGetToken(SyntaxKind.OnKeyword, onKw, createIfMissing:=True) Then 711InternalSyntaxFactory.MissingKeyword(SyntaxKind.EqualsKeyword), 725If TryEatNewLineAndGetContextualKeyword(SyntaxKind.IntoKeyword, intoKw, createIfMissing:=True) Then 744If TryEatNewLineAndGetContextualKeyword(SyntaxKind.JoinKeyword, joinKw) Then 749If TryEatNewLineAndGetContextualKeyword(SyntaxKind.GroupKeyword, groupKw) Then 750TryGetContextualKeyword(SyntaxKind.JoinKeyword, joinKw, createIfMissing:=True) 769Dim peek = PeekAheadFor(SyntaxKind.AsKeyword, SyntaxKind.InKeyword, SyntaxKind.OnKeyword, 770SyntaxKind.FromKeyword, SyntaxKind.WhereKeyword, SyntaxKind.GroupKeyword, 771SyntaxKind.SelectKeyword, SyntaxKind.OrderKeyword, SyntaxKind.JoinKeyword, 772SyntaxKind.DistinctKeyword, SyntaxKind.AggregateKeyword, SyntaxKind.IntoKeyword, 773SyntaxKind.SkipKeyword, SyntaxKind.TakeKeyword, SyntaxKind.LetKeyword) 776Case SyntaxKind.AsKeyword, 777SyntaxKind.InKeyword, 778SyntaxKind.GroupKeyword, 779SyntaxKind.JoinKeyword, 780SyntaxKind.OnKeyword 786If CurrentToken.Kind = SyntaxKind.QuestionToken AndAlso 787PeekToken(1).Kind = SyntaxKind.InKeyword Then 797If CurrentToken.Kind = SyntaxKind.AsKeyword Then 809Dim peek = PeekAheadFor(SyntaxKind.InKeyword, SyntaxKind.OnKeyword, SyntaxKind.EqualsToken, 810SyntaxKind.FromKeyword, SyntaxKind.WhereKeyword, SyntaxKind.GroupKeyword, 811SyntaxKind.SelectKeyword, SyntaxKind.OrderKeyword, SyntaxKind.JoinKeyword, 812SyntaxKind.DistinctKeyword, SyntaxKind.AggregateKeyword, SyntaxKind.IntoKeyword, 813SyntaxKind.SkipKeyword, SyntaxKind.TakeKeyword, SyntaxKind.LetKeyword) 816Case SyntaxKind.EqualsToken, 817SyntaxKind.InKeyword, 818SyntaxKind.GroupKeyword, 819SyntaxKind.JoinKeyword, 820SyntaxKind.OnKeyword 829If TryEatNewLineAndGetToken(SyntaxKind.InKeyword, [In], createIfMissing:=True) Then 840Dim peek = PeekAheadFor(SyntaxKind.CommaToken, 841SyntaxKind.FromKeyword, SyntaxKind.WhereKeyword, SyntaxKind.GroupKeyword, 842SyntaxKind.SelectKeyword, SyntaxKind.OrderKeyword, SyntaxKind.JoinKeyword, 843SyntaxKind.DistinctKeyword, SyntaxKind.AggregateKeyword, SyntaxKind.IntoKeyword, 844SyntaxKind.SkipKeyword, SyntaxKind.TakeKeyword, SyntaxKind.LetKeyword) 846If peek = SyntaxKind.CommaToken Then 866If CurrentToken.Kind <> SyntaxKind.StatementTerminatorToken Then 871Left = ResyncAt(Left, SyntaxKind.EqualsToken, SyntaxKind.FromKeyword, SyntaxKind.WhereKeyword, 872SyntaxKind.GroupKeyword, SyntaxKind.SelectKeyword, SyntaxKind.OrderKeyword, 873SyntaxKind.JoinKeyword, SyntaxKind.DistinctKeyword, SyntaxKind.AggregateKeyword, 874SyntaxKind.IntoKeyword, SyntaxKind.OnKeyword, SyntaxKind.AndKeyword, SyntaxKind.AndAlsoKeyword, 875SyntaxKind.OrKeyword, SyntaxKind.OrElseKeyword, SyntaxKind.SkipKeyword, SyntaxKind.SkipKeyword, 876SyntaxKind.LetKeyword) 881If TryGetContextualKeywordAndEatNewLine(SyntaxKind.EqualsKeyword, eqKw, createIfMissing:=True) Then 890InternalSyntaxFactory.MissingKeyword(SyntaxKind.EqualsKeyword), 898element = ResyncAt(element, SyntaxKind.AndKeyword, SyntaxKind.FromKeyword, SyntaxKind.WhereKeyword, 899SyntaxKind.GroupKeyword, SyntaxKind.SelectKeyword, SyntaxKind.OrderKeyword, SyntaxKind.JoinKeyword, 900SyntaxKind.DistinctKeyword, SyntaxKind.AggregateKeyword, SyntaxKind.IntoKeyword, SyntaxKind.OnKeyword, 901SyntaxKind.AndAlsoKeyword, SyntaxKind.OrKeyword, SyntaxKind.OrElseKeyword, SyntaxKind.SkipKeyword, 902SyntaxKind.TakeKeyword, SyntaxKind.LetKeyword) 910If TryGetTokenAndEatNewLine(SyntaxKind.AndKeyword, AndTk) Then 913ElseIf CurrentToken.Kind = SyntaxKind.AndAlsoKeyword OrElse 914CurrentToken.Kind = SyntaxKind.OrKeyword OrElse 915CurrentToken.Kind = SyntaxKind.OrElseKeyword Then 929elements = ResyncAt(elements, SyntaxKind.FromKeyword, SyntaxKind.WhereKeyword, SyntaxKind.GroupKeyword, 930SyntaxKind.SelectKeyword, SyntaxKind.OrderKeyword, SyntaxKind.JoinKeyword, SyntaxKind.DistinctKeyword, 931SyntaxKind.AggregateKeyword, SyntaxKind.IntoKeyword, SyntaxKind.OnKeyword, SyntaxKind.SkipKeyword, 932SyntaxKind.TakeKeyword, SyntaxKind.LetKeyword) 977OrderExpression = ResyncAt(OrderExpression, SyntaxKind.CommaToken, SyntaxKind.AscendingKeyword, 978SyntaxKind.DescendingKeyword, SyntaxKind.WhereKeyword, SyntaxKind.GroupKeyword, 979SyntaxKind.SelectKeyword, SyntaxKind.OrderKeyword, SyntaxKind.JoinKeyword, 980SyntaxKind.FromKeyword, SyntaxKind.DistinctKeyword, SyntaxKind.AggregateKeyword, 981SyntaxKind.IntoKeyword, SyntaxKind.SkipKeyword, SyntaxKind.TakeKeyword, SyntaxKind.LetKeyword) 986If TryEatNewLineAndGetContextualKeyword(SyntaxKind.DescendingKeyword, directionKw) Then 989TryEatNewLineAndGetContextualKeyword(SyntaxKind.AscendingKeyword, directionKw) 996If TryEatNewLineAndGetToken(SyntaxKind.CommaToken, comma, createIfMissing:=False) Then 1019SyntaxKind.FromKeyword, 1020SyntaxKind.WhereKeyword, 1021SyntaxKind.GroupKeyword, 1022SyntaxKind.SelectKeyword, 1023SyntaxKind.OrderKeyword, 1024SyntaxKind.JoinKeyword, 1025SyntaxKind.DistinctKeyword, 1026SyntaxKind.AggregateKeyword, 1027SyntaxKind.IntoKeyword, 1028SyntaxKind.SkipKeyword, 1029SyntaxKind.TakeKeyword, 1030SyntaxKind.LetKeyword) 1046If Start.Kind = SyntaxKind.StatementTerminatorToken Then 1063Case SyntaxKind.SelectKeyword 1070Case SyntaxKind.LetKeyword 1074Case SyntaxKind.IdentifierToken 1082Case SyntaxKind.WhereKeyword 1087Case SyntaxKind.SkipKeyword 1090If CurrentToken.Kind = SyntaxKind.WhileKeyword Then 1097TryEatNewLineIfNotFollowedBy(SyntaxKind.WhileKeyword) ' // when Skip ends the line, allow a implicit line continuation 1101Case SyntaxKind.TakeKeyword 1104If CurrentToken.Kind = SyntaxKind.WhileKeyword Then 1111TryEatNewLineIfNotFollowedBy(SyntaxKind.WhileKeyword) ' // when Skip ends the line, allow a implicit line continuation 1115Case SyntaxKind.GroupKeyword 1120If TryGetContextualKeyword(SyntaxKind.JoinKeyword, joinKw) Then 1126Case SyntaxKind.AggregateKeyword 1130Case SyntaxKind.OrderKeyword 1134TryGetContextualKeywordAndEatNewLine(SyntaxKind.ByKeyword, byKw, createIfMissing:=True) 1141Case SyntaxKind.DistinctKeyword 1144If CurrentToken.Kind = SyntaxKind.StatementTerminatorToken Then 1148Case SyntaxKind.DotToken, SyntaxKind.ExclamationToken, SyntaxKind.QuestionToken, SyntaxKind.OpenParenToken 1159Case SyntaxKind.JoinKeyword 1163Case SyntaxKind.FromKeyword 1214If TryEatNewLineAndGetContextualKeyword(SyntaxKind.IntoKeyword, intoKw, createIfMissing:=True) Then 1234Dim kind As SyntaxKind = Nothing 1241If isQueryKwd AndAlso kind = SyntaxKind.SelectKeyword Then 1249If nextToken.Kind = SyntaxKind.CaseKeyword Then
Parser\Parser.vb (945)
100Debug.Assert(CurrentToken.Kind = SyntaxKind.OpenParenToken, "Generic parameter parsing lost!!!") 113CurrentToken.Kind <> SyntaxKind.DotToken AndAlso 175If CurrentToken.Kind = SyntaxKind.GlobalKeyword Then 205Do While TryGetTokenAndEatNewLine(SyntaxKind.DotToken, dotToken) 223result = SyntaxFactory.QualifiedName(result, InternalSyntaxFactory.MissingPunctuation(SyntaxKind.DotToken), SyntaxFactory.IdentifierName(InternalSyntaxFactory.MissingIdentifier())) 312If trivia.Kind = SyntaxKind.WhitespaceTrivia Then 391curSyntaxNode.Kind = SyntaxKind.DocumentationCommentTrivia Then 444If lastTrivia.Kind = SyntaxKind.EndOfLineTrivia Then 447ElseIf lastTrivia.Kind = SyntaxKind.ColonTrivia Then 457If curNodeLabel IsNot Nothing AndAlso curNodeLabel.ColonToken.Kind = SyntaxKind.ColonToken Then 481Debug.Assert(terminator.Kind = SyntaxKind.EndOfFileToken) 507While CurrentToken.Kind <> SyntaxKind.EndOfFileToken 523Dim fakeBegin = SyntaxFactory.SubStatement(Nothing, Nothing, InternalSyntaxFactory.MissingKeyword(SyntaxKind.SubKeyword), 525Dim methodContext = New MethodBlockContext(SyntaxKind.SubBlock, fakeBegin, outerContext) 561If CurrentToken.Kind = SyntaxKind.GreaterThanToken AndAlso 562PeekToken(1).Kind = SyntaxKind.LessThanToken Then 570result = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.LessThanGreaterThanToken) 572ElseIf CurrentToken.Kind = SyntaxKind.EqualsToken Then 574If PeekToken(1).Kind = SyntaxKind.GreaterThanToken Then 581result = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.GreaterThanEqualsToken) 583ElseIf PeekToken(1).Kind = SyntaxKind.LessThanToken Then 587result = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.LessThanEqualsToken) 656Case SyntaxKind.LessThanToken 667Dim kind As SyntaxKind = Nothing 668If TryTokenAsKeyword(nextToken, kind) AndAlso (kind = SyntaxKind.AssemblyKeyword OrElse 669kind = SyntaxKind.ModuleKeyword) Then 680Case SyntaxKind.LessThanGreaterThanToken 684Case SyntaxKind.PrivateKeyword, 685SyntaxKind.ProtectedKeyword, 686SyntaxKind.PublicKeyword, 687SyntaxKind.FriendKeyword, 688SyntaxKind.MustInheritKeyword, 689SyntaxKind.NotOverridableKeyword, 690SyntaxKind.OverridableKeyword, 691SyntaxKind.MustOverrideKeyword, 692SyntaxKind.NotInheritableKeyword, 693SyntaxKind.PartialKeyword, 694SyntaxKind.StaticKeyword, 695SyntaxKind.SharedKeyword, 696SyntaxKind.ShadowsKeyword, 697SyntaxKind.WithEventsKeyword, 698SyntaxKind.OverloadsKeyword, 699SyntaxKind.OverridesKeyword, 700SyntaxKind.ConstKeyword, 701SyntaxKind.DimKeyword, 702SyntaxKind.ReadOnlyKeyword, 703SyntaxKind.WriteOnlyKeyword, 704SyntaxKind.WideningKeyword, 705SyntaxKind.NarrowingKeyword, 706SyntaxKind.DefaultKeyword 709Case SyntaxKind.EnumKeyword 712Case SyntaxKind.InheritsKeyword, 713SyntaxKind.ImplementsKeyword 716Case SyntaxKind.ImportsKeyword 719Case SyntaxKind.NamespaceKeyword 723Case SyntaxKind.ModuleKeyword, SyntaxKind.ClassKeyword, SyntaxKind.StructureKeyword, SyntaxKind.InterfaceKeyword 727Case SyntaxKind.DeclareKeyword 730Case SyntaxKind.EventKeyword 734Case SyntaxKind.DelegateKeyword 740Case SyntaxKind.SubKeyword 743Case SyntaxKind.FunctionKeyword 746Case SyntaxKind.OperatorKeyword 749Case SyntaxKind.PropertyKeyword 752Case SyntaxKind.EmptyToken 755Case SyntaxKind.ColonToken, 756SyntaxKind.StatementTerminatorToken 760Case SyntaxKind.IntegerLiteralToken 766Case SyntaxKind.IdentifierToken 767If Context.BlockKind = SyntaxKind.EnumBlock Then 772Dim contextualKind As SyntaxKind = Nothing 775If contextualKind = SyntaxKind.CustomKeyword Then 777ElseIf contextualKind = SyntaxKind.TypeKeyword Then 780ElseIf contextualKind = SyntaxKind.AsyncKeyword OrElse contextualKind = SyntaxKind.IteratorKeyword Then 792If Context.BlockKind = SyntaxKind.CompilationUnit Then 802Case SyntaxKind.EndKeyword 805Case SyntaxKind.OptionKeyword 808Case SyntaxKind.AddHandlerKeyword 809Return ParsePropertyOrEventAccessor(SyntaxKind.AddHandlerAccessorStatement, Nothing, Nothing) 811Case SyntaxKind.RemoveHandlerKeyword 812Return ParsePropertyOrEventAccessor(SyntaxKind.RemoveHandlerAccessorStatement, Nothing, Nothing) 814Case SyntaxKind.RaiseEventKeyword 815Return ParsePropertyOrEventAccessor(SyntaxKind.RaiseEventAccessorStatement, Nothing, Nothing) 817Case SyntaxKind.GetKeyword 818Return ParsePropertyOrEventAccessor(SyntaxKind.GetAccessorStatement, Nothing, Nothing) 820Case SyntaxKind.SetKeyword 821Return ParsePropertyOrEventAccessor(SyntaxKind.SetAccessorStatement, Nothing, Nothing) 823Case SyntaxKind.GlobalKeyword 911Case SyntaxKind.GoToKeyword 914Case SyntaxKind.CaseKeyword 917Case SyntaxKind.SelectKeyword 920Case SyntaxKind.WithKeyword, SyntaxKind.WhileKeyword 923Case SyntaxKind.UsingKeyword 926Case SyntaxKind.SyncLockKeyword 929Case SyntaxKind.TryKeyword 932Case SyntaxKind.CatchKeyword 935Case SyntaxKind.FinallyKeyword 938Case SyntaxKind.IfKeyword 943Case SyntaxKind.ElseKeyword 944If PeekToken(1).Kind = SyntaxKind.IfKeyword Then 950Case SyntaxKind.ElseIfKeyword 953Case SyntaxKind.DoKeyword 956Case SyntaxKind.LoopKeyword 959Case SyntaxKind.ForKeyword 962Case SyntaxKind.NextKeyword 965Case SyntaxKind.EndIfKeyword, SyntaxKind.WendKeyword 970Case SyntaxKind.EndKeyword 973Case SyntaxKind.ReturnKeyword 976Case SyntaxKind.StopKeyword 979Case SyntaxKind.ContinueKeyword 982Case SyntaxKind.ExitKeyword 985Case SyntaxKind.OnKeyword 988Case SyntaxKind.ResumeKeyword 991Case SyntaxKind.CallKeyword 994Case SyntaxKind.RaiseEventKeyword 997Case SyntaxKind.ReDimKeyword 1000Case SyntaxKind.AddHandlerKeyword, SyntaxKind.RemoveHandlerKeyword 1003Case SyntaxKind.PartialKeyword, 1004SyntaxKind.PrivateKeyword, 1005SyntaxKind.ProtectedKeyword, 1006SyntaxKind.PublicKeyword, 1007SyntaxKind.FriendKeyword, 1008SyntaxKind.NotOverridableKeyword, 1009SyntaxKind.OverridableKeyword, 1010SyntaxKind.MustInheritKeyword, 1011SyntaxKind.MustOverrideKeyword, 1012SyntaxKind.StaticKeyword, 1013SyntaxKind.SharedKeyword, 1014SyntaxKind.ShadowsKeyword, 1015SyntaxKind.WithEventsKeyword, 1016SyntaxKind.OverloadsKeyword, 1017SyntaxKind.OverridesKeyword, 1018SyntaxKind.ConstKeyword, 1019SyntaxKind.DimKeyword, 1020SyntaxKind.WideningKeyword, 1021SyntaxKind.NarrowingKeyword, 1022SyntaxKind.DefaultKeyword, 1023SyntaxKind.ReadOnlyKeyword, 1024SyntaxKind.WriteOnlyKeyword, 1025SyntaxKind.LessThanToken 1037If Not modifiers.Any(SyntaxKind.DimKeyword, SyntaxKind.ConstKeyword) Then 1044Case SyntaxKind.SubKeyword, 1045SyntaxKind.ClassKeyword, 1046SyntaxKind.EnumKeyword, 1047SyntaxKind.StructureKeyword, 1048SyntaxKind.InterfaceKeyword, 1049SyntaxKind.FunctionKeyword, 1050SyntaxKind.OperatorKeyword, 1051SyntaxKind.PropertyKeyword, 1052SyntaxKind.EventKeyword 1055Case SyntaxKind.IdentifierToken 1057Dim contextualKind As SyntaxKind = Nothing 1060If contextualKind = SyntaxKind.CustomKeyword AndAlso PeekToken(1).Kind = SyntaxKind.EventKeyword Then 1069Case SyntaxKind.SetKeyword, SyntaxKind.LetKeyword 1072Case SyntaxKind.ErrorKeyword 1075Case SyntaxKind.ThrowKeyword 1078Case SyntaxKind.IntegerLiteralToken 1083Case SyntaxKind.IdentifierToken 1093Dim contextualKind As SyntaxKind = Nothing 1096If contextualKind = SyntaxKind.MidKeyword Then 1100If PeekToken(1).Kind = SyntaxKind.OpenParenToken Then 1104ElseIf contextualKind = SyntaxKind.CustomKeyword AndAlso PeekToken(1).Kind = SyntaxKind.EventKeyword Then ' BeginsEvent 1107ElseIf contextualKind = SyntaxKind.AsyncKeyword OrElse contextualKind = SyntaxKind.IteratorKeyword Then 1115ElseIf contextualKind = SyntaxKind.AwaitKeyword AndAlso 1119ElseIf contextualKind = SyntaxKind.YieldKeyword AndAlso 1128Case SyntaxKind.DotToken, 1129SyntaxKind.ExclamationToken, 1130SyntaxKind.MyBaseKeyword, 1131SyntaxKind.MyClassKeyword, 1132SyntaxKind.MeKeyword, 1133SyntaxKind.GlobalKeyword, 1134SyntaxKind.ShortKeyword, 1135SyntaxKind.UShortKeyword, 1136SyntaxKind.IntegerKeyword, 1137SyntaxKind.UIntegerKeyword, 1138SyntaxKind.LongKeyword, 1139SyntaxKind.ULongKeyword, 1140SyntaxKind.DecimalKeyword, 1141SyntaxKind.SingleKeyword, 1142SyntaxKind.DoubleKeyword, 1143SyntaxKind.SByteKeyword, 1144SyntaxKind.ByteKeyword, 1145SyntaxKind.BooleanKeyword, 1146SyntaxKind.CharKeyword, 1147SyntaxKind.DateKeyword, 1148SyntaxKind.StringKeyword, 1149SyntaxKind.VariantKeyword, 1150SyntaxKind.ObjectKeyword, 1151SyntaxKind.DirectCastKeyword, 1152SyntaxKind.TryCastKeyword, 1153SyntaxKind.CTypeKeyword, 1154SyntaxKind.CBoolKeyword, 1155SyntaxKind.CDateKeyword, 1156SyntaxKind.CDblKeyword, 1157SyntaxKind.CSByteKeyword, 1158SyntaxKind.CByteKeyword, 1159SyntaxKind.CCharKeyword, 1160SyntaxKind.CShortKeyword, 1161SyntaxKind.CUShortKeyword, 1162SyntaxKind.CIntKeyword, 1163SyntaxKind.CUIntKeyword, 1164SyntaxKind.CLngKeyword, 1165SyntaxKind.CULngKeyword, 1166SyntaxKind.CSngKeyword, 1167SyntaxKind.CStrKeyword, 1168SyntaxKind.CDecKeyword, 1169SyntaxKind.CObjKeyword, 1170SyntaxKind.GetTypeKeyword, 1171SyntaxKind.GetXmlNamespaceKeyword 1174Case SyntaxKind.EmptyToken 1177Case SyntaxKind.ColonToken, 1178SyntaxKind.StatementTerminatorToken 1181Case SyntaxKind.EraseKeyword 1184Case SyntaxKind.GetKeyword 1185If (IsValidStatementTerminator(PeekToken(1)) OrElse PeekToken(1).Kind = SyntaxKind.OpenParenToken) AndAlso 1186Context.IsWithin(SyntaxKind.SetAccessorBlock, SyntaxKind.GetAccessorBlock) Then 1188Return ParsePropertyOrEventAccessor(SyntaxKind.GetAccessorStatement, Nothing, Nothing) 1193Case SyntaxKind.GosubKeyword 1198Case SyntaxKind.InheritsKeyword, 1199SyntaxKind.ImplementsKeyword, 1200SyntaxKind.OptionKeyword, 1201SyntaxKind.ImportsKeyword, 1202SyntaxKind.DeclareKeyword, 1203SyntaxKind.DelegateKeyword, 1204SyntaxKind.InterfaceKeyword, 1205SyntaxKind.PropertyKeyword, 1206SyntaxKind.SubKeyword, 1207SyntaxKind.FunctionKeyword, 1208SyntaxKind.OperatorKeyword, 1209SyntaxKind.EventKeyword, 1210SyntaxKind.NamespaceKeyword, 1211SyntaxKind.ClassKeyword, 1212SyntaxKind.StructureKeyword, 1213SyntaxKind.EnumKeyword, 1214SyntaxKind.ModuleKeyword 1219Case SyntaxKind.QuestionToken 1245Debug.Assert(CurrentToken.Kind = SyntaxKind.EmptyToken) 1290Case SyntaxKind.PropertyKeyword 1293Case SyntaxKind.IdentifierToken 1294If Context.BlockKind = SyntaxKind.EnumBlock AndAlso Not modifiers.Any Then 1299If keyword.Kind = SyntaxKind.CustomKeyword Then 1302ElseIf keyword.Kind = SyntaxKind.TypeKeyword Then 1304If nextToken.Kind = SyntaxKind.IdentifierToken AndAlso 1306modifiers.AnyAndOnly(SyntaxKind.PublicKeyword, SyntaxKind.ProtectedKeyword, SyntaxKind.FriendKeyword, SyntaxKind.PrivateKeyword) Then 1318Case SyntaxKind.EnumKeyword 1321Case SyntaxKind.ModuleKeyword, SyntaxKind.ClassKeyword, SyntaxKind.StructureKeyword, SyntaxKind.InterfaceKeyword 1324Case SyntaxKind.DeclareKeyword 1327Case SyntaxKind.EventKeyword 1330Case SyntaxKind.SubKeyword 1333Case SyntaxKind.FunctionKeyword 1336Case SyntaxKind.OperatorKeyword 1339Case SyntaxKind.DelegateKeyword 1342Case SyntaxKind.AddHandlerKeyword 1343statement = ParsePropertyOrEventAccessor(SyntaxKind.AddHandlerAccessorStatement, attributes, modifiers) 1345Case SyntaxKind.RemoveHandlerKeyword 1346statement = ParsePropertyOrEventAccessor(SyntaxKind.RemoveHandlerAccessorStatement, attributes, modifiers) 1348Case SyntaxKind.RaiseEventKeyword 1349statement = ParsePropertyOrEventAccessor(SyntaxKind.RaiseEventAccessorStatement, attributes, modifiers) 1351Case SyntaxKind.GetKeyword 1352statement = ParsePropertyOrEventAccessor(SyntaxKind.GetAccessorStatement, attributes, modifiers) 1354Case SyntaxKind.SetKeyword 1355statement = ParsePropertyOrEventAccessor(SyntaxKind.SetAccessorStatement, attributes, modifiers) 1360Case SyntaxKind.InheritsKeyword, 1361SyntaxKind.ImplementsKeyword 1364Case SyntaxKind.ImportsKeyword 1367Case SyntaxKind.NamespaceKeyword 1370Case SyntaxKind.OptionKeyword 1380SyntaxKind.ModuleBlock, 1381SyntaxKind.StructureBlock, 1382SyntaxKind.InterfaceBlock, 1383SyntaxKind.ClassBlock, 1384SyntaxKind.EnumBlock, 1385SyntaxKind.PropertyBlock, 1386SyntaxKind.NamespaceBlock, 1387SyntaxKind.CompilationUnit 1438Debug.Assert(CurrentToken.Kind = SyntaxKind.EnumKeyword, "ParseEnumStatement called on the wrong token.") 1447If CurrentToken.Kind = SyntaxKind.OpenParenToken Then 1454identifier = identifier.AddTrailingSyntax(ResyncAt({SyntaxKind.AsKeyword})) 1457If CurrentToken.Kind = SyntaxKind.AsKeyword Then 1510ident = ident.AddTrailingSyntax(ResyncAt({SyntaxKind.EqualsToken})) 1519If TryGetTokenAndEatNewLine(SyntaxKind.EqualsToken, optionalEquals) Then 1557Dim kind As SyntaxKind 1565Case SyntaxKind.ModuleKeyword 1566kind = SyntaxKind.ModuleStatement 1568Case SyntaxKind.ClassKeyword 1569kind = SyntaxKind.ClassStatement 1571Case SyntaxKind.StructureKeyword 1572kind = SyntaxKind.StructureStatement 1574Case SyntaxKind.InterfaceKeyword 1575kind = SyntaxKind.InterfaceStatement 1584ident = ident.AddTrailingSyntax(ResyncAt({SyntaxKind.OfKeyword, SyntaxKind.OpenParenToken})) 1587If CurrentToken.Kind = SyntaxKind.OpenParenToken Then 1590If kind = SyntaxKind.ModuleStatement Then 1599If (kind = SyntaxKind.ModuleStatement OrElse kind = SyntaxKind.InterfaceStatement) AndAlso statement.Modifiers.Any(SyntaxKind.PartialKeyword) Then 1600statement = CheckFeatureAvailability(If(kind = SyntaxKind.ModuleStatement, Feature.PartialModules, Feature.PartialInterfaces), statement) 1639Debug.Assert(CurrentToken.Kind = SyntaxKind.NamespaceKeyword, "ParseNamespaceStatement called on the wrong token.") 1677Debug.Assert(CurrentToken.Kind = SyntaxKind.EndKeyword, "ParseEndStatement called on wrong token.") 1714Debug.Assert(CurrentToken.Kind = SyntaxKind.EndKeyword, "ParseGroupEndStatement called on wrong token.") 1722If endKind = SyntaxKind.None Then 1737Private Function PeekEndStatement(i As Integer) As SyntaxKind 1741Case SyntaxKind.LoopKeyword 1742Return SyntaxKind.SimpleLoopStatement 1744Case SyntaxKind.NextKeyword 1745Return SyntaxKind.NextStatement 1747Case SyntaxKind.EndKeyword 1752Case SyntaxKind.EndIfKeyword 1753Return SyntaxKind.EndIfStatement 1755Case SyntaxKind.WendKeyword 1756Return SyntaxKind.EndWhileStatement 1759Return SyntaxKind.None 1762Private Shared Function GetEndStatementKindFromKeyword(kind As SyntaxKind) As SyntaxKind 1765Case SyntaxKind.IfKeyword 1766Return SyntaxKind.EndIfStatement 1768Case SyntaxKind.UsingKeyword 1769Return SyntaxKind.EndUsingStatement 1771Case SyntaxKind.WithKeyword 1772Return SyntaxKind.EndWithStatement 1774Case SyntaxKind.StructureKeyword 1775Return SyntaxKind.EndStructureStatement 1777Case SyntaxKind.EnumKeyword 1778Return SyntaxKind.EndEnumStatement 1780Case SyntaxKind.InterfaceKeyword 1781Return SyntaxKind.EndInterfaceStatement 1783Case SyntaxKind.SubKeyword 1784Return SyntaxKind.EndSubStatement 1786Case SyntaxKind.FunctionKeyword 1787Return SyntaxKind.EndFunctionStatement 1789Case SyntaxKind.OperatorKeyword 1790Return SyntaxKind.EndOperatorStatement 1792Case SyntaxKind.SelectKeyword 1793Return SyntaxKind.EndSelectStatement 1795Case SyntaxKind.TryKeyword 1796Return SyntaxKind.EndTryStatement 1798Case SyntaxKind.GetKeyword 1799Return SyntaxKind.EndGetStatement 1801Case SyntaxKind.SetKeyword 1802Return SyntaxKind.EndSetStatement 1804Case SyntaxKind.PropertyKeyword 1805Return SyntaxKind.EndPropertyStatement 1807Case SyntaxKind.AddHandlerKeyword 1808Return SyntaxKind.EndAddHandlerStatement 1810Case SyntaxKind.RemoveHandlerKeyword 1811Return SyntaxKind.EndRemoveHandlerStatement 1813Case SyntaxKind.RaiseEventKeyword 1814Return SyntaxKind.EndRaiseEventStatement 1816Case SyntaxKind.EventKeyword 1817Return SyntaxKind.EndEventStatement 1819Case SyntaxKind.ClassKeyword 1820Return SyntaxKind.EndClassStatement 1822Case SyntaxKind.ModuleKeyword 1823Return SyntaxKind.EndModuleStatement 1825Case SyntaxKind.NamespaceKeyword 1826Return SyntaxKind.EndNamespaceStatement 1828Case SyntaxKind.SyncLockKeyword 1829Return SyntaxKind.EndSyncLockStatement 1831Case SyntaxKind.WhileKeyword 1832Return SyntaxKind.EndWhileStatement 1835Return SyntaxKind.None 1848Case SyntaxKind.PartialKeyword, 1849SyntaxKind.PrivateKeyword, 1850SyntaxKind.ProtectedKeyword, 1851SyntaxKind.PublicKeyword, 1852SyntaxKind.FriendKeyword, 1853SyntaxKind.NotOverridableKeyword, 1854SyntaxKind.OverridableKeyword, 1855SyntaxKind.MustInheritKeyword, 1856SyntaxKind.MustOverrideKeyword, 1857SyntaxKind.NotInheritableKeyword, 1858SyntaxKind.StaticKeyword, 1859SyntaxKind.SharedKeyword, 1860SyntaxKind.WithEventsKeyword, 1861SyntaxKind.OverloadsKeyword, 1862SyntaxKind.OverridesKeyword, 1863SyntaxKind.WideningKeyword, 1864SyntaxKind.NarrowingKeyword, 1865SyntaxKind.ReadOnlyKeyword, 1866SyntaxKind.WriteOnlyKeyword, 1867SyntaxKind.DefaultKeyword, 1868SyntaxKind.ShadowsKeyword, 1869SyntaxKind.CustomKeyword, 1870SyntaxKind.AsyncKeyword, 1871SyntaxKind.IteratorKeyword 1873Case SyntaxKind.IdentifierToken 1875Case SyntaxKind.CustomKeyword, 1876SyntaxKind.AsyncKeyword, 1877SyntaxKind.IteratorKeyword 1883Case SyntaxKind.SubKeyword, 1884SyntaxKind.FunctionKeyword, 1885SyntaxKind.OperatorKeyword, 1886SyntaxKind.PropertyKeyword, 1887SyntaxKind.NamespaceKeyword, 1888SyntaxKind.ClassKeyword, 1889SyntaxKind.ModuleKeyword, 1890SyntaxKind.StructureKeyword, 1891SyntaxKind.InterfaceKeyword, 1892SyntaxKind.EnumKeyword, 1893SyntaxKind.EventKeyword, 1894SyntaxKind.GetKeyword, 1895SyntaxKind.SetKeyword, 1896SyntaxKind.DeclareKeyword, 1897SyntaxKind.DelegateKeyword 1941Case SyntaxKind.PublicKeyword, 1942SyntaxKind.PrivateKeyword, 1943SyntaxKind.ProtectedKeyword, 1944SyntaxKind.FriendKeyword 1947Case SyntaxKind.SharedKeyword, 1948SyntaxKind.ShadowsKeyword 1951Case SyntaxKind.MustInheritKeyword, 1952SyntaxKind.OverloadsKeyword, 1953SyntaxKind.NotInheritableKeyword, 1954SyntaxKind.OverridesKeyword 1957Case SyntaxKind.PartialKeyword 1960Case SyntaxKind.NotOverridableKeyword, 1961SyntaxKind.OverridableKeyword, 1962SyntaxKind.MustOverrideKeyword 1965Case SyntaxKind.ReadOnlyKeyword, 1966SyntaxKind.WriteOnlyKeyword 1968Case SyntaxKind.DimKeyword, 1969SyntaxKind.ConstKeyword, 1970SyntaxKind.StaticKeyword, 1971SyntaxKind.DefaultKeyword, 1972SyntaxKind.WithEventsKeyword 1975Case SyntaxKind.WideningKeyword, 1976SyntaxKind.NarrowingKeyword 1978Case SyntaxKind.IdentifierToken 1986If possibleKeyword.Kind = SyntaxKind.CustomKeyword Then 1989If nextToken.Kind = SyntaxKind.EventKeyword Then 1998ElseIf possibleKeyword.Kind = SyntaxKind.AsyncKeyword OrElse 1999possibleKeyword.Kind = SyntaxKind.IteratorKeyword Then 2006t = CheckFeatureAvailability(If(possibleKeyword.Kind = SyntaxKind.AsyncKeyword, Feature.AsyncExpressions, Feature.Iterators), t) 2061SyntaxKind.ModuleBlock, 2062SyntaxKind.StructureBlock, 2063SyntaxKind.InterfaceBlock, 2064SyntaxKind.ClassBlock, 2065SyntaxKind.EnumBlock, 2066SyntaxKind.PropertyBlock, 2067SyntaxKind.NamespaceBlock, 2068SyntaxKind.CompilationUnit 2086If modifiers.Any(SyntaxKind.StaticKeyword) Then 2129declarator = ResyncAt(declarator, SyntaxKind.AsKeyword, SyntaxKind.CommaToken, SyntaxKind.NewKeyword, SyntaxKind.EqualsToken) 2135If Not TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 2161If Not TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 2190If CurrentToken.Kind = SyntaxKind.AsKeyword Then 2197If CurrentToken.Kind = SyntaxKind.NewKeyword Then 2201If isProperty AndAlso CurrentToken.Kind = SyntaxKind.LessThanToken Then 2205If CurrentToken.Kind = SyntaxKind.WithKeyword Then 2214If CurrentToken.Kind = SyntaxKind.OpenParenToken Then 2221TryEatNewLineIfFollowedBy(SyntaxKind.FromKeyword) ' Dev10_509577 2226If TryTokenAsContextualKeyword(CurrentToken, SyntaxKind.FromKeyword, fromKeyword) Then 2237SyntaxKind.ObjectCreationExpression, 2246If isProperty AndAlso CurrentToken.Kind = SyntaxKind.LessThanToken Then 2253typeName = ResyncAt(typeName, SyntaxKind.CommaToken, SyntaxKind.EqualsToken) 2266If TryGetTokenAndEatNewLine(SyntaxKind.EqualsToken, Equals) Then 2278optionalInitializer = ResyncAt(optionalInitializer, SyntaxKind.CommaToken) 2289If CurrentToken.Kind = SyntaxKind.WithKeyword Then 2313If CurrentToken.Kind = SyntaxKind.IdentifierToken AndAlso TryIdentifierAsContextualKeyword(CurrentToken, possibleKeyword) Then 2316If possibleKeyword.Kind = SyntaxKind.FromKeyword Then 2336SyntaxKind.AnonymousObjectCreationExpression, newKeyword, Nothing, objectMemberInitializer) 2340SyntaxKind.ObjectCreationExpression, newKeyword, 2362If Not TryGetTokenAndEatNewLine(SyntaxKind.OpenBraceToken, openBrace, createIfMissing:=True) Then 2363Return SyntaxFactory.CollectionInitializer(openBrace, Nothing, InternalSyntaxFactory.MissingPunctuation(SyntaxKind.CloseBraceToken)) 2368If CurrentToken.Kind <> SyntaxKind.CloseBraceToken Then 2377Initializer = ResyncAt(Initializer, SyntaxKind.CommaToken, SyntaxKind.CloseBraceToken) 2383If TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 2407If CurrentToken.Kind <> SyntaxKind.CloseBraceToken Then 2408skipped = ResyncAt({SyntaxKind.CloseBraceToken}) 2411TryEatNewLineAndGetToken(SyntaxKind.CloseBraceToken, closeBrace, createIfMissing:=True) 2432Debug.Assert(CurrentToken.Kind = SyntaxKind.WithKeyword, "ParseObjectInitializerList called with wrong token") 2446If PeekPastStatementTerminator().Kind = SyntaxKind.OpenBraceToken Then 2458If Not TryGetTokenAndEatNewLine(SyntaxKind.OpenBraceToken, openBrace, createIfMissing:=True) Then 2459Return SyntaxFactory.ObjectMemberInitializer(withKeyword, openBrace, Nothing, InternalSyntaxFactory.MissingPunctuation(SyntaxKind.CloseBraceToken)) 2464If CurrentToken.Kind <> SyntaxKind.CloseBraceToken AndAlso 2465CurrentToken.Kind <> SyntaxKind.StatementTerminatorToken AndAlso 2466CurrentToken.Kind <> SyntaxKind.ColonToken Then 2477initializer = ResyncAt(initializer, SyntaxKind.CommaToken, SyntaxKind.CloseBraceToken) 2483If TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 2529If CurrentToken.Kind = SyntaxKind.StatementTerminatorToken AndAlso PeekToken(1).Kind = SyntaxKind.OpenBraceToken Then 2556TryTokenAsContextualKeyword(CurrentToken, SyntaxKind.KeyKeyword, optionalKey) Then 2560If CurrentToken.Kind = SyntaxKind.DotToken Then 2566If SyntaxKind.QuestionToken = CurrentToken.Kind Then 2574If CurrentToken.Kind = SyntaxKind.EqualsToken Then 2579equals = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.EqualsToken) 2601Case SyntaxKind.NumericLiteralExpression, 2602SyntaxKind.CharacterLiteralExpression, 2603SyntaxKind.StringLiteralExpression, 2604SyntaxKind.DateLiteralExpression 2608If expression.Kind = SyntaxKind.EqualsExpression Then 2610If binaryExpr.Left.Kind = SyntaxKind.IdentifierName Then 2616Dim skipped = ResyncAt({SyntaxKind.CommaToken, SyntaxKind.CloseBraceToken}) 2636dot = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.DotToken) 2639equals = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.EqualsToken) 2679If TryTokenAsContextualKeyword(identifierStart, SyntaxKind.CustomKeyword, keyword) Then 2731If CurrentToken.Kind = SyntaxKind.OpenParenToken Then 2762Case SyntaxKind.GlobalKeyword, 2763SyntaxKind.IdentifierToken 2806Case SyntaxKind.VariantKeyword 2810Case SyntaxKind.GlobalKeyword, 2811SyntaxKind.IdentifierToken 2828Case SyntaxKind.OpenParenToken 2832TryGetTokenAndEatNewLine(SyntaxKind.OpenParenToken, openParen) 2837If Start.Kind = SyntaxKind.NewKeyword AndAlso PeekToken(1).Kind = SyntaxKind.IdentifierToken Then 2841ElseIf Start.Kind = SyntaxKind.OpenBraceToken AndAlso prev IsNot Nothing AndAlso prev.Kind = SyntaxKind.NewKeyword Then 2871If SyntaxKind.QuestionToken = CurrentToken.Kind Then 2908If CurrentToken.Kind = SyntaxKind.IdentifierToken AndAlso 2910PeekNextToken().Kind = SyntaxKind.AsKeyword) Then 2913TryGetToken(SyntaxKind.AsKeyword, asKeywordOpt) 2941If TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, commaToken) Then 2945ElseIf CurrentToken.Kind = SyntaxKind.CloseParenToken OrElse MustEndStatement(CurrentToken) Then 2951Dim skipped = ResyncAt({SyntaxKind.CommaToken, SyntaxKind.CloseParenToken}).Node 2956If CurrentToken.Kind = SyntaxKind.CommaToken Then 2969TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 2977elementBuilder.AddSeparator(InternalSyntaxFactory.MissingToken(SyntaxKind.CommaToken)) 2995Case SyntaxKind.QualifiedName 3009Case SyntaxKind.GenericName 3056If CurrentToken.Kind = SyntaxKind.OpenParenToken Then 3100Debug.Assert(CurrentToken.Kind = SyntaxKind.OpenParenToken, "Generic arguments parsing lost!!!") 3106TryGetTokenAndEatNewLine(SyntaxKind.OfKeyword, [of], createIfMissing:=True) 3116If CurrentToken.Kind = SyntaxKind.CommaToken OrElse CurrentToken.Kind = SyntaxKind.CloseParenToken Then 3144typeName = ResyncAt(typeName, SyntaxKind.CloseParenToken, SyntaxKind.CommaToken) 3150If Not TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 3160TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 3172Debug.Assert(CurrentToken.Kind = SyntaxKind.OpenParenToken, "should be a (.") 3183TryGetTokenAndEatNewLine(SyntaxKind.OpenParenToken, openParen) 3185If CurrentToken.Kind = SyntaxKind.CommaToken Then 3187commas = ParseSeparators(SyntaxKind.CommaToken) 3189ElseIf CurrentToken.Kind <> SyntaxKind.CloseParenToken Then 3197TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 3211Loop While CurrentToken.Kind = SyntaxKind.OpenParenToken 3229Debug.Assert(CurrentToken.Kind = SyntaxKind.OpenParenToken, "should be a (.") 3244Debug.Assert(CurrentToken.Kind = SyntaxKind.OpenParenToken) 3245TryGetTokenAndEatNewLine(SyntaxKind.OpenParenToken, openParen) 3247If CurrentToken.Kind = SyntaxKind.CommaToken Then 3249commas = ParseSeparators(SyntaxKind.CommaToken) 3251ElseIf CurrentToken.Kind <> SyntaxKind.CloseParenToken Then 3257TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 3284Loop While CurrentToken.Kind = SyntaxKind.OpenParenToken 3302If arg.Kind <> SyntaxKind.OmittedArgument Then 3322Private Function ParseSeparators(kind As SyntaxKind) As CoreInternalSyntax.SyntaxList(Of PunctuationSyntax) 3350upperBound = ResyncAt(upperBound, SyntaxKind.CommaToken, SyntaxKind.CloseParenToken, SyntaxKind.AsKeyword) 3352ElseIf CurrentToken.Kind = SyntaxKind.ToKeyword Then 3364upperBound = ResyncAt(upperBound, SyntaxKind.CommaToken, SyntaxKind.CloseParenToken, SyntaxKind.AsKeyword) 3378If Not TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 3392Private Function ParsePropertyOrEventAccessor(accessorKind As SyntaxKind, attributes As CoreInternalSyntax.SyntaxList(Of AttributeListSyntax), modifiers As CoreInternalSyntax.SyntaxList(Of KeywordSyntax)) As AccessorStatementSyntax 3393Debug.Assert(CurrentToken.Kind = SyntaxKind.GetKeyword OrElse CurrentToken.Kind = SyntaxKind.SetKeyword OrElse 3394CurrentToken.Kind = SyntaxKind.AddHandlerKeyword OrElse CurrentToken.Kind = SyntaxKind.RemoveHandlerKeyword OrElse CurrentToken.Kind = SyntaxKind.RaiseEventKeyword) 3414If methodKeyword.Kind <> SyntaxKind.GetKeyword AndAlso 3415CurrentToken.Kind = SyntaxKind.OpenParenToken Then 3425(methodKeyword.Kind = SyntaxKind.AddHandlerKeyword OrElse 3426methodKeyword.Kind = SyntaxKind.RemoveHandlerKeyword OrElse 3427methodKeyword.Kind = SyntaxKind.RaiseEventKeyword) Then 3451Debug.Assert(CurrentToken.Kind = SyntaxKind.ImplementsKeyword, "Implements list parsing lost.") 3484If Not TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 3502Debug.Assert(CurrentToken.Kind = SyntaxKind.HandlesKeyword, "Handles list parsing lost.") 3513If CurrentToken.Kind = SyntaxKind.MyBaseKeyword OrElse 3514CurrentToken.Kind = SyntaxKind.MyClassKeyword OrElse 3515CurrentToken.Kind = SyntaxKind.MeKeyword Then 3520ElseIf CurrentToken.Kind = SyntaxKind.GlobalKeyword Then 3536If TryGetTokenAndEatNewLine(SyntaxKind.DotToken, Dot, createIfMissing:=True) Then 3543If identContainer IsNot Nothing AndAlso TryGetTokenAndEatNewLine(SyntaxKind.DotToken, secondDot, createIfMissing:=True) Then 3560If CurrentToken.Kind <> SyntaxKind.CommaToken Then 3561item = ResyncAt(item, SyntaxKind.CommaToken) 3568If Not TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 3604Debug.Assert(subKeyword.Kind = SyntaxKind.SubKeyword, "must be at a Sub.") 3614_isInAsyncMethodDeclarationHeader = modifiers.Any(SyntaxKind.AsyncKeyword) 3615_isInIteratorMethodDeclarationHeader = modifiers.Any(SyntaxKind.IteratorKeyword) 3630If CurrentToken.Kind = SyntaxKind.NewKeyword Then 3635ParseSubOrDelegateStatement(If(newKeyword Is Nothing, SyntaxKind.SubStatement, SyntaxKind.SubNewStatement), name, genericParams, parameters, handlesClause, implementsClause) 3670kind As SyntaxKind, 3677Debug.Assert(kind = SyntaxKind.SubStatement OrElse 3678kind = SyntaxKind.SubNewStatement OrElse 3679kind = SyntaxKind.DelegateSubStatement, "Wrong kind passed to ParseSubOrDelegateStatement") 3684If kind <> SyntaxKind.SubNewStatement Then 3688ident = ident.AddTrailingSyntax(ResyncAt({SyntaxKind.OpenParenToken, SyntaxKind.OfKeyword})) 3696If kind = SyntaxKind.SubNewStatement Then 3716If CurrentToken.Kind = SyntaxKind.HandlesKeyword Then 3719If kind = SyntaxKind.DelegateSubStatement Then 3723ElseIf CurrentToken.Kind = SyntaxKind.ImplementsKeyword Then 3726If kind = SyntaxKind.DelegateSubStatement Then 3734If CurrentToken.Kind = SyntaxKind.OpenParenToken Then 3769Debug.Assert(functionKeyword.Kind = SyntaxKind.FunctionKeyword, "Function parsing lost.") 3779_isInAsyncMethodDeclarationHeader = modifiers.Any(SyntaxKind.AsyncKeyword) 3780_isInIteratorMethodDeclarationHeader = modifiers.Any(SyntaxKind.IteratorKeyword) 3796ParseFunctionOrDelegateStatement(SyntaxKind.FunctionStatement, name, genericParams, parameters, asClause, handlesClause, implementsClause) 3809Private Sub ParseFunctionOrDelegateStatement(kind As SyntaxKind, 3818kind = SyntaxKind.FunctionStatement OrElse 3819kind = SyntaxKind.DelegateFunctionStatement, "Wrong kind passed to ParseFunctionOrDelegateStatement") 3826If CurrentToken.Kind = SyntaxKind.NewKeyword Then 3838ident = ident.AddTrailingSyntax(ResyncAt({SyntaxKind.OpenParenToken, SyntaxKind.AsKeyword})) 3855If CurrentToken.Kind = SyntaxKind.AsKeyword Then 3859If CurrentToken.Kind = SyntaxKind.LessThanToken Then 3874If CurrentToken.Kind = SyntaxKind.HandlesKeyword Then 3877If kind = SyntaxKind.DelegateFunctionStatement Then 3882ElseIf CurrentToken.Kind = SyntaxKind.ImplementsKeyword Then 3885If kind = SyntaxKind.DelegateFunctionStatement Then 3918Debug.Assert(operatorKeyword.Kind = SyntaxKind.OperatorKeyword, "Operator parsing lost.") 3952Dim validMissingOperator = InternalSyntaxFactory.MissingToken(SyntaxKind.PlusToken) 3957ElseIf operatorKind <> SyntaxKind.OpenParenToken AndAlso Not IsValidStatementTerminator(operatorToken) Then 3977If CurrentToken.Kind <> SyntaxKind.OpenParenToken Then 3980operatorToken = operatorToken.AddTrailingSyntax(ResyncAt({SyntaxKind.OpenParenToken, SyntaxKind.AsKeyword})) 3983If CurrentToken.Kind = SyntaxKind.OpenParenToken Then 3989openParen = DirectCast(HandleUnexpectedToken(SyntaxKind.OpenParenToken), PunctuationSyntax) 3995closeParen = DirectCast(HandleUnexpectedToken(SyntaxKind.CloseParenToken), PunctuationSyntax) 4011If CurrentToken.Kind = SyntaxKind.AsKeyword Then 4015If CurrentToken.Kind = SyntaxKind.LessThanToken Then 4038If CurrentToken.Kind = SyntaxKind.HandlesKeyword Then 4043ElseIf CurrentToken.Kind = SyntaxKind.ImplementsKeyword Then 4096Debug.Assert(CurrentToken.Kind = SyntaxKind.PropertyKeyword, "ParsePropertyDefinition called on the wrong token.") 4104If CurrentToken.Kind = SyntaxKind.GetKeyword OrElse 4105CurrentToken.Kind = SyntaxKind.SetKeyword OrElse 4106CurrentToken.Kind = SyntaxKind.LetKeyword Then 4114If CurrentToken.Kind = SyntaxKind.IdentifierToken Then 4136If CurrentToken.Kind = SyntaxKind.OpenParenToken Then 4142Dim unexpected = ResyncAt({SyntaxKind.AsKeyword, SyntaxKind.ImplementsKeyword, SyntaxKind.EqualsToken}) 4161If CurrentToken.Kind = SyntaxKind.ImplementsKeyword Then 4172If CurrentToken.Kind <> SyntaxKind.EndOfFileToken Then 4174If peek.Kind <> SyntaxKind.GetKeyword AndAlso peek.Kind <> SyntaxKind.SetKeyword Then 4175If Context.BlockKind <> SyntaxKind.InterfaceBlock AndAlso Not propertyStatement.Modifiers.Any(SyntaxKind.MustOverrideKeyword) Then 4179If propertyStatement Is originalStatement AndAlso propertyStatement.Modifiers.Any(SyntaxKind.ReadOnlyKeyword) Then 4202Debug.Assert(CurrentToken.Kind = SyntaxKind.DelegateKeyword, "ParseDelegateStatement called on the wrong token.") 4206Dim delegateKind As SyntaxKind 4219Case SyntaxKind.SubKeyword 4220delegateKind = SyntaxKind.DelegateSubStatement 4223ParseSubOrDelegateStatement(SyntaxKind.DelegateSubStatement, name, genericParams, parameters, handlesClause, implementsClause) 4225Case SyntaxKind.FunctionKeyword 4226delegateKind = SyntaxKind.DelegateFunctionStatement 4229ParseFunctionOrDelegateStatement(SyntaxKind.DelegateFunctionStatement, name, genericParams, parameters, asClause, handlesClause, implementsClause) 4235delegateKind = SyntaxKind.DelegateSubStatement 4237methodKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.SubKeyword) 4242ParseSubOrDelegateStatement(SyntaxKind.DelegateSubStatement, name, genericParams, parameters, handlesClause, implementsClause) 4275Debug.Assert(CurrentToken.Kind = SyntaxKind.OpenParenToken) 4282TryGetTokenAndEatNewLine(SyntaxKind.OpenParenToken, openParen) 4285TryGetTokenAndEatNewLine(SyntaxKind.OfKeyword, ofKeyword, createIfMissing:=True) 4298If CurrentToken.Kind = SyntaxKind.InKeyword Then 4305If TryTokenAsContextualKeyword(CurrentToken, SyntaxKind.OutKeyword, outKeyword) Then 4309TryEatNewLineIfFollowedBy(SyntaxKind.CloseParenToken) ' dev10_503122 Allow EOL before ')' 4313If CurrentToken.Kind = SyntaxKind.CloseParenToken OrElse CurrentToken.Kind = SyntaxKind.CommaToken OrElse CurrentToken.Kind = SyntaxKind.AsKeyword Then 4331If CurrentToken.Kind = SyntaxKind.AsKeyword Then 4339If TryGetTokenAndEatNewLine(SyntaxKind.OpenBraceToken, openBrace) Then 4346constraint = ResyncAt(constraint, SyntaxKind.CommaToken, SyntaxKind.CloseBraceToken, SyntaxKind.CloseParenToken) 4352If TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 4360TryEatNewLineAndGetToken(SyntaxKind.CloseBraceToken, closeBrace, createIfMissing:=True) 4371constraint = ResyncAt(constraint, SyntaxKind.CloseParenToken) 4384If TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 4392If Not TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=False) Then 4393closeParen = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.CloseParenToken) 4415If CurrentToken.Kind = SyntaxKind.NewKeyword Then 4423ElseIf CurrentToken.Kind = SyntaxKind.ClassKeyword Then 4429ElseIf CurrentToken.Kind = SyntaxKind.StructureKeyword Then 4474Debug.Assert(CurrentToken.Kind = SyntaxKind.OpenParenToken, "Parameter list parsing confused.") 4475TryGetTokenAndEatNewLine(SyntaxKind.OpenParenToken, openParen) 4479If CurrentToken.Kind <> SyntaxKind.CloseParenToken Then 4497param = param.AddTrailingSyntax(ResyncAt({SyntaxKind.CommaToken, SyntaxKind.CloseParenToken})) 4501If Not TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 4503If CurrentToken.Kind <> SyntaxKind.CloseParenToken AndAlso Not MustEndStatement(CurrentToken) Then 4507If PeekToken(1).Kind = SyntaxKind.CloseParenToken Then 4513param = param.AddTrailingSyntax(ResyncAt({SyntaxKind.CommaToken, SyntaxKind.CloseParenToken}), ERRID.ERR_InvalidParameterSyntax) 4515If Not TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 4535TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 4571Case SyntaxKind.ByValKeyword 4578Case SyntaxKind.ByRefKeyword 4588Case SyntaxKind.OptionalKeyword 4595Case SyntaxKind.ParamArrayKeyword 4639If PeekAheadFor(SyntaxKind.AsKeyword, SyntaxKind.CommaToken, SyntaxKind.CloseParenToken) = SyntaxKind.AsKeyword Then 4640paramName = ResyncAt(paramName, SyntaxKind.AsKeyword) 4647If TryGetToken(SyntaxKind.AsKeyword, asKeyword) Then 4653optionalAsClause = ResyncAt(optionalAsClause, SyntaxKind.EqualsToken, SyntaxKind.CommaToken, SyntaxKind.CloseParenToken) 4663If TryGetTokenAndEatNewLine(SyntaxKind.EqualsToken, equals) Then 4665If Not (modifiers.Any AndAlso modifiers.Any(SyntaxKind.OptionalKeyword)) Then 4671ElseIf modifiers.Any AndAlso modifiers.Any(SyntaxKind.OptionalKeyword) Then 4673equals = ReportSyntaxError(InternalSyntaxFactory.MissingPunctuation(SyntaxKind.EqualsToken), ERRID.ERR_ObsoleteOptionalWithoutValue) 4683value = ResyncAt(value, SyntaxKind.CommaToken, SyntaxKind.CloseParenToken) 4697Debug.Assert(CurrentToken.Kind = SyntaxKind.ImportsKeyword, "called on wrong token") 4711If Not TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 4735If CurrentToken.Kind = SyntaxKind.LessThanToken Then 4743If VerifyExpectedToken(SyntaxKind.LessThanToken, lessToken, ScannerState.Element) Then 4744If CurrentToken.Kind = SyntaxKind.XmlNameToken AndAlso 4755Dim unexpected = ResyncAt(ScannerState.Element, {SyntaxKind.GreaterThanToken}) 4763Dim unexpected = ResyncAt(ScannerState.Element, {SyntaxKind.GreaterThanToken}) 4769VerifyExpectedToken(SyntaxKind.GreaterThanToken, greaterToken, ScannerState.Element) 4778If (CurrentToken.Kind = SyntaxKind.IdentifierToken AndAlso 4779PeekToken(1).Kind = SyntaxKind.EqualsToken) OrElse 4780CurrentToken.Kind = SyntaxKind.EqualsToken Then 4815If importsClause.ContainsDiagnostics AndAlso CurrentToken.Kind <> SyntaxKind.CommaToken Then 4818importsClause = importsClause.AddTrailingSyntax(ResyncAt({SyntaxKind.CommaToken})) 4825Dim missingDoubleQuote = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.DoubleQuoteToken) 4830Dim missingXmlName = DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.XmlNameToken), XmlNameTokenSyntax) 4831Dim missingColon = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.ColonToken) 4832Dim missingEquals = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.EqualsToken) 4853Debug.Assert(CurrentToken.Kind = SyntaxKind.InheritsKeyword OrElse CurrentToken.Kind = SyntaxKind.ImplementsKeyword, 4865typeName = ResyncAt(typeName, SyntaxKind.CommaToken) 4872If Not TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 4884Case SyntaxKind.InheritsKeyword 4887Case SyntaxKind.ImplementsKeyword 4915Debug.Assert(CurrentToken.Kind = SyntaxKind.OptionKeyword, "must be at Option.") 4924Case SyntaxKind.CompareKeyword 4930If optionValue.Kind = SyntaxKind.TextKeyword Then 4933ElseIf optionValue.Kind = SyntaxKind.BinaryKeyword Then 4938optionValue = InternalSyntaxFactory.MissingKeyword(SyntaxKind.BinaryKeyword) 4944optionValue = InternalSyntaxFactory.MissingKeyword(SyntaxKind.BinaryKeyword) 4948Case SyntaxKind.ExplicitKeyword, 4949SyntaxKind.StrictKeyword, 4950SyntaxKind.InferKeyword 4954If CurrentToken.Kind = SyntaxKind.OnKeyword Then 4959optionValue.Kind = SyntaxKind.OffKeyword Then 4965If optionType.Kind = SyntaxKind.StrictKeyword Then 4966If optionValue IsNot Nothing AndAlso optionValue.Kind = SyntaxKind.CustomKeyword Then 4972ElseIf optionType.Kind = SyntaxKind.ExplicitKeyword Then 4981Case SyntaxKind.TextKeyword, SyntaxKind.BinaryKeyword 4984optionType = InternalSyntaxFactory.MissingKeyword(SyntaxKind.CompareKeyword) 4988optionType = InternalSyntaxFactory.MissingKeyword(SyntaxKind.StrictKeyword) 4992optionType = InternalSyntaxFactory.MissingKeyword(SyntaxKind.StrictKeyword) 5020Debug.Assert(CurrentToken.Kind = SyntaxKind.DeclareKeyword, "ParseProcDeclareStatement called on wrong token. Must be at a Declare.") 5038Case SyntaxKind.UnicodeKeyword, SyntaxKind.AnsiKeyword, SyntaxKind.AutoKeyword 5046Dim externalKind As SyntaxKind 5048If CurrentToken.Kind = SyntaxKind.SubKeyword Then 5051externalKind = SyntaxKind.DeclareSubStatement 5053ElseIf CurrentToken.Kind = SyntaxKind.FunctionKeyword Then 5056externalKind = SyntaxKind.DeclareFunctionStatement 5059methodKeyword = ReportSyntaxError(InternalSyntaxFactory.MissingKeyword(SyntaxKind.SubKeyword), ERRID.ERR_ExpectedSubFunction) 5060externalKind = SyntaxKind.DeclareSubStatement 5068name = name.AddTrailingSyntax(ResyncAt({SyntaxKind.LibKeyword, SyntaxKind.OpenParenToken})) 5074If CurrentToken.Kind <> SyntaxKind.LibKeyword Then 5078If PeekAheadFor(SyntaxKind.LibKeyword) = SyntaxKind.LibKeyword Then 5079unexpected = ResyncAt({SyntaxKind.LibKeyword}) 5081unexpected = ResyncAt({SyntaxKind.AliasKeyword, SyntaxKind.OpenParenToken}) 5121If methodKeyword.Kind = SyntaxKind.FunctionKeyword AndAlso 5122CurrentToken.Kind = SyntaxKind.AsKeyword Then 5189If VerifyExpectedToken(SyntaxKind.LibKeyword, libKeyword) Then 5194libraryName = ResyncAt(libraryName, SyntaxKind.AliasKeyword, SyntaxKind.OpenParenToken) 5201If CurrentToken.Kind = SyntaxKind.AliasKeyword Then 5208optionalAliasName = ResyncAt(optionalAliasName, SyntaxKind.OpenParenToken) 5225Debug.Assert(CurrentToken.Kind = SyntaxKind.IdentifierToken AndAlso DirectCast(CurrentToken, IdentifierTokenSyntax).PossibleKeywordKind = SyntaxKind.CustomKeyword, "ParseCustomEventDefinition called on the wrong token.") 5241If nextToken.Kind <> SyntaxKind.EventKeyword Then 5259If CurrentToken.Kind = SyntaxKind.AsKeyword Then 5276If CurrentToken.Kind = SyntaxKind.OpenParenToken Then 5287If CurrentToken.Kind = SyntaxKind.AsKeyword Then 5291asKeyword = asKeyword.AddTrailingSyntax(ResyncAt({SyntaxKind.ImplementsKeyword})) 5293asKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.AsKeyword) 5302If CurrentToken.Kind = SyntaxKind.ImplementsKeyword Then 5332Debug.Assert(CurrentToken.Kind = SyntaxKind.EventKeyword, "ParseEventDefinition called on the wrong token.") 5349If CurrentToken.Kind = SyntaxKind.AsKeyword Then 5367If CurrentToken.Kind = SyntaxKind.OpenParenToken Then 5373If CurrentToken.Kind = SyntaxKind.AsKeyword Then 5375closeParen = closeParen.AddTrailingSyntax(ResyncAt({SyntaxKind.ImplementsKeyword}), ERRID.ERR_EventsCantBeFunctions) 5377ident = ident.AddTrailingSyntax(ResyncAt({SyntaxKind.ImplementsKeyword}), ERRID.ERR_EventsCantBeFunctions) 5389If CurrentToken.Kind = SyntaxKind.ImplementsKeyword Then 5402Debug.Assert(CurrentToken.Kind = SyntaxKind.LessThanGreaterThanToken) 5418SyntaxKind.LessThanToken, 5423SyntaxKind.GreaterThanToken, 5453Debug.Assert(CurrentToken.Kind = SyntaxKind.LessThanToken, "ParseAttributeSpecifier called on the wrong token.") 5461TryGetTokenAndEatNewLine(SyntaxKind.LessThanToken, lessThan) 5480assemblyOrModuleKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.AssemblyKeyword) 5482colonToken = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.ColonToken) 5487If CurrentToken.Kind = SyntaxKind.ColonToken Then 5498Debug.Assert(current.Kind = SyntaxKind.ColonToken) 5502colonToken = DirectCast(HandleUnexpectedToken(SyntaxKind.ColonToken), PunctuationSyntax) 5527typeName = ResyncAt(typeName, SyntaxKind.GreaterThanToken) 5529ElseIf CurrentToken.Kind = SyntaxKind.OpenParenToken Then 5538If Not TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 5550Dim endsWithGreaterThan As Boolean = TryEatNewLineAndGetToken(SyntaxKind.GreaterThanToken, greaterThan, createIfMissing:=True) 5563Loop While CurrentToken.Kind = SyntaxKind.LessThanToken 5573If token.Kind = SyntaxKind.ModuleKeyword Then 5578TryTokenAsContextualKeyword(token, SyntaxKind.AssemblyKeyword, keyword) 5586Friend Shared Function GetBinaryOperatorHelper(t As SyntaxToken) As SyntaxKind 5610Case SyntaxKind.IdentifierToken, 5611SyntaxKind.OpenParenToken, 5612SyntaxKind.IntegerLiteralToken, 5613SyntaxKind.CharacterLiteralToken, 5614SyntaxKind.DateLiteralToken, 5615SyntaxKind.FloatingLiteralToken, 5616SyntaxKind.DecimalLiteralToken, 5617SyntaxKind.StringLiteralToken, 5618SyntaxKind.TrueKeyword, 5619SyntaxKind.FalseKeyword, 5620SyntaxKind.NothingKeyword, 5621SyntaxKind.CBoolKeyword, 5622SyntaxKind.CDateKeyword, 5623SyntaxKind.CDblKeyword, 5624SyntaxKind.CSByteKeyword, 5625SyntaxKind.CByteKeyword, 5626SyntaxKind.CCharKeyword, 5627SyntaxKind.CShortKeyword, 5628SyntaxKind.CUShortKeyword, 5629SyntaxKind.CIntKeyword, 5630SyntaxKind.CUIntKeyword, 5631SyntaxKind.CLngKeyword, 5632SyntaxKind.CULngKeyword, 5633SyntaxKind.CSngKeyword, 5634SyntaxKind.CStrKeyword, 5635SyntaxKind.CDecKeyword, 5636SyntaxKind.CObjKeyword, 5637SyntaxKind.CTypeKeyword, 5638SyntaxKind.IfKeyword, 5639SyntaxKind.DirectCastKeyword, 5640SyntaxKind.TryCastKeyword, 5641SyntaxKind.NotKeyword, 5642SyntaxKind.PlusToken, 5643SyntaxKind.MinusToken, 5644SyntaxKind.StatementTerminatorToken 5658Case SyntaxKind.NotKeyword, 5659SyntaxKind.AndKeyword, 5660SyntaxKind.AndAlsoKeyword, 5661SyntaxKind.OrKeyword, 5662SyntaxKind.OrElseKeyword, 5663SyntaxKind.XorKeyword, 5664SyntaxKind.AsteriskToken, 5665SyntaxKind.PlusToken, 5666SyntaxKind.MinusToken, 5667SyntaxKind.SlashToken, 5668SyntaxKind.BackslashToken, 5669SyntaxKind.ModKeyword, 5670SyntaxKind.CaretToken, 5671SyntaxKind.LessThanToken, 5672SyntaxKind.LessThanEqualsToken, 5673SyntaxKind.LessThanGreaterThanToken, 5674SyntaxKind.EqualsToken, 5675SyntaxKind.GreaterThanToken, 5676SyntaxKind.GreaterThanEqualsToken, 5677SyntaxKind.LessThanLessThanToken, 5678SyntaxKind.GreaterThanGreaterThanToken, 5679SyntaxKind.AmpersandToken 5711Case SyntaxKind.EndOfLineTrivia, 5712SyntaxKind.DocumentationCommentTrivia, 5713SyntaxKind.IfDirectiveTrivia, 5714SyntaxKind.ElseIfDirectiveTrivia, 5715SyntaxKind.ElseDirectiveTrivia, 5716SyntaxKind.EndIfDirectiveTrivia, 5717SyntaxKind.RegionDirectiveTrivia, 5718SyntaxKind.EndRegionDirectiveTrivia, 5719SyntaxKind.ConstDirectiveTrivia, 5720SyntaxKind.ExternalSourceDirectiveTrivia, 5721SyntaxKind.EndExternalSourceDirectiveTrivia, 5722SyntaxKind.ExternalChecksumDirectiveTrivia, 5723SyntaxKind.EnableWarningDirectiveTrivia, 5724SyntaxKind.DisableWarningDirectiveTrivia, 5725SyntaxKind.ReferenceDirectiveTrivia, 5726SyntaxKind.BadDirectiveTrivia 5730If kind <> SyntaxKind.WhitespaceTrivia AndAlso kind <> SyntaxKind.LineContinuationTrivia Then 5741If CurrentToken.Kind = SyntaxKind.StatementTerminatorToken AndAlso 5749If stmt.Kind <> SyntaxKind.BadDirectiveTrivia Then 5772Debug.Assert(CurrentToken.Kind = SyntaxKind.ColonToken) 5779Debug.Assert(SyntaxFacts.IsTerminator(CurrentToken.Kind) OrElse CurrentToken.Kind = SyntaxKind.EmptyToken) 5782Case SyntaxKind.EndOfFileToken 5786Case SyntaxKind.StatementTerminatorToken 5789Case SyntaxKind.ColonToken 5817If peekedEndKind <> SyntaxKind.None Then 5830Case SyntaxKind.LessThanToken 5834Case SyntaxKind.CatchKeyword, 5835SyntaxKind.FinallyKeyword 5837Dim closedContext = context.FindNearest(SyntaxKind.TryBlock, SyntaxKind.CatchBlock) 5840Case SyntaxKind.ElseKeyword, 5841SyntaxKind.ElseIfKeyword 5843Dim closedContext = context.FindNearest(SyntaxKind.SingleLineIfStatement, SyntaxKind.MultiLineIfBlock) 5851Private Function TryGetToken(Of T As SyntaxToken)(kind As SyntaxKind, ByRef token As T) As Boolean 5862kind As SyntaxKind, 5879kind As SyntaxKind, 5892kind As SyntaxKind, 5900If CurrentToken.Kind = SyntaxKind.StatementTerminatorToken AndAlso 5915kind As SyntaxKind, 5925If CurrentToken.Kind = SyntaxKind.StatementTerminatorToken Then 5939kind As SyntaxKind, 6035Private Shared Function TryIdentifierAsContextualKeyword(id As SyntaxToken, ByRef kind As SyntaxKind) As Boolean 6049Private Function TryTokenAsContextualKeyword(t As SyntaxToken, kind As SyntaxKind, ByRef k As KeywordSyntax) As Boolean 6063Private Shared Function TryTokenAsKeyword(t As SyntaxToken, ByRef kind As SyntaxKind) As Boolean 6067Private Shared ReadOnly s_isTokenOrKeywordFunc As Func(Of SyntaxToken, SyntaxKind(), Boolean) = AddressOf IsTokenOrKeyword 6069Private Shared Function IsTokenOrKeyword(token As SyntaxToken, kinds As SyntaxKind()) As Boolean 6070Debug.Assert(Not kinds.Contains(SyntaxKind.IdentifierToken)) 6071If token.Kind = SyntaxKind.IdentifierToken Then 6078Private Shared Function IsToken(token As SyntaxToken, ParamArray kinds As SyntaxKind()) As Boolean 6083If Me.CurrentToken.Kind = SyntaxKind.EndOfFileToken Then Return node 6085While (Me.CurrentToken.Kind <> SyntaxKind.EndOfFileToken)
Parser\ParserExtensions.vb (2)
21ParamArray kinds As SyntaxKind()) As Boolean 34ParamArray kinds As SyntaxKind()) As Boolean
Parser\ParseScan.vb (39)
28If PeekToken(i).Kind = SyntaxKind.StatementTerminatorToken Then 29If PeekToken(i + 1).Kind <> SyntaxKind.EmptyToken Then 39If t1.Kind = SyntaxKind.StatementTerminatorToken Then 41If t2.Kind <> SyntaxKind.EmptyToken Then 81T.Kind = SyntaxKind.ElseKeyword 87CanFollowExpression(nextToken) AndAlso Not nextToken.Kind = SyntaxKind.SelectKeyword, 88IsValidStatementTerminator(nextToken)) OrElse (Context.IsLineIf AndAlso nextToken.Kind = SyntaxKind.ElseKeyword) 105Return CanFollowStatement(t) OrElse t.Kind = SyntaxKind.ElseKeyword 116Dim kind As SyntaxKind = Nothing 118If t.Kind = SyntaxKind.IdentifierToken AndAlso TryIdentifierAsContextualKeyword(t, kind) Then 132If CurrentToken.Kind = SyntaxKind.OpenParenToken Then 140If t.Kind = SyntaxKind.OfKeyword Then 155Case SyntaxKind.CloseParenToken, SyntaxKind.CommaToken 199Private Function PeekAheadFor(ParamArray kinds As SyntaxKind()) As SyntaxKind 243Private Sub ResyncAt(skippedTokens As SyntaxListBuilder(Of SyntaxToken), state As ScannerState, resyncTokens As SyntaxKind()) 246While CurrentToken.Kind <> SyntaxKind.EndOfFileToken 249If IsValidStatementTerminator(CurrentToken) OrElse CurrentToken.Kind = SyntaxKind.EmptyToken Then 252ElseIf CurrentToken.Kind = SyntaxKind.EndOfXmlToken OrElse CurrentToken.Kind = SyntaxKind.EndOfInterpolatedStringToken Then 265Private Function ResyncAt(state As ScannerState, resyncTokens As SyntaxKind()) As CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of SyntaxToken) 282While CurrentToken.Kind <> SyntaxKind.EndOfFileToken AndAlso 283CurrentToken.Kind <> SyntaxKind.StatementTerminatorToken 289If CurrentToken.Kind = SyntaxKind.StatementTerminatorToken Then 304Return ResyncAt(ScannerState.VB, Array.Empty(Of SyntaxKind)) 307Friend Function ResyncAt(resyncTokens As SyntaxKind()) As CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of SyntaxToken) 316Private Function ResyncAt(Of T As GreenNode)(syntax As T, ParamArray resyncTokens As SyntaxKind()) As T 330If CurrentToken.Kind = SyntaxKind.StatementTerminatorToken AndAlso 331PeekEndStatement(1) = SyntaxKind.None AndAlso 360Private Function TryEatNewLineIfFollowedBy(kind As SyntaxKind) As Boolean 379Private Function TryEatNewLineIfNotFollowedBy(kind As SyntaxKind) As Boolean 397Private Function NextLineStartsWith(kind As SyntaxKind) As Boolean 406ElseIf nextToken.Kind = SyntaxKind.IdentifierToken Then 407Dim contextualKind As SyntaxKind = Nothing 421Return kind = SyntaxKind.EmptyToken OrElse kind = SyntaxKind.EndOfFileToken 424Private Shared Function CanUseInTryGetToken(kind As SyntaxKind) As Boolean 425Return Not SyntaxFacts.IsTerminator(kind) AndAlso kind <> SyntaxKind.EmptyToken
Parser\ParseStatement.vb (305)
25Debug.Assert(CurrentToken.Kind = SyntaxKind.ContinueKeyword, "ParseContinueStatement called on wrong token") 30Dim kind As SyntaxKind 35Case SyntaxKind.DoKeyword 36kind = SyntaxKind.ContinueDoStatement 40Case SyntaxKind.ForKeyword 41kind = SyntaxKind.ContinueForStatement 45Case SyntaxKind.WhileKeyword 46kind = SyntaxKind.ContinueWhileStatement 62Case SyntaxKind.SimpleDoLoopBlock, 63SyntaxKind.DoWhileLoopBlock 65kind = SyntaxKind.ContinueDoStatement 66blockKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.DoKeyword) 68Case SyntaxKind.ForBlock, SyntaxKind.ForEachBlock 69kind = SyntaxKind.ContinueForStatement 70blockKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.ForKeyword) 72Case SyntaxKind.WhileBlock 73kind = SyntaxKind.ContinueWhileStatement 74blockKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.WhileKeyword) 83kind = SyntaxKind.ContinueDoStatement 84blockKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.DoKeyword) 96Debug.Assert(CurrentToken.Kind = SyntaxKind.ExitKeyword, "ParseExitStatement called on wrong token") 102Dim kind As SyntaxKind 107Case SyntaxKind.DoKeyword 108kind = SyntaxKind.ExitDoStatement 112Case SyntaxKind.ForKeyword 113kind = SyntaxKind.ExitForStatement 117Case SyntaxKind.WhileKeyword 118kind = SyntaxKind.ExitWhileStatement 122Case SyntaxKind.SelectKeyword 123kind = SyntaxKind.ExitSelectStatement 132Case SyntaxKind.SubKeyword 134kind = SyntaxKind.ExitSubStatement 138Case SyntaxKind.FunctionKeyword 140kind = SyntaxKind.ExitFunctionStatement 144Case SyntaxKind.PropertyKeyword 146kind = SyntaxKind.ExitPropertyStatement 150Case SyntaxKind.TryKeyword 151kind = SyntaxKind.ExitTryStatement 163Case SyntaxKind.SimpleDoLoopBlock, 164SyntaxKind.DoWhileLoopBlock 166kind = SyntaxKind.ExitDoStatement 167blockKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.DoKeyword) 169Case SyntaxKind.ForBlock, SyntaxKind.ForEachBlock 170kind = SyntaxKind.ExitForStatement 171blockKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.ForKeyword) 173Case SyntaxKind.WhileBlock 174kind = SyntaxKind.ExitWhileStatement 175blockKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.WhileKeyword) 177Case SyntaxKind.SelectBlock 178kind = SyntaxKind.ExitSelectStatement 179blockKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.SelectKeyword) 181Case SyntaxKind.SubBlock, SyntaxKind.ConstructorBlock 182kind = SyntaxKind.ExitSubStatement 183blockKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.SubKeyword) 185Case SyntaxKind.FunctionBlock 186kind = SyntaxKind.ExitFunctionStatement 187blockKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.FunctionKeyword) 189Case SyntaxKind.PropertyBlock 190kind = SyntaxKind.ExitPropertyStatement 191blockKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.PropertyKeyword) 193Case SyntaxKind.TryBlock 194kind = SyntaxKind.ExitTryStatement 195blockKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.TryKeyword) 208Case SyntaxKind.OperatorKeyword 211Case SyntaxKind.AddHandlerKeyword, 212SyntaxKind.RemoveHandlerKeyword, 213SyntaxKind.RaiseEventKeyword 219statement = SyntaxFactory.ReturnStatement(InternalSyntaxFactory.MissingKeyword(SyntaxKind.ReturnKeyword), Nothing) 230kind = SyntaxKind.ExitSubStatement 231blockKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.SubKeyword) 244Debug.Assert(CurrentToken.Kind = SyntaxKind.CaseKeyword, "ParseCaseStatement called on wrong token.") 252If CurrentToken.Kind = SyntaxKind.ElseKeyword Then 262Dim StartCase As SyntaxKind = CurrentToken.Kind ' dev10_500588 Snap the start of the expression token AFTER we've moved off the EOL (if one is present) 265If StartCase = SyntaxKind.IsKeyword OrElse SyntaxFacts.IsRelationalOperator(StartCase) Then 269TryGetTokenAndEatNewLine(SyntaxKind.IsKeyword, optionalIsKeyword) 289Dim relationalOperator = ReportSyntaxError(InternalSyntaxFactory.MissingPunctuation(SyntaxKind.EqualsToken), ERRID.ERR_ExpectedRelational) 291caseClause = ResyncAt(InternalSyntaxFactory.RelationalCaseClause(SyntaxKind.CaseEqualsClause, optionalIsKeyword, relationalOperator, InternalSyntaxFactory.MissingExpression)) 299value = ResyncAt(value, SyntaxKind.ToKeyword) 303If TryGetToken(SyntaxKind.ToKeyword, toKeyword) Then 321If Not TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 345Private Shared Function RelationalOperatorKindToCaseKind(kind As SyntaxKind) As SyntaxKind 348Case SyntaxKind.LessThanToken 349Return SyntaxKind.CaseLessThanClause 351Case SyntaxKind.LessThanEqualsToken 352Return SyntaxKind.CaseLessThanOrEqualClause 354Case SyntaxKind.EqualsToken 355Return SyntaxKind.CaseEqualsClause 357Case SyntaxKind.LessThanGreaterThanToken 358Return SyntaxKind.CaseNotEqualsClause 360Case SyntaxKind.GreaterThanToken 361Return SyntaxKind.CaseGreaterThanClause 363Case SyntaxKind.GreaterThanEqualsToken 364Return SyntaxKind.CaseGreaterThanOrEqualClause 374Debug.Assert(CurrentToken.Kind = SyntaxKind.SelectKeyword, "ParseSelectStatement called on wrong token.") 383TryGetToken(SyntaxKind.CaseKeyword, optionalCaseKeyword) 410Debug.Assert(CurrentToken.Kind = SyntaxKind.IfKeyword, "ParseIfConstruct called on wrong token.") 418condition = ResyncAt(condition, SyntaxKind.ThenKeyword) 422TryGetToken(SyntaxKind.ThenKeyword, thenKeyword) 432Debug.Assert(CurrentToken.Kind = SyntaxKind.ElseKeyword, "ParseIfConstruct called on wrong token.") 444Debug.Assert(CurrentToken.Kind = SyntaxKind.ElseIfKeyword OrElse (CurrentToken.Kind = SyntaxKind.ElseKeyword AndAlso PeekToken(1).Kind = SyntaxKind.IfKeyword), 449If CurrentToken.Kind = SyntaxKind.ElseIfKeyword Then 454ElseIf CurrentToken.Kind = SyntaxKind.ElseKeyword Then 470elseIfKeyword = New KeywordSyntax(SyntaxKind.ElseIfKeyword, MergeTokenText(elseKeyword, ifKeyword), elseKeyword.GetLeadingTrivia(), ifKeyword.GetTrailingTrivia()) 476condition = ResyncAt(condition, SyntaxKind.ThenKeyword) 480TryGetToken(SyntaxKind.ThenKeyword, thenKeyword) 489Debug.Assert(CurrentToken.Kind = SyntaxKind.EndIfKeyword OrElse 490CurrentToken.Kind = SyntaxKind.GosubKeyword OrElse 491CurrentToken.Kind = SyntaxKind.WendKeyword, "ParseAnachronisticEndIfStatement called on wrong token") 498Dim missingEndKeyword As KeywordSyntax = InternalSyntaxFactory.MissingKeyword(SyntaxKind.EndKeyword) 503Case SyntaxKind.EndIfKeyword 506statement = SyntaxFactory.EndIfStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.IfKeyword)) 509Case SyntaxKind.WendKeyword 512statement = SyntaxFactory.EndWhileStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.WhileKeyword)) 515Case SyntaxKind.GosubKeyword 528Debug.Assert(CurrentToken.Kind = SyntaxKind.DoKeyword, "ParseDoStatement called on wrong token") 539Dim kind As SyntaxKind 541kind = SyntaxKind.SimpleDoStatement 542ElseIf optionalWhileOrUntilClause.Kind = SyntaxKind.WhileClause Then 543kind = SyntaxKind.DoWhileStatement 545kind = SyntaxKind.DoUntilStatement 555Debug.Assert(CurrentToken.Kind = SyntaxKind.LoopKeyword, "ParseDoStatement called on wrong token") 565Dim kind As SyntaxKind 567kind = SyntaxKind.SimpleLoopStatement 568ElseIf optionalWhileOrUntilClause.Kind = SyntaxKind.WhileClause Then 569kind = SyntaxKind.LoopWhileStatement 571kind = SyntaxKind.LoopUntilStatement 581Debug.Assert(CurrentToken.Kind = SyntaxKind.ForKeyword, "ParseForStatement called on wrong token") 589If TryGetToken(SyntaxKind.EachKeyword, eachKeyword) Then 606controlVariable = ResyncAt(controlVariable, SyntaxKind.InKeyword) 609TryEatNewLineIfFollowedBy(SyntaxKind.InKeyword) 612If TryGetTokenAndEatNewLine(SyntaxKind.InKeyword, inKeyword) Then 623inKeyword = DirectCast(HandleUnexpectedToken(SyntaxKind.InKeyword), KeywordSyntax) 624expression = InternalSyntaxFactory.MissingExpression.AddTrailingSyntax(ResyncAt({SyntaxKind.ToKeyword}), ERRID.ERR_Syntax) 640controlVariable = ResyncAt(controlVariable, SyntaxKind.EqualsToken, SyntaxKind.ToKeyword) 650If TryGetTokenAndEatNewLine(SyntaxKind.EqualsToken, equalsToken) Then 657fromValue = ResyncAt(fromValue, SyntaxKind.ToKeyword) 663equalsToken = DirectCast(HandleUnexpectedToken(SyntaxKind.EqualsToken), PunctuationSyntax) 665fromValue = InternalSyntaxFactory.MissingExpression.AddTrailingSyntax(ResyncAt({SyntaxKind.ToKeyword}), ERRID.ERR_Syntax) 670If TryGetToken(SyntaxKind.ToKeyword, toKeyword) Then 676toValue = ResyncAt(toValue, SyntaxKind.StepKeyword) 681toKeyword = DirectCast(HandleUnexpectedToken(SyntaxKind.ToKeyword), KeywordSyntax) 683toValue = InternalSyntaxFactory.MissingExpression.AddTrailingSyntax(ResyncAt({SyntaxKind.ToKeyword})) 691If TryGetToken(SyntaxKind.StepKeyword, stepKeyword) Then 710Debug.Assert(CurrentToken.Kind = SyntaxKind.NextKeyword, "ParseNextStatement called on wrong token") 736enclosing.BlockKind <> SyntaxKind.ForBlock AndAlso 737enclosing.BlockKind <> SyntaxKind.ForEachBlock Then 746If Not TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 786Case SyntaxKind.IdentifierToken 790Case SyntaxKind.QuestionToken, SyntaxKind.AsKeyword 793Case SyntaxKind.OpenParenToken 795Dim i = PeekAheadFor(s_isTokenOrKeywordFunc, {SyntaxKind.AsKeyword, SyntaxKind.InKeyword, SyntaxKind.EqualsToken}, lookAhead) 797lookAhead.Kind = SyntaxKind.AsKeyword AndAlso 798PeekToken(i - 1).Kind = SyntaxKind.CloseParenToken Then 836If PeekAheadFor(SyntaxKind.AsKeyword, SyntaxKind.InKeyword, SyntaxKind.EqualsToken) = SyntaxKind.AsKeyword Then 837Declarator = ResyncAt(Declarator, SyntaxKind.AsKeyword) 845If CurrentToken.Kind = SyntaxKind.AsKeyword Then 874If label.Kind = SyntaxKind.IdentifierToken Then 884ElseIf label.Kind = SyntaxKind.IntegerLiteralToken Then 896intLiteral = New IntegerLiteralTokenSyntax(Of ULong)(SyntaxKind.IntegerLiteralToken, intLiteral.ToString, intLiteral.GetLeadingTrivia, intLiteral.GetTrailingTrivia, intLiteral.Base, TypeCharacter.None, intLiteralValue) 920Debug.Assert(CurrentToken.Kind = SyntaxKind.GoToKeyword, "Alleged GOTO isn't.") 939Debug.Assert(labelName.Kind = SyntaxKind.IntegerLiteralToken OrElse labelName.Kind = SyntaxKind.IdentifierToken) 940Return If(labelName.Kind = SyntaxKind.IntegerLiteralToken, SyntaxFactory.NumericLabel(labelName), SyntaxFactory.IdentifierLabel(labelName)) 949Debug.Assert(CurrentToken.Kind = SyntaxKind.OnKeyword, "ON statement must start with ON.") 956If CurrentToken.Kind = SyntaxKind.ErrorKeyword Then 961errorKeyword = ReportSyntaxError(InternalSyntaxFactory.MissingKeyword(SyntaxKind.ErrorKeyword), ERRID.ERR_ObsoleteOnGotoGosub) 962errorKeyword = ResyncAt(errorKeyword, SyntaxKind.GoToKeyword, SyntaxKind.ResumeKeyword) 965If CurrentToken.Kind = SyntaxKind.ResumeKeyword Then 969ElseIf CurrentToken.Kind = SyntaxKind.GoToKeyword Then 974Dim missingGotoKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.GoToKeyword) 980Dim statement = SyntaxFactory.OnErrorGoToStatement(SyntaxKind.OnErrorGoToLabelStatement, 994Debug.Assert(CurrentToken.Kind = SyntaxKind.ResumeKeyword, "ParseOnErrorResumeNext called on wrong token.") 1001VerifyExpectedToken(SyntaxKind.NextKeyword, nextKeyword) 1009Debug.Assert(CurrentToken.Kind = SyntaxKind.GoToKeyword, "ParseOnErrorGoto called on wrong token.") 1015Dim kind As SyntaxKind 1019If nextToken.Kind = SyntaxKind.IntegerLiteralToken AndAlso 1022kind = SyntaxKind.OnErrorGoToZeroStatement 1028ElseIf nextToken.Kind = SyntaxKind.MinusToken AndAlso 1029PeekToken(2).Kind = SyntaxKind.IntegerLiteralToken AndAlso 1032kind = SyntaxKind.OnErrorGoToMinusOneStatement 1042kind = SyntaxKind.OnErrorGoToLabelStatement 1056Debug.Assert(CurrentToken.Kind = SyntaxKind.ResumeKeyword, "ParseResumeStatement called on wrong token.") 1066If CurrentToken.Kind = SyntaxKind.NextKeyword Then 1091target = ResyncAt(target, SyntaxKind.EqualsToken) 1118If target.Kind = SyntaxKind.ConditionalAccessExpression Then 1126ElseIf target.Kind <> SyntaxKind.InvocationExpression Then ' VS320205 1128CurrentToken.Kind <> SyntaxKind.BadToken AndAlso 1129target.Kind <> SyntaxKind.PredefinedCastExpression Then 1143Dim closeParen = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.CloseParenToken) 1147Dim argumentList = SyntaxFactory.ArgumentList(InternalSyntaxFactory.MissingPunctuation(SyntaxKind.OpenParenToken), 1163Case SyntaxKind.EqualsToken 1166Case SyntaxKind.PlusEqualsToken 1169Case SyntaxKind.MinusEqualsToken 1172Case SyntaxKind.AsteriskEqualsToken 1175Case SyntaxKind.SlashEqualsToken 1178Case SyntaxKind.BackslashEqualsToken 1181Case SyntaxKind.CaretEqualsToken 1184Case SyntaxKind.LessThanLessThanEqualsToken 1187Case SyntaxKind.GreaterThanGreaterThanEqualsToken 1190Case SyntaxKind.AmpersandEqualsToken 1204Debug.Assert(CurrentToken.Kind = SyntaxKind.CallKeyword, "ParseCallStatement called on wrong token.") 1222If expr.Kind = SyntaxKind.ConditionalAccessExpression Then 1230ElseIf expr.Kind <> SyntaxKind.InvocationExpression Then 1243Debug.Assert(CurrentToken.Kind = SyntaxKind.RaiseEventKeyword, "RaiseEvent statement must start with RaiseEvent.") 1256If CurrentToken.Kind = SyntaxKind.OpenParenToken Then 1271Debug.Assert(CurrentToken.Kind = SyntaxKind.ReDimKeyword, "ParseRedimStatement must start with Redim.") 1278If CurrentToken.Kind = SyntaxKind.IdentifierToken AndAlso 1279TryIdentifierAsContextualKeyword(CurrentToken, possibleKeyword) AndAlso possibleKeyword.Kind = SyntaxKind.PreserveKeyword Then 1296If possibleInvocation.Kind = SyntaxKind.InvocationExpression Then 1306clause = SyntaxFactory.RedimClause(possibleInvocation, SyntaxFactory.ArgumentList(InternalSyntaxFactory.MissingPunctuation(SyntaxKind.OpenParenToken), 1308InternalSyntaxFactory.MissingPunctuation(SyntaxKind.CloseParenToken))) 1314If Not TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 1329If CurrentToken.Kind = SyntaxKind.AsKeyword Then 1343Debug.Assert(CurrentToken.Kind = SyntaxKind.AddHandlerKeyword OrElse CurrentToken.Kind = SyntaxKind.RemoveHandlerKeyword, "Handler statement parsing confused.") 1346Dim kind = If(keyword.Kind = SyntaxKind.AddHandlerKeyword, SyntaxKind.AddHandlerStatement, SyntaxKind.RemoveHandlerStatement) 1352eventExpression = ResyncAt(eventExpression, SyntaxKind.CommaToken) 1356TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, commaToken, createIfMissing:=True) 1381Debug.Assert(CurrentToken.Kind = SyntaxKind.WhileKeyword OrElse 1382CurrentToken.Kind = SyntaxKind.WithKeyword OrElse 1383CurrentToken.Kind = SyntaxKind.SyncLockKeyword, "ParseExpressionBlockStatement called on wrong token.") 1398Case SyntaxKind.WhileKeyword 1400Case SyntaxKind.WithKeyword 1402Case SyntaxKind.SyncLockKeyword 1415Debug.Assert(CurrentToken.Kind = SyntaxKind.LetKeyword OrElse CurrentToken.Kind = SyntaxKind.SetKeyword, "Assignment statement parsing is lost.") 1418If CurrentToken.Kind = SyntaxKind.SetKeyword AndAlso 1419(IsValidStatementTerminator(PeekToken(1)) OrElse PeekToken(1).Kind = SyntaxKind.OpenParenToken) AndAlso 1420Context.IsWithin(SyntaxKind.SetAccessorBlock, SyntaxKind.GetAccessorBlock) Then 1423Return ParsePropertyOrEventAccessor(SyntaxKind.SetAccessorStatement, Nothing, Nothing) 1439Debug.Assert(CurrentToken.Kind = SyntaxKind.TryKeyword, "ParseTry called on wrong token") 1454Debug.Assert(CurrentToken.Kind = SyntaxKind.CatchKeyword, "ParseCatch called on wrong token.") 1463If CurrentToken.Kind = SyntaxKind.IdentifierToken Then 1465If id.Kind <> SyntaxKind.None Then 1472If TryGetToken(SyntaxKind.AsKeyword, asKeyword) Then 1477typeName = ResyncAt(typeName, SyntaxKind.WhenKeyword) 1487If TryGetToken(SyntaxKind.WhenKeyword, whenKeyword) Then 1503Debug.Assert(CurrentToken.Kind = SyntaxKind.FinallyKeyword, "ParseFinally called on wrong token.") 1514Debug.Assert(CurrentToken.Kind = SyntaxKind.ThrowKeyword, "ParseThrowStatement called on wrong token.") 1532Debug.Assert(CurrentToken.Kind = SyntaxKind.ErrorKeyword) 1555Debug.Assert(CurrentToken.Kind = SyntaxKind.EraseKeyword, "Erase statement parsing lost.") 1570Return IsFirstStatementOnLine(CurrentToken) AndAlso PeekToken(1).Kind = SyntaxKind.ColonToken 1574Debug.Assert(CurrentToken.Kind = SyntaxKind.IdentifierToken OrElse CurrentToken.Kind = SyntaxKind.IntegerLiteralToken) 1578If labelName.Kind = SyntaxKind.IntegerLiteralToken AndAlso CurrentToken.Kind <> SyntaxKind.ColonToken Then 1579Return ReportSyntaxError(SyntaxFactory.LabelStatement(labelName, InternalSyntaxFactory.MissingPunctuation(SyntaxKind.ColonToken)), ERRID.ERR_ObsoleteLineNumbersAreLabels) 1586If trivia(i).Kind = SyntaxKind.ColonTrivia Then 1597Dim colonToken = New PunctuationSyntax(SyntaxKind.ColonToken, colonTrivia.Text, Nothing, trivia.Node) 1611Debug.Assert(CurrentToken.Kind = SyntaxKind.IdentifierToken AndAlso DirectCast(CurrentToken, IdentifierTokenSyntax).PossibleKeywordKind = SyntaxKind.MidKeyword) 1619Debug.Assert(CurrentToken.Kind = SyntaxKind.OpenParenToken) 1621TryGetTokenAndEatNewLine(SyntaxKind.OpenParenToken, openParen) 1629If Not TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 1630VerifyExpectedToken(SyntaxKind.CommaToken, comma) 1638If TryGetTokenAndEatNewLine(SyntaxKind.CommaToken, comma) Then 1649TryEatNewLineAndGetToken(SyntaxKind.CloseParenToken, closeParen, createIfMissing:=True) 1652VerifyExpectedToken(SyntaxKind.EqualsToken, equals) 1675If CurrentToken.Kind = SyntaxKind.WhileKeyword Then 1678TryTokenAsContextualKeyword(CurrentToken, SyntaxKind.UntilKeyword, keyword) 1692Dim kind As SyntaxKind 1693If keyword.Kind = SyntaxKind.WhileKeyword Then 1694kind = SyntaxKind.WhileClause 1696kind = SyntaxKind.UntilClause 1703Dim kind As SyntaxKind 1704If precedingKeyword.Kind = SyntaxKind.DoKeyword Then 1705kind = SyntaxKind.UntilClause 1706keyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.UntilKeyword) 1708kind = SyntaxKind.WhileClause 1709keyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.WhileKeyword) 1725Debug.Assert(CurrentToken.Kind = SyntaxKind.ReturnKeyword, "ParseReturnStatement called on wrong token.") 1776Debug.Assert(CurrentToken.Kind = SyntaxKind.StopKeyword OrElse CurrentToken.Kind = SyntaxKind.EndKeyword, "ParseStopOrEndStatement called on wrong token.") 1781Dim stmtKind As SyntaxKind = If(stopOrEndKeyword.Kind = SyntaxKind.StopKeyword, SyntaxKind.StopStatement, SyntaxKind.EndStatement) 1789Debug.Assert(CurrentToken.Kind = SyntaxKind.UsingKeyword, "ParseUsingStatement called on wrong token") 1800If nextToken.Kind = SyntaxKind.AsKeyword OrElse 1801nextToken.Kind = SyntaxKind.EqualsToken OrElse 1802nextToken.Kind = SyntaxKind.CommaToken OrElse 1803nextToken.Kind = SyntaxKind.QuestionToken Then 1821Debug.Assert(CurrentToken.Kind = SyntaxKind.IdentifierToken AndAlso 1822DirectCast(CurrentToken, IdentifierTokenSyntax).ContextualKind = SyntaxKind.AwaitKeyword, 1827Debug.Assert(expression.Kind = SyntaxKind.AwaitExpression) 1840Debug.Assert(DirectCast(CurrentToken, IdentifierTokenSyntax).ContextualKind = SyntaxKind.YieldKeyword) 1846Debug.Assert(yieldKeyword IsNot Nothing AndAlso yieldKeyword.Kind = SyntaxKind.YieldKeyword) 1868If lookahead.Kind <> SyntaxKind.EndOfFileToken OrElse _scanner.Options.Kind = SourceCodeKind.Regular Then
Parser\ParseTerminal.vb (12)
37If CurrentToken.Kind = SyntaxKind.IdentifierToken Then 41If (identifier.ContextualKind = SyntaxKind.AwaitKeyword AndAlso IsWithinAsyncMethodOrLambda) OrElse 42(identifier.ContextualKind = SyntaxKind.YieldKeyword AndAlso IsWithinIteratorContext) Then 65If (CurrentToken.Kind = SyntaxKind.BadToken AndAlso CurrentToken.Text = "_") Then 84If SyntaxKind.QuestionToken = CurrentToken.Kind AndAlso Not identifier.ContainsDiagnostics Then 112If CurrentToken.Kind = SyntaxKind.IdentifierToken Then 162Debug.Assert(CurrentToken.Kind = SyntaxKind.IntegerLiteralToken, "Expected Integer literal.") 171Debug.Assert(CurrentToken.Kind = SyntaxKind.CharacterLiteralToken, "Expected Char literal.") 181Debug.Assert(CurrentToken.Kind = SyntaxKind.DecimalLiteralToken, "must be at a decimal literal.") 198VerifyExpectedToken(SyntaxKind.StringLiteralToken, stringToken) 205CurrentToken.Kind = SyntaxKind.FloatingLiteralToken, 217CurrentToken.Kind = SyntaxKind.DateLiteralToken,
Parser\ParseVerify.vb (40)
20Private Shared Function HandleUnexpectedToken(kind As SyntaxKind) As SyntaxToken 26Private Shared Function HandleUnexpectedKeyword(kind As SyntaxKind) As KeywordSyntax 32Private Shared Function GetUnexpectedTokenErrorId(kind As SyntaxKind) As ERRID 35Case SyntaxKind.AsKeyword 38Case SyntaxKind.ByKeyword 41Case SyntaxKind.CloseBraceToken 44Case SyntaxKind.CloseParenToken 47Case SyntaxKind.CommaToken 50Case SyntaxKind.DoubleQuoteToken 53Case SyntaxKind.DotToken 56Case SyntaxKind.EndCDataToken 59Case SyntaxKind.EqualsKeyword 62Case SyntaxKind.EqualsToken 65Case SyntaxKind.GreaterThanToken 68Case SyntaxKind.IdentifierToken 71Case SyntaxKind.IntegerLiteralToken 74Case SyntaxKind.InKeyword 77Case SyntaxKind.IntoKeyword 80Case SyntaxKind.IsKeyword 83Case SyntaxKind.JoinKeyword 86Case SyntaxKind.LessThanToken, 87SyntaxKind.LessThanSlashToken 90Case SyntaxKind.LessThanPercentEqualsToken 93Case SyntaxKind.LibKeyword 96Case SyntaxKind.MinusToken 99Case SyntaxKind.MinusMinusGreaterThanToken 102Case SyntaxKind.NextKeyword 105Case SyntaxKind.OfKeyword 108Case SyntaxKind.OnKeyword 111Case SyntaxKind.OpenBraceToken 114Case SyntaxKind.OpenParenToken 117Case SyntaxKind.PercentGreaterThanToken 120Case SyntaxKind.QuestionGreaterThanToken 123Case SyntaxKind.SemicolonToken 126Case SyntaxKind.SingleQuoteToken 129Case SyntaxKind.SlashToken 132Case SyntaxKind.StringLiteralToken 135Case SyntaxKind.XmlNameToken 138Case SyntaxKind.WarningKeyword 161kind As SyntaxKind,
Parser\ParseXml.vb (322)
22Debug.Assert(CurrentToken.Kind = SyntaxKind.LessThanToken OrElse 23CurrentToken.Kind = SyntaxKind.LessThanGreaterThanToken OrElse 24CurrentToken.Kind = SyntaxKind.LessThanSlashToken OrElse 25CurrentToken.Kind = SyntaxKind.BeginCDataToken OrElse 26CurrentToken.Kind = SyntaxKind.LessThanExclamationMinusMinusToken OrElse 27CurrentToken.Kind = SyntaxKind.LessThanQuestionToken, "ParseXmlMarkup called on the wrong token.") 34If CurrentToken.Kind = SyntaxKind.LessThanQuestionToken Then 49Debug.Assert(CurrentToken.Kind = SyntaxKind.LessThanQuestionToken, "ParseXmlDocument called on wrong token") 54If nextToken.Kind = SyntaxKind.XmlNameToken AndAlso DirectCast(nextToken, XmlNameTokenSyntax).PossibleKeywordKind = SyntaxKind.XmlKeyword Then 70Case SyntaxKind.LessThanToken 73Case SyntaxKind.LessThanPercentEqualsToken 78body = SyntaxFactory.XmlEmptyElement(DirectCast(HandleUnexpectedToken(SyntaxKind.LessThanToken), PunctuationSyntax), 79SyntaxFactory.XmlName(Nothing, DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.XmlNameToken), XmlNameTokenSyntax)), 81InternalSyntaxFactory.MissingPunctuation(SyntaxKind.SlashGreaterThanToken)) 103Debug.Assert(CurrentToken.Kind = SyntaxKind.LessThanQuestionToken AndAlso 104PeekNextToken(ScannerState.Element).Kind = SyntaxKind.XmlNameToken AndAlso 105DirectCast(PeekNextToken(ScannerState.Element), XmlNameTokenSyntax).PossibleKeywordKind = SyntaxKind.XmlKeyword, "ParseXmlDecl called on the wrong token.") 111VerifyExpectedToken(SyntaxKind.XmlNameToken, nameToken, ScannerState.Element) 128Case SyntaxKind.XmlNameToken 210Case SyntaxKind.LessThanPercentEqualsToken 221If CurrentToken.Kind <> SyntaxKind.QuestionGreaterThanToken Then 222unexpected = ResyncAt(ScannerState.Element, {SyntaxKind.EndOfXmlToken, 223SyntaxKind.QuestionGreaterThanToken, 224SyntaxKind.LessThanToken, 225SyntaxKind.LessThanPercentEqualsToken, 226SyntaxKind.LessThanExclamationMinusMinusToken}) 230VerifyExpectedToken(SyntaxKind.QuestionGreaterThanToken, endPrologue, ScannerState.Content) 239Dim version = SyntaxFactory.XmlDeclarationOption(DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.XmlNameToken), XmlNameTokenSyntax), 240InternalSyntaxFactory.MissingPunctuation(SyntaxKind.EqualsToken), 258SyntaxKind.XmlNameToken, 259SyntaxKind.LessThanPercentEqualsToken, 260SyntaxKind.EqualsToken, 261SyntaxKind.SingleQuoteToken, 262SyntaxKind.DoubleQuoteToken), 272VerifyExpectedToken(SyntaxKind.XmlNameToken, name, ScannerState.Element) 278If CurrentToken.Kind = SyntaxKind.LessThanPercentEqualsToken Then 285If Not VerifyExpectedToken(SyntaxKind.EqualsToken, equals, ScannerState.Element) Then 287{SyntaxKind.SingleQuoteToken, 288SyntaxKind.DoubleQuoteToken, 289SyntaxKind.LessThanPercentEqualsToken, 290SyntaxKind.QuestionGreaterThanToken, 291SyntaxKind.EndOfXmlToken}) 297Case SyntaxKind.SingleQuoteToken, 298SyntaxKind.DoubleQuoteToken 301Case SyntaxKind.LessThanPercentEqualsToken 326Case SyntaxKind.BadToken 342Case SyntaxKind.LessThanExclamationMinusMinusToken 345Case SyntaxKind.LessThanQuestionToken 366Debug.Assert(CurrentToken.Kind = SyntaxKind.BadToken AndAlso 377VerifyExpectedToken(SyntaxKind.XmlNameToken, name, ScannerState.DocType) 385VerifyExpectedToken(SyntaxKind.GreaterThanToken, greaterThan, enclosingState) 393If CurrentToken.Kind = SyntaxKind.XmlNameToken Then 419If CurrentToken.Kind <> SyntaxKind.BadToken OrElse DirectCast(CurrentToken, BadTokenSyntax).SubKind <> SyntaxSubKind.OpenBracketToken Then 420unexpected = ResyncAt(ScannerState.DocType, {SyntaxKind.BadToken, 421SyntaxKind.GreaterThanToken, 422SyntaxKind.LessThanToken, 423SyntaxKind.LessThanExclamationMinusMinusToken, 424SyntaxKind.BeginCDataToken, 425SyntaxKind.LessThanPercentEqualsToken, 426SyntaxKind.EndOfXmlToken}) 433If CurrentToken.Kind = SyntaxKind.BadToken AndAlso DirectCast(CurrentToken, BadTokenSyntax).SubKind = SyntaxSubKind.OpenBracketToken Then 441If CurrentToken.Kind = SyntaxKind.BadToken AndAlso DirectCast(CurrentToken, BadTokenSyntax).SubKind = SyntaxSubKind.LessThanExclamationToken Then 447If CurrentToken.Kind <> SyntaxKind.BadToken OrElse DirectCast(CurrentToken, BadTokenSyntax).SubKind <> SyntaxSubKind.CloseBracketToken Then 448unexpected = ResyncAt(ScannerState.DocType, {SyntaxKind.BadToken, 449SyntaxKind.GreaterThanToken, 450SyntaxKind.LessThanToken, 451SyntaxKind.LessThanExclamationMinusMinusToken, 452SyntaxKind.BeginCDataToken, 453SyntaxKind.LessThanPercentEqualsToken, 454SyntaxKind.EndOfXmlToken}) 472Case SyntaxKind.BadToken 480Case SyntaxKind.LessThanQuestionToken 484Case SyntaxKind.LessThanExclamationMinusMinusToken 488Case SyntaxKind.GreaterThanToken 493Case SyntaxKind.EndOfFileToken, 494SyntaxKind.EndOfXmlToken 509Debug.Assert(CurrentToken.Kind = SyntaxKind.LessThanToken, "ParseXmlElement call on wrong token.") 525Case SyntaxKind.GreaterThanToken 532Case SyntaxKind.SlashGreaterThanToken 539Case SyntaxKind.SlashToken 541If PeekNextToken(ScannerState.Element).Kind = SyntaxKind.GreaterThanToken Then 554endEmptyElementToken = AddLeadingSyntax(New PunctuationSyntax(SyntaxKind.SlashGreaterThanToken, "", Nothing, Nothing), 577SyntaxKind.LessThanToken, 578SyntaxKind.LessThanGreaterThanToken, 579SyntaxKind.LessThanSlashToken, 580SyntaxKind.BeginCDataToken, 581SyntaxKind.LessThanExclamationMinusMinusToken, 582SyntaxKind.LessThanQuestionToken, 583SyntaxKind.LessThanPercentEqualsToken, 584SyntaxKind.XmlTextLiteralToken, 585SyntaxKind.BadToken), 598Case SyntaxKind.LessThanToken 599Dim nextTokenIsSlash As Boolean = PeekNextToken(ScannerState.Element).Kind = SyntaxKind.SlashToken 609If xml.Kind = SyntaxKind.XmlElementStartTag Then 616Case SyntaxKind.LessThanSlashToken 625Dim missingLessThan = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.LessThanToken) 626Dim missingXmlNameToken = DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.XmlNameToken), XmlNameTokenSyntax) 628Dim missingGreaterThan = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.GreaterThanToken) 637Case SyntaxKind.LessThanExclamationMinusMinusToken 640Case SyntaxKind.LessThanQuestionToken 644Case SyntaxKind.BeginCDataToken 647Case SyntaxKind.LessThanPercentEqualsToken 653Case SyntaxKind.XmlTextLiteralToken, 654SyntaxKind.XmlEntityLiteralToken, 655SyntaxKind.DocumentationCommentLineBreakToken 657Dim newKind As SyntaxKind 664Loop While newKind = SyntaxKind.XmlTextLiteralToken OrElse 665newKind = SyntaxKind.XmlEntityLiteralToken OrElse 666newKind = SyntaxKind.DocumentationCommentLineBreakToken 672Case SyntaxKind.BadToken 677xml = SyntaxFactory.XmlText(InternalSyntaxFactory.MissingToken(SyntaxKind.XmlTextLiteralToken)) 726Dim missingEndElement = SyntaxFactory.XmlElementEndTag(DirectCast(HandleUnexpectedToken(SyntaxKind.LessThanSlashToken), PunctuationSyntax), 727ReportSyntaxError(InternalSyntaxFactory.XmlName(Nothing, SyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing)), ERRID.ERR_ExpectedXmlName), 728DirectCast(HandleUnexpectedToken(SyntaxKind.GreaterThanToken), PunctuationSyntax)) 757If nameExpr.Kind = SyntaxKind.XmlName Then 777{SyntaxKind.SlashGreaterThanToken, 778SyntaxKind.GreaterThanToken, 779SyntaxKind.LessThanToken, 780SyntaxKind.LessThanSlashToken, 781SyntaxKind.LessThanPercentEqualsToken, 782SyntaxKind.BeginCDataToken, 783SyntaxKind.LessThanExclamationMinusMinusToken, 784SyntaxKind.LessThanQuestionToken, 785SyntaxKind.EndOfXmlToken}) 791Case SyntaxKind.SlashGreaterThanToken 800Case SyntaxKind.GreaterThanToken 812greaterThan = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.GreaterThanToken) 831{SyntaxKind.LessThanToken, 832SyntaxKind.LessThanSlashToken, 833SyntaxKind.LessThanPercentEqualsToken, 834SyntaxKind.BeginCDataToken, 835SyntaxKind.LessThanExclamationMinusMinusToken, 836SyntaxKind.LessThanQuestionToken, 837SyntaxKind.EndOfXmlToken, 838SyntaxKind.XmlTextLiteralToken, 839SyntaxKind.XmlEntityLiteralToken}) 841If currentKind = SyntaxKind.XmlTextLiteralToken OrElse 842currentKind = SyntaxKind.DocumentationCommentLineBreakToken OrElse 843currentKind = SyntaxKind.XmlEntityLiteralToken Then 848result = SyntaxFactory.XmlText(HandleUnexpectedToken(SyntaxKind.XmlTextLiteralToken)) 869If CurrentToken.Kind <> SyntaxKind.LessThanSlashToken Then 871{SyntaxKind.LessThanToken, 872SyntaxKind.LessThanSlashToken, 873SyntaxKind.EndOfXmlToken}) 876If Not VerifyExpectedToken(SyntaxKind.LessThanSlashToken, beginEndElement, ScannerState.EndElement) Then 879If CurrentToken.Kind = SyntaxKind.LessThanToken Then 883If slashToken.Kind = SyntaxKind.SlashToken Then 890SyntaxKind.LessThanSlashToken, 910If CurrentToken.Kind = SyntaxKind.XmlNameToken Then 915VerifyExpectedToken(SyntaxKind.GreaterThanToken, greaterToken, nextState) 931Case SyntaxKind.XmlNameToken, 932SyntaxKind.LessThanPercentEqualsToken, 933SyntaxKind.EqualsToken, 934SyntaxKind.SingleQuoteToken, 935SyntaxKind.DoubleQuoteToken 959SyntaxKind.XmlNameToken, 960SyntaxKind.LessThanPercentEqualsToken, 961SyntaxKind.EqualsToken, 962SyntaxKind.SingleQuoteToken, 963SyntaxKind.DoubleQuoteToken), 968If CurrentToken.Kind = SyntaxKind.XmlNameToken OrElse 969(AllowNameAsExpression AndAlso CurrentToken.Kind = SyntaxKind.LessThanPercentEqualsToken) OrElse 970CurrentToken.Kind = SyntaxKind.EqualsToken OrElse 971CurrentToken.Kind = SyntaxKind.SingleQuoteToken OrElse 972CurrentToken.Kind = SyntaxKind.DoubleQuoteToken Then 977If CurrentToken.Kind = SyntaxKind.EqualsToken Then 984If CurrentToken.Kind = SyntaxKind.LessThanPercentEqualsToken Then 998ElseIf Name.Kind = SyntaxKind.XmlEmbeddedExpression Then 1006If CurrentToken.Kind <> SyntaxKind.SingleQuoteToken AndAlso 1007CurrentToken.Kind <> SyntaxKind.DoubleQuoteToken Then 1009Dim missingQuote = DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.SingleQuoteToken), PunctuationSyntax) 1017Result = SyntaxFactory.XmlAttribute(Name, DirectCast(HandleUnexpectedToken(SyntaxKind.EqualsToken), PunctuationSyntax), value) 1026If xmlElementName Is Nothing OrElse xmlElementName.Kind <> SyntaxKind.XmlName Then 1046If name.Kind <> SyntaxKind.XmlName Then 1063If CurrentToken.Kind = SyntaxKind.SingleQuoteToken Then 1066ElseIf CurrentToken.Kind = SyntaxKind.DoubleQuoteToken Then 1078If Not (nextToken.Kind = SyntaxKind.XmlTextLiteralToken OrElse nextToken.Kind = SyntaxKind.XmlEntityLiteralToken) Then 1122Case SyntaxKind.SingleQuoteToken, 1123SyntaxKind.DoubleQuoteToken 1130Case SyntaxKind.XmlTextLiteralToken, 1131SyntaxKind.XmlEntityLiteralToken 1144Case SyntaxKind.EndOfXmlToken, 1145SyntaxKind.EndOfFileToken 1169If CurrentToken.Kind = SyntaxKind.OpenParenToken AndAlso name.Kind <> SyntaxKind.PredefinedType Then 1175If CurrentToken.Kind = SyntaxKind.AsKeyword Then 1199Debug.Assert(CurrentToken.Kind = SyntaxKind.OpenParenToken) 1209If currToken.Kind <> SyntaxKind.CloseParenToken AndAlso currToken.Kind <> SyntaxKind.CommaToken AndAlso Not firstType Then 1212currToken = InternalSyntaxFactory.MissingToken(SyntaxKind.CloseParenToken) 1215If currToken.Kind = SyntaxKind.CloseParenToken Then 1232Debug.Assert(CurrentToken.Kind = SyntaxKind.CommaToken) 1238While CurrentToken.Kind = SyntaxKind.ByValKeyword OrElse CurrentToken.Kind = SyntaxKind.ByRefKeyword 1261Debug.Assert(operatorKeyword.Kind = SyntaxKind.OperatorKeyword) 1273Dim operatorKind As SyntaxKind = operatorToken.Kind 1278operatorToken = ReportSyntaxError(InternalSyntaxFactory.MissingToken(SyntaxKind.PlusToken), ERRID.ERR_UnknownOperator) 1288If CurrentToken.Kind = SyntaxKind.GlobalKeyword Then 1292ElseIf CurrentToken.Kind = SyntaxKind.ObjectKeyword Then 1302ElseIf CurrentToken.Kind = SyntaxKind.OperatorKeyword Then 1306ElseIf CurrentToken.Kind = SyntaxKind.NewKeyword Then 1333While CurrentToken.Kind = SyntaxKind.DotToken 1337If CurrentToken.Kind = SyntaxKind.OperatorKeyword Then 1364If name.Kind <> SyntaxKind.XmlName Then 1386If CurrentToken.Kind = SyntaxKind.SingleQuoteToken Then 1389ElseIf CurrentToken.Kind = SyntaxKind.DoubleQuoteToken Then 1404If identToken.Kind <> SyntaxKind.IdentifierToken Then 1424If closingToken.Kind = SyntaxKind.SingleQuoteToken OrElse closingToken.Kind = SyntaxKind.DoubleQuoteToken Then 1482Case SyntaxKind.List 1489Case SyntaxKind.WhitespaceTrivia 1498Case SyntaxKind.SkippedTokensTrivia 1524Case SyntaxKind.XmlNameToken 1527Case SyntaxKind.LessThanPercentEqualsToken 1553If CurrentToken.Kind = SyntaxKind.ColonToken Then 1559If CurrentToken.Kind = SyntaxKind.XmlNameToken Then 1571localName = ReportSyntaxError(InternalSyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing), ERRID.ERR_ExpectedXmlName) 1589Return node.Kind = SyntaxKind.ColonTrivia AndAlso node.ToString() = ":" 1614Debug.Assert(trailingTrivia.Last.Kind = SyntaxKind.ColonTrivia) 1638localName = ReportSyntaxError(InternalSyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing), ERRID.ERR_ExpectedXmlName) 1646Return token.Kind = SyntaxKind.IdentifierToken OrElse TryCast(token, KeywordSyntax) IsNot Nothing 1651If token.Kind = SyntaxKind.IdentifierToken Then 1704If CurrentToken.Kind = SyntaxKind.EndOfXmlToken Then 1707If CurrentToken.Kind = SyntaxKind.DocumentationCommentLineBreakToken Then 1728SyntaxKind.XmlTextLiteralToken, 1729SyntaxKind.DocumentationCommentLineBreakToken, 1730SyntaxKind.XmlEntityLiteralToken, 1731SyntaxKind.LessThanToken, 1732SyntaxKind.LessThanSlashToken, 1733SyntaxKind.LessThanExclamationMinusMinusToken, 1734SyntaxKind.LessThanQuestionToken, 1735SyntaxKind.LessThanPercentEqualsToken, 1736SyntaxKind.BeginCDataToken, 1737SyntaxKind.EndCDataToken, 1738SyntaxKind.EndOfFileToken, 1739SyntaxKind.EndOfXmlToken, 1740SyntaxKind.BadToken), 1750Case SyntaxKind.LessThanToken 1753Case SyntaxKind.LessThanSlashToken 1756Case SyntaxKind.LessThanExclamationMinusMinusToken 1759Case SyntaxKind.LessThanQuestionToken 1762Case SyntaxKind.BeginCDataToken 1765Case SyntaxKind.LessThanPercentEqualsToken 1768Case SyntaxKind.XmlTextLiteralToken, 1769SyntaxKind.XmlEntityLiteralToken, 1770SyntaxKind.DocumentationCommentLineBreakToken 1772Dim newKind As SyntaxKind 1779Loop While newKind = SyntaxKind.XmlTextLiteralToken OrElse 1780newKind = SyntaxKind.XmlEntityLiteralToken OrElse 1781newKind = SyntaxKind.DocumentationCommentLineBreakToken 1787Case SyntaxKind.EndOfFileToken, 1788SyntaxKind.EndOfXmlToken 1791Case SyntaxKind.BadToken 1796xml = SyntaxFactory.XmlText(InternalSyntaxFactory.MissingToken(SyntaxKind.XmlTextLiteralToken)) 1827Debug.Assert(CurrentToken.Kind = SyntaxKind.LessThanQuestionToken, "ParseXmlPI called on the wrong token.") 1839If Not VerifyExpectedToken(SyntaxKind.XmlNameToken, name, ScannerState.StartProcessingInstruction) Then 1854If CurrentToken.Kind = SyntaxKind.XmlTextLiteralToken OrElse CurrentToken.Kind = SyntaxKind.DocumentationCommentLineBreakToken Then 1866If CurrentToken.Kind <> SyntaxKind.XmlTextLiteralToken AndAlso CurrentToken.Kind <> SyntaxKind.DocumentationCommentLineBreakToken Then 1874VerifyExpectedToken(SyntaxKind.QuestionGreaterThanToken, endProcessingInstruction, nextState) 1889Debug.Assert(CurrentToken.Kind = SyntaxKind.BeginCDataToken, "ParseXmlCData called on the wrong token.") 1897Do While CurrentToken.Kind = SyntaxKind.XmlTextLiteralToken OrElse CurrentToken.Kind = SyntaxKind.DocumentationCommentLineBreakToken 1903VerifyExpectedToken(SyntaxKind.EndCDataToken, endCData, nextState) 1915Debug.Assert(CurrentToken.Kind = SyntaxKind.LessThanExclamationMinusMinusToken, "ParseXmlComment called on wrong token.") 1922Do While CurrentToken.Kind = SyntaxKind.XmlTextLiteralToken OrElse CurrentToken.Kind = SyntaxKind.DocumentationCommentLineBreakToken 1932VerifyExpectedToken(SyntaxKind.MinusMinusGreaterThanToken, endComment, nextState) 1948If CurrentToken.Kind = SyntaxKind.SingleQuoteToken Then 1952ElseIf CurrentToken.Kind = SyntaxKind.DoubleQuoteToken Then 1960startQuote = DirectCast(InternalSyntaxFactory.MissingToken(SyntaxKind.SingleQuoteToken), PunctuationSyntax) 1970Case SyntaxKind.SingleQuoteToken, 1971SyntaxKind.DoubleQuoteToken 1982Case SyntaxKind.XmlTextLiteralToken, 1983SyntaxKind.XmlEntityLiteralToken, 1984SyntaxKind.DocumentationCommentLineBreakToken 2006Debug.Assert(CurrentToken.Kind = SyntaxKind.LessThanPercentEqualsToken, "ParseXmlEmbedded called on wrong token") 2016If Not TryEatNewLineAndGetToken(SyntaxKind.PercentGreaterThanToken, endXmlEmbedded, createIfMissing:=False, state:=enclosingState) Then 2019ResyncAt(skippedTokens, ScannerState.VB, {SyntaxKind.PercentGreaterThanToken, 2020SyntaxKind.GreaterThanToken, 2021SyntaxKind.LessThanToken, 2022SyntaxKind.LessThanPercentEqualsToken, 2023SyntaxKind.LessThanQuestionToken, 2024SyntaxKind.BeginCDataToken, 2025SyntaxKind.LessThanExclamationMinusMinusToken, 2026SyntaxKind.LessThanSlashToken}) 2028If CurrentToken.Kind = SyntaxKind.PercentGreaterThanToken Then 2032endXmlEmbedded = DirectCast(HandleUnexpectedToken(SyntaxKind.PercentGreaterThanToken), PunctuationSyntax) 2062Friend _parentKind As SyntaxKind 2097_options._parentKind = SyntaxKind.XmlElementStartTag 2126_options._parentKind = SyntaxKind.XmlElementStartTag 2156_options._parentKind = SyntaxKind.XmlElementStartTag 2206_options._parentKind = SyntaxKind.XmlNameAttribute 2223_options._parentKind = SyntaxKind.XmlCrefAttribute 2240_options._parentKind = SyntaxKind.XmlAttribute 2257_options._parentKind = SyntaxKind.XmlBracketedName 2288Case SyntaxKind.XmlAttribute, 2289SyntaxKind.XmlCrefAttribute, 2290SyntaxKind.XmlNameAttribute 2298Case SyntaxKind.XmlBracketedName 2326_options._triviaCheck = If(_options._parentKind = SyntaxKind.XmlAttribute, TriviaCheck.ProhibitTrailingTrivia, TriviaCheck.ProhibitLeadingTrivia Or TriviaCheck.ProhibitTrailingTrivia) 2360Case SyntaxKind.XmlNameToken, 2361SyntaxKind.XmlKeyword, 2362SyntaxKind.LessThanToken, 2363SyntaxKind.LessThanSlashToken, 2364SyntaxKind.LessThanQuestionToken, 2365SyntaxKind.LessThanPercentEqualsToken, 2366SyntaxKind.ColonToken 2390Case SyntaxKind.XmlNameToken 2395Case SyntaxKind.XmlKeyword 2400Case SyntaxKind.LessThanToken, 2401SyntaxKind.LessThanSlashToken, 2402SyntaxKind.LessThanQuestionToken, 2403SyntaxKind.LessThanPercentEqualsToken, 2404SyntaxKind.ColonToken 2415If trivia.Kind = SyntaxKind.WhitespaceTrivia OrElse trivia.Kind = SyntaxKind.EndOfLineTrivia Then 2485Debug.Assert(name Is Nothing OrElse name.Kind = SyntaxKind.XmlName) 2498If nameExpr.Kind = SyntaxKind.XmlName Then
Preprocessor\ExpressionEvaluator.vb (188)
147Case SyntaxKind.TrueLiteralExpression, 148SyntaxKind.FalseLiteralExpression, 149SyntaxKind.CharacterLiteralExpression, 150SyntaxKind.DateLiteralExpression, 151SyntaxKind.NumericLiteralExpression, 152SyntaxKind.NothingLiteralExpression, 153SyntaxKind.StringLiteralExpression 157Case SyntaxKind.ParenthesizedExpression 160Case SyntaxKind.IdentifierName 163Case SyntaxKind.PredefinedCastExpression 166Case SyntaxKind.CTypeExpression 169Case SyntaxKind.DirectCastExpression 172Case SyntaxKind.TryCastExpression 175Case SyntaxKind.UnaryMinusExpression, 176SyntaxKind.UnaryPlusExpression, 177SyntaxKind.NotExpression 181Case SyntaxKind.AddExpression, 182SyntaxKind.SubtractExpression, 183SyntaxKind.MultiplyExpression, 184SyntaxKind.DivideExpression, 185SyntaxKind.IntegerDivideExpression, 186SyntaxKind.ModuloExpression, 187SyntaxKind.ExponentiateExpression, 188SyntaxKind.EqualsExpression, 189SyntaxKind.NotEqualsExpression, 190SyntaxKind.LessThanExpression, 191SyntaxKind.GreaterThanExpression, 192SyntaxKind.LessThanOrEqualExpression, 193SyntaxKind.GreaterThanOrEqualExpression, 194SyntaxKind.ConcatenateExpression, 195SyntaxKind.AndExpression, 196SyntaxKind.OrExpression, 197SyntaxKind.ExclusiveOrExpression, 198SyntaxKind.AndAlsoExpression, 199SyntaxKind.OrElseExpression, 200SyntaxKind.LeftShiftExpression, 201SyntaxKind.RightShiftExpression 205Case SyntaxKind.BinaryConditionalExpression 208Case SyntaxKind.TernaryConditionalExpression 231Case SyntaxKind.TrueKeyword 234Case SyntaxKind.FalseKeyword 237Case SyntaxKind.CharacterLiteralToken 241Case SyntaxKind.DateLiteralToken 245Case SyntaxKind.DecimalLiteralToken 249Case SyntaxKind.FloatingLiteralToken 253Case SyntaxKind.IntegerLiteralToken 257Case SyntaxKind.NothingKeyword 260Case SyntaxKind.StringLiteralToken 353Case SyntaxKind.ShortKeyword 356Case SyntaxKind.UShortKeyword 359Case SyntaxKind.IntegerKeyword 362Case SyntaxKind.UIntegerKeyword 365Case SyntaxKind.LongKeyword 368Case SyntaxKind.ULongKeyword 371Case SyntaxKind.DecimalKeyword 374Case SyntaxKind.SingleKeyword 377Case SyntaxKind.DoubleKeyword 380Case SyntaxKind.SByteKeyword 383Case SyntaxKind.ByteKeyword 386Case SyntaxKind.BooleanKeyword 389Case SyntaxKind.CharKeyword 392Case SyntaxKind.DateKeyword 395Case SyntaxKind.StringKeyword 398Case SyntaxKind.VariantKeyword, 399SyntaxKind.ObjectKeyword 486Case SyntaxKind.CBoolKeyword 489Case SyntaxKind.CDateKeyword 492Case SyntaxKind.CDblKeyword 495Case SyntaxKind.CSByteKeyword 498Case SyntaxKind.CByteKeyword 501Case SyntaxKind.CCharKeyword 504Case SyntaxKind.CShortKeyword 507Case SyntaxKind.CUShortKeyword 510Case SyntaxKind.CIntKeyword 513Case SyntaxKind.CUIntKeyword 516Case SyntaxKind.CLngKeyword 519Case SyntaxKind.CULngKeyword 522Case SyntaxKind.CSngKeyword 525Case SyntaxKind.CStrKeyword 528Case SyntaxKind.CDecKeyword 531Case SyntaxKind.CObjKeyword 864Case SyntaxKind.UnaryMinusExpression 897Case SyntaxKind.UnaryPlusExpression 903Case SyntaxKind.NotExpression 969Case SyntaxKind.ConcatenateExpression, 970SyntaxKind.LikeExpression 974Case SyntaxKind.OrElseExpression, 975SyntaxKind.AndAlsoExpression 979Case SyntaxKind.IsExpression, 980SyntaxKind.IsNotExpression, 981SyntaxKind.EqualsExpression, 982SyntaxKind.NotEqualsExpression, 983SyntaxKind.LessThanExpression, 984SyntaxKind.LessThanOrEqualExpression, 985SyntaxKind.GreaterThanOrEqualExpression, 986SyntaxKind.GreaterThanExpression, 987SyntaxKind.AddExpression, 988SyntaxKind.MultiplyExpression, 989SyntaxKind.DivideExpression, 990SyntaxKind.SubtractExpression, 991SyntaxKind.ExponentiateExpression, 992SyntaxKind.IntegerDivideExpression, 993SyntaxKind.LeftShiftExpression, 994SyntaxKind.RightShiftExpression, 995SyntaxKind.ModuloExpression 1002Case SyntaxKind.OrExpression, 1003SyntaxKind.AndExpression, 1004SyntaxKind.ExclusiveOrExpression 1018Case SyntaxKind.ConcatenateExpression, 1019SyntaxKind.LikeExpression 1025Case SyntaxKind.LeftShiftExpression, 1026SyntaxKind.RightShiftExpression 1040Case SyntaxKind.ConcatenateExpression, 1041SyntaxKind.LikeExpression 1076Case SyntaxKind.AddExpression 1079BoundOpcode = SyntaxKind.ConcatenateExpression 1082SyntaxKind.EqualsExpression, 1083SyntaxKind.NotEqualsExpression, 1084SyntaxKind.LessThanOrEqualExpression, 1085SyntaxKind.GreaterThanOrEqualExpression, 1086SyntaxKind.LessThanExpression, 1087SyntaxKind.GreaterThanExpression 1102Private Shared Function PerformCompileTimeBinaryOperation(opcode As SyntaxKind, 1108Debug.Assert(opcode = SyntaxKind.LeftShiftExpression OrElse 1109opcode = SyntaxKind.RightShiftExpression OrElse 1120Case SyntaxKind.EqualsExpression 1126Case SyntaxKind.NotEqualsExpression 1132Case SyntaxKind.LessThanOrEqualExpression 1138Case SyntaxKind.GreaterThanOrEqualExpression 1144Case SyntaxKind.LessThanExpression 1149Case SyntaxKind.GreaterThanExpression 1167Case SyntaxKind.AddExpression 1187Case SyntaxKind.SubtractExpression 1205Case SyntaxKind.MultiplyExpression 1208Case SyntaxKind.IntegerDivideExpression 1225Case SyntaxKind.ModuloExpression 1240Case SyntaxKind.ExclusiveOrExpression 1243Case SyntaxKind.OrExpression 1246Case SyntaxKind.AndExpression 1249Case SyntaxKind.LeftShiftExpression 1260Case SyntaxKind.RightShiftExpression 1285Case SyntaxKind.EqualsExpression 1288Case SyntaxKind.NotEqualsExpression 1291Case SyntaxKind.LessThanOrEqualExpression 1294Case SyntaxKind.GreaterThanOrEqualExpression 1297Case SyntaxKind.LessThanExpression 1300Case SyntaxKind.GreaterThanExpression 1313Case SyntaxKind.AddExpression 1316Case SyntaxKind.SubtractExpression 1319Case SyntaxKind.MultiplyExpression 1322Case SyntaxKind.ExponentiateExpression 1347Case SyntaxKind.DivideExpression 1367Case SyntaxKind.ModuloExpression 1416Case SyntaxKind.EqualsExpression 1419Case SyntaxKind.NotEqualsExpression 1422Case SyntaxKind.LessThanOrEqualExpression 1425Case SyntaxKind.GreaterThanOrEqualExpression 1428Case SyntaxKind.LessThanExpression 1431Case SyntaxKind.GreaterThanExpression 1444Case SyntaxKind.AddExpression 1447Case SyntaxKind.SubtractExpression 1450Case SyntaxKind.MultiplyExpression 1453Case SyntaxKind.DivideExpression 1459Case SyntaxKind.ModuloExpression 1498Case SyntaxKind.ConcatenateExpression 1502Case SyntaxKind.GreaterThanExpression, 1503SyntaxKind.LessThanExpression, 1504SyntaxKind.GreaterThanOrEqualExpression, 1505SyntaxKind.LessThanOrEqualExpression, 1506SyntaxKind.EqualsExpression, 1507SyntaxKind.NotEqualsExpression 1515Case SyntaxKind.EqualsExpression 1518Case SyntaxKind.NotEqualsExpression 1521Case SyntaxKind.GreaterThanExpression 1524Case SyntaxKind.GreaterThanOrEqualExpression 1527Case SyntaxKind.LessThanExpression 1530Case SyntaxKind.LessThanOrEqualExpression 1547Case SyntaxKind.EqualsExpression 1550Case SyntaxKind.NotEqualsExpression 1555Case SyntaxKind.GreaterThanExpression 1558Case SyntaxKind.GreaterThanOrEqualExpression 1561Case SyntaxKind.LessThanExpression 1564Case SyntaxKind.LessThanOrEqualExpression 1567Case SyntaxKind.ExclusiveOrExpression 1570Case SyntaxKind.OrElseExpression, SyntaxKind.OrExpression 1573Case SyntaxKind.AndAlsoExpression, SyntaxKind.AndExpression
Preprocessor\OperatorResolution.vb (23)
298Friend Function LookupInOperatorTables(opcode As SyntaxKind, left As SpecialType, right As SpecialType) As SpecialType 303Case SyntaxKind.AddExpression 306Case SyntaxKind.SubtractExpression, 307SyntaxKind.MultiplyExpression, 308SyntaxKind.ModuloExpression 311Case SyntaxKind.DivideExpression 314Case SyntaxKind.IntegerDivideExpression 317Case SyntaxKind.ExponentiateExpression 320Case SyntaxKind.LeftShiftExpression, 321SyntaxKind.RightShiftExpression 324Case SyntaxKind.OrElseExpression, 325SyntaxKind.AndAlsoExpression 328Case SyntaxKind.ConcatenateExpression, 329SyntaxKind.LikeExpression 332Case SyntaxKind.EqualsExpression, 333SyntaxKind.NotEqualsExpression, 334SyntaxKind.LessThanOrEqualExpression, 335SyntaxKind.GreaterThanOrEqualExpression, 336SyntaxKind.LessThanExpression, 337SyntaxKind.GreaterThanExpression 340Case SyntaxKind.OrExpression, 341SyntaxKind.ExclusiveOrExpression, 342SyntaxKind.AndExpression
Scanner\Blender.vb (15)
118If node.Kind = SyntaxKind.CompilationUnit OrElse IsStatementLike(node) Then 133Case SyntaxKind.ElseIfBlock, 134SyntaxKind.ElseBlock, 135SyntaxKind.CatchBlock, 136SyntaxKind.FinallyBlock 138Return node.GetTrailingTrivia().Any(SyntaxKind.EndOfLineTrivia) 139Case SyntaxKind.SingleLineIfStatement, 140SyntaxKind.SingleLineElseClause 163If node.Kind = SyntaxKind.None Then 309Case SyntaxKind.SingleLineIfStatement, 310SyntaxKind.SingleLineElseClause 316Case SyntaxKind.EnumBlock 431If node.Kind = SyntaxKind.IfStatement Then 475If lt.RawKind = SyntaxKind.EndOfLineTrivia Then 482If lt.GetSlot(i).RawKind = SyntaxKind.EndOfLineTrivia Then
Scanner\Directives.vb (36)
92Debug.Assert(statement.Kind <> SyntaxKind.ConstDirectiveTrivia) 176Case SyntaxKind.ConstDirectiveTrivia 187Case SyntaxKind.IfDirectiveTrivia 190Case SyntaxKind.ElseIfDirectiveTrivia 193Case SyntaxKind.ElseDirectiveTrivia 196Case SyntaxKind.EndIfDirectiveTrivia 199Case SyntaxKind.RegionDirectiveTrivia 202Case SyntaxKind.EndRegionDirectiveTrivia 205Case SyntaxKind.ExternalSourceDirectiveTrivia 208Case SyntaxKind.EndExternalSourceDirectiveTrivia 211Case SyntaxKind.ExternalChecksumDirectiveTrivia, 212SyntaxKind.BadDirectiveTrivia, 213SyntaxKind.EnableWarningDirectiveTrivia, 'TODO: Add support for processing #Enable and #Disable 214SyntaxKind.DisableWarningDirectiveTrivia, 215SyntaxKind.ReferenceDirectiveTrivia 343Debug.Assert(statement.Kind = SyntaxKind.ConstDirectiveTrivia) 394Debug.Assert(statement.Kind = SyntaxKind.IfDirectiveTrivia) 551Case SyntaxKind.HashToken 556((nextKind = SyntaxKind.EndKeyword AndAlso 557Not IsContextualKeyword(nextNextToken, SyntaxKind.ExternalSourceKeyword, SyntaxKind.RegionKeyword)) OrElse 558nextKind = SyntaxKind.EndIfKeyword OrElse 559nextKind = SyntaxKind.ElseIfKeyword OrElse 560nextKind = SyntaxKind.ElseKeyword) Then 567ElseIf nextKind = SyntaxKind.EndIfKeyword OrElse 568(nextKind = SyntaxKind.EndKeyword AndAlso 569Not IsContextualKeyword(nextNextToken, SyntaxKind.ExternalSourceKeyword, SyntaxKind.RegionKeyword)) Then 573ElseIf nextKind = SyntaxKind.IfKeyword Then 589If nextKind = SyntaxKind.StatementTerminatorToken OrElse nextKind = SyntaxKind.ColonToken Then 593Case SyntaxKind.DateLiteralToken, SyntaxKind.BadToken 603If nextKind = SyntaxKind.StatementTerminatorToken OrElse nextKind = SyntaxKind.ColonToken Then 607Case SyntaxKind.EndOfFileToken
Scanner\KeywordTable.vb (240)
24SyntaxKind.AddHandlerKeyword, None, 25SyntaxKind.AddressOfKeyword, None, 26SyntaxKind.AliasKeyword, None, 27SyntaxKind.AndKeyword, PrecedenceAnd Or CanFollowExpr, 28SyntaxKind.AndAlsoKeyword, PrecedenceAnd Or CanFollowExpr, 29SyntaxKind.AsKeyword, None, 30SyntaxKind.BooleanKeyword, None, 31SyntaxKind.ByRefKeyword, None, 32SyntaxKind.ByteKeyword, None, 33SyntaxKind.ByValKeyword, None, 34SyntaxKind.CallKeyword, None, 35SyntaxKind.CaseKeyword, None, 36SyntaxKind.CatchKeyword, None, 37SyntaxKind.CBoolKeyword, None, 38SyntaxKind.CByteKeyword, None, 39SyntaxKind.CCharKeyword, None, 40SyntaxKind.CDateKeyword, None, 41SyntaxKind.CDecKeyword, None, 42SyntaxKind.CDblKeyword, None, 43SyntaxKind.CharKeyword, None, 44SyntaxKind.CIntKeyword, None, 45SyntaxKind.ClassKeyword, None, 46SyntaxKind.CLngKeyword, None, 47SyntaxKind.CObjKeyword, None, 48SyntaxKind.ConstKeyword, None, 49SyntaxKind.ContinueKeyword, New7to8, 50SyntaxKind.CSByteKeyword, New7to8, 51SyntaxKind.CShortKeyword, None, 52SyntaxKind.CSngKeyword, None, 53SyntaxKind.CStrKeyword, None, 54SyntaxKind.CTypeKeyword, None, 55SyntaxKind.CUIntKeyword, New7to8, 56SyntaxKind.CULngKeyword, New7to8, 57SyntaxKind.CUShortKeyword, New7to8, 58SyntaxKind.DateKeyword, None, 59SyntaxKind.DecimalKeyword, None, 60SyntaxKind.DeclareKeyword, None, 61SyntaxKind.DefaultKeyword, None, 62SyntaxKind.DelegateKeyword, None, 63SyntaxKind.DimKeyword, None, 64SyntaxKind.DirectCastKeyword, None, 65SyntaxKind.DoKeyword, None, 66SyntaxKind.DoubleKeyword, None, 67SyntaxKind.EachKeyword, None, 68SyntaxKind.ElseKeyword, CanFollowExpr, 69SyntaxKind.ElseIfKeyword, None, 70SyntaxKind.EndKeyword, None, 71SyntaxKind.EnumKeyword, None, 72SyntaxKind.EraseKeyword, None, 73SyntaxKind.ErrorKeyword, None, 74SyntaxKind.EventKeyword, None, 75SyntaxKind.ExitKeyword, None, 76SyntaxKind.FalseKeyword, None, 77SyntaxKind.FinallyKeyword, None, 78SyntaxKind.ForKeyword, None, 79SyntaxKind.FriendKeyword, None, 80SyntaxKind.FunctionKeyword, None, 81SyntaxKind.GetKeyword, None, 82SyntaxKind.GetTypeKeyword, None, 83SyntaxKind.GetXmlNamespaceKeyword, None, 84SyntaxKind.GlobalKeyword, New7to8, 85SyntaxKind.GoToKeyword, None, 86SyntaxKind.HandlesKeyword, None, 87SyntaxKind.IfKeyword, None, 88SyntaxKind.ImplementsKeyword, CanFollowExpr, 89SyntaxKind.ImportsKeyword, None, 90SyntaxKind.InKeyword, CanFollowExpr, 91SyntaxKind.InheritsKeyword, None, 92SyntaxKind.IntegerKeyword, None, 93SyntaxKind.InterfaceKeyword, None, 94SyntaxKind.IsKeyword, PrecedenceRelational Or CanFollowExpr, 95SyntaxKind.IsNotKeyword, PrecedenceRelational Or New7to8 Or CanFollowExpr, 96SyntaxKind.LetKeyword, QueryClause Or CanFollowExpr, 97SyntaxKind.LibKeyword, None, 98SyntaxKind.LikeKeyword, PrecedenceRelational Or CanFollowExpr, 99SyntaxKind.LongKeyword, None, 100SyntaxKind.LoopKeyword, None, 101SyntaxKind.MeKeyword, None, 102SyntaxKind.ModKeyword, PrecedenceModulus Or CanFollowExpr, 103SyntaxKind.ModuleKeyword, None, 104SyntaxKind.MustInheritKeyword, None, 105SyntaxKind.MustOverrideKeyword, None, 106SyntaxKind.MyBaseKeyword, None, 107SyntaxKind.MyClassKeyword, None, 108SyntaxKind.NameOfKeyword, None, 109SyntaxKind.NamespaceKeyword, None, 110SyntaxKind.NarrowingKeyword, New7to8, 111SyntaxKind.NextKeyword, None, 112SyntaxKind.NewKeyword, None, 113SyntaxKind.NotKeyword, PrecedenceNot, 114SyntaxKind.NothingKeyword, None, 115SyntaxKind.NotInheritableKeyword, None, 116SyntaxKind.NotOverridableKeyword, None, 117SyntaxKind.ObjectKeyword, None, 118SyntaxKind.OfKeyword, New7to8, 119SyntaxKind.OnKeyword, CanFollowExpr, 120SyntaxKind.OperatorKeyword, New7to8, 121SyntaxKind.OptionKeyword, None, 122SyntaxKind.OptionalKeyword, None, 123SyntaxKind.OrKeyword, PrecedenceOr Or CanFollowExpr, 124SyntaxKind.OrElseKeyword, PrecedenceOr Or CanFollowExpr, 125SyntaxKind.OverloadsKeyword, None, 126SyntaxKind.OverridableKeyword, None, 127SyntaxKind.OverridesKeyword, None, 128SyntaxKind.ParamArrayKeyword, None, 129SyntaxKind.PartialKeyword, New7to8, 130SyntaxKind.PrivateKeyword, None, 131SyntaxKind.PropertyKeyword, None, 132SyntaxKind.ProtectedKeyword, None, 133SyntaxKind.PublicKeyword, None, 134SyntaxKind.RaiseEventKeyword, None, 135SyntaxKind.ReadOnlyKeyword, None, 136SyntaxKind.ReferenceKeyword, None, 137SyntaxKind.ReDimKeyword, None, 138SyntaxKind.REMKeyword, CanFollowExpr, 139SyntaxKind.RemoveHandlerKeyword, None, 140SyntaxKind.ResumeKeyword, None, 141SyntaxKind.ReturnKeyword, None, 142SyntaxKind.SByteKeyword, New7to8, 143SyntaxKind.SelectKeyword, QueryClause Or CanFollowExpr, 144SyntaxKind.SetKeyword, None, 145SyntaxKind.ShadowsKeyword, None, 146SyntaxKind.SharedKeyword, None, 147SyntaxKind.ShortKeyword, None, 148SyntaxKind.SingleKeyword, None, 149SyntaxKind.StaticKeyword, None, 150SyntaxKind.StepKeyword, CanFollowExpr, 151SyntaxKind.StopKeyword, None, 152SyntaxKind.StringKeyword, None, 153SyntaxKind.StructureKeyword, None, 154SyntaxKind.SubKeyword, None, 155SyntaxKind.SyncLockKeyword, None, 156SyntaxKind.ThenKeyword, CanFollowExpr, 157SyntaxKind.ThrowKeyword, None, 158SyntaxKind.ToKeyword, CanFollowExpr, 159SyntaxKind.TrueKeyword, None, 160SyntaxKind.TryKeyword, None, 161SyntaxKind.TryCastKeyword, New7to8, 162SyntaxKind.TypeOfKeyword, None, 163SyntaxKind.UIntegerKeyword, New7to8, 164SyntaxKind.ULongKeyword, New7to8, 165SyntaxKind.UShortKeyword, New7to8, 166SyntaxKind.UsingKeyword, New7to8, 167SyntaxKind.WhenKeyword, None, 168SyntaxKind.WhileKeyword, None, 169SyntaxKind.WideningKeyword, New7to8, 170SyntaxKind.WithKeyword, None, 171SyntaxKind.WithEventsKeyword, None, 172SyntaxKind.WriteOnlyKeyword, None, 173SyntaxKind.XorKeyword, PrecedenceXor Or CanFollowExpr, 174SyntaxKind.AggregateKeyword, QueryClause Or CanFollowExpr, 175SyntaxKind.AllKeyword, None, 176SyntaxKind.AnsiKeyword, None, 177SyntaxKind.AscendingKeyword, CanFollowExpr, 178SyntaxKind.AssemblyKeyword, None, 179SyntaxKind.AutoKeyword, None, 180SyntaxKind.BinaryKeyword, None, 181SyntaxKind.ByKeyword, CanFollowExpr, 182SyntaxKind.CompareKeyword, None, 183SyntaxKind.CustomKeyword, None, 184SyntaxKind.DescendingKeyword, CanFollowExpr, 185SyntaxKind.DisableKeyword, None, 186SyntaxKind.DistinctKeyword, QueryClause Or CanFollowExpr, 187SyntaxKind.EnableKeyword, None, 188SyntaxKind.EqualsKeyword, CanFollowExpr, 189SyntaxKind.ExplicitKeyword, None, 190SyntaxKind.ExternalSourceKeyword, None, 191SyntaxKind.ExternalChecksumKeyword, None, 192SyntaxKind.FromKeyword, QueryClause Or CanFollowExpr, 193SyntaxKind.GroupKeyword, QueryClause Or CanFollowExpr, 194SyntaxKind.InferKeyword, None, 195SyntaxKind.IntoKeyword, CanFollowExpr, 196SyntaxKind.IsFalseKeyword, None, 197SyntaxKind.IsTrueKeyword, None, 198SyntaxKind.JoinKeyword, QueryClause Or CanFollowExpr, 199SyntaxKind.KeyKeyword, None, 200SyntaxKind.MidKeyword, None, 201SyntaxKind.OffKeyword, None, 202SyntaxKind.OrderKeyword, QueryClause Or CanFollowExpr, 203SyntaxKind.OutKeyword, None, 204SyntaxKind.PreserveKeyword, None, 205SyntaxKind.RegionKeyword, None, 206SyntaxKind.SkipKeyword, QueryClause Or CanFollowExpr, 207SyntaxKind.StrictKeyword, None, 208SyntaxKind.TextKeyword, None, 209SyntaxKind.TakeKeyword, QueryClause Or CanFollowExpr, 210SyntaxKind.UnicodeKeyword, None, 211SyntaxKind.UntilKeyword, None, 212SyntaxKind.WarningKeyword, None, 213SyntaxKind.WhereKeyword, QueryClause Or CanFollowExpr, 214SyntaxKind.AsyncKeyword, None, 215SyntaxKind.AwaitKeyword, PrecedenceAwait, 216SyntaxKind.IteratorKeyword, None, 217SyntaxKind.YieldKeyword, None, 218SyntaxKind.EndIfKeyword, None, 219SyntaxKind.GosubKeyword, None, 220SyntaxKind.TypeKeyword, None, 221SyntaxKind.VariantKeyword, None, 222SyntaxKind.WendKeyword, None, 223SyntaxKind.CommaToken, CanFollowExpr, 224SyntaxKind.AmpersandToken, PrecedenceConcatenate Or CanFollowExpr, 225SyntaxKind.SingleQuoteToken, None, 226SyntaxKind.OpenParenToken, CanFollowExpr, 227SyntaxKind.CloseParenToken, CanFollowExpr, 228SyntaxKind.OpenBraceToken, None, 229SyntaxKind.CloseBraceToken, CanFollowExpr, 230SyntaxKind.AsteriskToken, PrecedenceMultiply Or CanFollowExpr, 231SyntaxKind.PlusToken, PrecedenceAdd Or CanFollowExpr, 232SyntaxKind.MinusToken, PrecedenceAdd Or CanFollowExpr, 233SyntaxKind.SlashToken, PrecedenceMultiply Or CanFollowExpr, 234SyntaxKind.LessThanToken, PrecedenceRelational Or CanFollowExpr, 235SyntaxKind.LessThanEqualsToken, PrecedenceRelational Or CanFollowExpr, 236SyntaxKind.LessThanGreaterThanToken, PrecedenceRelational Or CanFollowExpr, 237SyntaxKind.EqualsToken, PrecedenceRelational Or CanFollowExpr, 238SyntaxKind.GreaterThanToken, PrecedenceRelational Or CanFollowExpr, 239SyntaxKind.GreaterThanEqualsToken, PrecedenceRelational, 240SyntaxKind.BackslashToken, PrecedenceIntegerDivide Or CanFollowExpr, 241SyntaxKind.CaretToken, PrecedenceExponentiate Or CanFollowExpr, 242SyntaxKind.ColonEqualsToken, None, 243SyntaxKind.AmpersandEqualsToken, PrecedenceConcatenate, 244SyntaxKind.AsteriskEqualsToken, PrecedenceMultiply, 245SyntaxKind.PlusEqualsToken, PrecedenceAdd, 246SyntaxKind.MinusEqualsToken, PrecedenceAdd, 247SyntaxKind.SlashEqualsToken, PrecedenceMultiply, 248SyntaxKind.BackslashEqualsToken, PrecedenceIntegerDivide, 249SyntaxKind.CaretEqualsToken, PrecedenceExponentiate, 250SyntaxKind.LessThanLessThanToken, PrecedenceShift, 251SyntaxKind.GreaterThanGreaterThanToken, PrecedenceShift, 252SyntaxKind.LessThanLessThanEqualsToken, PrecedenceShift, 253SyntaxKind.GreaterThanGreaterThanEqualsToken, PrecedenceShift, 254SyntaxKind.PercentGreaterThanToken, CanFollowExpr 260Token:=DirectCast(keywordInitData(i), SyntaxKind), 293Private Shared ReadOnly s_keywords As New Dictionary(Of String, SyntaxKind)(IdentifierComparison.Comparer) 296Friend Shared Function TokenOfString(tokenName As String) As SyntaxKind 301Dim kind As SyntaxKind 303kind = SyntaxKind.IdentifierToken 339Friend Shared Function CanFollowExpression(kind As SyntaxKind) As Boolean 347Friend Shared Function IsQueryClause(kind As SyntaxKind) As Boolean 355Friend Shared Function TokenOpPrec(kind As SyntaxKind) As OperatorPrecedence 367Token As SyntaxKind,
Scanner\Scanner.vb (31)
56Private Shared ReadOnly s_keywordKindFactory As Func(Of String, SyntaxKind) = 59Private Shared ReadOnly s_keywordsObjsPool As ObjectPool(Of CachingIdentityFactory(Of String, SyntaxKind)) = CachingIdentityFactory(Of String, SyntaxKind).CreatePool(TABLE_LIMIT, s_keywordKindFactory) 60Private ReadOnly _KeywordsObjs As CachingIdentityFactory(Of String, SyntaxKind) = s_keywordsObjsPool.Allocate() 953If n = 0 OrElse tList(n - 1).RawKind <> SyntaxKind.EndOfLineTrivia Then 957If tList(i).RawKind <> SyntaxKind.WhitespaceTrivia Then 1264Return MakeKeyword(SyntaxKind.AsKeyword, "As", precedingTrivia) 1273Return MakeKeyword(SyntaxKind.EndKeyword, "End", precedingTrivia) 1282Return MakeKeyword(SyntaxKind.IfKeyword, "If", precedingTrivia) 1322Return MakePunctuationToken(precedingTrivia, 2, SyntaxKind.DollarSignDoubleQuoteToken) 1580Dim tokenType As SyntaxKind = SyntaxKind.IdentifierToken 1581Dim contextualKind As SyntaxKind = SyntaxKind.IdentifierToken 1593tokenType = SyntaxKind.IdentifierToken 1595ElseIf TokenOfStringCached(baseSpelling) = SyntaxKind.MidKeyword Then 1597contextualKind = SyntaxKind.MidKeyword 1598tokenType = SyntaxKind.IdentifierToken 1601If tokenType <> SyntaxKind.IdentifierToken Then 1611Private Function TokenOfStringCached(spelling As String) As SyntaxKind 1613Return SyntaxKind.IdentifierToken 1659SyntaxKind.IdentifierToken, 2617Friend Shared Function TryIdentifierAsContextualKeyword(id As IdentifierTokenSyntax, ByRef k As SyntaxKind) As Boolean 2620If id.PossibleKeywordKind <> SyntaxKind.IdentifierToken Then 2635Dim kind As SyntaxKind = SyntaxKind.IdentifierToken 2649If t.Kind = SyntaxKind.IdentifierToken Then 2656Friend Shared Function TryTokenAsKeyword(t As SyntaxToken, ByRef kind As SyntaxKind) As Boolean 2667If t.Kind = SyntaxKind.IdentifierToken Then 2674Friend Shared Function IsContextualKeyword(t As SyntaxToken, ParamArray kinds As SyntaxKind()) As Boolean 2675Dim kind As SyntaxKind = Nothing
Scanner\ScannerInterpolatedString.vb (8)
20Dim kind As SyntaxKind 45kind = SyntaxKind.DollarSignDoubleQuoteToken 55kind = SyntaxKind.OpenBraceToken 61kind = SyntaxKind.CommaToken 67kind = SyntaxKind.ColonToken 73kind = SyntaxKind.CloseBraceToken 82kind = SyntaxKind.DoubleQuoteToken 234Return SyntaxFactory.Token(Nothing, SyntaxKind.EndOfInterpolatedStringToken, Nothing, String.Empty)
Scanner\ScannerXml.vb (14)
88Return SyntaxFactory.Token(Nothing, SyntaxKind.EndOfXmlToken, Nothing, String.Empty) 240If name.PossibleKeywordKind <> SyntaxKind.XmlNameToken Then 249If IsSingleQuote(c) AndAlso LastToken.Kind <> SyntaxKind.EqualsToken Then 263possibleStatement = token.Kind = SyntaxKind.XmlNameToken OrElse 264LastToken.Kind = SyntaxKind.XmlNameToken 275If name.PossibleKeywordKind = SyntaxKind.XmlNameToken Then 277token.Kind = SyntaxKind.OpenParenToken 280(token.Kind = SyntaxKind.IdentifierToken) OrElse token.IsKeyword 782Return SyntaxFactory.Token(precedingTrivia.Node, SyntaxKind.EndOfXmlToken, Nothing, String.Empty) 809Return MakeMissingToken(Nothing, SyntaxKind.SingleQuoteToken) 817Return MakeMissingToken(Nothing, SyntaxKind.SingleQuoteToken) 832Return MakeMissingToken(Nothing, SyntaxKind.SingleQuoteToken) 934Dim data = SyntaxFactory.MissingToken(SyntaxKind.SingleQuoteToken) 1130Return MakeMissingToken(precedingTrivia, SyntaxKind.XmlNameToken)
Scanner\TokenFactories.vb (66)
23Public ReadOnly kind As SyntaxKind 25Public Sub New(spelling As String, kind As SyntaxKind) 47table.Add(New TriviaKey(" ", SyntaxKind.WhitespaceTrivia), s_singleSpaceWhitespaceTrivia) 48table.Add(New TriviaKey(" ", SyntaxKind.WhitespaceTrivia), s_fourSpacesWhitespaceTrivia) 49table.Add(New TriviaKey(" ", SyntaxKind.WhitespaceTrivia), s_eightSpacesWhitespaceTrivia) 50table.Add(New TriviaKey(" ", SyntaxKind.WhitespaceTrivia), s_twelveSpacesWhitespaceTrivia) 51table.Add(New TriviaKey(" ", SyntaxKind.WhitespaceTrivia), s_sixteenSpacesWhitespaceTrivia) 141Case SyntaxKind.WhitespaceTrivia, 142SyntaxKind.EndOfLineTrivia, 143SyntaxKind.LineContinuationTrivia, 144SyntaxKind.DocumentationCommentExteriorTrivia 162Dim key = New TriviaKey(text, SyntaxKind.WhitespaceTrivia) 172Dim key = New TriviaKey(text, SyntaxKind.EndOfLineTrivia) 185Dim key = New TriviaKey(text, SyntaxKind.ColonTrivia) 204Dim key = New TriviaKey(text, SyntaxKind.LineContinuationTrivia) 214Dim key = New TriviaKey(text, SyntaxKind.DocumentationCommentExteriorTrivia) 223Return SyntaxFactory.SyntaxTrivia(SyntaxKind.CommentTrivia, text) 244contextualKind As SyntaxKind, 273contextualKind As SyntaxKind, 287If contextualKind <> SyntaxKind.IdentifierToken OrElse 304Private Function MakeKeyword(tokenType As SyntaxKind, 317Debug.Assert(identifier.PossibleKeywordKind <> SyntaxKind.IdentifierToken AndAlso 319(identifier.TypeCharacter = TypeCharacter.None OrElse identifier.PossibleKeywordKind = SyntaxKind.MidKeyword)) 328Debug.Assert(xmlName.PossibleKeywordKind <> SyntaxKind.XmlNameToken) 336Private Function MakeKeyword(tokenType As SyntaxKind, 357kind As SyntaxKind) As PunctuationSyntax 365kind As SyntaxKind) As PunctuationSyntax 372Friend Function MakePunctuationToken(kind As SyntaxKind, 394Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.OpenParenToken) 401Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.CloseParenToken) 408Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.DotToken) 415Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.CommaToken) 422Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.EqualsToken) 429Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.HashToken) 436Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.AmpersandToken) 443Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.OpenBraceToken) 450Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.CloseBraceToken) 467Return MakePunctuationToken(precedingTrivia, "", SyntaxKind.EmptyToken) 474Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.PlusToken) 481Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.MinusToken) 488Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.AsteriskToken) 495Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.SlashToken) 502Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.BackslashToken) 509Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.CaretToken) 516Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.ExclamationToken) 523Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.QuestionToken) 530Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.GreaterThanToken) 537Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.LessThanToken) 554Return MakePunctuationToken(precedingTrivia, length, SyntaxKind.AmpersandEqualsToken) 558Return MakePunctuationToken(precedingTrivia, length, SyntaxKind.ColonEqualsToken) 562Return MakePunctuationToken(precedingTrivia, length, SyntaxKind.PlusEqualsToken) 566Return MakePunctuationToken(precedingTrivia, length, SyntaxKind.MinusEqualsToken) 570Return MakePunctuationToken(precedingTrivia, length, SyntaxKind.AsteriskEqualsToken) 574Return MakePunctuationToken(precedingTrivia, length, SyntaxKind.SlashEqualsToken) 578Return MakePunctuationToken(precedingTrivia, length, SyntaxKind.BackslashEqualsToken) 582Return MakePunctuationToken(precedingTrivia, length, SyntaxKind.CaretEqualsToken) 586Return MakePunctuationToken(precedingTrivia, length, SyntaxKind.GreaterThanEqualsToken) 590Return MakePunctuationToken(precedingTrivia, length, SyntaxKind.LessThanEqualsToken) 594Return MakePunctuationToken(precedingTrivia, length, SyntaxKind.LessThanGreaterThanToken) 598Return MakePunctuationToken(precedingTrivia, length, SyntaxKind.LessThanLessThanToken) 602Return MakePunctuationToken(precedingTrivia, length, SyntaxKind.GreaterThanGreaterThanToken) 606Return MakePunctuationToken(precedingTrivia, length, SyntaxKind.LessThanLessThanEqualsToken) 610Return MakePunctuationToken(precedingTrivia, length, SyntaxKind.GreaterThanGreaterThanEqualsToken) 617Return MakePunctuationToken(precedingTrivia, spelling, SyntaxKind.AtToken) 748Return SyntaxFactory.Token(precedingTrivia.Node, SyntaxKind.EndOfFileToken, Nothing, String.Empty) 751Private ReadOnly _simpleEof As SyntaxToken = SyntaxFactory.Token(Nothing, SyntaxKind.EndOfFileToken, Nothing, String.Empty)
Scanner\TokenStream.vb (6)
274Debug.Assert(tk.LastTriviaIfAny().Kind = SyntaxKind.ColonTrivia) 276Debug.Assert(_currentToken.InnerTokenObject.Kind = SyntaxKind.ColonToken) 298Debug.Assert(lastTrivia.Kind = SyntaxKind.ColonTrivia) 305tk = MakePunctuationToken(SyntaxKind.ColonToken, lastTrivia.Text, precedingTrivia, followingTrivia) 319_currentToken.InnerTokenObject.Kind = SyntaxKind.EndOfXmlToken 410If _tokens(i).InnerTokenObject.Kind = SyntaxKind.StatementTerminatorToken Then
Scanner\XmlDocComments.vb (4)
102If nodes.Count = 0 AndAlso parser.CurrentToken.Kind = SyntaxKind.EndOfXmlToken Then 255Return SyntaxFactory.Token(Nothing, SyntaxKind.EndOfXmlToken, Nothing, String.Empty) 377result = SyntaxFactory.Token(precedingTrivia.ToList.Node, SyntaxKind.EndOfXmlToken, Nothing, String.Empty) 481Return SyntaxFactory.Token(precedingTrivia.Node, SyntaxKind.EndOfXmlToken, Nothing, String.Empty)
Scanner\XmlTokenFactories.vb (29)
17Private Shared Function MakeMissingToken(precedingTrivia As CoreInternalSyntax.SyntaxList(Of VisualBasicSyntaxNode), kind As SyntaxKind) As SyntaxToken 29Return MakePunctuationToken(SyntaxKind.OpenParenToken, "(", precedingTrivia, followingTrivia) 36Return MakePunctuationToken(SyntaxKind.CloseParenToken, ")", precedingTrivia, followingTrivia) 43Return MakePunctuationToken(SyntaxKind.EqualsToken, "=", precedingTrivia, followingTrivia) 50Return MakePunctuationToken(SyntaxKind.SlashToken, "/", precedingTrivia, followingTrivia) 57Return MakePunctuationToken(SyntaxKind.ColonToken, ":", precedingTrivia, followingTrivia) 64Return MakePunctuationToken(SyntaxKind.GreaterThanToken, ">", precedingTrivia, Nothing) 71Return MakePunctuationToken(SyntaxKind.LessThanToken, "<", precedingTrivia, followingTrivia) 95PrevToken.Kind = SyntaxKind.LessThanToken OrElse 96PrevToken.Kind = SyntaxKind.LessThanSlashToken OrElse 97PrevToken.Kind = SyntaxKind.LessThanQuestionToken) Then 126Return MakePunctuationToken(SyntaxKind.SingleQuoteToken, Intern(spelling), precedingTrivia, followingTrivia) 142Return MakePunctuationToken(SyntaxKind.DoubleQuoteToken, Intern(spelling), precedingTrivia, followingTrivia) 155Dim contextualKind As SyntaxKind = SyntaxKind.XmlNameToken 160contextualKind = SyntaxKind.XmlKeyword 164If contextualKind = SyntaxKind.XmlNameToken Then 166If contextualKind = SyntaxKind.IdentifierToken Then 167contextualKind = SyntaxKind.XmlNameToken 306Return MakePunctuationToken(SyntaxKind.LessThanSlashToken, "</", precedingTrivia, followingTrivia) 313Return MakePunctuationToken(SyntaxKind.SlashGreaterThanToken, "/>", precedingTrivia, Nothing) 320Return MakePunctuationToken(SyntaxKind.LessThanPercentEqualsToken, "<%=", precedingTrivia, Nothing) 336Return MakePunctuationToken(SyntaxKind.PercentGreaterThanToken, spelling, precedingTrivia, followingTrivia) 370Return MakePunctuationToken(SyntaxKind.LessThanQuestionToken, "<?", precedingTrivia, followingTrivia) 385Return MakePunctuationToken(SyntaxKind.QuestionGreaterThanToken, "?>", precedingTrivia, Nothing) 395Return MakePunctuationToken(SyntaxKind.LessThanExclamationMinusMinusToken, "<!--", precedingTrivia, followingTrivia) 410Return MakePunctuationToken(SyntaxKind.MinusMinusGreaterThanToken, "-->", precedingTrivia, Nothing) 421Return MakePunctuationToken(SyntaxKind.BeginCDataToken, "<![CDATA[", precedingTrivia, followingTrivia) 431Return MakePunctuationToken(SyntaxKind.EndCDataToken, "]]>", precedingTrivia, Nothing)
Semantics\Operators.vb (65)
129Friend Shared Function GetOperatorTokenKind(name As String) As SyntaxKind 134Friend Shared Function GetOperatorTokenKind(opInfo As OperatorInfo) As SyntaxKind 142Friend Shared Function GetOperatorTokenKind(op As UnaryOperatorKind) As SyntaxKind 145Return SyntaxKind.IsFalseKeyword 147Return SyntaxKind.IsTrueKeyword 149Return SyntaxKind.MinusToken 151Return SyntaxKind.NotKeyword 153Return SyntaxKind.PlusToken 155Return SyntaxKind.CTypeKeyword 161Friend Shared Function GetOperatorTokenKind(op As BinaryOperatorKind) As SyntaxKind 164Return SyntaxKind.PlusToken 166Return SyntaxKind.MinusToken 168Return SyntaxKind.AsteriskToken 170Return SyntaxKind.SlashToken 172Return SyntaxKind.BackslashToken 174Return SyntaxKind.ModKeyword 176Return SyntaxKind.CaretToken 178Return SyntaxKind.EqualsToken 180Return SyntaxKind.LessThanGreaterThanToken 182Return SyntaxKind.LessThanToken 184Return SyntaxKind.GreaterThanToken 186Return SyntaxKind.LessThanEqualsToken 188Return SyntaxKind.GreaterThanEqualsToken 190Return SyntaxKind.LikeKeyword 192Return SyntaxKind.AmpersandToken 194Return SyntaxKind.AndKeyword 196Return SyntaxKind.OrKeyword 198Return SyntaxKind.XorKeyword 200Return SyntaxKind.LessThanLessThanToken 202Return SyntaxKind.GreaterThanGreaterThanToken 204Return SyntaxKind.AndAlsoKeyword 206Return SyntaxKind.OrElseKeyword 208Return SyntaxKind.IsKeyword 210Return SyntaxKind.IsNotKeyword 336diagnosticsOpt.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OperatorRequiresBoolReturnType1, SyntaxFacts.GetText(SyntaxKind.IsTrueKeyword)), method.Locations(0)) 343diagnosticsOpt.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OperatorRequiresBoolReturnType1, SyntaxFacts.GetText(SyntaxKind.IsFalseKeyword)), method.Locations(0)) 363SyntaxKind.LessThanLessThanToken, 364SyntaxKind.GreaterThanGreaterThanToken))), method.Locations(0)) 477Public Shared Function MapUnaryOperatorKind(opCode As SyntaxKind) As UnaryOperatorKind 481Case SyntaxKind.UnaryPlusExpression 483Case SyntaxKind.UnaryMinusExpression 485Case SyntaxKind.NotExpression 810Public Shared Function MapBinaryOperatorKind(opCode As SyntaxKind) As BinaryOperatorKind 814Case SyntaxKind.AddExpression : result = BinaryOperatorKind.Add 815Case SyntaxKind.ConcatenateExpression : result = BinaryOperatorKind.Concatenate 816Case SyntaxKind.LikeExpression : result = BinaryOperatorKind.Like 817Case SyntaxKind.EqualsExpression : result = BinaryOperatorKind.Equals 818Case SyntaxKind.NotEqualsExpression : result = BinaryOperatorKind.NotEquals 819Case SyntaxKind.LessThanOrEqualExpression : result = BinaryOperatorKind.LessThanOrEqual 820Case SyntaxKind.GreaterThanOrEqualExpression : result = BinaryOperatorKind.GreaterThanOrEqual 821Case SyntaxKind.LessThanExpression : result = BinaryOperatorKind.LessThan 822Case SyntaxKind.GreaterThanExpression : result = BinaryOperatorKind.GreaterThan 823Case SyntaxKind.SubtractExpression : result = BinaryOperatorKind.Subtract 824Case SyntaxKind.MultiplyExpression : result = BinaryOperatorKind.Multiply 825Case SyntaxKind.ExponentiateExpression : result = BinaryOperatorKind.Power 826Case SyntaxKind.DivideExpression : result = BinaryOperatorKind.Divide 827Case SyntaxKind.ModuloExpression : result = BinaryOperatorKind.Modulo 828Case SyntaxKind.IntegerDivideExpression : result = BinaryOperatorKind.IntegerDivide 829Case SyntaxKind.LeftShiftExpression : result = BinaryOperatorKind.LeftShift 830Case SyntaxKind.RightShiftExpression : result = BinaryOperatorKind.RightShift 831Case SyntaxKind.ExclusiveOrExpression : result = BinaryOperatorKind.Xor 832Case SyntaxKind.OrExpression : result = BinaryOperatorKind.Or 833Case SyntaxKind.OrElseExpression : result = BinaryOperatorKind.OrElse 834Case SyntaxKind.AndExpression : result = BinaryOperatorKind.And 835Case SyntaxKind.AndAlsoExpression : result = BinaryOperatorKind.AndAlso
Semantics\OverloadResolution.vb (1)
3778If parent.Kind = SyntaxKind.Attribute Then
src\Compilers\VisualBasic\BasicAnalyzerDriver\VisualBasicDeclarationComputer.vb (28)
57Case SyntaxKind.NamespaceBlock 67While (name.Kind() = SyntaxKind.QualifiedName) 75Case SyntaxKind.EnumBlock 83Case SyntaxKind.EnumStatement 88Case SyntaxKind.EnumMemberDeclaration 94Case SyntaxKind.EventBlock 102Case SyntaxKind.FieldDeclaration 113Case SyntaxKind.PropertyBlock 121Case SyntaxKind.PropertyStatement 126Case SyntaxKind.CompilationUnit 202Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement 205Case SyntaxKind.SubLambdaHeader, SyntaxKind.FunctionLambdaHeader 208Case SyntaxKind.DeclareSubStatement, SyntaxKind.DeclareFunctionStatement 211Case SyntaxKind.DelegateSubStatement, SyntaxKind.DelegateFunctionStatement 214Case SyntaxKind.EventStatement 217Case SyntaxKind.OperatorStatement 220Case SyntaxKind.PropertyStatement 223Case SyntaxKind.SubNewStatement, 224SyntaxKind.GetAccessorStatement, 225SyntaxKind.SetAccessorStatement, 226SyntaxKind.AddHandlerAccessorStatement, 227SyntaxKind.RemoveHandlerAccessorStatement, 228SyntaxKind.RaiseEventAccessorStatement 273Return If(asClause.IsKind(SyntaxKind.AsNewClause), asClause, Nothing)
SymbolDisplay\SymbolDisplayVisitor.Members.vb (80)
24AddOperator(SyntaxKind.DotToken) 42AddKeyword(SyntaxKind.AsKeyword) 56AddPunctuation(SyntaxKind.EqualsToken) 68AddKeyword(SyntaxKind.ReadOnlyKeyword) 71AddKeyword(SyntaxKind.WriteOnlyKeyword) 77AddKeyword(SyntaxKind.DefaultKeyword) 82AddKeyword(SyntaxKind.ByRefKeyword) 89AddKeyword(SyntaxKind.WithEventsKeyword) 91AddKeyword(SyntaxKind.PropertyKeyword) 100AddOperator(SyntaxKind.DotToken) 108AddPunctuation(SyntaxKind.OpenParenToken) 110AddPunctuation(SyntaxKind.CloseParenToken) 116AddKeyword(SyntaxKind.AsKeyword) 129AddKeyword(SyntaxKind.EventKeyword) 136AddOperator(SyntaxKind.DotToken) 145AddPunctuation(SyntaxKind.OpenParenToken) 147AddPunctuation(SyntaxKind.CloseParenToken) 156AddKeyword(SyntaxKind.AsKeyword) 182AddKeyword(SyntaxKind.ByRefKeyword) 198AddKeyword(SyntaxKind.SubKeyword) 203AddKeyword(SyntaxKind.FunctionKeyword) 206AddKeyword(SyntaxKind.PropertyKeyword) 208AddKeyword(SyntaxKind.GetKeyword) 214AddKeyword(SyntaxKind.SubKeyword) 217AddKeyword(SyntaxKind.PropertyKeyword) 219AddKeyword(SyntaxKind.SetKeyword) 228AddKeyword(SyntaxKind.SubKeyword) 234SyntaxKind.AddHandlerKeyword, 237SyntaxKind.RemoveHandlerKeyword, 238SyntaxKind.RaiseEventKeyword))) 240AddKeyword(SyntaxKind.EventKeyword) 246Dim tokenKind As SyntaxKind = TryGetConversionTokenKind(symbol) 248If tokenKind = SyntaxKind.None OrElse Format.CompilerInternalOptions.IncludesOption(SymbolDisplayCompilerInternalOptions.UseMetadataMemberNames) Then 249AddKeyword(SyntaxKind.FunctionKeyword) 255AddKeyword(SyntaxKind.OperatorKeyword) 260Dim tokenKind As SyntaxKind = TryGetOperatorTokenKind(symbol) 262If tokenKind = SyntaxKind.None OrElse Format.CompilerInternalOptions.IncludesOption(SymbolDisplayCompilerInternalOptions.UseMetadataMemberNames) Then 263AddKeyword(SyntaxKind.FunctionKeyword) 266AddKeyword(SyntaxKind.OperatorKeyword) 276AddKeyword(SyntaxKind.SubKeyword) 279AddKeyword(SyntaxKind.FunctionKeyword) 305AddOperator(SyntaxKind.DotToken) 342AddKeyword(SyntaxKind.NewKeyword) 347Dim tokenKind As SyntaxKind = TryGetOperatorTokenKind(symbol) 349If tokenKind = SyntaxKind.None OrElse Format.CompilerInternalOptions.IncludesOption(SymbolDisplayCompilerInternalOptions.UseMetadataMemberNames) Then 362Dim tokenKind As SyntaxKind = TryGetConversionTokenKind(symbol) 364If tokenKind = SyntaxKind.None OrElse Format.CompilerInternalOptions.IncludesOption(SymbolDisplayCompilerInternalOptions.UseMetadataMemberNames) Then 367AddKeyword(SyntaxKind.CTypeKeyword) 380Private Shared Function TryGetOperatorTokenKind(symbol As IMethodSymbol) As SyntaxKind 404Return SyntaxKind.None 408Private Shared Function TryGetConversionTokenKind(symbol As IMethodSymbol) As SyntaxKind 410Return SyntaxKind.WideningKeyword 412Return SyntaxKind.NarrowingKeyword 414Return SyntaxKind.None 426AddPunctuation(SyntaxKind.OpenParenToken) 429AddPunctuation(SyntaxKind.CloseParenToken) 441AddKeyword(SyntaxKind.AsKeyword) 457AddKeyword(SyntaxKind.DeclareKeyword) 462AddKeyword(SyntaxKind.AnsiKeyword) 466AddKeyword(SyntaxKind.AutoKeyword) 470AddKeyword(SyntaxKind.UnicodeKeyword) 477AddKeyword(If(method.ReturnsVoid, SyntaxKind.SubKeyword, SyntaxKind.FunctionKeyword)) 488AddKeyword(SyntaxKind.LibKeyword) 497AddKeyword(SyntaxKind.AliasKeyword) 528AddKeyword(SyntaxKind.ByRefKeyword) 535AddKeyword(SyntaxKind.ParamArrayKeyword) 548AddKeyword(SyntaxKind.AsKeyword) 558AddPunctuation(SyntaxKind.EqualsToken) 585AddPunctuation(SyntaxKind.OpenParenToken) 587AddPunctuation(SyntaxKind.CloseParenToken) 599AddKeyword(SyntaxKind.ConstKeyword) 604AddKeyword(SyntaxKind.ReadOnlyKeyword) 623AddKeyword(SyntaxKind.SharedKeyword) 630AddKeyword(SyntaxKind.MustOverrideKeyword) 635AddKeyword(SyntaxKind.NotOverridableKeyword) 640AddKeyword(SyntaxKind.OverridableKeyword) 646AddKeyword(SyntaxKind.OverloadsKeyword) 651AddKeyword(SyntaxKind.OverridesKeyword) 666AddPunctuation(SyntaxKind.CommaToken)
SymbolDisplay\SymbolDisplayVisitor.Types.vb (49)
47AddPunctuation(SyntaxKind.OpenParenToken) 50AddPunctuation(SyntaxKind.AsteriskToken) 57AddPunctuation(SyntaxKind.AsteriskToken) 63AddPunctuation(SyntaxKind.CommaToken) 65AddPunctuation(SyntaxKind.AsteriskToken) 69AddPunctuation(SyntaxKind.CloseParenToken) 73AddKeyword(SyntaxKind.ObjectKeyword) 78AddPunctuation(SyntaxKind.AsteriskToken) 102AddPunctuation(SyntaxKind.QuestionToken) 121AddKeyword(SyntaxKind.SubKeyword) 124AddKeyword(SyntaxKind.ByRefKeyword) 128AddKeyword(SyntaxKind.FunctionKeyword) 154AddOperator(SyntaxKind.DotToken) 165AddOperator(SyntaxKind.PlusToken) 167AddOperator(SyntaxKind.DotToken) 180AddPunctuation(SyntaxKind.OpenParenToken) 182AddPunctuation(SyntaxKind.CloseParenToken) 189AddKeyword(SyntaxKind.AsKeyword) 287AddPunctuation(SyntaxKind.OpenParenToken) 288AddKeyword(SyntaxKind.OfKeyword) 292AddPunctuation(SyntaxKind.CommaToken) 295AddPunctuation(SyntaxKind.CloseParenToken) 385AddPunctuation(SyntaxKind.OpenParenToken) 391AddPunctuation(SyntaxKind.CommaToken) 398AddKeyword(SyntaxKind.AsKeyword) 405AddPunctuation(SyntaxKind.CloseParenToken) 439If keyword = SyntaxKind.None Then 449Private Shared Function GetTypeKindKeyword(typeKind As TypeKind) As SyntaxKind 452Return SyntaxKind.EnumKeyword 454Return SyntaxKind.ClassKeyword 456Return SyntaxKind.DelegateKeyword 458Return SyntaxKind.InterfaceKeyword 460Return SyntaxKind.ModuleKeyword 462Return SyntaxKind.StructureKeyword 464Return SyntaxKind.None 472AddKeyword(SyntaxKind.InKeyword) 475AddKeyword(SyntaxKind.OutKeyword) 483AddPunctuation(SyntaxKind.OpenParenToken) 484AddKeyword(SyntaxKind.OfKeyword) 492AddPunctuation(SyntaxKind.CommaToken) 515AddPunctuation(SyntaxKind.CloseParenToken) 541AddKeyword(SyntaxKind.AsKeyword) 545AddPunctuation(SyntaxKind.OpenBraceToken) 550AddKeyword(SyntaxKind.ClassKeyword) 553AddKeyword(SyntaxKind.StructureKeyword) 559AddPunctuation(SyntaxKind.CommaToken) 569AddPunctuation(SyntaxKind.CommaToken) 572AddKeyword(SyntaxKind.NewKeyword) 576AddPunctuation(SyntaxKind.CloseBraceToken)
SymbolDisplay\SymbolDisplayVisitor.vb (41)
99If CaseInsensitiveComparison.Equals(SyntaxFacts.GetText(SyntaxKind.REMKeyword), text) OrElse 100CaseInsensitiveComparison.Equals(SyntaxFacts.GetText(SyntaxKind.NewKeyword), text) Then 137If SyntaxFacts.GetKeywordKind(identifier) <> SyntaxKind.None Then 145Dim contextualKeywordKind As SyntaxKind = SyntaxFacts.GetContextualKeywordKind(identifier) 156Case SyntaxKind.AggregateKeyword, 157SyntaxKind.DistinctKeyword, 158SyntaxKind.FromKeyword, 159SyntaxKind.GroupKeyword, 160SyntaxKind.JoinKeyword, 161SyntaxKind.LetKeyword, 162SyntaxKind.OrderKeyword, 163SyntaxKind.SelectKeyword, 164SyntaxKind.SkipKeyword, 165SyntaxKind.TakeKeyword, 166SyntaxKind.WhereKeyword, 167SyntaxKind.InKeyword, 168SyntaxKind.IntoKeyword, 169SyntaxKind.OnKeyword, 170SyntaxKind.AscendingKeyword, 171SyntaxKind.DescendingKeyword, 172SyntaxKind.PreserveKeyword 193AddPunctuation(SyntaxKind.EqualsToken) 204AddKeyword(SyntaxKind.NamespaceKeyword) 241AddKeyword(SyntaxKind.NamespaceKeyword) 247AddOperator(SyntaxKind.DotToken) 263Builder.Add(CreatePart(SymbolDisplayPartKind.Keyword, symbol, SyntaxFacts.GetText(SyntaxKind.GlobalKeyword), True)) 266Builder.Add(CreatePart(SymbolDisplayPartKind.Keyword, symbol, SyntaxFacts.GetText(SyntaxKind.GlobalKeyword), True)) 290AddKeyword(SyntaxKind.AsKeyword) 297AddPunctuation(SyntaxKind.EqualsToken) 311AddKeyword(SyntaxKind.AsKeyword) 327Private Sub AddOperator(operatorKind As SyntaxKind) 331Private Sub AddPunctuation(punctuationKind As SyntaxKind) 339Private Sub AddKeyword(keywordKind As SyntaxKind) 353AddKeyword(SyntaxKind.PrivateKeyword) 355AddKeyword(SyntaxKind.FriendKeyword) 357AddKeyword(SyntaxKind.ProtectedKeyword) 359AddKeyword(SyntaxKind.PrivateKeyword) 361AddKeyword(SyntaxKind.ProtectedKeyword) 363AddKeyword(SyntaxKind.ProtectedKeyword) 365AddKeyword(SyntaxKind.FriendKeyword) 367AddKeyword(SyntaxKind.PublicKeyword)
SymbolDisplay\SymbolDisplayVisitor_Constants.vb (2)
11AddKeyword(SyntaxKind.OrKeyword) 43AddKeyword(SyntaxKind.NothingKeyword)
SymbolDisplay\SymbolDisplayVisitor_Minimal.vb (7)
72AddOperator(SyntaxKind.DotToken) 79AddOperator(SyntaxKind.DotToken) 102AddOperator(SyntaxKind.DotToken) 108AddKeyword(SyntaxKind.GlobalKeyword) 109AddOperator(SyntaxKind.DotToken) 113AddOperator(SyntaxKind.DotToken) 195If token.Kind = SyntaxKind.IdentifierToken Then
Symbols\Attributes\AttributeData.vb (1)
91attributeSyntax.ArgumentList.Arguments.Where(Function(arg) arg.Kind = SyntaxKind.SimpleArgument AndAlso Not arg.IsNamed).Count,
Symbols\FieldOrPropertyInitializer.vb (7)
55Debug.Assert(syntax.GetSyntax().IsKind(SyntaxKind.AsNewClause) OrElse 56syntax.GetSyntax().IsKind(SyntaxKind.EqualsValue) OrElse 57syntax.GetSyntax().IsKind(SyntaxKind.ModifiedIdentifier)) 70Debug.Assert(syntax.GetSyntax().IsKind(SyntaxKind.AsNewClause) OrElse syntax.GetSyntax().IsKind(SyntaxKind.EqualsValue)) 85Debug.Assert(syntax.GetSyntax().IsKind(SyntaxKind.AsNewClause) OrElse syntax.GetSyntax().IsKind(SyntaxKind.EqualsValue))
Symbols\LabelSymbol.vb (3)
169Debug.Assert(resumeStmt.Kind = SyntaxKind.OnErrorResumeNextStatement OrElse 170resumeStmt.Kind = SyntaxKind.ResumeNextStatement OrElse 171resumeStmt.Kind = SyntaxKind.ResumeStatement)
Symbols\MethodKindExtensions.vb (5)
17Return SyntaxFacts.GetText(SyntaxKind.AddHandlerKeyword) 20Return SyntaxFacts.GetText(SyntaxKind.RaiseEventKeyword) 23Return SyntaxFacts.GetText(SyntaxKind.RemoveHandlerKeyword) 26Return SyntaxFacts.GetText(SyntaxKind.GetKeyword) 29Return SyntaxFacts.GetText(SyntaxKind.SetKeyword)
Symbols\NamespaceSymbol.vb (2)
411Case SyntaxKind.IdentifierName 413Case SyntaxKind.QualifiedName
Symbols\Source\ImplicitNamedTypeSymbol.vb (1)
187Dim nodeMembers = If(node.Kind = SyntaxKind.CompilationUnit, DirectCast(node, CompilationUnitSyntax).Members, DirectCast(node, NamespaceBlockSyntax).Members)
Symbols\Source\LocalSymbol.vb (10)
496Debug.Assert(identifierToken.Kind <> SyntaxKind.None) 547If node.IsKind(SyntaxKind.PropertyStatement) Then 549Return propertyBlock.Accessors.Where(Function(a) a.IsKind(SyntaxKind.GetAccessorBlock)).Single().BlockStatement 550ElseIf node.IsKind(SyntaxKind.EventStatement) Then 552Return eventBlock.Accessors.Where(Function(a) a.IsKind(SyntaxKind.AddHandlerAccessorBlock)).Single().BlockStatement 555Debug.Assert(node.IsKind(SyntaxKind.FunctionStatement)) 563If Not node.IsKind(SyntaxKind.ModifiedIdentifier) Then 565Debug.Assert(node.IsKind(SyntaxKind.ForStatement)) 570If Not node.IsKind(SyntaxKind.ModifiedIdentifier) Then 572Debug.Assert(node.IsKind(SyntaxKind.ForEachStatement))
Symbols\Source\QuickAttributeChecker.vb (2)
115Case SyntaxKind.IdentifierName 117Case SyntaxKind.QualifiedName
Symbols\Source\SourceDelegateMethodSymbol.vb (1)
109If syntax.Kind = SyntaxKind.DelegateFunctionStatement Then
Symbols\Source\SourceEventSymbol.vb (4)
265Binder.ReportDiagnostic(diagnostics, syntax.Modifiers.First(SyntaxKind.SharedKeyword), ERRID.ERR_SharedOnProcThatImpl) 352Case SyntaxKind.AddHandlerAccessorBlock 355Case SyntaxKind.RemoveHandlerAccessorBlock 358Case SyntaxKind.RaiseEventAccessorBlock
Symbols\Source\SourceFile.vb (5)
115If clause.Kind = SyntaxKind.SimpleImportsClause Then 205Case SyntaxKind.StrictKeyword 212Case SyntaxKind.InferKeyword 219Case SyntaxKind.ExplicitKeyword 226Case SyntaxKind.CompareKeyword
Symbols\Source\SourceLabelSymbol.vb (2)
27Debug.Assert(labelNameToken.Kind = SyntaxKind.IdentifierToken OrElse labelNameToken.Kind = SyntaxKind.IntegerLiteralToken)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (26)
2547Case SyntaxKind.FieldDeclaration 2558SyntaxKind.SubBlock, 2559SyntaxKind.FunctionBlock, 2560SyntaxKind.ConstructorBlock, 2561SyntaxKind.OperatorBlock 2575SyntaxKind.SubStatement, 2576SyntaxKind.FunctionStatement, 2577SyntaxKind.SubNewStatement, 2578SyntaxKind.DeclareSubStatement, 2579SyntaxKind.DeclareFunctionStatement, 2580SyntaxKind.OperatorStatement 2593Case SyntaxKind.PropertyBlock 2602Case SyntaxKind.PropertyStatement 2611Case SyntaxKind.LabelStatement 2615Case SyntaxKind.EventStatement 2619Case SyntaxKind.EventBlock 2624If memberSyntax.Kind = SyntaxKind.EmptyStatement OrElse TypeOf memberSyntax Is ExecutableStatementSyntax Then 2655If asClauseOpt IsNot Nothing AndAlso asClauseOpt.Kind = SyntaxKind.AsNewClause Then 2698Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement 2700Case SyntaxKind.SubNewStatement 2702Case SyntaxKind.OperatorStatement 2704Case SyntaxKind.DeclareSubStatement, SyntaxKind.DeclareFunctionStatement 2839If handlesClause.EventContainer.Kind = SyntaxKind.KeywordEventContainer Then 2853If handlesClause.EventContainer.Kind <> SyntaxKind.MyBaseKeyword Then
Symbols\Source\SourceMemberFieldSymbol.vb (24)
168If (asClauseOpt.Kind <> SyntaxKind.AsNewClause OrElse (DirectCast(asClauseOpt, AsNewClauseSyntax).NewExpression.Kind <> SyntaxKind.AnonymousObjectCreationExpression)) Then 171If asClauseOpt.Kind = SyntaxKind.AsNewClause Then 179If (asClauseOpt IsNot Nothing AndAlso asClauseOpt.Kind = SyntaxKind.AsNewClause AndAlso 180(DirectCast(asClauseOpt, AsNewClauseSyntax).NewExpression.Kind = SyntaxKind.AnonymousObjectCreationExpression)) Then 423If syntax.Modifiers.Any(SyntaxKind.WithEventsKeyword) Then 442binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_StructCantUseVarSpecifier1, diagBag.DiagnosticBag, SyntaxKind.ProtectedKeyword) 448binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_StructCantUseVarSpecifier1, diagBag.DiagnosticBag, SyntaxKind.WithEventsKeyword) 456SyntaxKind.SharedKeyword, 457SyntaxKind.ProtectedKeyword, 458SyntaxKind.DefaultKeyword, 459SyntaxKind.MustOverrideKeyword, 460SyntaxKind.OverridableKeyword, 461SyntaxKind.ShadowsKeyword, 462SyntaxKind.OverridesKeyword, 463SyntaxKind.NotOverridableKeyword) 479binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_BadConstFlags1, diagBag.DiagnosticBag, SyntaxKind.SharedKeyword) 483binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_BadConstFlags1, diagBag.DiagnosticBag, SyntaxKind.ReadOnlyKeyword) 487binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_BadConstFlags1, diagBag.DiagnosticBag, SyntaxKind.WithEventsKeyword) 491binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_BadConstFlags1, diagBag.DiagnosticBag, SyntaxKind.DimKeyword) 518If asClauseOpt IsNot Nothing AndAlso asClauseOpt.Kind = SyntaxKind.AsNewClause Then 536ElseIf asClauseOpt IsNot Nothing AndAlso asClauseOpt.Kind = SyntaxKind.AsNewClause Then 565(simpleAsClauseSyntax.Type.Kind = SyntaxKind.PredefinedType AndAlso DirectCast(simpleAsClauseSyntax.Type, PredefinedTypeSyntax).Keyword.Kind = SyntaxKind.ObjectKeyword) Then
Symbols\Source\SourceMemberMethodSymbol.vb (11)
325If Me.DeclarationSyntax.Kind = SyntaxKind.FunctionStatement AndAlso CaseInsensitiveComparison.Equals(Me.Name, ident.ValueText) Then 399syntax.Modifiers.First(SyntaxKind.SharedKeyword), 611If Me.ContainingType.IsModuleType AndAlso singleHandleClause.EventContainer.Kind <> SyntaxKind.WithEventsEventContainer Then 619If eventContainerKind = SyntaxKind.KeywordEventContainer Then 621Case SyntaxKind.MeKeyword 625Case SyntaxKind.MyClassKeyword 629Case SyntaxKind.MyBaseKeyword 634ElseIf eventContainerKind = SyntaxKind.WithEventsEventContainer OrElse 635eventContainerKind = SyntaxKind.WithEventsPropertyEventContainer Then 638Dim witheventsContainer = If(eventContainerKind = SyntaxKind.WithEventsPropertyEventContainer, 674If eventContainerKind = SyntaxKind.WithEventsPropertyEventContainer Then
Symbols\Source\SourceMethodSymbol.vb (143)
83If syntax.Kind = SyntaxKind.SubStatement Then 136If methodSyntax.Kind = SyntaxKind.SubStatement OrElse methodSyntax.Kind = SyntaxKind.FunctionStatement Then 154Case SyntaxKind.PublicKeyword, 155SyntaxKind.MustOverrideKeyword, 156SyntaxKind.NotOverridableKeyword, 157SyntaxKind.OverridableKeyword, 158SyntaxKind.OverridesKeyword, 159SyntaxKind.MustInheritKeyword 168Case SyntaxKind.ProtectedKeyword 171If index >= modifierList.Count - 1 OrElse modifierList(index + 1).Kind <> SyntaxKind.FriendKeyword Then 189Case SyntaxKind.FriendKeyword 192If index >= modifierList.Count - 1 OrElse modifierList(index + 1).Kind <> SyntaxKind.ProtectedKeyword Then 198Case SyntaxKind.PartialKeyword 201Case SyntaxKind.PrivateKeyword 209Debug.Assert(partialToken.Kind = SyntaxKind.PartialKeyword) 232Dim keyword = syntax.Modifiers.First(Function(m) m.Kind = SyntaxKind.OverloadsKeyword) 235Dim keyword = syntax.Modifiers.First(Function(m) m.Kind = SyntaxKind.ProtectedKeyword) 240Dim keyword = syntax.Modifiers.First(Function(m) m.Kind = SyntaxKind.ProtectedKeyword) 254If syntax.Kind = SyntaxKind.DeclareSubStatement Then 288Case SyntaxKind.None, SyntaxKind.AnsiKeyword 291Case SyntaxKind.UnicodeKeyword 294Case SyntaxKind.AutoKeyword 324Case SyntaxKind.NotKeyword, SyntaxKind.IsTrueKeyword, SyntaxKind.IsFalseKeyword, 325SyntaxKind.CTypeKeyword 328Case SyntaxKind.PlusToken, SyntaxKind.MinusToken 331Case SyntaxKind.AsteriskToken, SyntaxKind.SlashToken, SyntaxKind.BackslashToken, SyntaxKind.ModKeyword, SyntaxKind.CaretToken, 332SyntaxKind.EqualsToken, SyntaxKind.LessThanGreaterThanToken, SyntaxKind.LessThanToken, SyntaxKind.GreaterThanToken, 333SyntaxKind.LessThanEqualsToken, SyntaxKind.GreaterThanEqualsToken, SyntaxKind.LikeKeyword, 334SyntaxKind.AmpersandToken, 335SyntaxKind.AndKeyword, SyntaxKind.OrKeyword, SyntaxKind.XorKeyword, 336SyntaxKind.LessThanLessThanToken, SyntaxKind.GreaterThanGreaterThanToken 371flags = flags Or If(syntax.OperatorToken.Kind = SyntaxKind.CTypeKeyword, SourceMemberFlags.MethodKindConversion, SourceMemberFlags.MethodKindOperator) 464SyntaxKind.PrivateKeyword, SyntaxKind.ProtectedKeyword, SyntaxKind.FriendKeyword) 474If syntax.OperatorToken.Kind = SyntaxKind.CTypeKeyword Then 481SyntaxKind.NarrowingKeyword, SyntaxKind.WideningKeyword) 503SyntaxKind.OverridableKeyword, SyntaxKind.MustOverrideKeyword, SyntaxKind.NotOverridableKeyword, SyntaxKind.ShadowsKeyword) 508binder.ReportModifierError(modifiers, ERRID.ERR_CantOverrideConstructor, diagBag, SyntaxKind.OverridesKeyword) 513binder.ReportModifierError(modifiers, ERRID.ERR_ConstructorCannotBeDeclaredPartial, diagBag, SyntaxKind.PartialKeyword) 518binder.ReportModifierError(modifiers, ERRID.ERR_BadFlagsOnNewOverloads, diagBag, SyntaxKind.OverloadsKeyword) 523binder.ReportModifierError(modifiers, ERRID.ERR_ConstructorAsync, diagBag, SyntaxKind.AsyncKeyword) 531SyntaxKind.PublicKeyword, SyntaxKind.PrivateKeyword, SyntaxKind.FriendKeyword, SyntaxKind.ProtectedKeyword) 862Case SyntaxKind.MultiLineFunctionLambdaExpression, 863SyntaxKind.MultiLineSubLambdaExpression, 864SyntaxKind.SingleLineFunctionLambdaExpression, 865SyntaxKind.SingleLineSubLambdaExpression 868Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement 871Case SyntaxKind.DeclareSubStatement, SyntaxKind.DeclareFunctionStatement 874Case SyntaxKind.SubNewStatement 877Case SyntaxKind.OperatorStatement 898If syntax.VarianceKeyword.Kind <> SyntaxKind.None Then 911Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement 914Case SyntaxKind.PropertyStatement 917Case SyntaxKind.DeclareSubStatement, SyntaxKind.DeclareFunctionStatement 920Case SyntaxKind.OperatorStatement 924Case SyntaxKind.NotKeyword 927Case SyntaxKind.IsTrueKeyword 930Case SyntaxKind.IsFalseKeyword 933Case SyntaxKind.PlusToken 940Case SyntaxKind.MinusToken 947Case SyntaxKind.AsteriskToken 950Case SyntaxKind.SlashToken 953Case SyntaxKind.BackslashToken 956Case SyntaxKind.ModKeyword 959Case SyntaxKind.CaretToken 962Case SyntaxKind.EqualsToken 965Case SyntaxKind.LessThanGreaterThanToken 968Case SyntaxKind.LessThanToken 971Case SyntaxKind.GreaterThanToken 974Case SyntaxKind.LessThanEqualsToken 977Case SyntaxKind.GreaterThanEqualsToken 980Case SyntaxKind.LikeKeyword 983Case SyntaxKind.AmpersandToken 986Case SyntaxKind.AndKeyword 989Case SyntaxKind.OrKeyword 992Case SyntaxKind.XorKeyword 995Case SyntaxKind.LessThanLessThanToken 998Case SyntaxKind.GreaterThanGreaterThanToken 1001Case SyntaxKind.CTypeKeyword 1019Case SyntaxKind.SubNewStatement 1025If tok.Kind = SyntaxKind.SharedKeyword Then 1031If node.Parent.Kind = SyntaxKind.ModuleBlock OrElse 1032(node.Parent.Parent IsNot Nothing AndAlso node.Parent.Parent.Kind = SyntaxKind.ModuleBlock) Then 1052Case SyntaxKind.GetAccessorStatement, SyntaxKind.SetAccessorStatement 1068Dim accessor = If(syntax.Kind = SyntaxKind.GetAccessorStatement, propertySymbol.GetMethod, propertySymbol.SetMethod) 1083Case SyntaxKind.AddHandlerAccessorStatement, SyntaxKind.RemoveHandlerAccessorStatement, SyntaxKind.RaiseEventAccessorStatement 1101Case SyntaxKind.AddHandlerAccessorStatement 1103Case SyntaxKind.RemoveHandlerAccessorStatement 1105Case SyntaxKind.RaiseEventAccessorStatement 1122Case SyntaxKind.PropertyStatement 1126Case SyntaxKind.EventStatement 1130Case SyntaxKind.DelegateFunctionStatement, SyntaxKind.DelegateSubStatement 2090Case SyntaxKind.SubNewStatement 2094Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement 2124Debug.Assert(Me.IsAccessor OrElse retType.GetArity() = 0 OrElse Not (errorLocation.IsKind(SyntaxKind.None))) ' if we could have constraint errors, the location better exist. 2198If Not errorLocation.IsKind(SyntaxKind.None) Then 2245Case SyntaxKind.SubNewStatement 2247Case SyntaxKind.OperatorStatement 2249Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement 2251Case SyntaxKind.DeclareSubStatement, SyntaxKind.DeclareFunctionStatement 2269Case SyntaxKind.OperatorStatement 2271Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement 2273Case SyntaxKind.DeclareSubStatement, SyntaxKind.DeclareFunctionStatement 2308Case SyntaxKind.SubStatement, 2309SyntaxKind.DeclareSubStatement
Symbols\Source\SourceModuleSymbol.vb (1)
337If globalImport.Clause.Kind = SyntaxKind.SimpleImportsClause Then
Symbols\Source\SourceNamedTypeSymbol.vb (54)
130Case SyntaxKind.ModuleBlock, SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock 133Case SyntaxKind.EnumBlock 136Case SyntaxKind.DelegateFunctionStatement, SyntaxKind.DelegateSubStatement 356SyntaxKind.PrivateKeyword, 357SyntaxKind.ProtectedKeyword, 358SyntaxKind.SharedKeyword) 366SyntaxKind.PrivateKeyword, 367SyntaxKind.ProtectedKeyword, 368SyntaxKind.FriendKeyword, 369SyntaxKind.PublicKeyword, 370SyntaxKind.SharedKeyword) 411Case SyntaxKind.ModuleBlock 418Case SyntaxKind.ClassBlock 425Case SyntaxKind.StructureBlock 432Case SyntaxKind.InterfaceBlock 439Case SyntaxKind.EnumBlock 445Case SyntaxKind.DelegateFunctionStatement, 446SyntaxKind.DelegateSubStatement 652Case SyntaxKind.DelegateSubStatement, SyntaxKind.DelegateFunctionStatement 654Case SyntaxKind.EnumBlock 656Case SyntaxKind.ModuleBlock, SyntaxKind.ClassBlock, 657SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock 722If member.Kind <> SyntaxKind.EnumMemberDeclaration Then 801Case SyntaxKind.InterfaceBlock, SyntaxKind.DelegateFunctionStatement, SyntaxKind.DelegateSubStatement 836If varianceKeyword.Kind <> SyntaxKind.None Then 942Case SyntaxKind.StructureBlock, SyntaxKind.ClassBlock, SyntaxKind.InterfaceBlock 944Case SyntaxKind.DelegateFunctionStatement, SyntaxKind.DelegateSubStatement 1005Case SyntaxKind.ClassBlock 1014Case SyntaxKind.StructureBlock 1018Case SyntaxKind.ModuleBlock 1034Case SyntaxKind.ClassBlock 1039Case SyntaxKind.StructureBlock 1044Case SyntaxKind.InterfaceBlock 1049Case SyntaxKind.ModuleBlock 1086If baseDeclaration.Kind = SyntaxKind.InheritsStatement Then 1445location = If(syntax.Kind = SyntaxKind.CompilationUnit OrElse syntax.Kind = SyntaxKind.NamespaceBlock, 1712Case SyntaxKind.ClassBlock 1730Case SyntaxKind.ClassBlock, SyntaxKind.StructureBlock 1734Case SyntaxKind.InterfaceBlock 1815If globalImport.Clause.Kind = SyntaxKind.SimpleImportsClause Then
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (4)
331SyntaxFacts.GetText(SyntaxKind.InterfaceKeyword) & " " & interfaceName, 333SyntaxFacts.GetText(SyntaxKind.ClassKeyword), 346SyntaxFacts.GetText(SyntaxKind.InterfaceKeyword), 348SyntaxFacts.GetText(SyntaxKind.ClassKeyword),
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (4)
158Case SyntaxKind.SimpleArgument 161Case SyntaxKind.OmittedArgument 330Case SyntaxKind.ConstructorBlock 332Case SyntaxKind.SubNewStatement
Symbols\Source\SourceNamespaceSymbol.vb (5)
382Case SyntaxKind.IdentifierName 384Case SyntaxKind.QualifiedName 386Case SyntaxKind.GlobalName 388Case SyntaxKind.CompilationUnit 440If ancestorNode.Kind = SyntaxKind.NamespaceBlock Then
Symbols\Source\SourcePropertyAccessorSymbol.vb (3)
92binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_StructCantUseVarSpecifier1, diagnostics, SyntaxKind.ProtectedKeyword) 98binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_BadFlagsOnStdModuleProperty1, diagnostics, SyntaxKind.ProtectedKeyword) 190If Not errorLocation.IsKind(SyntaxKind.None) Then
Symbols\Source\SourcePropertySymbol.vb (15)
116If accessorKind = SyntaxKind.GetAccessorStatement Then 123ElseIf accessorKind = SyntaxKind.SetAccessorStatement Then 311If syntax.Kind = SyntaxKind.PropertyStatement Then 314Debug.Assert(syntax.Kind = SyntaxKind.ModifiedIdentifier) 357asClause.Kind = SyntaxKind.AsNewClause AndAlso 358(DirectCast(asClause, AsNewClauseSyntax).NewExpression.Kind = SyntaxKind.AnonymousObjectCreationExpression) Then 862If decl.Kind = SyntaxKind.PropertyStatement Then 1158syntax.Modifiers.First(SyntaxKind.SharedKeyword), 1187Private Shared ReadOnly s_overridableModifierKinds() As SyntaxKind = 1189SyntaxKind.OverridableKeyword 1192Private Shared ReadOnly s_accessibilityModifierKinds() As SyntaxKind = 1194SyntaxKind.PrivateKeyword, 1195SyntaxKind.ProtectedKeyword, 1196SyntaxKind.FriendKeyword, 1197SyntaxKind.PublicKeyword
Symbols\Source\SourceSymbolHelpers.vb (2)
14(asClauseOpt.Kind <> SyntaxKind.AsNewClause OrElse 15(DirectCast(asClauseOpt, AsNewClauseSyntax).NewExpression.Kind <> SyntaxKind.AnonymousObjectCreationExpression)) Then
Symbols\Source\SynthesizedMyGroupCollectionPropertyAccessorSymbol.vb (1)
47If SyntaxFacts.GetKeywordKind(name) <> SyntaxKind.None Then
Symbols\Source\UnboundLambdaParameterSymbol.vb (3)
71Binder.ReportDiagnostic(diagBag, GetModifierToken(syntax.Modifiers, SyntaxKind.ParamArrayKeyword), ERRID.ERR_ParamArrayIllegal1, StringConstants.Lambda) 76Binder.ReportDiagnostic(diagBag, GetModifierToken(syntax.Modifiers, SyntaxKind.OptionalKeyword), ERRID.ERR_OptionalIllegal1, StringConstants.Lambda) 101Private Shared Function GetModifierToken(modifiers As SyntaxTokenList, tokenKind As SyntaxKind) As SyntaxToken
Symbols\Symbol.vb (1)
374If token.Kind <> SyntaxKind.None Then
Symbols\Symbol_Attributes.vb (4)
364If parent.IsKind(SyntaxKind.AttributesStatement) AndAlso parent.Parent.IsKind(SyntaxKind.CompilationUnit) Then 383Case SyntaxKind.AssemblyKeyword 386Case SyntaxKind.ModuleKeyword
Symbols\SymbolExtensions.vb (2)
90Return SyntaxFacts.GetText(SyntaxKind.WriteOnlyKeyword) 92Return SyntaxFacts.GetText(SyntaxKind.ReadOnlyKeyword)
Symbols\TypeParameterConstraint.vb (4)
73Private Shared Function ToSyntaxKind(kind As TypeParameterConstraintKind) As SyntaxKind 76Return SyntaxKind.NewKeyword 78Return SyntaxKind.ClassKeyword 80Return SyntaxKind.StructureKeyword
Syntax\ArgumentSyntax.vb (1)
25Return Kind = SyntaxKind.OmittedArgument
Syntax\DirectiveTriviaSyntax.vb (30)
39Case SyntaxKind.IfDirectiveTrivia 42Case SyntaxKind.ElseIfDirectiveTrivia, SyntaxKind.ElseDirectiveTrivia, SyntaxKind.EndIfDirectiveTrivia 49Case SyntaxKind.ElseIfDirectiveTrivia 52Case SyntaxKind.ElseDirectiveTrivia, SyntaxKind.EndIfDirectiveTrivia 59Case SyntaxKind.ElseDirectiveTrivia 61If d.Kind = SyntaxKind.EndIfDirectiveTrivia Then 68Case SyntaxKind.RegionDirectiveTrivia 70If d.Kind = SyntaxKind.EndRegionDirectiveTrivia Then 88Case SyntaxKind.IfDirectiveTrivia 89While d IsNot Nothing AndAlso d.Kind <> SyntaxKind.EndIfDirectiveTrivia 94Case SyntaxKind.RegionDirectiveTrivia 95While d IsNot Nothing AndAlso d.Kind <> SyntaxKind.EndRegionDirectiveTrivia 112Case SyntaxKind.EndIfDirectiveTrivia 115Case SyntaxKind.IfDirectiveTrivia, SyntaxKind.ElseIfDirectiveTrivia, SyntaxKind.ElseDirectiveTrivia 122Case SyntaxKind.ElseIfDirectiveTrivia 124If d.Kind = SyntaxKind.IfDirectiveTrivia Then 131Case SyntaxKind.ElseDirectiveTrivia 134Case SyntaxKind.IfDirectiveTrivia, SyntaxKind.ElseIfDirectiveTrivia 141Case SyntaxKind.EndRegionDirectiveTrivia 143If d.Kind = SyntaxKind.RegionDirectiveTrivia Then 161Case SyntaxKind.EndIfDirectiveTrivia 162While d IsNot Nothing AndAlso d.Kind <> SyntaxKind.IfDirectiveTrivia 167Case SyntaxKind.EndRegionDirectiveTrivia 168While d IsNot Nothing AndAlso d.Kind <> SyntaxKind.RegionDirectiveTrivia
Syntax\InternalSyntax\BadTokenSyntax.vb (1)
19Friend Sub New(kind As SyntaxKind, subKind As SyntaxSubKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode)
Syntax\InternalSyntax\ComplexIdentifierSyntax.vb (4)
17Private ReadOnly _possibleKeywordKind As SyntaxKind 22Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, precedingTrivia As GreenNode, followingTrivia As GreenNode, possibleKeywordKind As SyntaxKind, isBracketed As Boolean, identifierText As String, typeCharacter As TypeCharacter) 35Friend Overrides ReadOnly Property PossibleKeywordKind As SyntaxKind
Syntax\InternalSyntax\DocumentationCommentTriviaSyntax.vb (2)
37If node.Kind <> SyntaxKind.DocumentationCommentLineBreakToken Then 47If t.Kind <> SyntaxKind.DocumentationCommentExteriorTrivia Then
Syntax\InternalSyntax\IdentifierTokenSyntax.vb (2)
21Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, precedingTrivia As GreenNode, followingTrivia As GreenNode) 28Friend MustOverride ReadOnly Property PossibleKeywordKind As SyntaxKind
Syntax\InternalSyntax\SimpleIdentifierSyntax.vb (3)
10Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, precedingTrivia As GreenNode, followingTrivia As GreenNode) 17Friend Overrides ReadOnly Property PossibleKeywordKind As SyntaxKind 19Return SyntaxKind.IdentifierToken
Syntax\InternalSyntax\StructuredTriviaSyntax.vb (4)
18Friend Sub New(ByVal kind As SyntaxKind) 23Friend Sub New(ByVal kind As SyntaxKind, context As ISyntaxFactoryContext) 29Friend Sub New(ByVal kind As SyntaxKind, ByVal errors As DiagnosticInfo(), ByVal annotations As SyntaxAnnotation()) 37If Kind = SyntaxKind.SkippedTokensTrivia Then
Syntax\InternalSyntax\SyntaxFactory.vb (3)
45trivia = SyntaxTrivia(SyntaxKind.EndOfLineTrivia, text) 54Dim trivia = SyntaxTrivia(SyntaxKind.WhitespaceTrivia, text) 62Friend Shared Function Token(leading As GreenNode, kind As SyntaxKind, trailing As GreenNode, Optional text As String = Nothing) As SyntaxToken
Syntax\InternalSyntax\SyntaxLiterals.vb (8)
52Friend Sub New(kind As SyntaxKind, text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, base As LiteralBase, typeSuffix As TypeCharacter, value As T) 57Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, base As LiteralBase, typeSuffix As TypeCharacter, value As T) 109Friend Sub New(kind As SyntaxKind, text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, base As LiteralBase, typeSuffix As TypeCharacter) 115Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, base As LiteralBase, typeSuffix As TypeCharacter) 150Friend Sub New(kind As SyntaxKind, text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, typeSuffix As TypeCharacter, value As T) 155Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, typeSuffix As TypeCharacter, value As T) 206Friend Sub New(kind As SyntaxKind, text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, typeSuffix As TypeCharacter) 211Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, typeSuffix As TypeCharacter)
Syntax\InternalSyntax\SyntaxNode.vb (18)
14Friend ReadOnly Property Kind As SyntaxKind 16Return CType(Me.RawKind, SyntaxKind) 20Friend ReadOnly Property ContextualKind As SyntaxKind 22Return CType(Me.RawContextualKind, SyntaxKind) 76Return Me.Kind = SyntaxKind.SkippedTokensTrivia 82Return Me.Kind = SyntaxKind.DocumentationCommentTrivia 122Protected Sub New(kind As SyntaxKind) 127Protected Sub New(kind As SyntaxKind, width As Integer) 132Protected Sub New(kind As SyntaxKind, errors As DiagnosticInfo()) 137Protected Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), width As Integer) 142Friend Sub New(kind As SyntaxKind, diagnostics As DiagnosticInfo(), annotations As SyntaxAnnotation()) 147Friend Sub New(kind As SyntaxKind, diagnostics As DiagnosticInfo(), annotations As SyntaxAnnotation(), fullWidth As Integer) 236Dim separatorKind As SyntaxKind = SyntaxKind.CommaToken 237If element.Kind = SyntaxKind.JoinCondition Then 238separatorKind = SyntaxKind.AndKeyword 244Return Me.Kind = SyntaxKind.EndOfLineTrivia OrElse Me.Kind = SyntaxKind.CommentTrivia
Syntax\InternalSyntax\SyntaxNodeExtensions.vb (77)
80(trailingTrivia.Kind = SyntaxKind.EndOfLineTrivia OrElse trailingTrivia.Kind = SyntaxKind.ColonTrivia) 87Return token.Width = 0 AndAlso token.Kind <> SyntaxKind.EmptyToken 347If trivia(i).Kind = SyntaxKind.SkippedTokensTrivia Then 366Case SyntaxKind.ColonTrivia 369Case SyntaxKind.EndOfLineTrivia 372Case SyntaxKind.LineContinuationTrivia 376Case SyntaxKind.CommentTrivia 385Case SyntaxKind.LineContinuationTrivia, 386SyntaxKind.IfDirectiveTrivia, 387SyntaxKind.ElseIfDirectiveTrivia, 388SyntaxKind.ElseDirectiveTrivia, 389SyntaxKind.EndIfDirectiveTrivia, 390SyntaxKind.RegionDirectiveTrivia, 391SyntaxKind.EndRegionDirectiveTrivia, 392SyntaxKind.ConstDirectiveTrivia, 393SyntaxKind.ExternalSourceDirectiveTrivia, 394SyntaxKind.EndExternalSourceDirectiveTrivia, 395SyntaxKind.ExternalChecksumDirectiveTrivia, 396SyntaxKind.EnableWarningDirectiveTrivia, 397SyntaxKind.DisableWarningDirectiveTrivia, 398SyntaxKind.ReferenceDirectiveTrivia, 399SyntaxKind.BadDirectiveTrivia 419Case SyntaxKind.XmlDocument, 420SyntaxKind.SkippedTokensTrivia, 421SyntaxKind.IfDirectiveTrivia, 422SyntaxKind.ElseIfDirectiveTrivia, 423SyntaxKind.ElseDirectiveTrivia, 424SyntaxKind.EndIfDirectiveTrivia, 425SyntaxKind.RegionDirectiveTrivia, 426SyntaxKind.EndRegionDirectiveTrivia, 427SyntaxKind.ConstDirectiveTrivia, 428SyntaxKind.ExternalSourceDirectiveTrivia, 429SyntaxKind.EndExternalSourceDirectiveTrivia, 430SyntaxKind.ExternalChecksumDirectiveTrivia, 431SyntaxKind.ReferenceDirectiveTrivia, 432SyntaxKind.EnableWarningDirectiveTrivia, 433SyntaxKind.DisableWarningDirectiveTrivia, 434SyntaxKind.BadDirectiveTrivia 566If node.RawKind = SyntaxKind.SkippedTokensTrivia Then 647If kind = SyntaxKind.WhitespaceTrivia OrElse 648kind = SyntaxKind.EndOfLineTrivia Then 668If kind = SyntaxKind.CommentTrivia Then 700Case SyntaxKind.IdentifierName 703Case SyntaxKind.XmlName 712Case SyntaxKind.XmlBracketedName 718Case SyntaxKind.SimpleMemberAccessExpression, 719SyntaxKind.DictionaryAccessExpression 724If input.Kind = SyntaxKind.SimpleMemberAccessExpression Then 728Case SyntaxKind.XmlElementAccessExpression, 729SyntaxKind.XmlDescendantAccessExpression 739isNameDictionaryAccess = input.Kind = SyntaxKind.DictionaryAccessExpression 743Case SyntaxKind.XmlElementAccessExpression, 744SyntaxKind.XmlAttributeAccessExpression, 745SyntaxKind.XmlDescendantAccessExpression 753Case SyntaxKind.InvocationExpression 771Case SyntaxKind.XmlElementAccessExpression, 772SyntaxKind.XmlDescendantAccessExpression 778Case SyntaxKind.ConditionalAccessExpression 822Case SyntaxKind.IfStatement, 823SyntaxKind.ElseIfStatement, 824SyntaxKind.ElseStatement, 825SyntaxKind.WithStatement, 826SyntaxKind.TryStatement, 827SyntaxKind.CatchStatement, 828SyntaxKind.FinallyStatement, 829SyntaxKind.SyncLockStatement, 830SyntaxKind.WhileStatement, 831SyntaxKind.UsingStatement, 832SyntaxKind.SelectStatement, 833SyntaxKind.CaseStatement, 834SyntaxKind.CaseElseStatement, 835SyntaxKind.SimpleDoStatement, 836SyntaxKind.DoWhileStatement, 837SyntaxKind.DoUntilStatement, 838SyntaxKind.ForStatement, 839SyntaxKind.ForEachStatement
Syntax\InternalSyntax\SyntaxNodeFactories.vb (295)
23Return New IntegerLiteralTokenSyntax(Of Short)(SyntaxKind.IntegerLiteralToken, text, leadingTrivia, trailingTrivia, base, typeSuffix, CShort(value)) 26Return New IntegerLiteralTokenSyntax(Of UShort)(SyntaxKind.IntegerLiteralToken, text, leadingTrivia, trailingTrivia, base, typeSuffix, CUShort(value)) 29Return New IntegerLiteralTokenSyntax(Of Integer)(SyntaxKind.IntegerLiteralToken, text, leadingTrivia, trailingTrivia, base, typeSuffix, CInt(value)) 32Return New IntegerLiteralTokenSyntax(Of UInteger)(SyntaxKind.IntegerLiteralToken, text, leadingTrivia, trailingTrivia, base, typeSuffix, CUInt(value)) 35Return New IntegerLiteralTokenSyntax(Of Long)(SyntaxKind.IntegerLiteralToken, text, leadingTrivia, trailingTrivia, base, typeSuffix, CLng(value)) 38Return New IntegerLiteralTokenSyntax(Of ULong)(SyntaxKind.IntegerLiteralToken, text, leadingTrivia, trailingTrivia, base, typeSuffix, value) 50Return New IntegerLiteralTokenSyntax(Of Integer)(SyntaxKind.IntegerLiteralToken, text, leadingTrivia, trailingTrivia, base, typeSuffix, CInt(value)) 52Return New IntegerLiteralTokenSyntax(Of Long)(SyntaxKind.IntegerLiteralToken, text, leadingTrivia, trailingTrivia, base, typeSuffix, CLng(value)) 64Return New FloatingLiteralTokenSyntax(Of Double)(SyntaxKind.FloatingLiteralToken, text, leadingTrivia, trailingTrivia, typeSuffix, value) 66Return New FloatingLiteralTokenSyntax(Of Single)(SyntaxKind.FloatingLiteralToken, text, leadingTrivia, trailingTrivia, typeSuffix, CSng(value)) 77Return New SimpleIdentifierSyntax(SyntaxKind.IdentifierToken, Nothing, Nothing, text, leadingTrivia, trailingTrivia) 83Friend Shared Function Identifier(text As String, possibleKeywordKind As SyntaxKind, isBracketed As Boolean, identifierText As String, typeCharacter As TypeCharacter, leadingTrivia As GreenNode, trailingTrivia As GreenNode) As IdentifierTokenSyntax 85Return New ComplexIdentifierSyntax(SyntaxKind.IdentifierToken, Nothing, Nothing, text, leadingTrivia, trailingTrivia, possibleKeywordKind, isBracketed, identifierText, typeCharacter) 93Return New SimpleIdentifierSyntax(SyntaxKind.IdentifierToken, Nothing, Nothing, text, Nothing, Nothing) 100Return New SimpleIdentifierSyntax(SyntaxKind.IdentifierToken, Nothing, Nothing, "", Nothing, Nothing) 106Friend Shared Function MissingIdentifier(kind As SyntaxKind) As IdentifierTokenSyntax 107Return New ComplexIdentifierSyntax(SyntaxKind.IdentifierToken, Nothing, Nothing, "", Nothing, Nothing, kind, False, "", TypeCharacter.None) 113Friend Shared Function MissingKeyword(kind As SyntaxKind) As KeywordSyntax 120Friend Shared Function MissingPunctuation(kind As SyntaxKind) As PunctuationSyntax 151Friend Shared Function MissingToken(kind As SyntaxKind) As SyntaxToken 155Case SyntaxKind.StatementTerminatorToken 156t = SyntaxFactory.Token(Nothing, SyntaxKind.StatementTerminatorToken, Nothing, String.Empty) 158Case SyntaxKind.EndOfFileToken 161Case SyntaxKind.AddHandlerKeyword, 162SyntaxKind.AddressOfKeyword, 163SyntaxKind.AliasKeyword, 164SyntaxKind.AndKeyword, 165SyntaxKind.AndAlsoKeyword, 166SyntaxKind.AsKeyword, 167SyntaxKind.BooleanKeyword, 168SyntaxKind.ByRefKeyword, 169SyntaxKind.ByteKeyword, 170SyntaxKind.ByValKeyword, 171SyntaxKind.CallKeyword, 172SyntaxKind.CaseKeyword, 173SyntaxKind.CatchKeyword, 174SyntaxKind.CBoolKeyword, 175SyntaxKind.CByteKeyword, 176SyntaxKind.CCharKeyword, 177SyntaxKind.CDateKeyword, 178SyntaxKind.CDecKeyword, 179SyntaxKind.CDblKeyword, 180SyntaxKind.CharKeyword, 181SyntaxKind.CIntKeyword, 182SyntaxKind.ClassKeyword, 183SyntaxKind.CLngKeyword, 184SyntaxKind.CObjKeyword, 185SyntaxKind.ConstKeyword, 186SyntaxKind.ContinueKeyword, 187SyntaxKind.CSByteKeyword, 188SyntaxKind.CShortKeyword, 189SyntaxKind.CSngKeyword, 190SyntaxKind.CStrKeyword, 191SyntaxKind.CTypeKeyword, 192SyntaxKind.CUIntKeyword, 193SyntaxKind.CULngKeyword, 194SyntaxKind.CUShortKeyword, 195SyntaxKind.DateKeyword, 196SyntaxKind.DecimalKeyword, 197SyntaxKind.DeclareKeyword, 198SyntaxKind.DefaultKeyword, 199SyntaxKind.DelegateKeyword, 200SyntaxKind.DimKeyword, 201SyntaxKind.DirectCastKeyword, 202SyntaxKind.DoKeyword, 203SyntaxKind.DoubleKeyword, 204SyntaxKind.EachKeyword, 205SyntaxKind.ElseKeyword, 206SyntaxKind.ElseIfKeyword, 207SyntaxKind.EndKeyword, 208SyntaxKind.EnumKeyword, 209SyntaxKind.EraseKeyword, 210SyntaxKind.ErrorKeyword, 211SyntaxKind.EventKeyword, 212SyntaxKind.ExitKeyword, 213SyntaxKind.FalseKeyword, 214SyntaxKind.FinallyKeyword, 215SyntaxKind.ForKeyword, 216SyntaxKind.FriendKeyword, 217SyntaxKind.FunctionKeyword, 218SyntaxKind.GetKeyword, 219SyntaxKind.GetTypeKeyword, 220SyntaxKind.GetXmlNamespaceKeyword, 221SyntaxKind.GlobalKeyword, 222SyntaxKind.GoToKeyword, 223SyntaxKind.HandlesKeyword, 224SyntaxKind.IfKeyword, 225SyntaxKind.ImplementsKeyword, 226SyntaxKind.ImportsKeyword, 227SyntaxKind.InKeyword, 228SyntaxKind.InheritsKeyword, 229SyntaxKind.IntegerKeyword, 230SyntaxKind.InterfaceKeyword, 231SyntaxKind.IsKeyword, 232SyntaxKind.IsNotKeyword, 233SyntaxKind.LetKeyword, 234SyntaxKind.LibKeyword, 235SyntaxKind.LikeKeyword, 236SyntaxKind.LongKeyword, 237SyntaxKind.LoopKeyword, 238SyntaxKind.MeKeyword, 239SyntaxKind.ModKeyword, 240SyntaxKind.ModuleKeyword, 241SyntaxKind.MustInheritKeyword, 242SyntaxKind.MustOverrideKeyword, 243SyntaxKind.MyBaseKeyword, 244SyntaxKind.MyClassKeyword, 245SyntaxKind.NameOfKeyword, 246SyntaxKind.NamespaceKeyword, 247SyntaxKind.NarrowingKeyword, 248SyntaxKind.NextKeyword, 249SyntaxKind.NewKeyword, 250SyntaxKind.NotKeyword, 251SyntaxKind.NothingKeyword, 252SyntaxKind.NotInheritableKeyword, 253SyntaxKind.NotOverridableKeyword, 254SyntaxKind.ObjectKeyword, 255SyntaxKind.OfKeyword, 256SyntaxKind.OnKeyword, 257SyntaxKind.OperatorKeyword, 258SyntaxKind.OptionKeyword, 259SyntaxKind.OptionalKeyword, 260SyntaxKind.OrKeyword, 261SyntaxKind.OrElseKeyword, 262SyntaxKind.OverloadsKeyword, 263SyntaxKind.OverridableKeyword, 264SyntaxKind.OverridesKeyword, 265SyntaxKind.ParamArrayKeyword, 266SyntaxKind.PartialKeyword, 267SyntaxKind.PrivateKeyword, 268SyntaxKind.PropertyKeyword, 269SyntaxKind.ProtectedKeyword, 270SyntaxKind.PublicKeyword, 271SyntaxKind.RaiseEventKeyword, 272SyntaxKind.ReadOnlyKeyword, 273SyntaxKind.ReDimKeyword, 274SyntaxKind.REMKeyword, 275SyntaxKind.RemoveHandlerKeyword, 276SyntaxKind.ResumeKeyword, 277SyntaxKind.ReturnKeyword, 278SyntaxKind.SByteKeyword, 279SyntaxKind.SelectKeyword, 280SyntaxKind.SetKeyword, 281SyntaxKind.ShadowsKeyword, 282SyntaxKind.SharedKeyword, 283SyntaxKind.ShortKeyword, 284SyntaxKind.SingleKeyword, 285SyntaxKind.StaticKeyword, 286SyntaxKind.StepKeyword, 287SyntaxKind.StopKeyword, 288SyntaxKind.StringKeyword, 289SyntaxKind.StructureKeyword, 290SyntaxKind.SubKeyword, 291SyntaxKind.SyncLockKeyword, 292SyntaxKind.ThenKeyword, 293SyntaxKind.ThrowKeyword, 294SyntaxKind.ToKeyword, 295SyntaxKind.TrueKeyword, 296SyntaxKind.TryKeyword, 297SyntaxKind.TryCastKeyword, 298SyntaxKind.TypeOfKeyword, 299SyntaxKind.UIntegerKeyword, 300SyntaxKind.ULongKeyword, 301SyntaxKind.UShortKeyword, 302SyntaxKind.UsingKeyword, 303SyntaxKind.WhenKeyword, 304SyntaxKind.WhileKeyword, 305SyntaxKind.WideningKeyword, 306SyntaxKind.WithKeyword, 307SyntaxKind.WithEventsKeyword, 308SyntaxKind.WriteOnlyKeyword, 309SyntaxKind.XorKeyword, 310SyntaxKind.EndIfKeyword, 311SyntaxKind.GosubKeyword, 312SyntaxKind.VariantKeyword, 313SyntaxKind.WendKeyword, 314SyntaxKind.OutKeyword 317Case SyntaxKind.AggregateKeyword, 318SyntaxKind.AllKeyword, 319SyntaxKind.AnsiKeyword, 320SyntaxKind.AscendingKeyword, 321SyntaxKind.AssemblyKeyword, 322SyntaxKind.AutoKeyword, 323SyntaxKind.BinaryKeyword, 324SyntaxKind.ByKeyword, 325SyntaxKind.CompareKeyword, 326SyntaxKind.CustomKeyword, 327SyntaxKind.DescendingKeyword, 328SyntaxKind.DisableKeyword, 329SyntaxKind.DistinctKeyword, 330SyntaxKind.EnableKeyword, 331SyntaxKind.EqualsKeyword, 332SyntaxKind.ExplicitKeyword, 333SyntaxKind.ExternalSourceKeyword, 334SyntaxKind.ExternalChecksumKeyword, 335SyntaxKind.FromKeyword, 336SyntaxKind.GroupKeyword, 337SyntaxKind.InferKeyword, 338SyntaxKind.IntoKeyword, 339SyntaxKind.IsFalseKeyword, 340SyntaxKind.IsTrueKeyword, 341SyntaxKind.JoinKeyword, 342SyntaxKind.KeyKeyword, 343SyntaxKind.MidKeyword, 344SyntaxKind.OffKeyword, 345SyntaxKind.OrderKeyword, 346SyntaxKind.PreserveKeyword, 347SyntaxKind.RegionKeyword, 348SyntaxKind.ReferenceKeyword, 349SyntaxKind.SkipKeyword, 350SyntaxKind.StrictKeyword, 351SyntaxKind.TextKeyword, 352SyntaxKind.TakeKeyword, 353SyntaxKind.UnicodeKeyword, 354SyntaxKind.UntilKeyword, 355SyntaxKind.WarningKeyword, 356SyntaxKind.WhereKeyword 360Case SyntaxKind.ExclamationToken, 361SyntaxKind.CommaToken, 362SyntaxKind.HashToken, 363SyntaxKind.AmpersandToken, 364SyntaxKind.SingleQuoteToken, 365SyntaxKind.OpenParenToken, 366SyntaxKind.CloseParenToken, 367SyntaxKind.OpenBraceToken, 368SyntaxKind.CloseBraceToken, 369SyntaxKind.DoubleQuoteToken, 370SyntaxKind.SemicolonToken, 371SyntaxKind.AsteriskToken, 372SyntaxKind.PlusToken, 373SyntaxKind.MinusToken, 374SyntaxKind.DotToken, 375SyntaxKind.SlashToken, 376SyntaxKind.ColonToken, 377SyntaxKind.LessThanToken, 378SyntaxKind.LessThanEqualsToken, 379SyntaxKind.LessThanGreaterThanToken, 380SyntaxKind.EqualsToken, 381SyntaxKind.GreaterThanToken, 382SyntaxKind.GreaterThanEqualsToken, 383SyntaxKind.BackslashToken, 384SyntaxKind.CaretToken, 385SyntaxKind.ColonEqualsToken, 386SyntaxKind.AmpersandEqualsToken, 387SyntaxKind.AsteriskEqualsToken, 388SyntaxKind.PlusEqualsToken, 389SyntaxKind.MinusEqualsToken, 390SyntaxKind.SlashEqualsToken, 391SyntaxKind.BackslashEqualsToken, 392SyntaxKind.CaretEqualsToken, 393SyntaxKind.LessThanLessThanToken, 394SyntaxKind.GreaterThanGreaterThanToken, 395SyntaxKind.LessThanLessThanEqualsToken, 396SyntaxKind.GreaterThanGreaterThanEqualsToken, 397SyntaxKind.QuestionToken 400Case SyntaxKind.FloatingLiteralToken 403Case SyntaxKind.DecimalLiteralToken 406Case SyntaxKind.DateLiteralToken 409Case SyntaxKind.XmlNameToken 410t = SyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken, Nothing, Nothing) 412Case SyntaxKind.XmlTextLiteralToken 415Case SyntaxKind.SlashGreaterThanToken, 416SyntaxKind.LessThanSlashToken, 417SyntaxKind.LessThanExclamationMinusMinusToken, 418SyntaxKind.MinusMinusGreaterThanToken, 419SyntaxKind.LessThanQuestionToken, 420SyntaxKind.QuestionGreaterThanToken, 421SyntaxKind.LessThanPercentEqualsToken, 422SyntaxKind.PercentGreaterThanToken, 423SyntaxKind.BeginCDataToken, 424SyntaxKind.EndCDataToken 427Case SyntaxKind.IdentifierToken 430Case SyntaxKind.IntegerLiteralToken 433Case SyntaxKind.StringLiteralToken 436Case SyntaxKind.CharacterLiteralToken 439Case SyntaxKind.InterpolatedStringTextToken 449Return New BadTokenSyntax(SyntaxKind.BadToken, SubKind, Nothing, Nothing, text, precedingTrivia, followingTrivia) 456Return New PunctuationSyntax(SyntaxKind.EndOfFileToken, "", precedingTrivia, Nothing) 463Return New PunctuationSyntax(SyntaxKind.EndOfFileToken, "", Nothing, Nothing) 468Return New ComplexIdentifierSyntax(SyntaxKind.IdentifierToken, Nothing, Nothing, text, precedingTrivia, followingTrivia, SyntaxKind.IdentifierToken, isBracketed, baseText, typeCharacter) 475s_notMissingEmptyToken = New PunctuationSyntax(SyntaxKind.EmptyToken, "", Nothing, Nothing) 485s_missingEmptyToken = New PunctuationSyntax(SyntaxKind.EmptyToken, "", Nothing, Nothing) 496s_statementTerminatorToken = New PunctuationSyntax(SyntaxKind.StatementTerminatorToken, "", Nothing, Nothing) 507s_colonToken = New PunctuationSyntax(SyntaxKind.ColonToken, "", Nothing, Nothing) 529Public Shared Function TypeBlock(ByVal blockKind As SyntaxKind, ByVal begin As TypeStatementSyntax, ByVal [inherits] As CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of InheritsStatementSyntax), ByVal [implements] As CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of ImplementsStatementSyntax), ByVal members As CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of StatementSyntax), ByVal [end] As EndBlockStatementSyntax) As TypeBlockSyntax 531Case SyntaxKind.ModuleBlock 534Case SyntaxKind.ClassBlock 537Case SyntaxKind.StructureBlock 540Case SyntaxKind.InterfaceBlock 548Public Shared Function TypeStatement(ByVal statementKind As SyntaxKind, ByVal attributes As CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of GreenNode), ByVal modifiers As CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of GreenNode), ByVal keyword As KeywordSyntax, ByVal identifier As IdentifierTokenSyntax, ByVal typeParameterList As TypeParameterListSyntax) As TypeStatementSyntax 550Case SyntaxKind.ModuleStatement 553Case SyntaxKind.ClassStatement 556Case SyntaxKind.StructureStatement 559Case SyntaxKind.InterfaceStatement
Syntax\InternalSyntax\SyntaxNodePartials.vb (2)
12Case SyntaxKind.OmittedArgument 15Case SyntaxKind.RangeArgument
Syntax\InternalSyntax\SyntaxToken.vb (45)
38Return leadingTrivia.RawKind = SyntaxKind.DocumentationCommentExteriorTrivia AndAlso leadingTrivia.Flags = NodeFlags.IsNotMissing AndAlso 44Return leadingTrivia.RawKind = SyntaxKind.WhitespaceTrivia AndAlso leadingTrivia.Flags = NodeFlags.IsNotMissing AndAlso 45trailingTrivia.RawKind = SyntaxKind.WhitespaceTrivia AndAlso trailingTrivia.Flags = NodeFlags.IsNotMissing AndAlso 84Protected Sub New(kind As SyntaxKind, text As String, precedingTrivia As GreenNode, followingTrivia As GreenNode) 104Protected Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), text As String, precedingTrivia As GreenNode, followingTrivia As GreenNode) 124Protected Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, precedingTrivia As GreenNode, followingTrivia As GreenNode) 145If Text.Length = 0 AndAlso Kind <> SyntaxKind.EndOfFileToken AndAlso Kind <> SyntaxKind.EmptyToken Then 292Case SyntaxKind.MinusToken, 293SyntaxKind.PlusToken, 294SyntaxKind.AsteriskToken, 295SyntaxKind.SlashToken, 296SyntaxKind.BackslashToken, 297SyntaxKind.CaretToken, 298SyntaxKind.AmpersandToken, 299SyntaxKind.LessThanLessThanToken, 300SyntaxKind.GreaterThanGreaterThanToken, 301SyntaxKind.ModKeyword, 302SyntaxKind.OrKeyword, 303SyntaxKind.OrElseKeyword, 304SyntaxKind.XorKeyword, 305SyntaxKind.AndKeyword, 306SyntaxKind.AndAlsoKeyword, 307SyntaxKind.LikeKeyword, 308SyntaxKind.EqualsToken, 309SyntaxKind.LessThanGreaterThanToken, 310SyntaxKind.LessThanToken, 311SyntaxKind.LessThanEqualsToken, 312SyntaxKind.GreaterThanToken, 313SyntaxKind.GreaterThanEqualsToken, 314SyntaxKind.IsKeyword, 315SyntaxKind.IsNotKeyword 328Return Kind = SyntaxKind.StatementTerminatorToken OrElse Kind = SyntaxKind.EndOfFileToken 337Return Kind = SyntaxKind.EndOfFileToken 393Friend Shared Function Create(kind As SyntaxKind, Optional leading As GreenNode = Nothing, Optional trailing As GreenNode = Nothing, Optional text As String = Nothing) As SyntaxToken 398If CInt(kind) >= SyntaxKind.AddHandlerKeyword Then 400If CInt(kind) <= SyntaxKind.YieldKeyword OrElse kind = SyntaxKind.NameOfKeyword Then 402ElseIf CInt(kind) <= SyntaxKind.EndOfXmlToken OrElse 403kind = SyntaxKind.EndOfInterpolatedStringToken OrElse 404kind = SyntaxKind.DollarSignDoubleQuoteToken _ 470Case SyntaxKind.NothingKeyword 472Case SyntaxKind.TrueKeyword 474Case SyntaxKind.FalseKeyword
Syntax\InternalSyntax\SyntaxTrivia.vb (3)
19Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String) 27Friend Sub New(kind As SyntaxKind, text As String, context As ISyntaxFactoryContext) 32Friend Sub New(kind As SyntaxKind, text As String)
Syntax\InternalSyntax\VisualBasicSyntaxRewriter.vb (4)
36If visited IsNot Nothing AndAlso visited.Kind <> SyntaxKind.None Then 70Debug.Assert((separator Is Nothing AndAlso separator.RawKind = SyntaxKind.None) OrElse 71(visitedSeparator IsNot Nothing AndAlso visitedSeparator.RawKind <> SyntaxKind.None), 81If visitedItem IsNot Nothing AndAlso visitedItem.Kind <> SyntaxKind.None Then
Syntax\LambdaUtilities.vb (122)
18Case SyntaxKind.MultiLineFunctionLambdaExpression, 19SyntaxKind.SingleLineFunctionLambdaExpression, 20SyntaxKind.MultiLineSubLambdaExpression, 21SyntaxKind.SingleLineSubLambdaExpression, 22SyntaxKind.WhereClause, 23SyntaxKind.TakeWhileClause, 24SyntaxKind.SkipWhileClause, 25SyntaxKind.AscendingOrdering, 26SyntaxKind.DescendingOrdering, 27SyntaxKind.FunctionAggregation 30Case SyntaxKind.ExpressionRangeVariable 33Case SyntaxKind.CollectionRangeVariable 36Case SyntaxKind.JoinCondition 76Case SyntaxKind.ExpressionRangeVariable 80Case SyntaxKind.CollectionRangeVariable 84Case SyntaxKind.JoinCondition 126Case SyntaxKind.ExpressionRangeVariable 138Case SyntaxKind.CollectionRangeVariable 181If clause.IsKind(SyntaxKind.AggregateClause) AndAlso Not IsQueryStartingClause(clause) Then 187Case SyntaxKind.TakeClause, 188SyntaxKind.SkipClause 192If parentClause.IsKind(SyntaxKind.AggregateClause) AndAlso Not IsQueryStartingClause(parentClause) Then 197Case SyntaxKind.JoinCondition 221Return node.IsKind(SyntaxKind.GroupJoinClause) OrElse node.IsKind(SyntaxKind.SimpleJoinClause) 273Case SyntaxKind.LetClause 279Case SyntaxKind.SelectClause 288Case SyntaxKind.GroupByClause 314Case SyntaxKind.CollectionRangeVariable 322Case SyntaxKind.ExpressionRangeVariable 330Case SyntaxKind.JoinCondition 363Case SyntaxKind.SingleLineFunctionLambdaExpression, 364SyntaxKind.SingleLineSubLambdaExpression 367Case SyntaxKind.MultiLineFunctionLambdaExpression, 368SyntaxKind.MultiLineSubLambdaExpression 371Case SyntaxKind.WhereClause, 372SyntaxKind.TakeWhileClause, 373SyntaxKind.SkipWhileClause, 374SyntaxKind.AscendingOrdering, 375SyntaxKind.DescendingOrdering, 376SyntaxKind.FunctionAggregation 381Case SyntaxKind.ExpressionRangeVariable 384Case SyntaxKind.LetClause 387Case SyntaxKind.SelectClause 390Case SyntaxKind.GroupByClause 402Case SyntaxKind.CollectionRangeVariable 405Case SyntaxKind.FromClause 408Case SyntaxKind.AggregateClause 422Case SyntaxKind.JoinCondition 444Case SyntaxKind.TakeClause, 445SyntaxKind.SkipClause 448Case SyntaxKind.GroupJoinClause, 449SyntaxKind.SimpleJoinClause 490Case SyntaxKind.MultiLineFunctionLambdaExpression, 491SyntaxKind.SingleLineFunctionLambdaExpression, 492SyntaxKind.MultiLineSubLambdaExpression, 493SyntaxKind.SingleLineSubLambdaExpression 497Case SyntaxKind.WhereClause 500Case SyntaxKind.TakeWhileClause, 501SyntaxKind.SkipWhileClause 504Case SyntaxKind.AscendingOrdering, 505SyntaxKind.DescendingOrdering 508Case SyntaxKind.FunctionAggregation 525Debug.Assert(expressionRangeVariable.IsKind(SyntaxKind.ExpressionRangeVariable)) 541Case SyntaxKind.LetClause 544Case SyntaxKind.SelectClause 548Case SyntaxKind.GroupByClause 558Debug.Assert(collectionRangeVariable.IsKind(SyntaxKind.CollectionRangeVariable)) 567Debug.Assert(clause.IsKind(SyntaxKind.FromClause) OrElse clause.IsKind(SyntaxKind.AggregateClause)) 581Return clause.Parent.IsKind(SyntaxKind.QueryExpression) AndAlso 587Case SyntaxKind.FromClause 590Case SyntaxKind.AggregateClause 593Case SyntaxKind.GroupJoinClause, 594SyntaxKind.SimpleJoinClause 603Debug.Assert(joinCondition.IsKind(SyntaxKind.JoinCondition)) 624Return syntax.IsKind(SyntaxKind.GroupJoinClause) OrElse 625syntax.IsKind(SyntaxKind.SimpleJoinClause) OrElse 626syntax.IsKind(SyntaxKind.AggregateClause) OrElse 627syntax.IsKind(SyntaxKind.FromClause) OrElse 628syntax.IsKind(SyntaxKind.GroupByClause) OrElse 629syntax.IsKind(SyntaxKind.SimpleAsClause) 638Case SyntaxKind.SubBlock, 639SyntaxKind.FunctionBlock, 640SyntaxKind.ConstructorBlock, 641SyntaxKind.OperatorBlock, 642SyntaxKind.GetAccessorBlock, 643SyntaxKind.SetAccessorBlock, 644SyntaxKind.AddHandlerAccessorBlock, 645SyntaxKind.RemoveHandlerAccessorBlock, 646SyntaxKind.RaiseEventAccessorBlock 651Case SyntaxKind.WhileBlock, 652SyntaxKind.ForBlock, 653SyntaxKind.ForEachBlock, 654SyntaxKind.SimpleDoLoopBlock, 655SyntaxKind.DoWhileLoopBlock, 656SyntaxKind.DoUntilLoopBlock, 657SyntaxKind.DoLoopWhileBlock, 658SyntaxKind.DoLoopUntilBlock, 659SyntaxKind.UsingBlock, 660SyntaxKind.SyncLockBlock, 661SyntaxKind.WithBlock, 662SyntaxKind.CaseBlock, 663SyntaxKind.CaseElseBlock, 664SyntaxKind.SingleLineIfStatement, 665SyntaxKind.SingleLineElseClause, 666SyntaxKind.MultiLineIfBlock, 667SyntaxKind.ElseIfBlock, 668SyntaxKind.ElseBlock, 669SyntaxKind.TryBlock, 670SyntaxKind.CatchBlock, 671SyntaxKind.FinallyBlock 675Case SyntaxKind.AggregateClause, 676SyntaxKind.SimpleJoinClause, 677SyntaxKind.GroupJoinClause 681Case SyntaxKind.SingleLineFunctionLambdaExpression, 682SyntaxKind.SingleLineSubLambdaExpression, 683SyntaxKind.MultiLineFunctionLambdaExpression, 684SyntaxKind.MultiLineSubLambdaExpression 688Case SyntaxKind.ClassBlock, SyntaxKind.StructureBlock, SyntaxKind.ModuleBlock
Syntax\MethodBaseSyntax.vb (5)
297Public Shared Function IsAccessorStatementKeyword(kind As SyntaxKind) As Boolean 303Public Shared Function IsDeclareStatementKeyword(kind As SyntaxKind) As Boolean 309Public Shared Function IsDelegateStatementKeyword(kind As SyntaxKind) As Boolean 315Public Shared Function IsLambdaHeaderKeyword(kind As SyntaxKind) As Boolean 321Public Shared Function IsMethodStatementKeyword(kind As SyntaxKind) As Boolean
Syntax\SyntaxBindingUtilities.vb (9)
12Return node.IsKind(SyntaxKind.YieldStatement) OrElse node.IsKind(SyntaxKind.AwaitExpression) 16Return node.IsKind(SyntaxKind.TryBlock) OrElse 17node.IsKind(SyntaxKind.ForEachBlock) OrElse 18node.IsKind(SyntaxKind.SyncLockBlock) OrElse 19node.IsKind(SyntaxKind.ModifiedIdentifier) AndAlso node.Parent.IsKind(SyntaxKind.VariableDeclarator) AndAlso node.Parent.Parent.IsKind(SyntaxKind.UsingStatement) OrElse 20node.IsKind(SyntaxKind.UsingBlock) AndAlso DirectCast(node, UsingBlockSyntax).UsingStatement.Expression IsNot Nothing
Syntax\SyntaxEquivalence.vb (37)
10Friend Function AreEquivalent(before As SyntaxTree, after As SyntaxTree, ignoreChildNode As Func(Of SyntaxKind, Boolean), topLevel As Boolean) As Boolean 22Public Function AreEquivalent(before As SyntaxNode, after As SyntaxNode, ignoreChildNode As Func(Of SyntaxKind, Boolean), topLevel As Boolean) As Boolean 47Select Case CType(before.RawKind, SyntaxKind) 48Case SyntaxKind.IdentifierToken, 49SyntaxKind.CharacterLiteralToken, 50SyntaxKind.DateLiteralToken, 51SyntaxKind.DecimalLiteralToken, 52SyntaxKind.FloatingLiteralToken, 53SyntaxKind.IntegerLiteralToken, 54SyntaxKind.InterpolatedStringTextToken, 55SyntaxKind.StringLiteralToken, 56SyntaxKind.XmlTextLiteralToken, 57SyntaxKind.XmlNameToken 66Private Function AreEquivalentRecursive(before As GreenNode, after As GreenNode, parentKind As SyntaxKind, ignoreChildNode As Func(Of SyntaxKind, Boolean), topLevel As Boolean) As Boolean 84Dim kind = CType(before.RawKind, SyntaxKind) 92Case SyntaxKind.SubBlock, 93SyntaxKind.FunctionBlock, 94SyntaxKind.ConstructorBlock, 95SyntaxKind.OperatorBlock, 96SyntaxKind.GetAccessorBlock, 97SyntaxKind.SetAccessorBlock, 98SyntaxKind.AddHandlerAccessorBlock, 99SyntaxKind.RemoveHandlerAccessorBlock, 100SyntaxKind.RaiseEventAccessorBlock 108Case SyntaxKind.FieldDeclaration 115Dim isConstBefore = fieldBefore.Modifiers.Any(SyntaxKind.ConstKeyword) 116Dim isConstAfter = fieldAfter.Modifiers.Any(SyntaxKind.ConstKeyword) 118ignoreChildNode = Function(childKind) childKind = SyntaxKind.EqualsValue OrElse childKind = SyntaxKind.AsNewClause 121Case SyntaxKind.EqualsValue 123If parentKind = SyntaxKind.PropertyStatement Then 140If c IsNot Nothing AndAlso (c.IsToken OrElse Not ignoreChildNode(CType(c.RawKind, SyntaxKind))) Then 149If c IsNot Nothing AndAlso (c.IsToken OrElse Not ignoreChildNode(CType(c.RawKind, SyntaxKind))) Then 186Private Function AreModifiersEquivalent(before As GreenNode, after As GreenNode, kind As SyntaxKind) As Boolean 188Case SyntaxKind.SubBlock, 189SyntaxKind.FunctionBlock
Syntax\SyntaxExtensions.vb (9)
54Case SyntaxKind.ObjectCreationExpression 56Case SyntaxKind.AnonymousObjectCreationExpression 58Case SyntaxKind.ArrayCreationExpression 71Case SyntaxKind.SimpleAsClause 73Case SyntaxKind.AsNewClause 86Case SyntaxKind.SimpleAsClause 88Case SyntaxKind.AsNewClause 104Return If(simpleName.Kind = SyntaxKind.IdentifierName, 126Return If(nameToken.Kind() = SyntaxKind.IdentifierToken, nameToken.ValueText, Nothing)
Syntax\SyntaxFactory.vb (66)
140Case SyntaxKind.IdentifierName, SyntaxKind.GenericName 142Case SyntaxKind.QualifiedName 146Case SyntaxKind.SimpleMemberAccessExpression 152Case SyntaxKind.XmlBracketedName 154Case SyntaxKind.XmlElementAccessExpression, SyntaxKind.XmlAttributeAccessExpression, SyntaxKind.XmlDescendantAccessExpression 160Case SyntaxKind.XmlElementStartTag, SyntaxKind.XmlElementEndTag 161If parent.Kind = SyntaxKind.XmlElement Then 171Friend Shared Sub VerifySyntaxKindOfToken(kind As SyntaxKind) 173Case SyntaxKind.AddHandlerKeyword To SyntaxKind.EndOfXmlToken, 174SyntaxKind.NameOfKeyword, 175SyntaxKind.DollarSignDoubleQuoteToken, 176SyntaxKind.InterpolatedStringTextToken, 177SyntaxKind.EndOfInterpolatedStringToken 184Public Shared Function Token(kind As SyntaxKind, Optional text As String = Nothing) As SyntaxToken 189Friend Shared Function Token(kind As SyntaxKind, trailing As SyntaxTrivia, Optional text As String = Nothing) As SyntaxToken 193Public Shared Function Token(kind As SyntaxKind, trailing As SyntaxTriviaList, Optional text As String = Nothing) As SyntaxToken 198Public Shared Function Token(leading As SyntaxTriviaList, kind As SyntaxKind, Optional text As String = Nothing) As SyntaxToken 203Friend Shared Function Token(leading As SyntaxTrivia, kind As SyntaxKind, trailing As SyntaxTrivia, Optional text As String = Nothing) As SyntaxToken 207Public Shared Function Token(leading As SyntaxTriviaList, kind As SyntaxKind, trailing As SyntaxTriviaList, Optional text As String = Nothing) As SyntaxToken 419Public Shared Function TypeBlock(ByVal blockKind As SyntaxKind, ByVal begin As TypeStatementSyntax, Optional ByVal [inherits] As SyntaxList(Of InheritsStatementSyntax) = Nothing, Optional ByVal [implements] As SyntaxList(Of ImplementsStatementSyntax) = Nothing, Optional ByVal members As SyntaxList(Of StatementSyntax) = Nothing, Optional ByVal [end] As EndBlockStatementSyntax = Nothing) As TypeBlockSyntax 421Case SyntaxKind.ModuleBlock 424Case SyntaxKind.ClassBlock 427Case SyntaxKind.StructureBlock 430Case SyntaxKind.InterfaceBlock 438Public Shared Function TypeStatement(ByVal statementKind As SyntaxKind, Optional ByVal attributes As SyntaxList(Of AttributeListSyntax) = Nothing, Optional ByVal modifiers As SyntaxTokenList = Nothing, Optional ByVal keyword As SyntaxToken = Nothing, Optional ByVal identifier As SyntaxToken = Nothing, Optional ByVal typeParameterList As TypeParameterListSyntax = Nothing) As TypeStatementSyntax 440Case SyntaxKind.ModuleStatement 443Case SyntaxKind.ClassStatement 446Case SyntaxKind.StructureStatement 449Case SyntaxKind.InterfaceStatement 511XmlName(Nothing, XmlNameToken(DocumentationCommentXmlNames.HrefAttributeName, SyntaxKind.XmlName)).WithLeadingTrivia(ElasticSpace), 513Token(SyntaxKind.DoubleQuoteToken), 516Token(SyntaxKind.DoubleQuoteToken))))) 536Return XmlEmptyElement(XmlName(Nothing, XmlNameToken(DocumentationCommentXmlNames.ThreadSafetyElementName, SyntaxKind.XmlNameToken)).WithTrailingTrivia(ElasticSpace)).AddAttributes( 538XmlName(Nothing, XmlNameToken(DocumentationCommentXmlNames.StaticAttributeName, SyntaxKind.XmlNameToken)), 540Token(SyntaxKind.DoubleQuoteToken), 542Token(SyntaxKind.DoubleQuoteToken))).WithTrailingTrivia(ElasticSpace), 544XmlName(Nothing, XmlNameToken(DocumentationCommentXmlNames.InstanceAttributeName, SyntaxKind.XmlNameToken)), 546Token(SyntaxKind.DoubleQuoteToken), 548Token(SyntaxKind.DoubleQuoteToken)))) 556Return XmlNameAttribute(XmlName(Nothing, XmlNameToken(DocumentationCommentXmlNames.NameAttributeName, SyntaxKind.XmlNameToken)), Token(SyntaxKind.DoubleQuoteToken), IdentifierName(parameterName), Token(SyntaxKind.DoubleQuoteToken)).WithLeadingTrivia(Whitespace(" ")) 571Return XmlCrefAttribute(cref, SyntaxKind.DoubleQuoteToken) 579Public Shared Function XmlCrefAttribute(cref As CrefReferenceSyntax, quoteKind As SyntaxKind) As XmlCrefAttributeSyntax 581Return XmlCrefAttribute(XmlName(Nothing, XmlNameToken(DocumentationCommentXmlNames.CrefAttributeName, SyntaxKind.XmlNameToken)), Token(quoteKind), cref, Token(quoteKind)).WithLeadingTrivia(Whitespace(" ")) 755Token(SyntaxKind.DoubleQuoteToken), 757Token(SyntaxKind.DoubleQuoteToken))) 783Return XmlEmptyElement(XmlName(Nothing, XmlNameToken(localName, SyntaxKind.XmlNameToken))) 792Return XmlElement(XmlName(Nothing, XmlNameToken(localName, SyntaxKind.XmlNameToken)), content) 810Return XmlMultiLineElement(XmlName(Nothing, XmlNameToken(localName, SyntaxKind.XmlNameToken)), content) 923If rewrittenToken.IsKind(SyntaxKind.LessThanToken) AndAlso String.Equals("<", rewrittenToken.Text, StringComparison.Ordinal) Then 924Return Token(rewrittenToken.LeadingTrivia, SyntaxKind.LessThanToken, rewrittenToken.TrailingTrivia, rewrittenToken.ValueText) 927If rewrittenToken.IsKind(SyntaxKind.GreaterThanToken) AndAlso String.Equals(">", rewrittenToken.Text, StringComparison.Ordinal) Then 928Return Token(rewrittenToken.LeadingTrivia, SyntaxKind.GreaterThanToken, rewrittenToken.TrailingTrivia, rewrittenToken.ValueText) 969Public Shared Function AreEquivalent(oldNode As SyntaxNode, newNode As SyntaxNode, Optional ignoreChildNode As Func(Of SyntaxKind, Boolean) = Nothing) As Boolean 1000Public Shared Function AreEquivalent(Of TNode As SyntaxNode)(oldList As SyntaxList(Of TNode), newList As SyntaxList(Of TNode), Optional ignoreChildNode As Func(Of SyntaxKind, Boolean) = Nothing) As Boolean 1013Public Shared Function AreEquivalent(Of TNode As SyntaxNode)(oldList As SeparatedSyntaxList(Of TNode), newList As SeparatedSyntaxList(Of TNode), Optional ignoreChildNode As Func(Of SyntaxKind, Boolean) = Nothing) As Boolean 1034If leadingTrivia.IsKind(SyntaxKind.EndOfLineTrivia) Then 1042If node.IsKind(SyntaxKind.QueryExpression) Then 1101(lastToken.HasTrailingTrivia AndAlso lastToken.TrailingTrivia.Last().IsKind(SyntaxKind.LineContinuationTrivia)) Then 1108ElseIf lastTopLevelNode.IsKind(SyntaxKind.IncompleteMember) OrElse lastToken.IsMissing Then
Syntax\SyntaxFacts.vb (251)
18Public Shared Function IsTrivia(this As SyntaxKind) As Boolean 25Public Shared Function GetKeywordKinds() As IEnumerable(Of SyntaxKind) 33Public Shared Function IsPredefinedType(kind As SyntaxKind) As Boolean 41Friend Shared Function IsPredefinedTypeOrVariant(kind As SyntaxKind) As Boolean 42Return IsPredefinedTypeKeyword(kind) OrElse kind = SyntaxKind.VariantKeyword 59Return parent IsNot Nothing AndAlso parent.Kind = SyntaxKind.AddressOfExpression 82Case SyntaxKind.SimpleAsClause, SyntaxKind.AsNewClause 84Case SyntaxKind.GetTypeExpression 86Case SyntaxKind.TypeOfIsExpression, SyntaxKind.TypeOfIsNotExpression 88Case SyntaxKind.CTypeExpression, SyntaxKind.DirectCastExpression, SyntaxKind.TryCastExpression 90Case SyntaxKind.TypeArgumentList 92Case SyntaxKind.InheritsStatement, SyntaxKind.ImplementsStatement 94Case SyntaxKind.TypeConstraint 96Case SyntaxKind.CrefSignaturePart 98Case SyntaxKind.Attribute 100Case SyntaxKind.ObjectCreationExpression 102Case SyntaxKind.ArrayCreationExpression 104Case SyntaxKind.ArrayType 106Case SyntaxKind.NullableType 108Case SyntaxKind.QualifiedName 110If parentQualName.Parent IsNot Nothing AndAlso parentQualName.Parent.Kind = SyntaxKind.ImplementsClause Then 115Case SyntaxKind.TypedTupleElement 128Return parent IsNot Nothing AndAlso parent.IsKind(SyntaxKind.ImplementsClause) 137parent.IsKind(SyntaxKind.HandlesClauseItem) AndAlso 154parent.IsKind(SyntaxKind.WithEventsPropertyEventContainer) AndAlso 168Case SyntaxKind.SimpleImportsClause 170Case SyntaxKind.NamespaceStatement 172Case SyntaxKind.QualifiedName 174If Not (parentQualName.Parent IsNot Nothing AndAlso parentQualName.Parent.Kind = SyntaxKind.ImplementsClause) Then 209If trivia.Kind = SyntaxKind.EndOfLineTrivia OrElse trivia.Kind = SyntaxKind.ColonTrivia Then 243Case SyntaxKind.SingleLineFunctionLambdaExpression, 244SyntaxKind.SingleLineSubLambdaExpression 257Case SyntaxKind.MultiLineFunctionLambdaExpression, 258SyntaxKind.MultiLineSubLambdaExpression 291If beginTerminator.Kind <> SyntaxKind.None AndAlso beginTerminator.Width > 0 Then 299Case SyntaxKind.SingleLineIfStatement, SyntaxKind.SingleLineElseClause 339Case SyntaxKind.NamespaceBlock 346Case SyntaxKind.ModuleBlock, SyntaxKind.StructureBlock, SyntaxKind.InterfaceBlock, SyntaxKind.ClassBlock 353Case SyntaxKind.EnumBlock 360Case SyntaxKind.SubBlock, SyntaxKind.FunctionBlock, SyntaxKind.ConstructorBlock, 361SyntaxKind.OperatorBlock, SyntaxKind.GetAccessorBlock, SyntaxKind.SetAccessorBlock, 362SyntaxKind.AddHandlerAccessorBlock, SyntaxKind.RemoveHandlerAccessorBlock, SyntaxKind.RaiseEventAccessorBlock 369Case SyntaxKind.PropertyBlock 376Case SyntaxKind.EventBlock 383Case SyntaxKind.WhileBlock 390Case SyntaxKind.ForBlock, SyntaxKind.ForEachBlock 397Case SyntaxKind.SimpleDoLoopBlock, 398SyntaxKind.DoWhileLoopBlock, 399SyntaxKind.DoUntilLoopBlock, 400SyntaxKind.DoLoopWhileBlock, 401SyntaxKind.DoLoopUntilBlock 409Case SyntaxKind.UsingBlock 416Case SyntaxKind.SyncLockBlock 423Case SyntaxKind.WithBlock 430Case SyntaxKind.SelectBlock 437Case SyntaxKind.CaseBlock, SyntaxKind.CaseElseBlock 444Case SyntaxKind.SingleLineIfStatement 452Case SyntaxKind.SingleLineElseClause 460Case SyntaxKind.MultiLineIfBlock 467Case SyntaxKind.ElseIfBlock 474Case SyntaxKind.ElseBlock 481Case SyntaxKind.TryBlock 488Case SyntaxKind.CatchBlock 495Case SyntaxKind.FinallyBlock 529Return GetText(SyntaxKind.FriendKeyword) 535Return GetText(SyntaxKind.PrivateKeyword) 538Return GetText(SyntaxKind.ProtectedKeyword) 541Return GetText(SyntaxKind.PrivateKeyword) + " " + GetText(SyntaxKind.ProtectedKeyword) 544Return GetText(SyntaxKind.ProtectedKeyword) + " " + GetText(SyntaxKind.FriendKeyword) 547Return GetText(SyntaxKind.PublicKeyword) 555Public Shared Function IsAnyToken(kind As SyntaxKind) As Boolean 556Return kind >= SyntaxKind.AddHandlerKeyword AndAlso kind <= SyntaxKind.CharacterLiteralToken 559Public Shared Function GetUnaryExpression(token As SyntaxKind) As SyntaxKind 562Case SyntaxKind.PlusToken 563Return SyntaxKind.UnaryPlusExpression 565Case SyntaxKind.MinusToken 566Return SyntaxKind.UnaryMinusExpression 568Case SyntaxKind.NotKeyword 569Return SyntaxKind.NotExpression 571Case SyntaxKind.AddressOfKeyword 572Return SyntaxKind.AddressOfExpression 575Return SyntaxKind.None 579Public Shared Function IsPreprocessorPunctuation(kind As SyntaxKind) As Boolean 580Return kind = SyntaxKind.HashToken 583Public Shared Function IsLanguagePunctuation(kind As SyntaxKind) As Boolean 587Public Shared Function IsName(kind As SyntaxKind) As Boolean 588Return kind = SyntaxKind.IdentifierName OrElse 589kind = SyntaxKind.GenericName OrElse 590kind = SyntaxKind.QualifiedName OrElse 591kind = SyntaxKind.GlobalName 594Public Shared Function IsNamespaceMemberDeclaration(kind As SyntaxKind) As Boolean 595Return kind = SyntaxKind.ClassStatement OrElse kind = SyntaxKind.InterfaceStatement OrElse 596kind = SyntaxKind.StructureStatement OrElse kind = SyntaxKind.EnumStatement OrElse 597kind = SyntaxKind.ModuleStatement OrElse kind = SyntaxKind.NamespaceStatement OrElse 598kind = SyntaxKind.DelegateFunctionStatement OrElse kind = SyntaxKind.DelegateSubStatement 601Public Shared Function IsPunctuationOrKeyword(kind As SyntaxKind) As Boolean 603Case SyntaxKind.AddHandlerKeyword To SyntaxKind.EndOfXmlToken, 604SyntaxKind.NameOfKeyword, 605SyntaxKind.DollarSignDoubleQuoteToken, 606SyntaxKind.EndOfInterpolatedStringToken 616Case SyntaxKind.OutKeyword 619Case SyntaxKind.InKeyword 640Case SyntaxKind.IdentifierName, SyntaxKind.QualifiedName 643Case SyntaxKind.Attribute 668If node.Kind <> SyntaxKind.IdentifierName Then 678If parent2 Is Nothing OrElse Not parent2.IsKind(SyntaxKind.ArgumentList) Then 688Case SyntaxKind.InvocationExpression, 689SyntaxKind.ObjectCreationExpression, 690SyntaxKind.RaiseEventStatement 701Public Shared Function GetBlockName(kind As SyntaxKind) As String 703Case SyntaxKind.CaseBlock 706Case SyntaxKind.SimpleDoLoopBlock, 707SyntaxKind.DoWhileLoopBlock, 708SyntaxKind.DoUntilLoopBlock, 709SyntaxKind.DoLoopWhileBlock, 710SyntaxKind.DoLoopUntilBlock 713Case SyntaxKind.WhileBlock 716Case SyntaxKind.WithBlock 719Case SyntaxKind.SyncLockBlock 722Case SyntaxKind.UsingBlock 725Case SyntaxKind.ForBlock 728Case SyntaxKind.ForEachBlock 731Case SyntaxKind.SelectBlock 734Case SyntaxKind.MultiLineIfBlock 737Case SyntaxKind.ElseIfBlock 740Case SyntaxKind.ElseBlock 743Case SyntaxKind.TryBlock 746Case SyntaxKind.CatchBlock 749Case SyntaxKind.FinallyBlock 811If kind = SyntaxKind.CommaToken Then Return True 814If kind = SyntaxKind.MinusToken OrElse kind = SyntaxKind.PlusToken Then 819If kind = SyntaxKind.GreaterThanToken AndAlso parentKind = SyntaxKind.XmlNamespaceImportsClause Then 836Case SyntaxKind.ColonEqualsToken 842Case SyntaxKind.OpenParenToken, 843SyntaxKind.LessThanPercentEqualsToken, 844SyntaxKind.PercentGreaterThanToken 850Case SyntaxKind.OpenBraceToken 852If parentKind = SyntaxKind.Interpolation Then 861Case SyntaxKind.DotToken 865If parentKind = SyntaxKind.NamedFieldInitializer Then 867ElseIf parentKind = SyntaxKind.SimpleMemberAccessExpression Then 869token.Parent.Parent.Kind = SyntaxKind.NamedFieldInitializer 875ElseIf parentKind = SyntaxKind.XmlElementAccessExpression OrElse 876parentKind = SyntaxKind.XmlAttributeAccessExpression OrElse 877parentKind = SyntaxKind.XmlDescendantAccessExpression Then 890Return token.GetNextToken.Kind <> SyntaxKind.DotToken 900Case SyntaxKind.WithKeyword 902Return parentKind = SyntaxKind.ObjectMemberInitializer 907Case SyntaxKind.AggregateKeyword, 908SyntaxKind.ByKeyword, 909SyntaxKind.EqualsKeyword, 910SyntaxKind.FromKeyword, 911SyntaxKind.IntoKeyword, 912SyntaxKind.JoinKeyword, 913SyntaxKind.WhereKeyword 918Case SyntaxKind.GetXmlNamespaceKeyword, 919SyntaxKind.OfKeyword 925Case SyntaxKind.GroupKeyword 926Return parentKind <> SyntaxKind.GroupJoinClause 930Case SyntaxKind.SkipKeyword 932Return parentKind <> SyntaxKind.SkipWhileClause 936Case SyntaxKind.TakeKeyword 938Return parentKind <> SyntaxKind.TakeWhileClause 941Case SyntaxKind.InKeyword 943Return parentKind = SyntaxKind.CollectionRangeVariable OrElse 944parentKind = SyntaxKind.ForEachStatement 947Case SyntaxKind.OnKeyword, 948SyntaxKind.LetKeyword, 949SyntaxKind.SelectKeyword, 950SyntaxKind.WhileKeyword 955Case SyntaxKind.BeginCDataToken, 956SyntaxKind.DoubleQuoteToken, 957SyntaxKind.LessThanExclamationMinusMinusToken, 958SyntaxKind.LessThanQuestionToken, 959SyntaxKind.XmlKeyword, 960SyntaxKind.XmlNameToken, 961SyntaxKind.XmlTextLiteralToken 965Case SyntaxKind.EndCDataToken, 966SyntaxKind.MinusMinusGreaterThanToken, 967SyntaxKind.QuestionGreaterThanToken, 968SyntaxKind.SlashGreaterThanToken 984Case SyntaxKind.ColonToken 986Return parentKind = SyntaxKind.XmlPrefix 1052Case SyntaxKind.GreaterThanToken, 1053SyntaxKind.LessThanToken 1055Return parentKind = SyntaxKind.AttributeList 1059Case SyntaxKind.CloseParenToken, 1060SyntaxKind.PercentGreaterThanToken 1066Case SyntaxKind.CloseBraceToken 1068If parentKind = SyntaxKind.Interpolation Then 1076Case SyntaxKind.AscendingKeyword, 1077SyntaxKind.DescendingKeyword, 1078SyntaxKind.DistinctKeyword, 1079SyntaxKind.GroupKeyword, 1080SyntaxKind.IntoKeyword, 1081SyntaxKind.OrderKeyword, 1082SyntaxKind.SkipKeyword, 1083SyntaxKind.TakeKeyword, 1084SyntaxKind.WhereKeyword 1090Case SyntaxKind.JoinKeyword 1092Return parentKind <> SyntaxKind.GroupJoinClause 1095Case SyntaxKind.InKeyword, 1096SyntaxKind.LetKeyword, 1097SyntaxKind.OnKeyword, 1098SyntaxKind.SelectKeyword 1102Case SyntaxKind.AggregateKeyword, 1103SyntaxKind.FromKeyword 1134Public Shared Function GetOperatorKind(operatorMetadataName As String) As SyntaxKind 1137Return If(opInfo.ParamCount = 0, SyntaxKind.None, OverloadResolution.GetOperatorTokenKind(opInfo)) 1140Public Shared Function IsAccessibilityModifier(kind As SyntaxKind) As Boolean 1142Case SyntaxKind.PrivateKeyword, 1143SyntaxKind.ProtectedKeyword, 1144SyntaxKind.FriendKeyword, 1145SyntaxKind.PublicKeyword 1152Friend Shared Function IsTerminator(kind As SyntaxKind) As Boolean 1153Return kind = SyntaxKind.StatementTerminatorToken OrElse 1154kind = SyntaxKind.ColonToken OrElse 1155kind = SyntaxKind.EndOfFileToken 1164Case SyntaxKind.IfDirectiveTrivia, SyntaxKind.ElseIfDirectiveTrivia 1166Case SyntaxKind.ConstDirectiveTrivia
Syntax\SyntaxKindEqualityComparer.vb (8)
10Implements IEqualityComparer(Of SyntaxKind) 12Public Overloads Function Equals(x As SyntaxKind, y As SyntaxKind) As Boolean Implements IEqualityComparer(Of SyntaxKind).Equals 16Public Overloads Function GetHashCode(obj As SyntaxKind) As Integer Implements IEqualityComparer(Of SyntaxKind).GetHashCode 22''' A custom equality comparer for <see cref="SyntaxKind"/> 28Public Shared ReadOnly Property EqualityComparer As IEqualityComparer(Of SyntaxKind) = New SyntaxKindEqualityComparer
Syntax\SyntaxKindExtensions.vb (3)
11''' Determine if the given <see cref="SyntaxKind"/> array contains the given kind. 19Public Function Contains(kinds As SyntaxKind(), kind As SyntaxKind) As Boolean
Syntax\SyntaxKindFacts.vb (667)
14Public Shared Function IsReservedKeyword(kind As SyntaxKind) As Boolean 15Return kind - SyntaxKind.AddHandlerKeyword <= 16SyntaxKind.WendKeyword - SyntaxKind.AddHandlerKeyword OrElse kind = SyntaxKind.NameOfKeyword 22Public Shared Function IsContextualKeyword(kind As SyntaxKind) As Boolean 23Return kind = SyntaxKind.ReferenceKeyword OrElse 24(SyntaxKind.AggregateKeyword <= kind AndAlso kind <= SyntaxKind.YieldKeyword) 30Public Shared Function IsInstanceExpression(kind As SyntaxKind) As Boolean 32Case SyntaxKind.MeKeyword, 33SyntaxKind.MyClassKeyword, 34SyntaxKind.MyBaseKeyword 45Public Shared Function GetInstanceExpression(kind As SyntaxKind) As SyntaxKind 47Case SyntaxKind.MeKeyword 48Return SyntaxKind.MeExpression 49Case SyntaxKind.MyClassKeyword 50Return SyntaxKind.MyClassExpression 51Case SyntaxKind.MyBaseKeyword 52Return SyntaxKind.MyBaseExpression 54Return SyntaxKind.None 61Public Shared Function IsPreprocessorKeyword(kind As SyntaxKind) As Boolean 63Case SyntaxKind.IfKeyword, 64SyntaxKind.ElseIfKeyword, 65SyntaxKind.ElseKeyword, 66SyntaxKind.EndIfKeyword, 67SyntaxKind.RegionKeyword, 68SyntaxKind.EndKeyword, 69SyntaxKind.ConstKeyword, 70SyntaxKind.ReferenceKeyword, 71SyntaxKind.EnableKeyword, 72SyntaxKind.DisableKeyword, 73SyntaxKind.ExternalSourceKeyword, 74SyntaxKind.ExternalChecksumKeyword 81Private Shared ReadOnly s_reservedKeywords As SyntaxKind() = New SyntaxKind() { 82SyntaxKind.AddressOfKeyword, 83SyntaxKind.AddHandlerKeyword, 84SyntaxKind.AliasKeyword, 85SyntaxKind.AndKeyword, 86SyntaxKind.AndAlsoKeyword, 87SyntaxKind.AsKeyword, 88SyntaxKind.BooleanKeyword, 89SyntaxKind.ByRefKeyword, 90SyntaxKind.ByteKeyword, 91SyntaxKind.ByValKeyword, 92SyntaxKind.CallKeyword, 93SyntaxKind.CaseKeyword, 94SyntaxKind.CatchKeyword, 95SyntaxKind.CBoolKeyword, 96SyntaxKind.CByteKeyword, 97SyntaxKind.CCharKeyword, 98SyntaxKind.CDateKeyword, 99SyntaxKind.CDecKeyword, 100SyntaxKind.CDblKeyword, 101SyntaxKind.CharKeyword, 102SyntaxKind.CIntKeyword, 103SyntaxKind.ClassKeyword, 104SyntaxKind.CLngKeyword, 105SyntaxKind.CObjKeyword, 106SyntaxKind.ConstKeyword, 107SyntaxKind.ReferenceKeyword, 108SyntaxKind.ContinueKeyword, 109SyntaxKind.CSByteKeyword, 110SyntaxKind.CShortKeyword, 111SyntaxKind.CSngKeyword, 112SyntaxKind.CStrKeyword, 113SyntaxKind.CTypeKeyword, 114SyntaxKind.CUIntKeyword, 115SyntaxKind.CULngKeyword, 116SyntaxKind.CUShortKeyword, 117SyntaxKind.DateKeyword, 118SyntaxKind.DecimalKeyword, 119SyntaxKind.DeclareKeyword, 120SyntaxKind.DefaultKeyword, 121SyntaxKind.DelegateKeyword, 122SyntaxKind.DimKeyword, 123SyntaxKind.DirectCastKeyword, 124SyntaxKind.DoKeyword, 125SyntaxKind.DoubleKeyword, 126SyntaxKind.EachKeyword, 127SyntaxKind.ElseKeyword, 128SyntaxKind.ElseIfKeyword, 129SyntaxKind.EndKeyword, 130SyntaxKind.EnumKeyword, 131SyntaxKind.EraseKeyword, 132SyntaxKind.ErrorKeyword, 133SyntaxKind.EventKeyword, 134SyntaxKind.ExitKeyword, 135SyntaxKind.FalseKeyword, 136SyntaxKind.FinallyKeyword, 137SyntaxKind.ForKeyword, 138SyntaxKind.FriendKeyword, 139SyntaxKind.FunctionKeyword, 140SyntaxKind.GetKeyword, 141SyntaxKind.GetTypeKeyword, 142SyntaxKind.GetXmlNamespaceKeyword, 143SyntaxKind.GlobalKeyword, 144SyntaxKind.GoToKeyword, 145SyntaxKind.HandlesKeyword, 146SyntaxKind.IfKeyword, 147SyntaxKind.ImplementsKeyword, 148SyntaxKind.ImportsKeyword, 149SyntaxKind.InKeyword, 150SyntaxKind.InheritsKeyword, 151SyntaxKind.IntegerKeyword, 152SyntaxKind.InterfaceKeyword, 153SyntaxKind.IsKeyword, 154SyntaxKind.IsNotKeyword, 155SyntaxKind.LetKeyword, 156SyntaxKind.LibKeyword, 157SyntaxKind.LikeKeyword, 158SyntaxKind.LongKeyword, 159SyntaxKind.LoopKeyword, 160SyntaxKind.MeKeyword, 161SyntaxKind.ModKeyword, 162SyntaxKind.ModuleKeyword, 163SyntaxKind.MustInheritKeyword, 164SyntaxKind.MustOverrideKeyword, 165SyntaxKind.MyBaseKeyword, 166SyntaxKind.MyClassKeyword, 167SyntaxKind.NameOfKeyword, 168SyntaxKind.NamespaceKeyword, 169SyntaxKind.NarrowingKeyword, 170SyntaxKind.NextKeyword, 171SyntaxKind.NewKeyword, 172SyntaxKind.NotKeyword, 173SyntaxKind.NothingKeyword, 174SyntaxKind.NotInheritableKeyword, 175SyntaxKind.NotOverridableKeyword, 176SyntaxKind.ObjectKeyword, 177SyntaxKind.OfKeyword, 178SyntaxKind.OnKeyword, 179SyntaxKind.OperatorKeyword, 180SyntaxKind.OptionKeyword, 181SyntaxKind.OptionalKeyword, 182SyntaxKind.OrKeyword, 183SyntaxKind.OrElseKeyword, 184SyntaxKind.OverloadsKeyword, 185SyntaxKind.OverridableKeyword, 186SyntaxKind.OverridesKeyword, 187SyntaxKind.ParamArrayKeyword, 188SyntaxKind.PartialKeyword, 189SyntaxKind.PrivateKeyword, 190SyntaxKind.PropertyKeyword, 191SyntaxKind.ProtectedKeyword, 192SyntaxKind.PublicKeyword, 193SyntaxKind.RaiseEventKeyword, 194SyntaxKind.ReadOnlyKeyword, 195SyntaxKind.ReDimKeyword, 196SyntaxKind.REMKeyword, 197SyntaxKind.RemoveHandlerKeyword, 198SyntaxKind.ResumeKeyword, 199SyntaxKind.ReturnKeyword, 200SyntaxKind.SByteKeyword, 201SyntaxKind.SelectKeyword, 202SyntaxKind.SetKeyword, 203SyntaxKind.ShadowsKeyword, 204SyntaxKind.SharedKeyword, 205SyntaxKind.ShortKeyword, 206SyntaxKind.SingleKeyword, 207SyntaxKind.StaticKeyword, 208SyntaxKind.StepKeyword, 209SyntaxKind.StopKeyword, 210SyntaxKind.StringKeyword, 211SyntaxKind.StructureKeyword, 212SyntaxKind.SubKeyword, 213SyntaxKind.SyncLockKeyword, 214SyntaxKind.ThenKeyword, 215SyntaxKind.ThrowKeyword, 216SyntaxKind.ToKeyword, 217SyntaxKind.TrueKeyword, 218SyntaxKind.TryKeyword, 219SyntaxKind.TryCastKeyword, 220SyntaxKind.TypeOfKeyword, 221SyntaxKind.UIntegerKeyword, 222SyntaxKind.ULongKeyword, 223SyntaxKind.UShortKeyword, 224SyntaxKind.UsingKeyword, 225SyntaxKind.WhenKeyword, 226SyntaxKind.WhileKeyword, 227SyntaxKind.WideningKeyword, 228SyntaxKind.WithKeyword, 229SyntaxKind.WithEventsKeyword, 230SyntaxKind.WriteOnlyKeyword, 231SyntaxKind.XorKeyword, 232SyntaxKind.EndIfKeyword, 233SyntaxKind.GosubKeyword, 234SyntaxKind.VariantKeyword, 235SyntaxKind.WendKeyword 240Public Shared Function GetReservedKeywordKinds() As IEnumerable(Of SyntaxKind) 244Private Shared ReadOnly s_contextualKeywords As SyntaxKind() = New SyntaxKind() { 245SyntaxKind.AggregateKeyword, 246SyntaxKind.AllKeyword, 247SyntaxKind.AnsiKeyword, 248SyntaxKind.AscendingKeyword, 249SyntaxKind.AssemblyKeyword, 250SyntaxKind.AutoKeyword, 251SyntaxKind.BinaryKeyword, 252SyntaxKind.ByKeyword, 253SyntaxKind.CompareKeyword, 254SyntaxKind.CustomKeyword, 255SyntaxKind.DescendingKeyword, 256SyntaxKind.DisableKeyword, 257SyntaxKind.DistinctKeyword, 258SyntaxKind.EnableKeyword, 259SyntaxKind.EqualsKeyword, 260SyntaxKind.ExplicitKeyword, 261SyntaxKind.ExternalSourceKeyword, 262SyntaxKind.ExternalChecksumKeyword, 263SyntaxKind.FromKeyword, 264SyntaxKind.GroupKeyword, 265SyntaxKind.InferKeyword, 266SyntaxKind.IntoKeyword, 267SyntaxKind.IsFalseKeyword, 268SyntaxKind.IsTrueKeyword, 269SyntaxKind.JoinKeyword, 270SyntaxKind.KeyKeyword, 271SyntaxKind.MidKeyword, 272SyntaxKind.OffKeyword, 273SyntaxKind.OrderKeyword, 274SyntaxKind.OutKeyword, 275SyntaxKind.PreserveKeyword, 276SyntaxKind.RegionKeyword, 277SyntaxKind.ReferenceKeyword, 278SyntaxKind.SkipKeyword, 279SyntaxKind.StrictKeyword, 280SyntaxKind.TakeKeyword, 281SyntaxKind.TextKeyword, 282SyntaxKind.UnicodeKeyword, 283SyntaxKind.UntilKeyword, 284SyntaxKind.WarningKeyword, 285SyntaxKind.WhereKeyword, 286SyntaxKind.TypeKeyword, 287SyntaxKind.XmlKeyword, 288SyntaxKind.AsyncKeyword, 289SyntaxKind.AwaitKeyword, 290SyntaxKind.IteratorKeyword, 291SyntaxKind.YieldKeyword 296Public Shared Function GetContextualKeywordKinds() As IEnumerable(Of SyntaxKind) 300Private Shared ReadOnly s_punctuationKinds As SyntaxKind() = New SyntaxKind() { 301SyntaxKind.ExclamationToken, 302SyntaxKind.AtToken, 303SyntaxKind.CommaToken, 304SyntaxKind.HashToken, 305SyntaxKind.AmpersandToken, 306SyntaxKind.SingleQuoteToken, 307SyntaxKind.OpenParenToken, 308SyntaxKind.CloseParenToken, 309SyntaxKind.OpenBraceToken, 310SyntaxKind.CloseBraceToken, 311SyntaxKind.SemicolonToken, 312SyntaxKind.AsteriskToken, 313SyntaxKind.PlusToken, 314SyntaxKind.MinusToken, 315SyntaxKind.DotToken, 316SyntaxKind.SlashToken, 317SyntaxKind.ColonToken, 318SyntaxKind.LessThanToken, 319SyntaxKind.LessThanEqualsToken, 320SyntaxKind.LessThanGreaterThanToken, 321SyntaxKind.EqualsToken, 322SyntaxKind.GreaterThanToken, 323SyntaxKind.GreaterThanEqualsToken, 324SyntaxKind.BackslashToken, 325SyntaxKind.CaretToken, 326SyntaxKind.ColonEqualsToken, 327SyntaxKind.AmpersandEqualsToken, 328SyntaxKind.AsteriskEqualsToken, 329SyntaxKind.PlusEqualsToken, 330SyntaxKind.MinusEqualsToken, 331SyntaxKind.SlashEqualsToken, 332SyntaxKind.BackslashEqualsToken, 333SyntaxKind.CaretEqualsToken, 334SyntaxKind.LessThanLessThanToken, 335SyntaxKind.GreaterThanGreaterThanToken, 336SyntaxKind.LessThanLessThanEqualsToken, 337SyntaxKind.GreaterThanGreaterThanEqualsToken, 338SyntaxKind.QuestionToken, 339SyntaxKind.DoubleQuoteToken, 340SyntaxKind.StatementTerminatorToken, 341SyntaxKind.EndOfFileToken, 342SyntaxKind.EmptyToken 347Public Shared Function GetPunctuationKinds() As IEnumerable(Of SyntaxKind) 351Private Shared ReadOnly s_preprocessorKeywords As SyntaxKind() = New SyntaxKind() { 352SyntaxKind.IfKeyword, 353SyntaxKind.ThenKeyword, 354SyntaxKind.ElseIfKeyword, 355SyntaxKind.ElseKeyword, 356SyntaxKind.EndIfKeyword, 357SyntaxKind.EndKeyword, 358SyntaxKind.RegionKeyword, 359SyntaxKind.ConstKeyword, 360SyntaxKind.ReferenceKeyword, 361SyntaxKind.EnableKeyword, 362SyntaxKind.DisableKeyword, 363SyntaxKind.WarningKeyword, 364SyntaxKind.ExternalSourceKeyword, 365SyntaxKind.ExternalChecksumKeyword} 370Public Shared Function GetPreprocessorKeywordKinds() As IEnumerable(Of SyntaxKind) 374Friend Shared Function IsSpecifier(kind As SyntaxKind) As Boolean 376Case SyntaxKind.PublicKeyword, 377SyntaxKind.PrivateKeyword, 378SyntaxKind.ProtectedKeyword, 379SyntaxKind.FriendKeyword, 380SyntaxKind.StaticKeyword, 381SyntaxKind.SharedKeyword, 382SyntaxKind.ShadowsKeyword, 383SyntaxKind.MustInheritKeyword, 384SyntaxKind.OverloadsKeyword, 385SyntaxKind.NotInheritableKeyword, 386SyntaxKind.OverridesKeyword, 387SyntaxKind.PartialKeyword, 388SyntaxKind.NotOverridableKeyword, 389SyntaxKind.OverridableKeyword, 390SyntaxKind.MustOverrideKeyword, 391SyntaxKind.ReadOnlyKeyword, 392SyntaxKind.WriteOnlyKeyword, 393SyntaxKind.DimKeyword, 394SyntaxKind.ConstKeyword, 395SyntaxKind.DefaultKeyword, 396SyntaxKind.WithEventsKeyword, 397SyntaxKind.WideningKeyword, 398SyntaxKind.NarrowingKeyword, 399SyntaxKind.CustomKeyword, 400SyntaxKind.AsyncKeyword, 401SyntaxKind.IteratorKeyword 408Friend Shared Function CanStartSpecifierDeclaration(kind As SyntaxKind) As Boolean 412Case SyntaxKind.PropertyKeyword, 413SyntaxKind.IdentifierToken, 414SyntaxKind.EnumKeyword, 415SyntaxKind.ModuleKeyword, 416SyntaxKind.StructureKeyword, 417SyntaxKind.InterfaceKeyword, 418SyntaxKind.ClassKeyword, 419SyntaxKind.DeclareKeyword, 420SyntaxKind.EventKeyword, 421SyntaxKind.SubKeyword, 422SyntaxKind.FunctionKeyword, 423SyntaxKind.OperatorKeyword, 424SyntaxKind.DelegateKeyword 434Public Shared Function IsRelationalOperator(kind As SyntaxKind) As Boolean 437SyntaxKind.LessThanToken, 438SyntaxKind.LessThanEqualsToken, 439SyntaxKind.EqualsToken, 440SyntaxKind.GreaterThanToken, 441SyntaxKind.GreaterThanEqualsToken, 442SyntaxKind.LessThanGreaterThanToken 450Public Shared Function IsOperator(kind As SyntaxKind) As Boolean 453Case SyntaxKind.AndKeyword, 454SyntaxKind.AndAlsoKeyword, 455SyntaxKind.CBoolKeyword, 456SyntaxKind.CByteKeyword, 457SyntaxKind.CCharKeyword, 458SyntaxKind.CDateKeyword, 459SyntaxKind.CDecKeyword, 460SyntaxKind.CDblKeyword, 461SyntaxKind.CIntKeyword, 462SyntaxKind.CLngKeyword, 463SyntaxKind.CObjKeyword, 464SyntaxKind.CSByteKeyword, 465SyntaxKind.CShortKeyword, 466SyntaxKind.CSngKeyword, 467SyntaxKind.CStrKeyword, 468SyntaxKind.CTypeKeyword, 469SyntaxKind.CUIntKeyword, 470SyntaxKind.CULngKeyword, 471SyntaxKind.CUShortKeyword, 472SyntaxKind.DirectCastKeyword, 473SyntaxKind.GetTypeKeyword, 474SyntaxKind.NameOfKeyword, 475SyntaxKind.IsKeyword, 476SyntaxKind.IsFalseKeyword, 477SyntaxKind.IsNotKeyword, 478SyntaxKind.IsTrueKeyword, 479SyntaxKind.LikeKeyword, 480SyntaxKind.ModKeyword, 481SyntaxKind.NewKeyword, 482SyntaxKind.NotKeyword, 483SyntaxKind.OrKeyword, 484SyntaxKind.OrElseKeyword, 485SyntaxKind.TryCastKeyword, 486SyntaxKind.TypeOfKeyword, 487SyntaxKind.XorKeyword, 488SyntaxKind.PlusToken, 489SyntaxKind.MinusToken, 490SyntaxKind.AsteriskToken, 491SyntaxKind.SlashToken, 492SyntaxKind.CaretToken, 493SyntaxKind.BackslashToken, 494SyntaxKind.AmpersandToken, 495SyntaxKind.LessThanLessThanToken, 496SyntaxKind.GreaterThanGreaterThanToken, 497SyntaxKind.EqualsToken, 498SyntaxKind.LessThanGreaterThanToken, 499SyntaxKind.LessThanToken, 500SyntaxKind.LessThanEqualsToken, 501SyntaxKind.GreaterThanEqualsToken, 502SyntaxKind.GreaterThanToken, 503SyntaxKind.ExclamationToken, 504SyntaxKind.DotToken, 505SyntaxKind.AmpersandEqualsToken, 506SyntaxKind.AsteriskEqualsToken, 507SyntaxKind.PlusEqualsToken, 508SyntaxKind.MinusEqualsToken, 509SyntaxKind.SlashEqualsToken, 510SyntaxKind.BackslashEqualsToken, 511SyntaxKind.CaretEqualsToken, 512SyntaxKind.LessThanLessThanEqualsToken, 513SyntaxKind.GreaterThanGreaterThanEqualsToken 521Public Shared Function IsPreprocessorDirective(kind As SyntaxKind) As Boolean 523Case SyntaxKind.IfDirectiveTrivia, 524SyntaxKind.ElseIfDirectiveTrivia, 525SyntaxKind.ElseDirectiveTrivia, 526SyntaxKind.EndIfDirectiveTrivia, 527SyntaxKind.RegionDirectiveTrivia, 528SyntaxKind.EndRegionDirectiveTrivia, 529SyntaxKind.ConstDirectiveTrivia, 530SyntaxKind.ExternalSourceDirectiveTrivia, 531SyntaxKind.EndExternalSourceDirectiveTrivia, 532SyntaxKind.ExternalChecksumDirectiveTrivia, 533SyntaxKind.EnableWarningDirectiveTrivia, 534SyntaxKind.DisableWarningDirectiveTrivia, 535SyntaxKind.ReferenceDirectiveTrivia, 536SyntaxKind.BadDirectiveTrivia 543Friend Shared Function SupportsContinueStatement(kind As SyntaxKind) As Boolean 545Case SyntaxKind.WhileBlock, 546SyntaxKind.ForBlock, 547SyntaxKind.ForEachBlock, 548SyntaxKind.SimpleDoLoopBlock, 549SyntaxKind.DoWhileLoopBlock, 550SyntaxKind.DoUntilLoopBlock 557Friend Shared Function SupportsExitStatement(kind As SyntaxKind) As Boolean 559Case SyntaxKind.WhileBlock, 560SyntaxKind.ForBlock, 561SyntaxKind.ForEachBlock, 562SyntaxKind.SimpleDoLoopBlock, 563SyntaxKind.DoWhileLoopBlock, 564SyntaxKind.DoUntilLoopBlock, 565SyntaxKind.SelectBlock, 566SyntaxKind.SubBlock, 567SyntaxKind.SingleLineSubLambdaExpression, 568SyntaxKind.MultiLineSubLambdaExpression, 569SyntaxKind.FunctionBlock, 570SyntaxKind.MultiLineFunctionLambdaExpression, 571SyntaxKind.PropertyBlock, 572SyntaxKind.TryBlock 578Friend Shared Function IsEndBlockLoopOrNextStatement(kind As SyntaxKind) As Boolean 580Case SyntaxKind.EndIfStatement, 581SyntaxKind.EndWithStatement, 582SyntaxKind.EndSelectStatement, 583SyntaxKind.EndWhileStatement, 584SyntaxKind.SimpleLoopStatement, SyntaxKind.LoopWhileStatement, SyntaxKind.LoopUntilStatement, 585SyntaxKind.NextStatement, 586SyntaxKind.EndStructureStatement, 587SyntaxKind.EndEnumStatement, 588SyntaxKind.EndPropertyStatement, 589SyntaxKind.EndEventStatement, 590SyntaxKind.EndInterfaceStatement, 591SyntaxKind.EndTryStatement, 592SyntaxKind.EndClassStatement, 593SyntaxKind.EndModuleStatement, 594SyntaxKind.EndNamespaceStatement, 595SyntaxKind.EndUsingStatement, 596SyntaxKind.EndSyncLockStatement, 597SyntaxKind.EndSubStatement, 598SyntaxKind.EndFunctionStatement, 599SyntaxKind.EndOperatorStatement, 600SyntaxKind.EndGetStatement, 601SyntaxKind.EndSetStatement, 602SyntaxKind.EndAddHandlerStatement, 603SyntaxKind.EndRemoveHandlerStatement, 604SyntaxKind.EndRaiseEventStatement 612Friend Shared Function IsXmlSyntax(kind As SyntaxKind) As Boolean 614Case SyntaxKind.XmlDocument, 615SyntaxKind.XmlDeclaration, 616SyntaxKind.XmlDeclarationOption, 617SyntaxKind.XmlElement, 618SyntaxKind.XmlText, 619SyntaxKind.XmlElementStartTag, 620SyntaxKind.XmlElementEndTag, 621SyntaxKind.XmlEmptyElement, 622SyntaxKind.XmlAttribute, 623SyntaxKind.XmlString, 624SyntaxKind.XmlName, 625SyntaxKind.XmlBracketedName, 626SyntaxKind.XmlPrefix, 627SyntaxKind.XmlComment, 628SyntaxKind.XmlCDataSection, 629SyntaxKind.XmlEmbeddedExpression 635Public Shared Function GetKeywordKind(text As String) As SyntaxKind 637Dim result As SyntaxKind = KeywordTable.TokenOfString(text) 639If result <> SyntaxKind.IdentifierToken AndAlso Not IsContextualKeyword(result) Then 643Return SyntaxKind.None 646Public Shared Function GetAccessorStatementKind(keyword As SyntaxKind) As SyntaxKind 649Case SyntaxKind.GetKeyword 650Return SyntaxKind.GetAccessorStatement 652Case SyntaxKind.SetKeyword 653Return SyntaxKind.SetAccessorStatement 655Case SyntaxKind.AddHandlerKeyword 656Return SyntaxKind.AddHandlerStatement 658Case SyntaxKind.RemoveHandlerKeyword 659Return SyntaxKind.RemoveHandlerStatement 661Case SyntaxKind.RaiseEventKeyword 662Return SyntaxKind.RaiseEventAccessorStatement 665Return SyntaxKind.None 669Public Shared Function GetBaseTypeStatementKind(keyword As SyntaxKind) As SyntaxKind 670Return If(keyword = SyntaxKind.EnumKeyword, SyntaxKind.EnumStatement, GetTypeStatementKind(keyword)) 673Public Shared Function GetTypeStatementKind(keyword As SyntaxKind) As SyntaxKind 676Case SyntaxKind.ClassKeyword 677Return SyntaxKind.ClassStatement 679Case SyntaxKind.InterfaceKeyword 680Return SyntaxKind.InterfaceStatement 682Case SyntaxKind.StructureKeyword 683Return SyntaxKind.StructureStatement 686Return SyntaxKind.None 690Public Shared Function GetBinaryExpression(keyword As SyntaxKind) As SyntaxKind 693Case SyntaxKind.IsKeyword 694Return SyntaxKind.IsExpression 696Case SyntaxKind.IsNotKeyword 697Return SyntaxKind.IsNotExpression 699Case SyntaxKind.LikeKeyword 700Return SyntaxKind.LikeExpression 702Case SyntaxKind.AndKeyword 703Return SyntaxKind.AndExpression 705Case SyntaxKind.AndAlsoKeyword 706Return SyntaxKind.AndAlsoExpression 707Case SyntaxKind.OrKeyword 708Return SyntaxKind.OrExpression 710Case SyntaxKind.OrElseKeyword 711Return SyntaxKind.OrElseExpression 713Case SyntaxKind.XorKeyword 714Return SyntaxKind.ExclusiveOrExpression 716Case SyntaxKind.AmpersandToken 717Return SyntaxKind.ConcatenateExpression 719Case SyntaxKind.AsteriskToken 720Return SyntaxKind.MultiplyExpression 722Case SyntaxKind.PlusToken 723Return SyntaxKind.AddExpression 725Case SyntaxKind.MinusToken 726Return SyntaxKind.SubtractExpression 728Case SyntaxKind.SlashToken 729Return SyntaxKind.DivideExpression 731Case SyntaxKind.BackslashToken 732Return SyntaxKind.IntegerDivideExpression 734Case SyntaxKind.ModKeyword 735Return SyntaxKind.ModuloExpression 737Case SyntaxKind.CaretToken 738Return SyntaxKind.ExponentiateExpression 740Case SyntaxKind.LessThanToken 741Return SyntaxKind.LessThanExpression 743Case SyntaxKind.LessThanEqualsToken 744Return SyntaxKind.LessThanOrEqualExpression 746Case SyntaxKind.LessThanGreaterThanToken 747Return SyntaxKind.NotEqualsExpression 749Case SyntaxKind.EqualsToken 750Return SyntaxKind.EqualsExpression 752Case SyntaxKind.GreaterThanToken 753Return SyntaxKind.GreaterThanExpression 755Case SyntaxKind.GreaterThanEqualsToken 756Return SyntaxKind.GreaterThanOrEqualExpression 758Case SyntaxKind.LessThanLessThanToken 759Return SyntaxKind.LeftShiftExpression 761Case SyntaxKind.GreaterThanGreaterThanToken 762Return SyntaxKind.RightShiftExpression 765Return SyntaxKind.None 769Private Shared ReadOnly s_contextualKeywordToSyntaxKindMap As Dictionary(Of String, SyntaxKind) = 770New Dictionary(Of String, SyntaxKind)(IdentifierComparison.Comparer) From 772{"aggregate", SyntaxKind.AggregateKeyword}, 773{"all", SyntaxKind.AllKeyword}, 774{"ansi", SyntaxKind.AnsiKeyword}, 775{"ascending", SyntaxKind.AscendingKeyword}, 776{"assembly", SyntaxKind.AssemblyKeyword}, 777{"auto", SyntaxKind.AutoKeyword}, 778{"binary", SyntaxKind.BinaryKeyword}, 779{"by", SyntaxKind.ByKeyword}, 780{"compare", SyntaxKind.CompareKeyword}, 781{"custom", SyntaxKind.CustomKeyword}, 782{"descending", SyntaxKind.DescendingKeyword}, 783{"disable", SyntaxKind.DisableKeyword}, 784{"distinct", SyntaxKind.DistinctKeyword}, 785{"enable", SyntaxKind.EnableKeyword}, 786{"equals", SyntaxKind.EqualsKeyword}, 787{"explicit", SyntaxKind.ExplicitKeyword}, 788{"externalsource", SyntaxKind.ExternalSourceKeyword}, 789{"externalchecksum", SyntaxKind.ExternalChecksumKeyword}, 790{"from", SyntaxKind.FromKeyword}, 791{"group", SyntaxKind.GroupKeyword}, 792{"infer", SyntaxKind.InferKeyword}, 793{"into", SyntaxKind.IntoKeyword}, 794{"isfalse", SyntaxKind.IsFalseKeyword}, 795{"istrue", SyntaxKind.IsTrueKeyword}, 796{"join", SyntaxKind.JoinKeyword}, 797{"key", SyntaxKind.KeyKeyword}, 798{"mid", SyntaxKind.MidKeyword}, 799{"off", SyntaxKind.OffKeyword}, 800{"order", SyntaxKind.OrderKeyword}, 801{"out", SyntaxKind.OutKeyword}, 802{"preserve", SyntaxKind.PreserveKeyword}, 803{"region", SyntaxKind.RegionKeyword}, 804{"r", SyntaxKind.ReferenceKeyword}, 805{"skip", SyntaxKind.SkipKeyword}, 806{"strict", SyntaxKind.StrictKeyword}, 807{"take", SyntaxKind.TakeKeyword}, 808{"text", SyntaxKind.TextKeyword}, 809{"unicode", SyntaxKind.UnicodeKeyword}, 810{"until", SyntaxKind.UntilKeyword}, 811{"warning", SyntaxKind.WarningKeyword}, 812{"where", SyntaxKind.WhereKeyword}, 813{"type", SyntaxKind.TypeKeyword}, 814{"xml", SyntaxKind.XmlKeyword}, 815{"async", SyntaxKind.AsyncKeyword}, 816{"await", SyntaxKind.AwaitKeyword}, 817{"iterator", SyntaxKind.IteratorKeyword}, 818{"yield", SyntaxKind.YieldKeyword} 821Public Shared Function GetContextualKeywordKind(text As String) As SyntaxKind 823Dim kind As SyntaxKind = SyntaxKind.None 824Return If(s_contextualKeywordToSyntaxKindMap.TryGetValue(text, kind), kind, SyntaxKind.None) 827Private Shared ReadOnly s_preprocessorKeywordToSyntaxKindMap As Dictionary(Of String, SyntaxKind) = 828New Dictionary(Of String, SyntaxKind)(IdentifierComparison.Comparer) From 830{"if", SyntaxKind.IfKeyword}, 831{"elseif", SyntaxKind.ElseIfKeyword}, 832{"else", SyntaxKind.ElseKeyword}, 833{"endif", SyntaxKind.EndIfKeyword}, 834{"region", SyntaxKind.RegionKeyword}, 835{"end", SyntaxKind.EndKeyword}, 836{"const", SyntaxKind.ConstKeyword}, 837{"externalsource", SyntaxKind.ExternalSourceKeyword}, 838{"externalchecksum", SyntaxKind.ExternalChecksumKeyword}, 839{"r", SyntaxKind.ReferenceKeyword}, 840{"enable", SyntaxKind.EnableKeyword}, 841{"disable", SyntaxKind.DisableKeyword} 844Public Shared Function GetPreprocessorKeywordKind(text As String) As SyntaxKind 846Dim kind As SyntaxKind = SyntaxKind.None 847Return If(s_preprocessorKeywordToSyntaxKindMap.TryGetValue(text, kind), kind, SyntaxKind.None) 850Public Shared Function GetLiteralExpression(token As SyntaxKind) As SyntaxKind 853Case SyntaxKind.IntegerLiteralToken, SyntaxKind.DecimalLiteralToken, SyntaxKind.FloatingLiteralToken 854Return SyntaxKind.NumericLiteralExpression 856Case SyntaxKind.CharacterLiteralToken 857Return SyntaxKind.CharacterLiteralExpression 859Case SyntaxKind.DateLiteralToken 860Return SyntaxKind.DateLiteralExpression 862Case SyntaxKind.StringLiteralToken 863Return SyntaxKind.StringLiteralExpression 865Case SyntaxKind.TrueKeyword 866Return SyntaxKind.TrueLiteralExpression 868Case SyntaxKind.FalseKeyword 869Return SyntaxKind.FalseLiteralExpression 871Case SyntaxKind.NothingKeyword 872Return SyntaxKind.NothingLiteralExpression 875Return SyntaxKind.None
Syntax\SyntaxNodeExtensions.vb (59)
37Case SyntaxKind.WithBlock 40Case SyntaxKind.SubBlock, 41SyntaxKind.FunctionBlock, 42SyntaxKind.PropertyBlock, 43SyntaxKind.ConstructorBlock, 44SyntaxKind.OperatorBlock, 45SyntaxKind.EventBlock 88Case SyntaxKind.SingleLineFunctionLambdaExpression, 89SyntaxKind.SingleLineSubLambdaExpression, 90SyntaxKind.MultiLineFunctionLambdaExpression, 91SyntaxKind.MultiLineSubLambdaExpression 108Case SyntaxKind.IdentifierName 111Case SyntaxKind.XmlName 120Case SyntaxKind.XmlBracketedName 126Case SyntaxKind.SimpleMemberAccessExpression, 127SyntaxKind.DictionaryAccessExpression 131If input.Kind = SyntaxKind.SimpleMemberAccessExpression Then 137Case SyntaxKind.XmlElementAccessExpression, 138SyntaxKind.XmlDescendantAccessExpression 149Case SyntaxKind.XmlElementAccessExpression, 150SyntaxKind.XmlAttributeAccessExpression, 151SyntaxKind.XmlDescendantAccessExpression 158Case SyntaxKind.InvocationExpression 177Case SyntaxKind.XmlElementAccessExpression, 178SyntaxKind.XmlDescendantAccessExpression 184Case SyntaxKind.ConditionalAccessExpression 209Case SyntaxKind.DictionaryAccessExpression, 210SyntaxKind.SimpleMemberAccessExpression 216Case SyntaxKind.XmlElementAccessExpression, 217SyntaxKind.XmlDescendantAccessExpression, 218SyntaxKind.XmlAttributeAccessExpression 224Case SyntaxKind.InvocationExpression 230Case SyntaxKind.ConditionalAccessExpression 256Case SyntaxKind.DictionaryAccessExpression, 257SyntaxKind.SimpleMemberAccessExpression 266Case SyntaxKind.XmlElementAccessExpression, 267SyntaxKind.XmlDescendantAccessExpression, 268SyntaxKind.XmlAttributeAccessExpression 277Case SyntaxKind.InvocationExpression 286Case SyntaxKind.ConditionalAccessExpression 305Public Function AllAreMissing(arguments As IEnumerable(Of VisualBasicSyntaxNode), kind As SyntaxKind) As Boolean 315Return arguments.AllAreMissing(SyntaxKind.IdentifierName) 325Case SyntaxKind.CollectionRangeVariable 328Case SyntaxKind.ExpressionRangeVariable 331Case SyntaxKind.FromClause 334Case SyntaxKind.FromClause 337Case SyntaxKind.LetClause 340Case SyntaxKind.AggregateClause 343Case SyntaxKind.DistinctClause 346Case SyntaxKind.WhereClause 349Case SyntaxKind.SkipWhileClause, SyntaxKind.TakeWhileClause 352Case SyntaxKind.SkipClause, SyntaxKind.TakeClause 355Case SyntaxKind.GroupByClause 358Case SyntaxKind.GroupJoinClause 361Case SyntaxKind.SimpleJoinClause 364Case SyntaxKind.OrderByClause 367Case SyntaxKind.SelectClause
Syntax\SyntaxNodeFactories.vb (273)
164state = If(curTk.Kind = SyntaxKind.StatementTerminatorToken, 168Loop While curTk.Kind <> SyntaxKind.EndOfFileToken 299Nothing, InternalSyntax.SyntaxFactory.XmlNameToken(parentElementName, SyntaxKind.XmlNameToken, Nothing, Nothing)) 349Return New SyntaxToken(Nothing, New InternalSyntax.ComplexIdentifierSyntax(SyntaxKind.IdentifierToken, Nothing, Nothing, text, leadingTrivia.Node, trailingTrivia.Node, SyntaxKind.IdentifierToken, isBracketed, identifierText, typeCharacter), 0, 0) 365Return New SyntaxToken(Nothing, New InternalSyntax.ComplexIdentifierSyntax(SyntaxKind.IdentifierToken, Nothing, Nothing, text, leadingTrivia.Node, trailingTrivia.Node, SyntaxKind.IdentifierToken, False, text, TypeCharacter.None), 0, 0) 387Return New SyntaxToken(Nothing, New InternalSyntax.ComplexIdentifierSyntax(SyntaxKind.IdentifierToken, Nothing, Nothing, "[" + text + "]", leadingTrivia.Node, trailingTrivia.Node, SyntaxKind.IdentifierToken, True, text, TypeCharacter.None), 0, 0) 394Return New SyntaxToken(Nothing, New InternalSyntax.SimpleIdentifierSyntax(SyntaxKind.IdentifierToken, Nothing, Nothing, "", 401Friend Shared Function MissingIdentifier(kind As SyntaxKind) As SyntaxToken 402Return New SyntaxToken(Nothing, New InternalSyntax.ComplexIdentifierSyntax(SyntaxKind.IdentifierToken, Nothing, Nothing, "", 410Friend Shared Function MissingKeyword(kind As SyntaxKind) As SyntaxToken 418Friend Shared Function MissingPunctuation(kind As SyntaxKind) As SyntaxToken 450Friend Shared Function MissingToken(kind As SyntaxKind) As SyntaxToken 454Case SyntaxKind.StatementTerminatorToken 455t = SyntaxFactory.Token(SyntaxKind.StatementTerminatorToken) 457Case SyntaxKind.EndOfFileToken 458t = SyntaxFactory.Token(SyntaxKind.EndOfFileToken) 460Case SyntaxKind.AddHandlerKeyword, 461SyntaxKind.AddressOfKeyword, 462SyntaxKind.AliasKeyword, 463SyntaxKind.AndKeyword, 464SyntaxKind.AndAlsoKeyword, 465SyntaxKind.AsKeyword, 466SyntaxKind.BooleanKeyword, 467SyntaxKind.ByRefKeyword, 468SyntaxKind.ByteKeyword, 469SyntaxKind.ByValKeyword, 470SyntaxKind.CallKeyword, 471SyntaxKind.CaseKeyword, 472SyntaxKind.CatchKeyword, 473SyntaxKind.CBoolKeyword, 474SyntaxKind.CByteKeyword, 475SyntaxKind.CCharKeyword, 476SyntaxKind.CDateKeyword, 477SyntaxKind.CDecKeyword, 478SyntaxKind.CDblKeyword, 479SyntaxKind.CharKeyword, 480SyntaxKind.CIntKeyword, 481SyntaxKind.ClassKeyword, 482SyntaxKind.CLngKeyword, 483SyntaxKind.CObjKeyword, 484SyntaxKind.ConstKeyword, 485SyntaxKind.ContinueKeyword, 486SyntaxKind.CSByteKeyword, 487SyntaxKind.CShortKeyword, 488SyntaxKind.CSngKeyword, 489SyntaxKind.CStrKeyword, 490SyntaxKind.CTypeKeyword, 491SyntaxKind.CUIntKeyword, 492SyntaxKind.CULngKeyword, 493SyntaxKind.CUShortKeyword, 494SyntaxKind.DateKeyword, 495SyntaxKind.DecimalKeyword, 496SyntaxKind.DeclareKeyword, 497SyntaxKind.DefaultKeyword, 498SyntaxKind.DelegateKeyword, 499SyntaxKind.DimKeyword, 500SyntaxKind.DirectCastKeyword, 501SyntaxKind.DoKeyword, 502SyntaxKind.DoubleKeyword, 503SyntaxKind.EachKeyword, 504SyntaxKind.ElseKeyword, 505SyntaxKind.ElseIfKeyword, 506SyntaxKind.EndKeyword, 507SyntaxKind.EnumKeyword, 508SyntaxKind.EraseKeyword, 509SyntaxKind.ErrorKeyword, 510SyntaxKind.EventKeyword, 511SyntaxKind.ExitKeyword, 512SyntaxKind.FalseKeyword, 513SyntaxKind.FinallyKeyword, 514SyntaxKind.ForKeyword, 515SyntaxKind.FriendKeyword, 516SyntaxKind.FunctionKeyword, 517SyntaxKind.GetKeyword, 518SyntaxKind.GetTypeKeyword, 519SyntaxKind.GetXmlNamespaceKeyword, 520SyntaxKind.GlobalKeyword, 521SyntaxKind.GoToKeyword, 522SyntaxKind.HandlesKeyword, 523SyntaxKind.IfKeyword, 524SyntaxKind.ImplementsKeyword, 525SyntaxKind.ImportsKeyword, 526SyntaxKind.InKeyword, 527SyntaxKind.InheritsKeyword, 528SyntaxKind.IntegerKeyword, 529SyntaxKind.InterfaceKeyword, 530SyntaxKind.IsKeyword, 531SyntaxKind.IsNotKeyword, 532SyntaxKind.LetKeyword, 533SyntaxKind.LibKeyword, 534SyntaxKind.LikeKeyword, 535SyntaxKind.LongKeyword, 536SyntaxKind.LoopKeyword, 537SyntaxKind.MeKeyword, 538SyntaxKind.ModKeyword, 539SyntaxKind.ModuleKeyword, 540SyntaxKind.MustInheritKeyword, 541SyntaxKind.MustOverrideKeyword, 542SyntaxKind.MyBaseKeyword, 543SyntaxKind.MyClassKeyword, 544SyntaxKind.NameOfKeyword, 545SyntaxKind.NamespaceKeyword, 546SyntaxKind.NarrowingKeyword, 547SyntaxKind.NextKeyword, 548SyntaxKind.NewKeyword, 549SyntaxKind.NotKeyword, 550SyntaxKind.NothingKeyword, 551SyntaxKind.NotInheritableKeyword, 552SyntaxKind.NotOverridableKeyword, 553SyntaxKind.ObjectKeyword, 554SyntaxKind.OfKeyword, 555SyntaxKind.OnKeyword, 556SyntaxKind.OperatorKeyword, 557SyntaxKind.OptionKeyword, 558SyntaxKind.OptionalKeyword, 559SyntaxKind.OrKeyword, 560SyntaxKind.OrElseKeyword, 561SyntaxKind.OverloadsKeyword, 562SyntaxKind.OverridableKeyword, 563SyntaxKind.OverridesKeyword, 564SyntaxKind.ParamArrayKeyword, 565SyntaxKind.PartialKeyword, 566SyntaxKind.PrivateKeyword, 567SyntaxKind.PropertyKeyword, 568SyntaxKind.ProtectedKeyword, 569SyntaxKind.PublicKeyword, 570SyntaxKind.RaiseEventKeyword, 571SyntaxKind.ReadOnlyKeyword, 572SyntaxKind.ReDimKeyword, 573SyntaxKind.ReferenceKeyword, 574SyntaxKind.REMKeyword, 575SyntaxKind.RemoveHandlerKeyword, 576SyntaxKind.ResumeKeyword, 577SyntaxKind.ReturnKeyword, 578SyntaxKind.SByteKeyword, 579SyntaxKind.SelectKeyword, 580SyntaxKind.SetKeyword, 581SyntaxKind.ShadowsKeyword, 582SyntaxKind.SharedKeyword, 583SyntaxKind.ShortKeyword, 584SyntaxKind.SingleKeyword, 585SyntaxKind.StaticKeyword, 586SyntaxKind.StepKeyword, 587SyntaxKind.StopKeyword, 588SyntaxKind.StringKeyword, 589SyntaxKind.StructureKeyword, 590SyntaxKind.SubKeyword, 591SyntaxKind.SyncLockKeyword, 592SyntaxKind.ThenKeyword, 593SyntaxKind.ThrowKeyword, 594SyntaxKind.ToKeyword, 595SyntaxKind.TrueKeyword, 596SyntaxKind.TryKeyword, 597SyntaxKind.TryCastKeyword, 598SyntaxKind.TypeOfKeyword, 599SyntaxKind.UIntegerKeyword, 600SyntaxKind.ULongKeyword, 601SyntaxKind.UShortKeyword, 602SyntaxKind.UsingKeyword, 603SyntaxKind.WhenKeyword, 604SyntaxKind.WhileKeyword, 605SyntaxKind.WideningKeyword, 606SyntaxKind.WithKeyword, 607SyntaxKind.WithEventsKeyword, 608SyntaxKind.WriteOnlyKeyword, 609SyntaxKind.XorKeyword, 610SyntaxKind.EndIfKeyword, 611SyntaxKind.GosubKeyword, 612SyntaxKind.VariantKeyword, 613SyntaxKind.WendKeyword, 614SyntaxKind.OutKeyword 617Case SyntaxKind.AggregateKeyword, 618SyntaxKind.AllKeyword, 619SyntaxKind.AnsiKeyword, 620SyntaxKind.AscendingKeyword, 621SyntaxKind.AssemblyKeyword, 622SyntaxKind.AutoKeyword, 623SyntaxKind.BinaryKeyword, 624SyntaxKind.ByKeyword, 625SyntaxKind.CompareKeyword, 626SyntaxKind.CustomKeyword, 627SyntaxKind.DescendingKeyword, 628SyntaxKind.DisableKeyword, 629SyntaxKind.DistinctKeyword, 630SyntaxKind.EnableKeyword, 631SyntaxKind.EqualsKeyword, 632SyntaxKind.ExplicitKeyword, 633SyntaxKind.ExternalSourceKeyword, 634SyntaxKind.ExternalChecksumKeyword, 635SyntaxKind.FromKeyword, 636SyntaxKind.GroupKeyword, 637SyntaxKind.InferKeyword, 638SyntaxKind.IntoKeyword, 639SyntaxKind.IsFalseKeyword, 640SyntaxKind.IsTrueKeyword, 641SyntaxKind.JoinKeyword, 642SyntaxKind.KeyKeyword, 643SyntaxKind.MidKeyword, 644SyntaxKind.OffKeyword, 645SyntaxKind.OrderKeyword, 646SyntaxKind.PreserveKeyword, 647SyntaxKind.RegionKeyword, 648SyntaxKind.SkipKeyword, 649SyntaxKind.StrictKeyword, 650SyntaxKind.TextKeyword, 651SyntaxKind.TakeKeyword, 652SyntaxKind.UnicodeKeyword, 653SyntaxKind.UntilKeyword, 654SyntaxKind.WarningKeyword, 655SyntaxKind.WhereKeyword 659Case SyntaxKind.ExclamationToken, 660SyntaxKind.CommaToken, 661SyntaxKind.HashToken, 662SyntaxKind.AmpersandToken, 663SyntaxKind.SingleQuoteToken, 664SyntaxKind.OpenParenToken, 665SyntaxKind.CloseParenToken, 666SyntaxKind.OpenBraceToken, 667SyntaxKind.CloseBraceToken, 668SyntaxKind.DoubleQuoteToken, 669SyntaxKind.SemicolonToken, 670SyntaxKind.AsteriskToken, 671SyntaxKind.PlusToken, 672SyntaxKind.MinusToken, 673SyntaxKind.DotToken, 674SyntaxKind.SlashToken, 675SyntaxKind.ColonToken, 676SyntaxKind.LessThanToken, 677SyntaxKind.LessThanEqualsToken, 678SyntaxKind.LessThanGreaterThanToken, 679SyntaxKind.EqualsToken, 680SyntaxKind.GreaterThanToken, 681SyntaxKind.GreaterThanEqualsToken, 682SyntaxKind.BackslashToken, 683SyntaxKind.CaretToken, 684SyntaxKind.ColonEqualsToken, 685SyntaxKind.AmpersandEqualsToken, 686SyntaxKind.AsteriskEqualsToken, 687SyntaxKind.PlusEqualsToken, 688SyntaxKind.MinusEqualsToken, 689SyntaxKind.SlashEqualsToken, 690SyntaxKind.BackslashEqualsToken, 691SyntaxKind.CaretEqualsToken, 692SyntaxKind.LessThanLessThanToken, 693SyntaxKind.GreaterThanGreaterThanToken, 694SyntaxKind.LessThanLessThanEqualsToken, 695SyntaxKind.GreaterThanGreaterThanEqualsToken, 696SyntaxKind.QuestionToken 699Case SyntaxKind.FloatingLiteralToken 702Case SyntaxKind.DecimalLiteralToken 705Case SyntaxKind.DateLiteralToken 708Case SyntaxKind.XmlNameToken 709t = SyntaxFactory.XmlNameToken("", SyntaxKind.XmlNameToken) 711Case SyntaxKind.XmlTextLiteralToken 714Case SyntaxKind.SlashGreaterThanToken, 715SyntaxKind.LessThanSlashToken, 716SyntaxKind.LessThanExclamationMinusMinusToken, 717SyntaxKind.MinusMinusGreaterThanToken, 718SyntaxKind.LessThanQuestionToken, 719SyntaxKind.QuestionGreaterThanToken, 720SyntaxKind.LessThanPercentEqualsToken, 721SyntaxKind.PercentGreaterThanToken, 722SyntaxKind.BeginCDataToken, 723SyntaxKind.EndCDataToken 726Case SyntaxKind.IdentifierToken 729Case SyntaxKind.IntegerLiteralToken 732Case SyntaxKind.StringLiteralToken 735Case SyntaxKind.CharacterLiteralToken 752Return New SyntaxToken(Nothing, New InternalSyntax.BadTokenSyntax(SyntaxKind.BadToken, InternalSyntax.SyntaxSubKind.None, Nothing, Nothing, text, 896Dim commaToken = Token(SyntaxKind.CommaToken)
Syntax\SyntaxNodePartials.vb (20)
31Do While (token.Kind <> SyntaxKind.None) 56Do While (token.Kind <> SyntaxKind.None) 84Debug.Assert(Kind = SyntaxKind.SingleLineSubLambdaExpression, "Only SingleLineSubLambdas have statements.") 97Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement 100Case SyntaxKind.SubLambdaHeader, SyntaxKind.FunctionLambdaHeader 103Case SyntaxKind.DeclareSubStatement, SyntaxKind.DeclareFunctionStatement 106Case SyntaxKind.DelegateSubStatement, SyntaxKind.DelegateFunctionStatement 109Case SyntaxKind.EventStatement 112Case SyntaxKind.OperatorStatement 115Case SyntaxKind.PropertyStatement 118Case SyntaxKind.SubNewStatement, 119SyntaxKind.GetAccessorStatement, 120SyntaxKind.SetAccessorStatement, 121SyntaxKind.AddHandlerAccessorStatement, 122SyntaxKind.RemoveHandlerAccessorStatement, 123SyntaxKind.RaiseEventAccessorStatement
Syntax\SyntaxNodeRemover.vb (12)
87Return trivia.Kind = SyntaxKind.EndOfLineTrivia OrElse trivia.Kind = SyntaxKind.CommentTrivia OrElse trivia.IsDirective 125If result.Kind <> SyntaxKind.None AndAlso Me._residualTrivia IsNot Nothing AndAlso Me._residualTrivia.Count > 0 Then 165withSeps, i, SyntaxKind.EndOfLineTrivia, 194If alternate IsNot Nothing AndAlso Not visited.IsKind(SyntaxKind.None) Then 329If directiveTriviaListIndex >= 1 AndAlso triviaList(directiveTriviaListIndex - 1).Kind() = SyntaxKind.WhitespaceTrivia Then 351Case SyntaxKind.IfDirectiveTrivia, 352SyntaxKind.ElseDirectiveTrivia, 353SyntaxKind.ElseIfDirectiveTrivia, 354SyntaxKind.EndIfDirectiveTrivia, 355SyntaxKind.RegionDirectiveTrivia, 356SyntaxKind.EndRegionDirectiveTrivia
Syntax\SyntaxNormalizer.vb (124)
109If token.Kind = SyntaxKind.None Then 163If newToken.Kind = SyntaxKind.DocumentationCommentLineBreakToken Then 166ElseIf newToken.Kind = SyntaxKind.XmlTextLiteralToken Then 201If trivia.Kind = SyntaxKind.WhitespaceTrivia OrElse 202trivia.Kind = SyntaxKind.EndOfLineTrivia OrElse 203trivia.Kind = SyntaxKind.LineContinuationTrivia OrElse 212Not (trivia.Kind = SyntaxKind.ColonTrivia AndAlso tokenParent IsNot Nothing AndAlso tokenParent.Kind = SyntaxKind.LabelStatement) AndAlso 213Not (tokenParent IsNot Nothing AndAlso tokenParent.Parent IsNot Nothing AndAlso tokenParent.Parent.Kind = SyntaxKind.CrefReference) AndAlso 245If trivia.Kind = SyntaxKind.DocumentationCommentExteriorTrivia Then 246trivia = SyntaxFactory.DocumentationCommentExteriorTrivia(SyntaxFacts.GetText(SyntaxKind.DocumentationCommentExteriorTrivia)) 303Return (token.HasTrailingTrivia AndAlso token.TrailingTrivia.Last.Kind = SyntaxKind.ColonTrivia) OrElse 309If currentToken.Kind = SyntaxKind.None OrElse nextToken.Kind = SyntaxKind.None Then 348Case SyntaxKind.None, 349SyntaxKind.WhitespaceTrivia, 350SyntaxKind.DocumentationCommentExteriorTrivia, 351SyntaxKind.LineContinuationTrivia 365Case SyntaxKind.CommentTrivia, SyntaxKind.DocumentationCommentExteriorTrivia, SyntaxKind.EmptyStatement, 366SyntaxKind.IfDirectiveTrivia, 367SyntaxKind.ElseIfDirectiveTrivia, 368SyntaxKind.ElseDirectiveTrivia, 369SyntaxKind.EndIfDirectiveTrivia, 370SyntaxKind.RegionDirectiveTrivia, 371SyntaxKind.EndRegionDirectiveTrivia, 372SyntaxKind.ConstDirectiveTrivia, 373SyntaxKind.ExternalSourceDirectiveTrivia, 374SyntaxKind.EndExternalSourceDirectiveTrivia, 375SyntaxKind.ExternalChecksumDirectiveTrivia, 376SyntaxKind.EnableWarningDirectiveTrivia, 377SyntaxKind.DisableWarningDirectiveTrivia, 378SyntaxKind.ReferenceDirectiveTrivia, 379SyntaxKind.BadDirectiveTrivia 389Return trivia.Kind = SyntaxKind.CommentTrivia 394Case SyntaxKind.DocumentationCommentExteriorTrivia 404Case SyntaxKind.CommentTrivia, 405SyntaxKind.DocumentationCommentExteriorTrivia, 406SyntaxKind.DocumentationCommentTrivia 415If token.Kind = SyntaxKind.EndOfFileToken Then 419If token.Parent Is Nothing OrElse nextToken.Kind = SyntaxKind.None Then 423If nextToken.Parent.Kind = SyntaxKind.SingleLineFunctionLambdaExpression Then 427If nextToken.Kind = SyntaxKind.EndOfFileToken Then 434token.Kind <> SyntaxKind.NotKeyword AndAlso 435token.Kind <> SyntaxKind.AddressOfKeyword Then 446If token.Kind = SyntaxKind.OpenParenToken Then 451If nextToken.Kind = SyntaxKind.CloseParenToken Then 456If token.Kind <> SyntaxKind.CommaToken AndAlso nextToken.Kind = SyntaxKind.OpenParenToken Then 462If (token.Kind = SyntaxKind.CommaToken AndAlso (nextToken.Kind = SyntaxKind.EmptyToken OrElse token.Parent.Kind = SyntaxKind.InterpolationAlignmentClause)) OrElse 463nextToken.Kind = SyntaxKind.CommaToken Then 468If token.Kind = SyntaxKind.DotToken Then 470ElseIf nextToken.Kind = SyntaxKind.DotToken AndAlso nextToken.Parent.Kind <> SyntaxKind.NamedFieldInitializer Then 474If nextToken.Kind = SyntaxKind.ColonToken Then 475If token.Parent.Kind = SyntaxKind.LabelStatement Then 479ElseIf nextToken.Parent.Kind = SyntaxKind.InterpolationFormatClause Then 487If token.Kind = SyntaxKind.OpenBraceToken OrElse nextToken.Kind = SyntaxKind.CloseBraceToken Then 492If token.Kind = SyntaxKind.ColonEqualsToken OrElse nextToken.Kind = SyntaxKind.ColonEqualsToken Then 505If (token.Kind = SyntaxKind.GreaterThanToken AndAlso 506token.Parent.Kind = SyntaxKind.AttributeList) Then 512If (token.Kind = SyntaxKind.LessThanToken OrElse 513nextToken.Kind = SyntaxKind.GreaterThanToken OrElse 514token.Kind = SyntaxKind.LessThanSlashToken OrElse 515token.Kind = SyntaxKind.GreaterThanToken OrElse 516nextToken.Kind = SyntaxKind.LessThanSlashToken) Then 521If token.Kind = SyntaxKind.ColonToken AndAlso token.Parent.Kind = SyntaxKind.XmlPrefix OrElse 522nextToken.Kind = SyntaxKind.ColonToken AndAlso nextToken.Parent.Kind = SyntaxKind.XmlPrefix Then 527If nextToken.Kind = SyntaxKind.SlashGreaterThanToken Then 532If token.Kind = SyntaxKind.LessThanExclamationMinusMinusToken OrElse 533nextToken.Kind = SyntaxKind.MinusMinusGreaterThanToken Then 538If token.Kind = SyntaxKind.LessThanQuestionToken Then 543If token.Kind = SyntaxKind.BeginCDataToken OrElse 544nextToken.Kind = SyntaxKind.EndCDataToken Then 549If token.Kind = SyntaxKind.ColonToken AndAlso token.Parent.Kind = SyntaxKind.AttributeTarget OrElse 550nextToken.Kind = SyntaxKind.ColonToken AndAlso nextToken.Parent.Kind = SyntaxKind.AttributeTarget Then 555If (token.Kind = SyntaxKind.EqualsToken AndAlso 556(token.Parent.Kind = SyntaxKind.XmlAttribute OrElse 557token.Parent.Kind = SyntaxKind.XmlCrefAttribute OrElse 558token.Parent.Kind = SyntaxKind.XmlNameAttribute OrElse 559token.Parent.Kind = SyntaxKind.XmlDeclaration)) OrElse 560(nextToken.Kind = SyntaxKind.EqualsToken AndAlso 561(nextToken.Parent.Kind = SyntaxKind.XmlAttribute OrElse 562nextToken.Parent.Kind = SyntaxKind.XmlCrefAttribute OrElse 563nextToken.Parent.Kind = SyntaxKind.XmlNameAttribute OrElse 564nextToken.Parent.Kind = SyntaxKind.XmlDeclaration)) Then 570If token.Kind = SyntaxKind.DoubleQuoteToken OrElse 571nextToken.Kind = SyntaxKind.DoubleQuoteToken Then 576If token.Kind = SyntaxKind.AtToken AndAlso token.Parent.Kind = SyntaxKind.XmlAttributeAccessExpression Then 581If token.Kind = SyntaxKind.SingleQuoteToken OrElse 582nextToken.Kind = SyntaxKind.SingleQuoteToken Then 587If nextToken.Kind = SyntaxKind.QuestionToken Then 592If token.Kind = SyntaxKind.HashToken AndAlso TypeOf token.Parent Is DirectiveTriviaSyntax Then 597If token.Parent.Kind = SyntaxKind.RegionDirectiveTrivia AndAlso 598nextToken.Kind = SyntaxKind.StringLiteralToken AndAlso 603If token.Kind = SyntaxKind.XmlTextLiteralToken OrElse token.Kind = SyntaxKind.DocumentationCommentLineBreakToken Then 607If token.Kind = SyntaxKind.DollarSignDoubleQuoteToken Then 611If token.Kind = SyntaxKind.InterpolatedStringTextToken OrElse nextToken.Kind = SyntaxKind.InterpolatedStringTextToken Then 619If trivia.Kind = SyntaxKind.EndOfLineTrivia Then 623If trivia.Kind = SyntaxKind.DisabledTextTrivia Then 630trivia.GetStructure.GetLastToken.TrailingTrivia.Last.Kind = SyntaxKind.EndOfLineTrivia Then 671Return t.Kind <> SyntaxKind.None 690If listElement.Kind = SyntaxKind.LabelStatement Then 709node.TrailingTrivia.Last.Kind = SyntaxKind.ColonTrivia 768If node.Members(0).Kind <> SyntaxKind.NamespaceBlock Then 848If node.Kind = SyntaxKind.InterfaceBlock Then 1227(node.Parent.Kind <> SyntaxKind.Parameter AndAlso node.Parent.Kind <> SyntaxKind.SimpleAsClause) Then 1403(node.Parent.Kind = SyntaxKind.SubBlock OrElse node.Parent.Kind = SyntaxKind.FunctionBlock) Then 1435If node.Parent IsNot Nothing AndAlso node.Parent.Kind = SyntaxKind.EventBlock Then 1446If node.Parent IsNot Nothing AndAlso node.Parent.Kind = SyntaxKind.PropertyBlock Then
Syntax\SyntaxTreeDiagnosticEnumerator.vb (1)
75inDocumentationComment = inDocumentationComment OrElse node.RawKind = SyntaxKind.DocumentationCommentTrivia
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\VisualBasicSyntaxNode.vb (5)
99''' Returns the <see cref="SyntaxKind"/> of the node. 101Public Function Kind() As SyntaxKind 102Return CType(Me.Green.RawKind, SyntaxKind) 237Debug.Assert(Not n.IsKind(SyntaxKind.None)) 251Debug.Assert(n.Kind <> SyntaxKind.None)
Syntax\VisualBasicSyntaxRewriter.vb (3)
86If alternate IsNot Nothing AndAlso visited IsNot Nothing AndAlso visited.Kind <> SyntaxKind.None Then 116If alternate IsNot Nothing AndAlso visited.Kind <> SyntaxKind.None Then ' skip the null check since SyntaxToken is a value type 206If alternate IsNot Nothing AndAlso visited.Kind() <> SyntaxKind.None Then
Syntax\VisualBasicSyntaxTree.ConditionalSymbolsMap.vb (1)
112Case SyntaxKind.ConstDirectiveTrivia
Syntax\VisualBasicSyntaxTree.ParsedSyntaxTree.vb (1)
57_hasCompilationUnitRoot = (syntaxRoot.Kind = SyntaxKind.CompilationUnit)
Syntax\VisualBasicSyntaxTree.vb (1)
395Return foundXml AndAlso node IsNot Nothing AndAlso node.IsKind(SyntaxKind.DocumentationCommentTrivia)
Syntax\VisualBasicWarningStateMap.vb (4)
29If d.IsKind(SyntaxKind.EnableWarningDirectiveTrivia) Then 35ElseIf d.IsKind(SyntaxKind.DisableWarningDirectiveTrivia) Then 64If currentDirective.IsKind(SyntaxKind.EnableWarningDirectiveTrivia) Then 67ElseIf currentDirective.IsKind(SyntaxKind.DisableWarningDirectiveTrivia) Then
VisualBasicExtensions.vb (24)
176''' Determines if the given raw kind value belongs to the Visual Basic <see cref="SyntaxKind"/> enumeration. 187''' Returns <see cref="SyntaxKind"/> for <see cref="SyntaxTrivia"/> from <see cref="SyntaxTrivia.RawKind"/> property. 190Public Function Kind(trivia As SyntaxTrivia) As SyntaxKind 192Return If(IsVisualBasicKind(rawKind), CType(rawKind, SyntaxKind), SyntaxKind.None) 196''' Returns <see cref="SyntaxKind"/> for <see cref="SyntaxToken"/> from <see cref="SyntaxToken.RawKind"/> property. 199Public Function Kind(token As SyntaxToken) As SyntaxKind 201Return If(IsVisualBasicKind(rawKind), CType(rawKind, SyntaxKind), SyntaxKind.None) 205''' Returns <see cref="SyntaxKind"/> for <see cref="SyntaxNode"/> from <see cref="SyntaxNode.RawKind"/> property. 208Public Function Kind(node As SyntaxNode) As SyntaxKind 210Return If(IsVisualBasicKind(rawKind), CType(rawKind, SyntaxKind), SyntaxKind.None) 214''' Returns <see cref="SyntaxKind"/> for <see cref="SyntaxNodeOrToken"/> from <see cref="SyntaxNodeOrToken.RawKind"/> property. 217Public Function Kind(nodeOrToken As SyntaxNodeOrToken) As SyntaxKind 219Return If(IsVisualBasicKind(rawKind), CType(rawKind, SyntaxKind), SyntaxKind.None) 291If token.IsKind(SyntaxKind.IdentifierToken) Then 306Case SyntaxKind.IdentifierToken 310Case SyntaxKind.IntegerLiteralToken 314Case SyntaxKind.FloatingLiteralToken 318Case SyntaxKind.DecimalLiteralToken 333If token.IsKind(SyntaxKind.IntegerLiteralToken) Then 385If(token.IsKind(SyntaxKind.IdentifierToken),
VisualBasicParseOptions.vb (3)
255If Not IsValidIdentifier(symbol.Key) OrElse SyntaxFacts.GetKeywordKind(symbol.Key) <> SyntaxKind.None Then 260Debug.Assert(SyntaxFactory.ParseTokens(symbol.Key).Select(Function(t) t.Kind).SequenceEqual({SyntaxKind.IdentifierToken, SyntaxKind.EndOfFileToken}))