776 references to Node
Microsoft.CodeAnalysis (3)
Syntax\InternalSyntax\SeparatedSyntaxList.cs (1)
37
internal GreenNode? Node => _list.
Node
;
Syntax\InternalSyntax\SyntaxList`1.cs (1)
178
return new SyntaxList<GreenNode>(nodes.
Node
);
Syntax\InternalSyntax\SyntaxListBuilder.cs (1)
123
this.AddRange(new SyntaxList<GreenNode>(list.
Node
), offset, length);
Microsoft.CodeAnalysis.CSharp (17)
Parser\LanguageParser.cs (9)
1769
_pool.ToTokenListAndFree(tokens).
Node
);
3967
trailingTrivia = _pool.ToTokenListAndFree(nodes).
Node
;
3993
trailingTrivia = _pool.ToTokenListAndFree(nodes).
Node
;
5973
result = AddLeadingSkippedSyntax(result, attrs.
Node
);
6359
var leftDot = SyntaxFactory.Token(separator.LeadingTrivia.
Node
, SyntaxKind.DotToken, null);
6361
separator = SyntaxFactory.Token(null, SyntaxKind.DotToken, separator.TrailingTrivia.
Node
);
8770
identifier = SyntaxToken.WithValue(SyntaxKind.IdentifierToken, discard.LeadingTrivia.
Node
, discard.Text, discard.ValueText, discard.TrailingTrivia.
Node
);
13185
node = this.AddTrailingSkippedSyntax(node, trailingTrash.
Node
);
Parser\SyntaxParser.cs (6)
1052
? SyntaxFactory.MissingToken(token.LeadingTrivia.
Node
, token.ContextualKind, token.TrailingTrivia.
Node
)
1053
: SyntaxFactory.Token(token.LeadingTrivia.
Node
, token.ContextualKind, token.TrailingTrivia.
Node
);
1069
return SyntaxToken.Identifier(token.Kind, token.LeadingTrivia.
Node
, token.Text, token.ValueText, token.TrailingTrivia.
Node
);
Syntax\InternalSyntax\CSharpSyntaxRewriter.cs (2)
33
token = token.TokenWithLeadingTrivia(leading.
Node
);
38
token = token.TokenWithTrailingTrivia(trailing.
Node
);
Microsoft.CodeAnalysis.VisualBasic (756)
Generated\Syntax.xml.Internal.Generated.vb (618)
37773
If node._options IsNot newOptions.
Node
Then anyChanges = True
37775
If node._imports IsNot newImports.
Node
Then anyChanges = True
37777
If node._attributes IsNot newAttributes.
Node
Then anyChanges = True
37779
If node._members IsNot newMembers.
Node
Then anyChanges = True
37784
Return New CompilationUnitSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newOptions.
Node
, newImports.
Node
, newAttributes.
Node
, newMembers.
Node
, newEndOfFileToken)
37875
If node._members IsNot newMembers.
Node
Then anyChanges = True
37880
Return New NamespaceBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newNamespaceStatement, newMembers.
Node
, newEndNamespaceStatement)
37907
If node._inherits IsNot newInherits.
Node
Then anyChanges = True
37909
If node._implements IsNot newImplements.
Node
Then anyChanges = True
37911
If node._members IsNot newMembers.
Node
Then anyChanges = True
37916
Return New ModuleBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newModuleStatement, newInherits.
Node
, newImplements.
Node
, newMembers.
Node
, newEndModuleStatement)
37928
If node._inherits IsNot newInherits.
Node
Then anyChanges = True
37930
If node._implements IsNot newImplements.
Node
Then anyChanges = True
37932
If node._members IsNot newMembers.
Node
Then anyChanges = True
37937
Return New StructureBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newStructureStatement, newInherits.
Node
, newImplements.
Node
, newMembers.
Node
, newEndStructureStatement)
37949
If node._inherits IsNot newInherits.
Node
Then anyChanges = True
37951
If node._implements IsNot newImplements.
Node
Then anyChanges = True
37953
If node._members IsNot newMembers.
Node
Then anyChanges = True
37958
Return New InterfaceBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newInterfaceStatement, newInherits.
Node
, newImplements.
Node
, newMembers.
Node
, newEndInterfaceStatement)
37970
If node._inherits IsNot newInherits.
Node
Then anyChanges = True
37972
If node._implements IsNot newImplements.
Node
Then anyChanges = True
37974
If node._members IsNot newMembers.
Node
Then anyChanges = True
37979
Return New ClassBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newClassStatement, newInherits.
Node
, newImplements.
Node
, newMembers.
Node
, newEndClassStatement)
37991
If node._members IsNot newMembers.
Node
Then anyChanges = True
37996
Return New EnumBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newEnumStatement, newMembers.
Node
, newEndEnumStatement)
38036
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
38038
If node._modifiers IsNot newModifiers.
Node
Then anyChanges = True
38047
Return New ModuleStatementSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.
Node
, newModifiers.
Node
, newModuleKeyword, newIdentifier, newTypeParameterList)
38057
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
38059
If node._modifiers IsNot newModifiers.
Node
Then anyChanges = True
38068
Return New StructureStatementSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.
Node
, newModifiers.
Node
, newStructureKeyword, newIdentifier, newTypeParameterList)
38078
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
38080
If node._modifiers IsNot newModifiers.
Node
Then anyChanges = True
38089
Return New InterfaceStatementSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.
Node
, newModifiers.
Node
, newInterfaceKeyword, newIdentifier, newTypeParameterList)
38099
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
38101
If node._modifiers IsNot newModifiers.
Node
Then anyChanges = True
38110
Return New ClassStatementSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.
Node
, newModifiers.
Node
, newClassKeyword, newIdentifier, newTypeParameterList)
38120
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
38122
If node._modifiers IsNot newModifiers.
Node
Then anyChanges = True
38131
Return New EnumStatementSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.
Node
, newModifiers.
Node
, newEnumKeyword, newIdentifier, newUnderlyingType)
38237
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
38244
Return New EnumMemberDeclarationSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.
Node
, newIdentifier, newInitializer)
38256
If node._statements IsNot newStatements.
Node
Then anyChanges = True
38261
Return New MethodBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newSubOrFunctionStatement, newStatements.
Node
, newEndSubOrFunctionStatement)
38273
If node._statements IsNot newStatements.
Node
Then anyChanges = True
38278
Return New ConstructorBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newSubNewStatement, newStatements.
Node
, newEndSubStatement)
38290
If node._statements IsNot newStatements.
Node
Then anyChanges = True
38295
Return New OperatorBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newOperatorStatement, newStatements.
Node
, newEndOperatorStatement)
38307
If node._statements IsNot newStatements.
Node
Then anyChanges = True
38312
Return New AccessorBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAccessorStatement, newStatements.
Node
, newEndAccessorStatement)
38324
If node._accessors IsNot newAccessors.
Node
Then anyChanges = True
38329
Return New PropertyBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newPropertyStatement, newAccessors.
Node
, newEndPropertyStatement)
38341
If node._accessors IsNot newAccessors.
Node
Then anyChanges = True
38346
Return New EventBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newEventStatement, newAccessors.
Node
, newEndEventStatement)
38373
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
38375
If node._modifiers IsNot newModifiers.
Node
Then anyChanges = True
38392
Return New MethodStatementSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.
Node
, newModifiers.
Node
, newSubOrFunctionKeyword, newIdentifier, newTypeParameterList, newParameterList, newAsClause, newHandlesClause, newImplementsClause)
38402
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
38404
If node._modifiers IsNot newModifiers.
Node
Then anyChanges = True
38413
Return New SubNewStatementSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.
Node
, newModifiers.
Node
, newSubKeyword, newNewKeyword, newParameterList)
38423
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
38425
If node._modifiers IsNot newModifiers.
Node
Then anyChanges = True
38448
Return New DeclareStatementSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.
Node
, newModifiers.
Node
, newDeclareKeyword, newCharsetKeyword, newSubOrFunctionKeyword, newIdentifier, newLibKeyword, newLibraryName, newAliasKeyword, newAliasName, newParameterList, newAsClause)
38458
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
38460
If node._modifiers IsNot newModifiers.
Node
Then anyChanges = True
38475
Return New DelegateStatementSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.
Node
, newModifiers.
Node
, newDelegateKeyword, newSubOrFunctionKeyword, newIdentifier, newTypeParameterList, newParameterList, newAsClause)
38485
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
38487
If node._modifiers IsNot newModifiers.
Node
Then anyChanges = True
38502
Return New EventStatementSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.
Node
, newModifiers.
Node
, newCustomKeyword, newEventKeyword, newIdentifier, newParameterList, newAsClause, newImplementsClause)
38512
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
38514
If node._modifiers IsNot newModifiers.
Node
Then anyChanges = True
38525
Return New OperatorStatementSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.
Node
, newModifiers.
Node
, newOperatorKeyword, newOperatorToken, newParameterList, newAsClause)
38535
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
38537
If node._modifiers IsNot newModifiers.
Node
Then anyChanges = True
38552
Return New PropertyStatementSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.
Node
, newModifiers.
Node
, newPropertyKeyword, newIdentifier, newParameterList, newAsClause, newInitializer, newImplementsClause)
38562
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
38564
If node._modifiers IsNot newModifiers.
Node
Then anyChanges = True
38571
Return New AccessorStatementSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.
Node
, newModifiers.
Node
, newAccessorKeyword, newParameterList)
38671
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
38673
If node._modifiers IsNot newModifiers.
Node
Then anyChanges = True
38678
Return New IncompleteMemberSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.
Node
, newModifiers.
Node
, newMissingIdentifier)
38688
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
38690
If node._modifiers IsNot newModifiers.
Node
Then anyChanges = True
38695
Return New FieldDeclarationSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.
Node
, newModifiers.
Node
, newDeclarators.Node)
38724
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
38729
Return New SimpleAsClauseSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAsKeyword, newAttributeLists.
Node
, newType)
38839
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
38841
If node._modifiers IsNot newModifiers.
Node
Then anyChanges = True
38850
Return New ParameterSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.
Node
, newModifiers.
Node
, newIdentifier, newAsClause, newDefault)
38866
If node._arrayRankSpecifiers IsNot newArrayRankSpecifiers.
Node
Then anyChanges = True
38869
Return New ModifiedIdentifierSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newIdentifier, newNullable, newArrayBounds, newArrayRankSpecifiers.
Node
)
38881
If node._commaTokens IsNot newCommaTokens.
Node
Then anyChanges = True
38886
Return New ArrayRankSpecifierSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newOpenParenToken, newCommaTokens.
Node
, newCloseParenToken)
38945
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
38948
Return New AttributesStatementSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.
Node
)
38988
If node._statements IsNot newStatements.
Node
Then anyChanges = True
38993
Return New WhileBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newWhileStatement, newStatements.
Node
, newEndWhileStatement)
39005
If node._statements IsNot newStatements.
Node
Then anyChanges = True
39010
Return New UsingBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newUsingStatement, newStatements.
Node
, newEndUsingStatement)
39022
If node._statements IsNot newStatements.
Node
Then anyChanges = True
39027
Return New SyncLockBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newSyncLockStatement, newStatements.
Node
, newEndSyncLockStatement)
39039
If node._statements IsNot newStatements.
Node
Then anyChanges = True
39044
Return New WithBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newWithStatement, newStatements.
Node
, newEndWithStatement)
39054
If node._modifiers IsNot newModifiers.
Node
Then anyChanges = True
39059
Return New LocalDeclarationStatementSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newModifiers.
Node
, newDeclarators.Node)
39176
If node._statements IsNot newStatements.
Node
Then anyChanges = True
39181
Return New SingleLineIfStatementSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newIfKeyword, newCondition, newThenKeyword, newStatements.
Node
, newElseClause)
39193
If node._statements IsNot newStatements.
Node
Then anyChanges = True
39196
Return New SingleLineElseClauseSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newElseKeyword, newStatements.
Node
)
39208
If node._statements IsNot newStatements.
Node
Then anyChanges = True
39210
If node._elseIfBlocks IsNot newElseIfBlocks.
Node
Then anyChanges = True
39217
Return New MultiLineIfBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newIfStatement, newStatements.
Node
, newElseIfBlocks.
Node
, newElseBlock, newEndIfStatement)
39246
If node._statements IsNot newStatements.
Node
Then anyChanges = True
39249
Return New ElseIfBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newElseIfStatement, newStatements.
Node
)
39278
If node._statements IsNot newStatements.
Node
Then anyChanges = True
39281
Return New ElseBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newElseStatement, newStatements.
Node
)
39306
If node._statements IsNot newStatements.
Node
Then anyChanges = True
39308
If node._catchBlocks IsNot newCatchBlocks.
Node
Then anyChanges = True
39315
Return New TryBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newTryStatement, newStatements.
Node
, newCatchBlocks.
Node
, newFinallyBlock, newEndTryStatement)
39340
If node._statements IsNot newStatements.
Node
Then anyChanges = True
39343
Return New CatchBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newCatchStatement, newStatements.
Node
)
39389
If node._statements IsNot newStatements.
Node
Then anyChanges = True
39392
Return New FinallyBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newFinallyStatement, newStatements.
Node
)
39487
If node._caseBlocks IsNot newCaseBlocks.
Node
Then anyChanges = True
39492
Return New SelectBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newSelectStatement, newCaseBlocks.
Node
, newEndSelectStatement)
39521
If node._statements IsNot newStatements.
Node
Then anyChanges = True
39524
Return New CaseBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newCaseStatement, newStatements.
Node
)
39626
If node._statements IsNot newStatements.
Node
Then anyChanges = True
39631
Return New DoLoopBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newDoStatement, newStatements.
Node
, newLoopStatement)
39703
If node._statements IsNot newStatements.
Node
Then anyChanges = True
39708
Return New ForBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newForStatement, newStatements.
Node
, newNextStatement)
39720
If node._statements IsNot newStatements.
Node
Then anyChanges = True
39725
Return New ForEachBlockSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newForEachStatement, newStatements.
Node
, newNextStatement)
40231
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
40240
Return New ObjectCreationExpressionSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newNewKeyword, newAttributeLists.
Node
, newType, newArgumentList, newInitializer)
40252
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
40257
Return New AnonymousObjectCreationExpressionSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newNewKeyword, newAttributeLists.
Node
, newInitializer)
40269
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
40275
If node._rankSpecifiers IsNot newRankSpecifiers.
Node
Then anyChanges = True
40280
Return New ArrayCreationExpressionSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newNewKeyword, newAttributeLists.
Node
, newType, newArrayBounds, newRankSpecifiers.
Node
, newInitializer)
40494
If node._statements IsNot newStatements.
Node
Then anyChanges = True
40499
Return New MultiLineLambdaExpressionSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newSubOrFunctionHeader, newStatements.
Node
, newEndSubOrFunctionStatement)
40509
If node._attributeLists IsNot newAttributeLists.
Node
Then anyChanges = True
40511
If node._modifiers IsNot newModifiers.
Node
Then anyChanges = True
40520
Return New LambdaHeaderSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.
Node
, newModifiers.
Node
, newSubOrFunctionKeyword, newParameterList, newAsClause)
40607
If node._clauses IsNot newClauses.
Node
Then anyChanges = True
40610
Return New QueryExpressionSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newClauses.
Node
)
40752
If node._additionalQueryOperators IsNot newAdditionalQueryOperators.
Node
Then anyChanges = True
40759
Return New AggregateClauseSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAggregateKeyword, newVariables.Node, newAdditionalQueryOperators.
Node
, newIntoKeyword, newAggregationVariables.Node)
40873
If node._additionalJoins IsNot newAdditionalJoins.
Node
Then anyChanges = True
40880
Return New SimpleJoinClauseSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newJoinKeyword, newJoinedVariables.Node, newAdditionalJoins.
Node
, newOnKeyword, newJoinConditions.Node)
40896
If node._additionalJoins IsNot newAdditionalJoins.
Node
Then anyChanges = True
40907
Return New GroupJoinClauseSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newGroupKeyword, newJoinKeyword, newJoinedVariables.Node, newAdditionalJoins.
Node
, newOnKeyword, newJoinConditions.Node, newIntoKeyword, newAggregationVariables.Node)
40966
If node._precedingMisc IsNot newPrecedingMisc.
Node
Then anyChanges = True
40970
If node._followingMisc IsNot newFollowingMisc.
Node
Then anyChanges = True
40973
Return New XmlDocumentSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newDeclaration, newPrecedingMisc.
Node
, newRoot, newFollowingMisc.
Node
)
41025
If node._content IsNot newContent.
Node
Then anyChanges = True
41030
Return New XmlElementSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newStartTag, newContent.
Node
, newEndTag)
41040
If node._textTokens IsNot newTextTokens.
Node
Then anyChanges = True
41043
Return New XmlTextSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newTextTokens.
Node
)
41057
If node._attributes IsNot newAttributes.
Node
Then anyChanges = True
41062
Return New XmlElementStartTagSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newLessThanToken, newName, newAttributes.
Node
, newGreaterThanToken)
41093
If node._attributes IsNot newAttributes.
Node
Then anyChanges = True
41098
Return New XmlEmptyElementSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newLessThanToken, newName, newAttributes.
Node
, newSlashGreaterThanToken)
41127
If node._textTokens IsNot newTextTokens.
Node
Then anyChanges = True
41132
Return New XmlStringSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newStartQuoteToken, newTextTokens.
Node
, newEndQuoteToken)
41204
If node._textTokens IsNot newTextTokens.
Node
Then anyChanges = True
41209
Return New XmlCommentSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newLessThanExclamationMinusMinusToken, newTextTokens.
Node
, newMinusMinusGreaterThanToken)
41223
If node._textTokens IsNot newTextTokens.
Node
Then anyChanges = True
41228
Return New XmlProcessingInstructionSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newLessThanQuestionToken, newName, newTextTokens.
Node
, newQuestionGreaterThanToken)
41240
If node._textTokens IsNot newTextTokens.
Node
Then anyChanges = True
41245
Return New XmlCDataSectionSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newBeginCDataToken, newTextTokens.
Node
, newEndCDataToken)
41274
If node._rankSpecifiers IsNot newRankSpecifiers.
Node
Then anyChanges = True
41277
Return New ArrayTypeSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newElementType, newRankSpecifiers.
Node
)
41503
If node._tokens IsNot newTokens.
Node
Then anyChanges = True
41506
Return New SkippedTokensTriviaSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newTokens.
Node
)
41516
If node._content IsNot newContent.
Node
Then anyChanges = True
41519
Return New DocumentationCommentTriviaSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newContent.
Node
)
41609
If node._contents IsNot newContents.
Node
Then anyChanges = True
41614
Return New InterpolatedStringExpressionSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newDollarSignDoubleQuoteToken, newContents.
Node
, newDoubleQuoteToken)
42744
Return New CompilationUnitSyntax(SyntaxKind.CompilationUnit, options.
Node
, [imports].
Node
, attributes.
Node
, members.
Node
, endOfFileToken)
42908
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.NamespaceBlock, namespaceStatement, members.
Node
, endNamespaceStatement, hash)
42913
Dim result = New NamespaceBlockSyntax(SyntaxKind.NamespaceBlock, namespaceStatement, members.
Node
, endNamespaceStatement)
42973
Return New ModuleBlockSyntax(SyntaxKind.ModuleBlock, moduleStatement, [inherits].
Node
, [implements].
Node
, members.
Node
, endModuleStatement)
42999
Return New StructureBlockSyntax(SyntaxKind.StructureBlock, structureStatement, [inherits].
Node
, [implements].
Node
, members.
Node
, endStructureStatement)
43025
Return New InterfaceBlockSyntax(SyntaxKind.InterfaceBlock, interfaceStatement, [inherits].
Node
, [implements].
Node
, members.
Node
, endInterfaceStatement)
43051
Return New ClassBlockSyntax(SyntaxKind.ClassBlock, classStatement, [inherits].
Node
, [implements].
Node
, members.
Node
, endClassStatement)
43073
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EnumBlock, enumStatement, members.
Node
, endEnumStatement, hash)
43078
Dim result = New EnumBlockSyntax(SyntaxKind.EnumBlock, enumStatement, members.
Node
, endEnumStatement)
43166
Return New ModuleStatementSyntax(SyntaxKind.ModuleStatement, attributeLists.
Node
, modifiers.
Node
, moduleKeyword, identifier, typeParameterList)
43195
Return New StructureStatementSyntax(SyntaxKind.StructureStatement, attributeLists.
Node
, modifiers.
Node
, structureKeyword, identifier, typeParameterList)
43224
Return New InterfaceStatementSyntax(SyntaxKind.InterfaceStatement, attributeLists.
Node
, modifiers.
Node
, interfaceKeyword, identifier, typeParameterList)
43253
Return New ClassStatementSyntax(SyntaxKind.ClassStatement, attributeLists.
Node
, modifiers.
Node
, classKeyword, identifier, typeParameterList)
43282
Return New EnumStatementSyntax(SyntaxKind.EnumStatement, attributeLists.
Node
, modifiers.
Node
, enumKeyword, identifier, underlyingType)
43546
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EnumMemberDeclaration, attributeLists.
Node
, identifier, initializer, hash)
43551
Dim result = New EnumMemberDeclarationSyntax(SyntaxKind.EnumMemberDeclaration, attributeLists.
Node
, identifier, initializer)
43578
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SubBlock, subOrFunctionStatement, statements.
Node
, endSubOrFunctionStatement, hash)
43583
Dim result = New MethodBlockSyntax(SyntaxKind.SubBlock, subOrFunctionStatement, statements.
Node
, endSubOrFunctionStatement)
43610
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.FunctionBlock, subOrFunctionStatement, statements.
Node
, endSubOrFunctionStatement, hash)
43615
Dim result = New MethodBlockSyntax(SyntaxKind.FunctionBlock, subOrFunctionStatement, statements.
Node
, endSubOrFunctionStatement)
43647
Dim cached = SyntaxNodeCache.TryGetNode(kind, subOrFunctionStatement, statements.
Node
, endSubOrFunctionStatement, hash)
43652
Dim result = New MethodBlockSyntax(kind, subOrFunctionStatement, statements.
Node
, endSubOrFunctionStatement)
43679
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ConstructorBlock, subNewStatement, statements.
Node
, endSubStatement, hash)
43684
Dim result = New ConstructorBlockSyntax(SyntaxKind.ConstructorBlock, subNewStatement, statements.
Node
, endSubStatement)
43711
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.OperatorBlock, operatorStatement, statements.
Node
, endOperatorStatement, hash)
43716
Dim result = New OperatorBlockSyntax(SyntaxKind.OperatorBlock, operatorStatement, statements.
Node
, endOperatorStatement)
43746
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.GetAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement, hash)
43751
Dim result = New AccessorBlockSyntax(SyntaxKind.GetAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement)
43781
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SetAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement, hash)
43786
Dim result = New AccessorBlockSyntax(SyntaxKind.SetAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement)
43816
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.AddHandlerAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement, hash)
43821
Dim result = New AccessorBlockSyntax(SyntaxKind.AddHandlerAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement)
43851
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.RemoveHandlerAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement, hash)
43856
Dim result = New AccessorBlockSyntax(SyntaxKind.RemoveHandlerAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement)
43886
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.RaiseEventAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement, hash)
43891
Dim result = New AccessorBlockSyntax(SyntaxKind.RaiseEventAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement)
43927
Dim cached = SyntaxNodeCache.TryGetNode(kind, accessorStatement, statements.
Node
, endAccessorStatement, hash)
43932
Dim result = New AccessorBlockSyntax(kind, accessorStatement, statements.
Node
, endAccessorStatement)
43960
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.PropertyBlock, propertyStatement, accessors.
Node
, endPropertyStatement, hash)
43965
Dim result = New PropertyBlockSyntax(SyntaxKind.PropertyBlock, propertyStatement, accessors.
Node
, endPropertyStatement)
43993
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.EventBlock, eventStatement, accessors.
Node
, endEventStatement, hash)
43998
Dim result = New EventBlockSyntax(SyntaxKind.EventBlock, eventStatement, accessors.
Node
, endEventStatement)
44084
Return New MethodStatementSyntax(SyntaxKind.SubStatement, attributeLists.
Node
, modifiers.
Node
, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause, handlesClause, implementsClause)
44132
Return New MethodStatementSyntax(SyntaxKind.FunctionStatement, attributeLists.
Node
, modifiers.
Node
, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause, handlesClause, implementsClause)
44185
Return New MethodStatementSyntax(kind, attributeLists.
Node
, modifiers.
Node
, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause, handlesClause, implementsClause)
44217
Return New SubNewStatementSyntax(SyntaxKind.SubNewStatement, attributeLists.
Node
, modifiers.
Node
, subKeyword, newKeyword, parameterList)
44273
Return New DeclareStatementSyntax(SyntaxKind.DeclareSubStatement, attributeLists.
Node
, modifiers.
Node
, declareKeyword, charsetKeyword, subOrFunctionKeyword, identifier, libKeyword, libraryName, aliasKeyword, aliasName, parameterList, asClause)
44329
Return New DeclareStatementSyntax(SyntaxKind.DeclareFunctionStatement, attributeLists.
Node
, modifiers.
Node
, declareKeyword, charsetKeyword, subOrFunctionKeyword, identifier, libKeyword, libraryName, aliasKeyword, aliasName, parameterList, asClause)
44390
Return New DeclareStatementSyntax(kind, attributeLists.
Node
, modifiers.
Node
, declareKeyword, charsetKeyword, subOrFunctionKeyword, identifier, libKeyword, libraryName, aliasKeyword, aliasName, parameterList, asClause)
44432
Return New DelegateStatementSyntax(SyntaxKind.DelegateSubStatement, attributeLists.
Node
, modifiers.
Node
, delegateKeyword, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause)
44474
Return New DelegateStatementSyntax(SyntaxKind.DelegateFunctionStatement, attributeLists.
Node
, modifiers.
Node
, delegateKeyword, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause)
44522
Return New DelegateStatementSyntax(kind, attributeLists.
Node
, modifiers.
Node
, delegateKeyword, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause)
44565
Return New EventStatementSyntax(SyntaxKind.EventStatement, attributeLists.
Node
, modifiers.
Node
, customKeyword, eventKeyword, identifier, parameterList, asClause, implementsClause)
44602
Return New OperatorStatementSyntax(SyntaxKind.OperatorStatement, attributeLists.
Node
, modifiers.
Node
, operatorKeyword, operatorToken, parameterList, asClause)
44647
Return New PropertyStatementSyntax(SyntaxKind.PropertyStatement, attributeLists.
Node
, modifiers.
Node
, propertyKeyword, identifier, parameterList, asClause, initializer, implementsClause)
44677
Return New AccessorStatementSyntax(SyntaxKind.GetAccessorStatement, attributeLists.
Node
, modifiers.
Node
, accessorKeyword, parameterList)
44707
Return New AccessorStatementSyntax(SyntaxKind.SetAccessorStatement, attributeLists.
Node
, modifiers.
Node
, accessorKeyword, parameterList)
44737
Return New AccessorStatementSyntax(SyntaxKind.AddHandlerAccessorStatement, attributeLists.
Node
, modifiers.
Node
, accessorKeyword, parameterList)
44767
Return New AccessorStatementSyntax(SyntaxKind.RemoveHandlerAccessorStatement, attributeLists.
Node
, modifiers.
Node
, accessorKeyword, parameterList)
44797
Return New AccessorStatementSyntax(SyntaxKind.RaiseEventAccessorStatement, attributeLists.
Node
, modifiers.
Node
, accessorKeyword, parameterList)
44834
Return New AccessorStatementSyntax(kind, attributeLists.
Node
, modifiers.
Node
, accessorKeyword, parameterList)
45032
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.IncompleteMember, attributeLists.
Node
, modifiers.
Node
, missingIdentifier, hash)
45037
Dim result = New IncompleteMemberSyntax(SyntaxKind.IncompleteMember, attributeLists.
Node
, modifiers.
Node
, missingIdentifier)
45067
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.FieldDeclaration, attributeLists.
Node
, modifiers.
Node
, declarators.Node, hash)
45072
Dim result = New FieldDeclarationSyntax(SyntaxKind.FieldDeclaration, attributeLists.
Node
, modifiers.
Node
, declarators.Node)
45134
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SimpleAsClause, asKeyword, attributeLists.
Node
, type, hash)
45139
Dim result = New SimpleAsClauseSyntax(SyntaxKind.SimpleAsClause, asKeyword, attributeLists.
Node
, type)
45340
Return New ParameterSyntax(SyntaxKind.Parameter, attributeLists.
Node
, modifiers.
Node
, identifier, asClause, [default])
45363
Return New ModifiedIdentifierSyntax(SyntaxKind.ModifiedIdentifier, identifier, nullable, arrayBounds, arrayRankSpecifiers.
Node
)
45385
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ArrayRankSpecifier, openParenToken, commaTokens.
Node
, closeParenToken, hash)
45390
Dim result = New ArrayRankSpecifierSyntax(SyntaxKind.ArrayRankSpecifier, openParenToken, commaTokens.
Node
, closeParenToken)
45501
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.AttributesStatement, attributeLists.
Node
, hash)
45506
Dim result = New AttributesStatementSyntax(SyntaxKind.AttributesStatement, attributeLists.
Node
)
45587
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.WhileBlock, whileStatement, statements.
Node
, endWhileStatement, hash)
45592
Dim result = New WhileBlockSyntax(SyntaxKind.WhileBlock, whileStatement, statements.
Node
, endWhileStatement)
45620
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.UsingBlock, usingStatement, statements.
Node
, endUsingStatement, hash)
45625
Dim result = New UsingBlockSyntax(SyntaxKind.UsingBlock, usingStatement, statements.
Node
, endUsingStatement)
45653
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SyncLockBlock, syncLockStatement, statements.
Node
, endSyncLockStatement, hash)
45658
Dim result = New SyncLockBlockSyntax(SyntaxKind.SyncLockBlock, syncLockStatement, statements.
Node
, endSyncLockStatement)
45686
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.WithBlock, withStatement, statements.
Node
, endWithStatement, hash)
45691
Dim result = New WithBlockSyntax(SyntaxKind.WithBlock, withStatement, statements.
Node
, endWithStatement)
45714
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.LocalDeclarationStatement, modifiers.
Node
, declarators.Node, hash)
45719
Dim result = New LocalDeclarationStatementSyntax(SyntaxKind.LocalDeclarationStatement, modifiers.
Node
, declarators.Node)
46449
Return New SingleLineIfStatementSyntax(SyntaxKind.SingleLineIfStatement, ifKeyword, condition, thenKeyword, statements.
Node
, elseClause)
46467
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SingleLineElseClause, elseKeyword, statements.
Node
, hash)
46472
Dim result = New SingleLineElseClauseSyntax(SyntaxKind.SingleLineElseClause, elseKeyword, statements.
Node
)
46506
Return New MultiLineIfBlockSyntax(SyntaxKind.MultiLineIfBlock, ifStatement, statements.
Node
, elseIfBlocks.
Node
, elseBlock, endIfStatement)
46555
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ElseIfBlock, elseIfStatement, statements.
Node
, hash)
46560
Dim result = New ElseIfBlockSyntax(SyntaxKind.ElseIfBlock, elseIfStatement, statements.
Node
)
46613
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ElseBlock, elseStatement, statements.
Node
, hash)
46618
Dim result = New ElseBlockSyntax(SyntaxKind.ElseBlock, elseStatement, statements.
Node
)
46673
Return New TryBlockSyntax(SyntaxKind.TryBlock, tryStatement, statements.
Node
, catchBlocks.
Node
, finallyBlock, endTryStatement)
46715
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CatchBlock, catchStatement, statements.
Node
, hash)
46720
Dim result = New CatchBlockSyntax(SyntaxKind.CatchBlock, catchStatement, statements.
Node
)
46792
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.FinallyBlock, finallyStatement, statements.
Node
, hash)
46797
Dim result = New FinallyBlockSyntax(SyntaxKind.FinallyBlock, finallyStatement, statements.
Node
)
47108
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SelectBlock, selectStatement, caseBlocks.
Node
, endSelectStatement, hash)
47113
Dim result = New SelectBlockSyntax(SyntaxKind.SelectBlock, selectStatement, caseBlocks.
Node
, endSelectStatement)
47167
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CaseBlock, caseStatement, statements.
Node
, hash)
47172
Dim result = New CaseBlockSyntax(SyntaxKind.CaseBlock, caseStatement, statements.
Node
)
47194
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.CaseElseBlock, caseStatement, statements.
Node
, hash)
47199
Dim result = New CaseBlockSyntax(SyntaxKind.CaseElseBlock, caseStatement, statements.
Node
)
47626
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.SimpleDoLoopBlock, doStatement, statements.
Node
, loopStatement, hash)
47631
Dim result = New DoLoopBlockSyntax(SyntaxKind.SimpleDoLoopBlock, doStatement, statements.
Node
, loopStatement)
47658
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.DoWhileLoopBlock, doStatement, statements.
Node
, loopStatement, hash)
47663
Dim result = New DoLoopBlockSyntax(SyntaxKind.DoWhileLoopBlock, doStatement, statements.
Node
, loopStatement)
47690
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.DoUntilLoopBlock, doStatement, statements.
Node
, loopStatement, hash)
47695
Dim result = New DoLoopBlockSyntax(SyntaxKind.DoUntilLoopBlock, doStatement, statements.
Node
, loopStatement)
47722
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.DoLoopWhileBlock, doStatement, statements.
Node
, loopStatement, hash)
47727
Dim result = New DoLoopBlockSyntax(SyntaxKind.DoLoopWhileBlock, doStatement, statements.
Node
, loopStatement)
47754
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.DoLoopUntilBlock, doStatement, statements.
Node
, loopStatement, hash)
47759
Dim result = New DoLoopBlockSyntax(SyntaxKind.DoLoopUntilBlock, doStatement, statements.
Node
, loopStatement)
47792
Dim cached = SyntaxNodeCache.TryGetNode(kind, doStatement, statements.
Node
, loopStatement, hash)
47797
Dim result = New DoLoopBlockSyntax(kind, doStatement, statements.
Node
, loopStatement)
48185
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ForBlock, forStatement, statements.
Node
, nextStatement, hash)
48190
Dim result = New ForBlockSyntax(SyntaxKind.ForBlock, forStatement, statements.
Node
, nextStatement)
48219
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ForEachBlock, forEachStatement, statements.
Node
, nextStatement, hash)
48224
Dim result = New ForEachBlockSyntax(SyntaxKind.ForEachBlock, forEachStatement, statements.
Node
, nextStatement)
50071
Return New ObjectCreationExpressionSyntax(SyntaxKind.ObjectCreationExpression, newKeyword, attributeLists.
Node
, type, argumentList, initializer)
50093
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.AnonymousObjectCreationExpression, newKeyword, attributeLists.
Node
, initializer, hash)
50098
Dim result = New AnonymousObjectCreationExpressionSyntax(SyntaxKind.AnonymousObjectCreationExpression, newKeyword, attributeLists.
Node
, initializer)
50134
Return New ArrayCreationExpressionSyntax(SyntaxKind.ArrayCreationExpression, newKeyword, attributeLists.
Node
, type, arrayBounds, rankSpecifiers.
Node
, initializer)
51406
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.MultiLineFunctionLambdaExpression, subOrFunctionHeader, statements.
Node
, endSubOrFunctionStatement, hash)
51411
Dim result = New MultiLineLambdaExpressionSyntax(SyntaxKind.MultiLineFunctionLambdaExpression, subOrFunctionHeader, statements.
Node
, endSubOrFunctionStatement)
51441
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.MultiLineSubLambdaExpression, subOrFunctionHeader, statements.
Node
, endSubOrFunctionStatement, hash)
51446
Dim result = New MultiLineLambdaExpressionSyntax(SyntaxKind.MultiLineSubLambdaExpression, subOrFunctionHeader, statements.
Node
, endSubOrFunctionStatement)
51482
Dim cached = SyntaxNodeCache.TryGetNode(kind, subOrFunctionHeader, statements.
Node
, endSubOrFunctionStatement, hash)
51487
Dim result = New MultiLineLambdaExpressionSyntax(kind, subOrFunctionHeader, statements.
Node
, endSubOrFunctionStatement)
51522
Return New LambdaHeaderSyntax(SyntaxKind.SubLambdaHeader, attributeLists.
Node
, modifiers.
Node
, subOrFunctionKeyword, parameterList, asClause)
51552
Return New LambdaHeaderSyntax(SyntaxKind.FunctionLambdaHeader, attributeLists.
Node
, modifiers.
Node
, subOrFunctionKeyword, parameterList, asClause)
51587
Return New LambdaHeaderSyntax(kind, attributeLists.
Node
, modifiers.
Node
, subOrFunctionKeyword, parameterList, asClause)
51749
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.QueryExpression, clauses.
Node
, hash)
51754
Dim result = New QueryExpressionSyntax(SyntaxKind.QueryExpression, clauses.
Node
)
52004
Return New AggregateClauseSyntax(SyntaxKind.AggregateClause, aggregateKeyword, variables.Node, additionalQueryOperators.
Node
, intoKeyword, aggregationVariables.Node)
52334
Return New SimpleJoinClauseSyntax(SyntaxKind.SimpleJoinClause, joinKeyword, joinedVariables.Node, additionalJoins.
Node
, onKeyword, joinConditions.Node)
52371
Return New GroupJoinClauseSyntax(SyntaxKind.GroupJoinClause, groupKeyword, joinKeyword, joinedVariables.Node, additionalJoins.
Node
, onKeyword, joinConditions.Node, intoKeyword, aggregationVariables.Node)
52532
Return New XmlDocumentSyntax(SyntaxKind.XmlDocument, declaration, precedingMisc.
Node
, root, followingMisc.
Node
)
52580
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.XmlElement, startTag, content.
Node
, endTag, hash)
52585
Dim result = New XmlElementSyntax(SyntaxKind.XmlElement, startTag, content.
Node
, endTag)
52604
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.XmlText, textTokens.
Node
, hash)
52609
Dim result = New XmlTextSyntax(SyntaxKind.XmlText, textTokens.
Node
)
52625
Return New XmlElementStartTagSyntax(SyntaxKind.XmlElementStartTag, lessThanToken, name, attributes.
Node
, greaterThanToken)
52658
Return New XmlEmptyElementSyntax(SyntaxKind.XmlEmptyElement, lessThanToken, name, attributes.
Node
, slashGreaterThanToken)
52694
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.XmlString, startQuoteToken, textTokens.
Node
, endQuoteToken, hash)
52699
Dim result = New XmlStringSyntax(SyntaxKind.XmlString, startQuoteToken, textTokens.
Node
, endQuoteToken)
52808
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.XmlComment, lessThanExclamationMinusMinusToken, textTokens.
Node
, minusMinusGreaterThanToken, hash)
52813
Dim result = New XmlCommentSyntax(SyntaxKind.XmlComment, lessThanExclamationMinusMinusToken, textTokens.
Node
, minusMinusGreaterThanToken)
52830
Return New XmlProcessingInstructionSyntax(SyntaxKind.XmlProcessingInstruction, lessThanQuestionToken, name, textTokens.
Node
, questionGreaterThanToken)
52842
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.XmlCDataSection, beginCDataToken, textTokens.
Node
, endCDataToken, hash)
52847
Dim result = New XmlCDataSectionSyntax(SyntaxKind.XmlCDataSection, beginCDataToken, textTokens.
Node
, endCDataToken)
52894
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.ArrayType, elementType, rankSpecifiers.
Node
, hash)
52899
Dim result = New ArrayTypeSyntax(SyntaxKind.ArrayType, elementType, rankSpecifiers.
Node
)
53396
Return New SkippedTokensTriviaSyntax(SyntaxKind.SkippedTokensTrivia, tokens.
Node
)
53405
Return New DocumentationCommentTriviaSyntax(SyntaxKind.DocumentationCommentTrivia, content.
Node
)
53512
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.InterpolatedStringExpression, dollarSignDoubleQuoteToken, contents.
Node
, doubleQuoteToken, hash)
53517
Dim result = New InterpolatedStringExpressionSyntax(SyntaxKind.InterpolatedStringExpression, dollarSignDoubleQuoteToken, contents.
Node
, doubleQuoteToken)
54822
Return New CompilationUnitSyntax(SyntaxKind.CompilationUnit, options.
Node
, [imports].
Node
, attributes.
Node
, members.
Node
, endOfFileToken, _factoryContext)
54986
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.NamespaceBlock, namespaceStatement, members.
Node
, endNamespaceStatement, _factoryContext, hash)
54991
Dim result = New NamespaceBlockSyntax(SyntaxKind.NamespaceBlock, namespaceStatement, members.
Node
, endNamespaceStatement, _factoryContext)
55051
Return New ModuleBlockSyntax(SyntaxKind.ModuleBlock, moduleStatement, [inherits].
Node
, [implements].
Node
, members.
Node
, endModuleStatement, _factoryContext)
55077
Return New StructureBlockSyntax(SyntaxKind.StructureBlock, structureStatement, [inherits].
Node
, [implements].
Node
, members.
Node
, endStructureStatement, _factoryContext)
55103
Return New InterfaceBlockSyntax(SyntaxKind.InterfaceBlock, interfaceStatement, [inherits].
Node
, [implements].
Node
, members.
Node
, endInterfaceStatement, _factoryContext)
55129
Return New ClassBlockSyntax(SyntaxKind.ClassBlock, classStatement, [inherits].
Node
, [implements].
Node
, members.
Node
, endClassStatement, _factoryContext)
55151
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EnumBlock, enumStatement, members.
Node
, endEnumStatement, _factoryContext, hash)
55156
Dim result = New EnumBlockSyntax(SyntaxKind.EnumBlock, enumStatement, members.
Node
, endEnumStatement, _factoryContext)
55244
Return New ModuleStatementSyntax(SyntaxKind.ModuleStatement, attributeLists.
Node
, modifiers.
Node
, moduleKeyword, identifier, typeParameterList, _factoryContext)
55273
Return New StructureStatementSyntax(SyntaxKind.StructureStatement, attributeLists.
Node
, modifiers.
Node
, structureKeyword, identifier, typeParameterList, _factoryContext)
55302
Return New InterfaceStatementSyntax(SyntaxKind.InterfaceStatement, attributeLists.
Node
, modifiers.
Node
, interfaceKeyword, identifier, typeParameterList, _factoryContext)
55331
Return New ClassStatementSyntax(SyntaxKind.ClassStatement, attributeLists.
Node
, modifiers.
Node
, classKeyword, identifier, typeParameterList, _factoryContext)
55360
Return New EnumStatementSyntax(SyntaxKind.EnumStatement, attributeLists.
Node
, modifiers.
Node
, enumKeyword, identifier, underlyingType, _factoryContext)
55624
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EnumMemberDeclaration, attributeLists.
Node
, identifier, initializer, _factoryContext, hash)
55629
Dim result = New EnumMemberDeclarationSyntax(SyntaxKind.EnumMemberDeclaration, attributeLists.
Node
, identifier, initializer, _factoryContext)
55656
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SubBlock, subOrFunctionStatement, statements.
Node
, endSubOrFunctionStatement, _factoryContext, hash)
55661
Dim result = New MethodBlockSyntax(SyntaxKind.SubBlock, subOrFunctionStatement, statements.
Node
, endSubOrFunctionStatement, _factoryContext)
55688
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.FunctionBlock, subOrFunctionStatement, statements.
Node
, endSubOrFunctionStatement, _factoryContext, hash)
55693
Dim result = New MethodBlockSyntax(SyntaxKind.FunctionBlock, subOrFunctionStatement, statements.
Node
, endSubOrFunctionStatement, _factoryContext)
55725
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(kind, subOrFunctionStatement, statements.
Node
, endSubOrFunctionStatement, _factoryContext, hash)
55730
Dim result = New MethodBlockSyntax(kind, subOrFunctionStatement, statements.
Node
, endSubOrFunctionStatement, _factoryContext)
55757
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ConstructorBlock, subNewStatement, statements.
Node
, endSubStatement, _factoryContext, hash)
55762
Dim result = New ConstructorBlockSyntax(SyntaxKind.ConstructorBlock, subNewStatement, statements.
Node
, endSubStatement, _factoryContext)
55789
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.OperatorBlock, operatorStatement, statements.
Node
, endOperatorStatement, _factoryContext, hash)
55794
Dim result = New OperatorBlockSyntax(SyntaxKind.OperatorBlock, operatorStatement, statements.
Node
, endOperatorStatement, _factoryContext)
55824
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.GetAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement, _factoryContext, hash)
55829
Dim result = New AccessorBlockSyntax(SyntaxKind.GetAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement, _factoryContext)
55859
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SetAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement, _factoryContext, hash)
55864
Dim result = New AccessorBlockSyntax(SyntaxKind.SetAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement, _factoryContext)
55894
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.AddHandlerAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement, _factoryContext, hash)
55899
Dim result = New AccessorBlockSyntax(SyntaxKind.AddHandlerAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement, _factoryContext)
55929
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.RemoveHandlerAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement, _factoryContext, hash)
55934
Dim result = New AccessorBlockSyntax(SyntaxKind.RemoveHandlerAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement, _factoryContext)
55964
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.RaiseEventAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement, _factoryContext, hash)
55969
Dim result = New AccessorBlockSyntax(SyntaxKind.RaiseEventAccessorBlock, accessorStatement, statements.
Node
, endAccessorStatement, _factoryContext)
56005
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(kind, accessorStatement, statements.
Node
, endAccessorStatement, _factoryContext, hash)
56010
Dim result = New AccessorBlockSyntax(kind, accessorStatement, statements.
Node
, endAccessorStatement, _factoryContext)
56038
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.PropertyBlock, propertyStatement, accessors.
Node
, endPropertyStatement, _factoryContext, hash)
56043
Dim result = New PropertyBlockSyntax(SyntaxKind.PropertyBlock, propertyStatement, accessors.
Node
, endPropertyStatement, _factoryContext)
56071
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.EventBlock, eventStatement, accessors.
Node
, endEventStatement, _factoryContext, hash)
56076
Dim result = New EventBlockSyntax(SyntaxKind.EventBlock, eventStatement, accessors.
Node
, endEventStatement, _factoryContext)
56162
Return New MethodStatementSyntax(SyntaxKind.SubStatement, attributeLists.
Node
, modifiers.
Node
, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause, handlesClause, implementsClause, _factoryContext)
56210
Return New MethodStatementSyntax(SyntaxKind.FunctionStatement, attributeLists.
Node
, modifiers.
Node
, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause, handlesClause, implementsClause, _factoryContext)
56263
Return New MethodStatementSyntax(kind, attributeLists.
Node
, modifiers.
Node
, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause, handlesClause, implementsClause, _factoryContext)
56295
Return New SubNewStatementSyntax(SyntaxKind.SubNewStatement, attributeLists.
Node
, modifiers.
Node
, subKeyword, newKeyword, parameterList, _factoryContext)
56351
Return New DeclareStatementSyntax(SyntaxKind.DeclareSubStatement, attributeLists.
Node
, modifiers.
Node
, declareKeyword, charsetKeyword, subOrFunctionKeyword, identifier, libKeyword, libraryName, aliasKeyword, aliasName, parameterList, asClause, _factoryContext)
56407
Return New DeclareStatementSyntax(SyntaxKind.DeclareFunctionStatement, attributeLists.
Node
, modifiers.
Node
, declareKeyword, charsetKeyword, subOrFunctionKeyword, identifier, libKeyword, libraryName, aliasKeyword, aliasName, parameterList, asClause, _factoryContext)
56468
Return New DeclareStatementSyntax(kind, attributeLists.
Node
, modifiers.
Node
, declareKeyword, charsetKeyword, subOrFunctionKeyword, identifier, libKeyword, libraryName, aliasKeyword, aliasName, parameterList, asClause, _factoryContext)
56510
Return New DelegateStatementSyntax(SyntaxKind.DelegateSubStatement, attributeLists.
Node
, modifiers.
Node
, delegateKeyword, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause, _factoryContext)
56552
Return New DelegateStatementSyntax(SyntaxKind.DelegateFunctionStatement, attributeLists.
Node
, modifiers.
Node
, delegateKeyword, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause, _factoryContext)
56600
Return New DelegateStatementSyntax(kind, attributeLists.
Node
, modifiers.
Node
, delegateKeyword, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause, _factoryContext)
56643
Return New EventStatementSyntax(SyntaxKind.EventStatement, attributeLists.
Node
, modifiers.
Node
, customKeyword, eventKeyword, identifier, parameterList, asClause, implementsClause, _factoryContext)
56680
Return New OperatorStatementSyntax(SyntaxKind.OperatorStatement, attributeLists.
Node
, modifiers.
Node
, operatorKeyword, operatorToken, parameterList, asClause, _factoryContext)
56725
Return New PropertyStatementSyntax(SyntaxKind.PropertyStatement, attributeLists.
Node
, modifiers.
Node
, propertyKeyword, identifier, parameterList, asClause, initializer, implementsClause, _factoryContext)
56755
Return New AccessorStatementSyntax(SyntaxKind.GetAccessorStatement, attributeLists.
Node
, modifiers.
Node
, accessorKeyword, parameterList, _factoryContext)
56785
Return New AccessorStatementSyntax(SyntaxKind.SetAccessorStatement, attributeLists.
Node
, modifiers.
Node
, accessorKeyword, parameterList, _factoryContext)
56815
Return New AccessorStatementSyntax(SyntaxKind.AddHandlerAccessorStatement, attributeLists.
Node
, modifiers.
Node
, accessorKeyword, parameterList, _factoryContext)
56845
Return New AccessorStatementSyntax(SyntaxKind.RemoveHandlerAccessorStatement, attributeLists.
Node
, modifiers.
Node
, accessorKeyword, parameterList, _factoryContext)
56875
Return New AccessorStatementSyntax(SyntaxKind.RaiseEventAccessorStatement, attributeLists.
Node
, modifiers.
Node
, accessorKeyword, parameterList, _factoryContext)
56912
Return New AccessorStatementSyntax(kind, attributeLists.
Node
, modifiers.
Node
, accessorKeyword, parameterList, _factoryContext)
57110
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.IncompleteMember, attributeLists.
Node
, modifiers.
Node
, missingIdentifier, _factoryContext, hash)
57115
Dim result = New IncompleteMemberSyntax(SyntaxKind.IncompleteMember, attributeLists.
Node
, modifiers.
Node
, missingIdentifier, _factoryContext)
57145
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.FieldDeclaration, attributeLists.
Node
, modifiers.
Node
, declarators.Node, _factoryContext, hash)
57150
Dim result = New FieldDeclarationSyntax(SyntaxKind.FieldDeclaration, attributeLists.
Node
, modifiers.
Node
, declarators.Node, _factoryContext)
57212
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SimpleAsClause, asKeyword, attributeLists.
Node
, type, _factoryContext, hash)
57217
Dim result = New SimpleAsClauseSyntax(SyntaxKind.SimpleAsClause, asKeyword, attributeLists.
Node
, type, _factoryContext)
57418
Return New ParameterSyntax(SyntaxKind.Parameter, attributeLists.
Node
, modifiers.
Node
, identifier, asClause, [default], _factoryContext)
57441
Return New ModifiedIdentifierSyntax(SyntaxKind.ModifiedIdentifier, identifier, nullable, arrayBounds, arrayRankSpecifiers.
Node
, _factoryContext)
57463
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ArrayRankSpecifier, openParenToken, commaTokens.
Node
, closeParenToken, _factoryContext, hash)
57468
Dim result = New ArrayRankSpecifierSyntax(SyntaxKind.ArrayRankSpecifier, openParenToken, commaTokens.
Node
, closeParenToken, _factoryContext)
57579
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.AttributesStatement, attributeLists.
Node
, _factoryContext, hash)
57584
Dim result = New AttributesStatementSyntax(SyntaxKind.AttributesStatement, attributeLists.
Node
, _factoryContext)
57665
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.WhileBlock, whileStatement, statements.
Node
, endWhileStatement, _factoryContext, hash)
57670
Dim result = New WhileBlockSyntax(SyntaxKind.WhileBlock, whileStatement, statements.
Node
, endWhileStatement, _factoryContext)
57698
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.UsingBlock, usingStatement, statements.
Node
, endUsingStatement, _factoryContext, hash)
57703
Dim result = New UsingBlockSyntax(SyntaxKind.UsingBlock, usingStatement, statements.
Node
, endUsingStatement, _factoryContext)
57731
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SyncLockBlock, syncLockStatement, statements.
Node
, endSyncLockStatement, _factoryContext, hash)
57736
Dim result = New SyncLockBlockSyntax(SyntaxKind.SyncLockBlock, syncLockStatement, statements.
Node
, endSyncLockStatement, _factoryContext)
57764
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.WithBlock, withStatement, statements.
Node
, endWithStatement, _factoryContext, hash)
57769
Dim result = New WithBlockSyntax(SyntaxKind.WithBlock, withStatement, statements.
Node
, endWithStatement, _factoryContext)
57792
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.LocalDeclarationStatement, modifiers.
Node
, declarators.Node, _factoryContext, hash)
57797
Dim result = New LocalDeclarationStatementSyntax(SyntaxKind.LocalDeclarationStatement, modifiers.
Node
, declarators.Node, _factoryContext)
58527
Return New SingleLineIfStatementSyntax(SyntaxKind.SingleLineIfStatement, ifKeyword, condition, thenKeyword, statements.
Node
, elseClause, _factoryContext)
58545
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SingleLineElseClause, elseKeyword, statements.
Node
, _factoryContext, hash)
58550
Dim result = New SingleLineElseClauseSyntax(SyntaxKind.SingleLineElseClause, elseKeyword, statements.
Node
, _factoryContext)
58584
Return New MultiLineIfBlockSyntax(SyntaxKind.MultiLineIfBlock, ifStatement, statements.
Node
, elseIfBlocks.
Node
, elseBlock, endIfStatement, _factoryContext)
58633
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ElseIfBlock, elseIfStatement, statements.
Node
, _factoryContext, hash)
58638
Dim result = New ElseIfBlockSyntax(SyntaxKind.ElseIfBlock, elseIfStatement, statements.
Node
, _factoryContext)
58691
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ElseBlock, elseStatement, statements.
Node
, _factoryContext, hash)
58696
Dim result = New ElseBlockSyntax(SyntaxKind.ElseBlock, elseStatement, statements.
Node
, _factoryContext)
58751
Return New TryBlockSyntax(SyntaxKind.TryBlock, tryStatement, statements.
Node
, catchBlocks.
Node
, finallyBlock, endTryStatement, _factoryContext)
58793
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CatchBlock, catchStatement, statements.
Node
, _factoryContext, hash)
58798
Dim result = New CatchBlockSyntax(SyntaxKind.CatchBlock, catchStatement, statements.
Node
, _factoryContext)
58870
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.FinallyBlock, finallyStatement, statements.
Node
, _factoryContext, hash)
58875
Dim result = New FinallyBlockSyntax(SyntaxKind.FinallyBlock, finallyStatement, statements.
Node
, _factoryContext)
59186
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SelectBlock, selectStatement, caseBlocks.
Node
, endSelectStatement, _factoryContext, hash)
59191
Dim result = New SelectBlockSyntax(SyntaxKind.SelectBlock, selectStatement, caseBlocks.
Node
, endSelectStatement, _factoryContext)
59245
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CaseBlock, caseStatement, statements.
Node
, _factoryContext, hash)
59250
Dim result = New CaseBlockSyntax(SyntaxKind.CaseBlock, caseStatement, statements.
Node
, _factoryContext)
59272
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.CaseElseBlock, caseStatement, statements.
Node
, _factoryContext, hash)
59277
Dim result = New CaseBlockSyntax(SyntaxKind.CaseElseBlock, caseStatement, statements.
Node
, _factoryContext)
59704
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.SimpleDoLoopBlock, doStatement, statements.
Node
, loopStatement, _factoryContext, hash)
59709
Dim result = New DoLoopBlockSyntax(SyntaxKind.SimpleDoLoopBlock, doStatement, statements.
Node
, loopStatement, _factoryContext)
59736
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.DoWhileLoopBlock, doStatement, statements.
Node
, loopStatement, _factoryContext, hash)
59741
Dim result = New DoLoopBlockSyntax(SyntaxKind.DoWhileLoopBlock, doStatement, statements.
Node
, loopStatement, _factoryContext)
59768
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.DoUntilLoopBlock, doStatement, statements.
Node
, loopStatement, _factoryContext, hash)
59773
Dim result = New DoLoopBlockSyntax(SyntaxKind.DoUntilLoopBlock, doStatement, statements.
Node
, loopStatement, _factoryContext)
59800
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.DoLoopWhileBlock, doStatement, statements.
Node
, loopStatement, _factoryContext, hash)
59805
Dim result = New DoLoopBlockSyntax(SyntaxKind.DoLoopWhileBlock, doStatement, statements.
Node
, loopStatement, _factoryContext)
59832
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.DoLoopUntilBlock, doStatement, statements.
Node
, loopStatement, _factoryContext, hash)
59837
Dim result = New DoLoopBlockSyntax(SyntaxKind.DoLoopUntilBlock, doStatement, statements.
Node
, loopStatement, _factoryContext)
59870
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(kind, doStatement, statements.
Node
, loopStatement, _factoryContext, hash)
59875
Dim result = New DoLoopBlockSyntax(kind, doStatement, statements.
Node
, loopStatement, _factoryContext)
60263
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ForBlock, forStatement, statements.
Node
, nextStatement, _factoryContext, hash)
60268
Dim result = New ForBlockSyntax(SyntaxKind.ForBlock, forStatement, statements.
Node
, nextStatement, _factoryContext)
60297
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ForEachBlock, forEachStatement, statements.
Node
, nextStatement, _factoryContext, hash)
60302
Dim result = New ForEachBlockSyntax(SyntaxKind.ForEachBlock, forEachStatement, statements.
Node
, nextStatement, _factoryContext)
62149
Return New ObjectCreationExpressionSyntax(SyntaxKind.ObjectCreationExpression, newKeyword, attributeLists.
Node
, type, argumentList, initializer, _factoryContext)
62171
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.AnonymousObjectCreationExpression, newKeyword, attributeLists.
Node
, initializer, _factoryContext, hash)
62176
Dim result = New AnonymousObjectCreationExpressionSyntax(SyntaxKind.AnonymousObjectCreationExpression, newKeyword, attributeLists.
Node
, initializer, _factoryContext)
62212
Return New ArrayCreationExpressionSyntax(SyntaxKind.ArrayCreationExpression, newKeyword, attributeLists.
Node
, type, arrayBounds, rankSpecifiers.
Node
, initializer, _factoryContext)
63484
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.MultiLineFunctionLambdaExpression, subOrFunctionHeader, statements.
Node
, endSubOrFunctionStatement, _factoryContext, hash)
63489
Dim result = New MultiLineLambdaExpressionSyntax(SyntaxKind.MultiLineFunctionLambdaExpression, subOrFunctionHeader, statements.
Node
, endSubOrFunctionStatement, _factoryContext)
63519
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.MultiLineSubLambdaExpression, subOrFunctionHeader, statements.
Node
, endSubOrFunctionStatement, _factoryContext, hash)
63524
Dim result = New MultiLineLambdaExpressionSyntax(SyntaxKind.MultiLineSubLambdaExpression, subOrFunctionHeader, statements.
Node
, endSubOrFunctionStatement, _factoryContext)
63560
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(kind, subOrFunctionHeader, statements.
Node
, endSubOrFunctionStatement, _factoryContext, hash)
63565
Dim result = New MultiLineLambdaExpressionSyntax(kind, subOrFunctionHeader, statements.
Node
, endSubOrFunctionStatement, _factoryContext)
63600
Return New LambdaHeaderSyntax(SyntaxKind.SubLambdaHeader, attributeLists.
Node
, modifiers.
Node
, subOrFunctionKeyword, parameterList, asClause, _factoryContext)
63630
Return New LambdaHeaderSyntax(SyntaxKind.FunctionLambdaHeader, attributeLists.
Node
, modifiers.
Node
, subOrFunctionKeyword, parameterList, asClause, _factoryContext)
63665
Return New LambdaHeaderSyntax(kind, attributeLists.
Node
, modifiers.
Node
, subOrFunctionKeyword, parameterList, asClause, _factoryContext)
63827
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.QueryExpression, clauses.
Node
, _factoryContext, hash)
63832
Dim result = New QueryExpressionSyntax(SyntaxKind.QueryExpression, clauses.
Node
, _factoryContext)
64082
Return New AggregateClauseSyntax(SyntaxKind.AggregateClause, aggregateKeyword, variables.Node, additionalQueryOperators.
Node
, intoKeyword, aggregationVariables.Node, _factoryContext)
64412
Return New SimpleJoinClauseSyntax(SyntaxKind.SimpleJoinClause, joinKeyword, joinedVariables.Node, additionalJoins.
Node
, onKeyword, joinConditions.Node, _factoryContext)
64449
Return New GroupJoinClauseSyntax(SyntaxKind.GroupJoinClause, groupKeyword, joinKeyword, joinedVariables.Node, additionalJoins.
Node
, onKeyword, joinConditions.Node, intoKeyword, aggregationVariables.Node, _factoryContext)
64610
Return New XmlDocumentSyntax(SyntaxKind.XmlDocument, declaration, precedingMisc.
Node
, root, followingMisc.
Node
, _factoryContext)
64658
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.XmlElement, startTag, content.
Node
, endTag, _factoryContext, hash)
64663
Dim result = New XmlElementSyntax(SyntaxKind.XmlElement, startTag, content.
Node
, endTag, _factoryContext)
64682
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.XmlText, textTokens.
Node
, _factoryContext, hash)
64687
Dim result = New XmlTextSyntax(SyntaxKind.XmlText, textTokens.
Node
, _factoryContext)
64703
Return New XmlElementStartTagSyntax(SyntaxKind.XmlElementStartTag, lessThanToken, name, attributes.
Node
, greaterThanToken, _factoryContext)
64736
Return New XmlEmptyElementSyntax(SyntaxKind.XmlEmptyElement, lessThanToken, name, attributes.
Node
, slashGreaterThanToken, _factoryContext)
64772
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.XmlString, startQuoteToken, textTokens.
Node
, endQuoteToken, _factoryContext, hash)
64777
Dim result = New XmlStringSyntax(SyntaxKind.XmlString, startQuoteToken, textTokens.
Node
, endQuoteToken, _factoryContext)
64886
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.XmlComment, lessThanExclamationMinusMinusToken, textTokens.
Node
, minusMinusGreaterThanToken, _factoryContext, hash)
64891
Dim result = New XmlCommentSyntax(SyntaxKind.XmlComment, lessThanExclamationMinusMinusToken, textTokens.
Node
, minusMinusGreaterThanToken, _factoryContext)
64908
Return New XmlProcessingInstructionSyntax(SyntaxKind.XmlProcessingInstruction, lessThanQuestionToken, name, textTokens.
Node
, questionGreaterThanToken, _factoryContext)
64920
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.XmlCDataSection, beginCDataToken, textTokens.
Node
, endCDataToken, _factoryContext, hash)
64925
Dim result = New XmlCDataSectionSyntax(SyntaxKind.XmlCDataSection, beginCDataToken, textTokens.
Node
, endCDataToken, _factoryContext)
64972
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.ArrayType, elementType, rankSpecifiers.
Node
, _factoryContext, hash)
64977
Dim result = New ArrayTypeSyntax(SyntaxKind.ArrayType, elementType, rankSpecifiers.
Node
, _factoryContext)
65474
Return New SkippedTokensTriviaSyntax(SyntaxKind.SkippedTokensTrivia, tokens.
Node
, _factoryContext)
65483
Return New DocumentationCommentTriviaSyntax(SyntaxKind.DocumentationCommentTrivia, content.
Node
, _factoryContext)
65590
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.InterpolatedStringExpression, dollarSignDoubleQuoteToken, contents.
Node
, doubleQuoteToken, _factoryContext, hash)
65595
Dim result = New InterpolatedStringExpressionSyntax(SyntaxKind.InterpolatedStringExpression, dollarSignDoubleQuoteToken, contents.
Node
, doubleQuoteToken, _factoryContext)
Parser\BlockContexts\BlockContext.vb (1)
314
If unexpected.
Node
Is Nothing Then
Parser\BlockContexts\CompilationUnitContext.vb (8)
47
_optionStmts = New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of OptionStatementSyntax)(Body.
Node
)
55
_importsStmts = New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of ImportsStatementSyntax)(Body.
Node
)
63
_attributeStmts = New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of AttributesStatementSyntax)(Body.
Node
)
103
_optionStmts = New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of OptionStatementSyntax)(Body.
Node
)
106
_importsStmts = New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of ImportsStatementSyntax)(Body.
Node
)
109
_attributeStmts = New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of AttributesStatementSyntax)(Body.
Node
)
543
Dim rewritten = VisitList(New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of VisualBasicSyntaxNode)(leadingTrivia)).
Node
550
Dim rewritten = VisitList(New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of VisualBasicSyntaxNode)(trailingTrivia)).
Node
Parser\BlockContexts\PropertyBlockContext.vb (2)
127
beginBlockStmt.AttributeLists.
Node
,
128
beginBlockStmt.Modifiers.
Node
,
Parser\ParseConditional.vb (1)
240
If unexpected.
Node
IsNot Nothing Then
Parser\ParseExpression.vb (4)
1152
token = DirectCast(token.WithTrailingTrivia(trivia.
Node
), SyntaxToken)
1167
token = DirectCast(token.WithTrailingTrivia(trivia.
Node
), SyntaxToken)
1450
Dim skipped = ResyncAt({SyntaxKind.CommaToken, SyntaxKind.CloseParenToken}).
Node
1708
asKeyword = asKeyword.AddTrailingSyntax(returnTypeAttributes.
Node
, ERRID.ERR_AttributeOnLambdaReturnType)
Parser\ParseInterpolatedString.vb (3)
287
excessText = triviaList.GetEndOfTrivia(1).
Node
.ToFullString()
296
newTrailingTrivia = triviaList.GetStartOfTrivia(indexOfFirstColon).
Node
301
excessText = triviaList.GetEndOfTrivia(indexOfFirstColon + 1).
Node
.ToFullString()
Parser\Parser.vb (11)
1668
If unexpectedSyntax.
Node
IsNot Nothing Then
2089
result = result.AddLeadingSyntax(attributes.
Node
)
2091
result = result.AddLeadingSyntax(attributes.
Node
, ERRID.ERR_LocalsCannotHaveAttributes)
2201
attributesNode = ParseAttributeLists(False).
Node
2246
attributesNode = ParseAttributeLists(False).
Node
2412
If skipped.
Node
IsNot Nothing Then
2717
id = ParseNullableIdentifier(optionalNullable).AddLeadingSyntax(modifiers.
Node
, ERRID.ERR_ExtraSpecifiers)
2950
Dim skipped = ResyncAt({SyntaxKind.CommaToken, SyntaxKind.CloseParenToken}).
Node
3067
rankSpecifiers = New CoreInternalSyntax.SyntaxList(Of ArrayRankSpecifierSyntax)(ReportSyntaxError(rankSpecifiers.
Node
, ERRID.ERR_ArrayOfRawGenericInvalid))
5092
If unexpected.
Node
IsNot Nothing Then
5747
If unexpected.
Node
IsNot Nothing Then
Parser\ParseReportError.vb (2)
120
keyword = keyword.AddLeadingSyntax(modifiers.
Node
, errorId)
124
keyword = keyword.AddLeadingSyntax(attributes.
Node
, errorId)
Parser\ParseScan.vb (1)
319
Return syntax.AddTrailingSyntax(ResyncAt(resyncTokens).
Node
)
Parser\ParseStatement.vb (2)
1592
labelName = DirectCast(labelName.WithTrailingTrivia(trivia.GetStartOfTrivia(index).
Node
), SyntaxToken)
1596
Dim colonToken = New PunctuationSyntax(SyntaxKind.ColonToken, colonTrivia.Text, Nothing, trivia.
Node
)
Parser\ParseXml.vb (27)
147
If nextOption.Value.TextTokens.
Node
Is Nothing OrElse nextOption.Value.TextTokens.
Node
.ToFullString <> "1.0" Then
193
Dim stringValue = If(nextOption.Value.TextTokens.
Node
IsNot Nothing, nextOption.Value.TextTokens.
Node
.ToFullString, "")
232
If unexpected.
Node
IsNot Nothing Then
388
Return builder.ToList().
Node
428
If unexpected.
Node
IsNot Nothing Then
429
builder.Add(unexpected.
Node
)
455
If unexpected.
Node
IsNot Nothing Then
456
builder.Add(unexpected.
Node
)
792
If unexpectedSyntax.
Node
IsNot Nothing Then
802
If unexpectedSyntax.
Node
IsNot Nothing Then
813
If unexpectedSyntax.
Node
Is Nothing Then
814
If Not (attributes.
Node
IsNot Nothing AndAlso attributes.
Node
.ContainsDiagnostics) Then
901
If unexpected.
Node
IsNot Nothing Then
902
If unexpected.
Node
.ContainsDiagnostics Then
1498
If SyntaxNodeOrTokenHasInvalidTrivia(DirectCast(node, SkippedTokensTriviaSyntax).Tokens.
Node
) Then
1618
localName = SyntaxFactory.XmlNameToken(localName.Text, localName.PossibleKeywordKind, localName.GetLeadingTrivia(), trailingTrivia.
Node
).WithDiagnostics(localName.GetDiagnostics())
2037
If unexpectedSyntax.
Node
IsNot Nothing Then
2109
If node.Attributes.
Node
IsNot attributes.
Node
Then anyChanges = True
2139
If node.Attributes.
Node
IsNot attributes.
Node
Then anyChanges = True
2193
node.TextTokens.
Node
,
2369
Dim newleadingTrivia = VisitList(New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of VisualBasicSyntaxNode)(leadingTrivia)).
Node
2378
Dim newTrailingTrivia = VisitList(New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of VisualBasicSyntaxNode)(trailingTrivia)).
Node
Scanner\Directives.vb (1)
111
If disabledCode.
Node
IsNot Nothing Then
Scanner\Scanner.vb (4)
2582
Dim result As SyntaxToken = SyntaxFactory.StringLiteralToken(spelling, GetScratchText(scratch), precedingTrivia.
Node
, followingTrivia.
Node
)
2610
Dim strTk = SyntaxFactory.StringLiteralToken(sp, GetScratchText(scratch), precedingTrivia.
Node
, followingTrivia.
Node
)
Scanner\ScannerInterpolatedString.vb (1)
97
Return MakePunctuationToken(kind, text, leadingTrivia, trailingTrivia.
Node
)
Scanner\ScannerXml.vb (4)
81
Debug.Assert(leadingTrivia.
Node
Is Nothing)
93
Debug.Assert(leadingTrivia.
Node
Is Nothing)
782
Return SyntaxFactory.Token(precedingTrivia.
Node
, SyntaxKind.EndOfXmlToken, Nothing, String.Empty)
936
data = DirectCast(data.WithLeadingTrivia(precedingTrivia.ToList.
Node
), SyntaxToken)
Scanner\TokenFactories.vb (23)
101
Me.pTrivia = pTrivia.
Node
102
Me.fTrivia = fTrivia.
Node
291
id = SyntaxFactory.Identifier(spelling, contextualKind, isBracketed, BaseSpelling, TypeCharacter, precedingTrivia.
Node
, followingTrivia.
Node
)
293
id = SyntaxFactory.Identifier(spelling, precedingTrivia.
Node
, followingTrivia.
Node
)
348
kw = New KeywordSyntax(tokenType, spelling, precedingTrivia.
Node
, followingTrivia.
Node
)
385
p = New PunctuationSyntax(kind, spelling, precedingTrivia.
Node
, followingTrivia.
Node
)
644
precedingTrivia.
Node
,
645
followingTrivia.
Node
)
662
p = SyntaxFactory.CharacterLiteralToken(spelling, value, precedingTrivia.
Node
, followingTrivia.
Node
)
678
p = SyntaxFactory.DateLiteralToken(spelling, value, precedingTrivia.
Node
, followingTrivia.
Node
)
702
precedingTrivia.
Node
,
703
followingTrivia.
Node
)
728
precedingTrivia.
Node
,
729
followingTrivia.
Node
)
742
Dim result1 = SyntaxFactory.BadToken(SyntaxSubKind.None, spelling, precedingTrivia.
Node
, followingTrivia.
Node
)
748
Return SyntaxFactory.Token(precedingTrivia.
Node
, SyntaxKind.EndOfFileToken, Nothing, String.Empty)
Scanner\TokenStream.vb (3)
328
tk = DirectCast(tk.WithTrailingTrivia(trivia.GetStartOfTrivia(index).
Node
), SyntaxToken)
336
tk = SyntaxToken.AddTrailingTrivia(tk, toAdd.
Node
)
352
tk = DirectCast(tk.WithTrailingTrivia(trivia.GetStartOfTrivia(index).
Node
), SyntaxToken)
Scanner\XmlDocComments.vb (2)
377
result = SyntaxFactory.Token(precedingTrivia.ToList.
Node
, SyntaxKind.EndOfXmlToken, Nothing, String.Empty)
481
Return SyntaxFactory.Token(precedingTrivia.
Node
, SyntaxKind.EndOfXmlToken, Nothing, String.Empty)
Scanner\XmlTokenFactories.vb (21)
20
missing = DirectCast(missing.WithLeadingTrivia(precedingTrivia.
Node
), SyntaxToken)
82
Dim result1 = SyntaxFactory.BadToken(subkind, spelling, precedingTrivia.
Node
, followingTrivia)
172
Return SyntaxFactory.XmlNameToken(text, contextualKind, precedingTrivia.
Node
, followingTrivia)
185
Return SyntaxFactory.XmlTextLiteralToken(text, Value, precedingTrivia.
Node
, Nothing)
206
Return SyntaxFactory.XmlEntityLiteralToken(GetText(TokenWidth), Value, precedingTrivia.
Node
, Nothing)
215
Return If(precedingTrivia.
Node
Is Nothing, s_xmlAmpToken, SyntaxFactory.XmlEntityLiteralToken("&", "&", precedingTrivia.
Node
, Nothing))
224
Return If(precedingTrivia.
Node
Is Nothing, s_xmlAposToken, SyntaxFactory.XmlEntityLiteralToken("'", "'", precedingTrivia.
Node
, Nothing))
233
Return If(precedingTrivia.
Node
Is Nothing, s_xmlGtToken, SyntaxFactory.XmlEntityLiteralToken(">", "&", precedingTrivia.
Node
, Nothing))
242
Return If(precedingTrivia.
Node
Is Nothing, s_xmlLtToken, SyntaxFactory.XmlEntityLiteralToken("<", "<", precedingTrivia.
Node
, Nothing))
251
Return If(precedingTrivia.
Node
Is Nothing, s_xmlQuotToken, SyntaxFactory.XmlEntityLiteralToken(""", """", precedingTrivia.
Node
, Nothing))
267
Return SyntaxFactory.XmlTextLiteralToken(text, value, precedingTrivia.
Node
, Nothing)
281
If precedingTrivia.
Node
Is Nothing AndAlso text = vbCrLf Then
285
Return SyntaxFactory.DocumentationCommentLineBreakToken(text, vbLf, precedingTrivia.
Node
, Nothing)
297
Return DirectCast(SyntaxFactory.XmlTextLiteralToken(text, text, precedingTrivia.
Node
, Nothing).SetDiagnostics({ErrorFactory.ErrorInfo(err)}), XmlTextTokenSyntax)
378
Return SyntaxFactory.XmlTextLiteralToken(text, text, precedingTrivia.
Node
, Nothing)
403
Return SyntaxFactory.XmlTextLiteralToken(text, text, precedingTrivia.
Node
, Nothing)
Syntax\InternalSyntax\SyntaxNodeExtensions.vb (6)
134
If unexpected.
Node
IsNot Nothing Then
135
Dim trivia As CoreInternalSyntax.SyntaxList(Of VisualBasicSyntaxNode) = CreateSkippedTrivia(unexpected.
Node
,
156
Return node.AddLeadingSyntax(unexpected.
Node
)
216
If unexpected.
Node
IsNot Nothing Then
217
Dim trivia As CoreInternalSyntax.SyntaxList(Of VisualBasicSyntaxNode) = CreateSkippedTrivia(unexpected.
Node
,
238
Return node.AddTrailingSyntax(unexpected.
Node
)
Syntax\InternalSyntax\SyntaxReplacer.vb (1)
109
result = VisitList(New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of VisualBasicSyntaxNode)(node)).
Node
Syntax\InternalSyntax\SyntaxToken.vb (8)
409
If newTrivia.
Node
Is Nothing Then
416
If oldTrivia.
Node
Is Nothing Then
417
leadingTrivia = newTrivia.
Node
423
leadingTrivia = leadingTriviaBuilder.ToList.
Node
435
If newTrivia.
Node
Is Nothing Then
442
If oldTrivia.
Node
Is Nothing Then
443
trailingTrivia = newTrivia.
Node
449
trailingTrivia = trailingTriviaBuilder.ToList.
Node
Syntax\SyntaxNodeFactories.vb (2)
106
Return New SyntaxTriviaList(Nothing, s.ScanMultilineTrivia().
Node
, 0, 0)
118
Return New SyntaxTriviaList(Nothing, s.ScanSingleLineTrivia().
Node
, 0, 0)