131 references to Node
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Statements.cs (1)
2775return BoundStatementList.Synthesized(statements.Node, statementBuilder.ToImmutableAndFree());
Syntax\SyntaxFactory.cs (4)
2034return SyntaxEquivalence.AreEquivalent(oldList.Node, newList.Node, null, topLevel); 2049return SyntaxEquivalence.AreEquivalent(oldList.Node, newList.Node, ignoreChildNode, topLevel: false);
Microsoft.CodeAnalysis.VisualBasic (126)
Generated\Syntax.xml.Main.Generated.vb (124)
1558If node._importsClauses IsNot newImportsClauses.Node Then anyChanges = True 1561Return New ImportsStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newImportsKeyword, newImportsClauses.Node) 1753If node._types IsNot newTypes.Node Then anyChanges = True 1756Return New InheritsStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newInheritsKeyword, newTypes.Node) 1768If node._types IsNot newTypes.Node Then anyChanges = True 1771Return New ImplementsStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newImplementsKeyword, newTypes.Node) 1890If node._parameters IsNot newParameters.Node Then anyChanges = True 1895Return New TypeParameterListSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOpenParenToken, newOfKeyword, newParameters.Node, newCloseParenToken) 1941If node._constraints IsNot newConstraints.Node Then anyChanges = True 1946Return New TypeParameterMultipleConstraintClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAsKeyword, newOpenBraceToken, newConstraints.Node, newCloseBraceToken) 2103If node._parameters IsNot newParameters.Node Then anyChanges = True 2108Return New ParameterListSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOpenParenToken, newParameters.Node, newCloseParenToken) 2328If node._interfaceMembers IsNot newInterfaceMembers.Node Then anyChanges = True 2331Return New ImplementsClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newImplementsKeyword, newInterfaceMembers.Node) 2343If node._events IsNot newEvents.Node Then anyChanges = True 2346Return New HandlesClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newHandlesKeyword, newEvents.Node) 2437If node._declarators IsNot newDeclarators.Node Then anyChanges = True 2440Return New FieldDeclarationSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newDeclarators.Node) 2450If node._names IsNot newNames.Node Then anyChanges = True 2457Return New VariableDeclaratorSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newNames.Node, newAsClause, newInitializer) 2503If node._initializers IsNot newInitializers.Node Then anyChanges = True 2508Return New ObjectMemberInitializerSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newWithKeyword, newOpenBraceToken, newInitializers.Node, newCloseBraceToken) 2643If node._attributes IsNot newAttributes.Node Then anyChanges = True 2648Return New AttributeListSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLessThanToken, newAttributes.Node, newGreaterThanToken) 2801If node._declarators IsNot newDeclarators.Node Then anyChanges = True 2804Return New LocalDeclarationStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newModifiers.Node, newDeclarators.Node) 3281If node._cases IsNot newCases.Node Then anyChanges = True 3284Return New CaseStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newCaseKeyword, newCases.Node) 3543If node._controlVariables IsNot newControlVariables.Node Then anyChanges = True 3546Return New NextStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newNextKeyword, newControlVariables.Node) 3560If node._variables IsNot newVariables.Node Then anyChanges = True 3563Return New UsingStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newUsingKeyword, newExpression, newVariables.Node) 3690If node._clauses IsNot newClauses.Node Then anyChanges = True 3693Return New ReDimStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newReDimKeyword, newPreserveKeyword, newClauses.Node) 3720If node._expressions IsNot newExpressions.Node Then anyChanges = True 3723Return New EraseStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newEraseKeyword, newExpressions.Node) 3765If node._arguments IsNot newArguments.Node Then anyChanges = True 3770Return New TupleExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOpenParenToken, newArguments.Node, newCloseParenToken) 3782If node._elements IsNot newElements.Node Then anyChanges = True 3787Return New TupleTypeSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOpenParenToken, newElements.Node, newCloseParenToken) 4037If node._initializers IsNot newInitializers.Node Then anyChanges = True 4042Return New CollectionInitializerSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOpenBraceToken, newInitializers.Node, newCloseBraceToken) 4277If node._arguments IsNot newArguments.Node Then anyChanges = True 4282Return New ArgumentListSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOpenParenToken, newArguments.Node, newCloseParenToken) 4465If node._variables IsNot newVariables.Node Then anyChanges = True 4468Return New FromClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newFromKeyword, newVariables.Node) 4480If node._variables IsNot newVariables.Node Then anyChanges = True 4483Return New LetClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLetKeyword, newVariables.Node) 4495If node._variables IsNot newVariables.Node Then anyChanges = True 4501If node._aggregationVariables IsNot newAggregationVariables.Node Then anyChanges = True 4504Return New AggregateClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAggregateKeyword, newVariables.Node, newAdditionalQueryOperators.Node, newIntoKeyword, newAggregationVariables.Node) 4576If node._items IsNot newItems.Node Then anyChanges = True 4580If node._keys IsNot newKeys.Node Then anyChanges = True 4584If node._aggregationVariables IsNot newAggregationVariables.Node Then anyChanges = True 4587Return New GroupByClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newGroupKeyword, newItems.Node, newByKeyword, newKeys.Node, newIntoKeyword, newAggregationVariables.Node) 4616If node._joinedVariables IsNot newJoinedVariables.Node Then anyChanges = True 4622If node._joinConditions IsNot newJoinConditions.Node Then anyChanges = True 4625Return New SimpleJoinClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newJoinKeyword, newJoinedVariables.Node, newAdditionalJoins.Node, newOnKeyword, newJoinConditions.Node) 4639If node._joinedVariables IsNot newJoinedVariables.Node Then anyChanges = True 4645If node._joinConditions IsNot newJoinConditions.Node Then anyChanges = True 4649If node._aggregationVariables IsNot newAggregationVariables.Node Then anyChanges = True 4652Return New GroupJoinClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newGroupKeyword, newJoinKeyword, newJoinedVariables.Node, newAdditionalJoins.Node, newOnKeyword, newJoinConditions.Node, newIntoKeyword, newAggregationVariables.Node) 4666If node._orderings IsNot newOrderings.Node Then anyChanges = True 4669Return New OrderByClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOrderKeyword, newByKeyword, newOrderings.Node) 4696If node._variables IsNot newVariables.Node Then anyChanges = True 4699Return New SelectClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newSelectKeyword, newVariables.Node) 5122If node._arguments IsNot newArguments.Node Then anyChanges = True 5127Return New TypeArgumentListSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOpenParenToken, newOfKeyword, newArguments.Node, newCloseParenToken) 5156If node._argumentTypes IsNot newArgumentTypes.Node Then anyChanges = True 5161Return New CrefSignatureSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOpenParenToken, newArgumentTypes.Node, newCloseParenToken) 5618If node._errorCodes IsNot newErrorCodes.Node Then anyChanges = True 5621Return New EnableWarningDirectiveTriviaSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newHashToken, newEnableKeyword, newWarningKeyword, newErrorCodes.Node) 5637If node._errorCodes IsNot newErrorCodes.Node Then anyChanges = True 5640Return New DisableWarningDirectiveTriviaSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newHashToken, newDisableKeyword, newWarningKeyword, newErrorCodes.Node) 6791Return New ImportsStatementSyntax(SyntaxKind.ImportsStatement, Nothing, Nothing, DirectCast(importsKeyword.Node, InternalSyntax.KeywordSyntax), importsClauses.Node) 7412Return New InheritsStatementSyntax(SyntaxKind.InheritsStatement, Nothing, Nothing, DirectCast(inheritsKeyword.Node, InternalSyntax.KeywordSyntax), types.Node) 7453Return New ImplementsStatementSyntax(SyntaxKind.ImplementsStatement, Nothing, Nothing, DirectCast(implementsKeyword.Node, InternalSyntax.KeywordSyntax), types.Node) 7936Return New TypeParameterListSyntax(SyntaxKind.TypeParameterList, Nothing, Nothing, DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(ofKeyword.Node, InternalSyntax.KeywordSyntax), parameters.Node, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 8089Return New TypeParameterMultipleConstraintClauseSyntax(SyntaxKind.TypeParameterMultipleConstraintClause, Nothing, Nothing, DirectCast(asKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(openBraceToken.Node, InternalSyntax.PunctuationSyntax), constraints.Node, DirectCast(closeBraceToken.Node, InternalSyntax.PunctuationSyntax)) 9164Return New ParameterListSyntax(SyntaxKind.ParameterList, Nothing, Nothing, DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), parameters.Node, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 11285Return New ImplementsClauseSyntax(SyntaxKind.ImplementsClause, Nothing, Nothing, DirectCast(implementsKeyword.Node, InternalSyntax.KeywordSyntax), interfaceMembers.Node) 11329Return New HandlesClauseSyntax(SyntaxKind.HandlesClause, Nothing, Nothing, DirectCast(handlesKeyword.Node, InternalSyntax.KeywordSyntax), events.Node) 11568Return New FieldDeclarationSyntax(SyntaxKind.FieldDeclaration, Nothing, Nothing, attributeLists.Node, modifiers.Node, declarators.Node) 11619Return New VariableDeclaratorSyntax(SyntaxKind.VariableDeclarator, Nothing, Nothing, names.Node, asClause, initializer) 11798Return New ObjectMemberInitializerSyntax(SyntaxKind.ObjectMemberInitializer, Nothing, Nothing, DirectCast(withKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(openBraceToken.Node, InternalSyntax.PunctuationSyntax), initializers.Node, DirectCast(closeBraceToken.Node, InternalSyntax.PunctuationSyntax)) 12386Return New AttributeListSyntax(SyntaxKind.AttributeList, Nothing, Nothing, DirectCast(lessThanToken.Node, InternalSyntax.PunctuationSyntax), attributes.Node, DirectCast(greaterThanToken.Node, InternalSyntax.PunctuationSyntax)) 13042Return New LocalDeclarationStatementSyntax(SyntaxKind.LocalDeclarationStatement, Nothing, Nothing, modifiers.Node, declarators.Node) 15985Return New CaseStatementSyntax(SyntaxKind.CaseStatement, Nothing, Nothing, DirectCast(caseKeyword.Node, InternalSyntax.KeywordSyntax), cases.Node) 16035Return New CaseStatementSyntax(SyntaxKind.CaseElseStatement, Nothing, Nothing, DirectCast(caseKeyword.Node, InternalSyntax.KeywordSyntax), cases.Node) 16092Return New CaseStatementSyntax(kind, Nothing, Nothing, DirectCast(caseKeyword.Node, InternalSyntax.KeywordSyntax), cases.Node) 20022Return New NextStatementSyntax(SyntaxKind.NextStatement, Nothing, Nothing, DirectCast(nextKeyword.Node, InternalSyntax.KeywordSyntax), controlVariables.Node) 20073Return New UsingStatementSyntax(SyntaxKind.UsingStatement, Nothing, Nothing, DirectCast(usingKeyword.Node, InternalSyntax.KeywordSyntax), expression, variables.Node) 24468Return New ReDimStatementSyntax(SyntaxKind.ReDimStatement, Nothing, Nothing, DirectCast(reDimKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(preserveKeyword.Node, InternalSyntax.KeywordSyntax), clauses.Node) 24513Return New ReDimStatementSyntax(SyntaxKind.ReDimPreserveStatement, Nothing, Nothing, DirectCast(reDimKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(preserveKeyword.Node, InternalSyntax.KeywordSyntax), clauses.Node) 24565Return New ReDimStatementSyntax(kind, Nothing, Nothing, DirectCast(reDimKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(preserveKeyword.Node, InternalSyntax.KeywordSyntax), clauses.Node) 24748Return New EraseStatementSyntax(SyntaxKind.EraseStatement, Nothing, Nothing, DirectCast(eraseKeyword.Node, InternalSyntax.KeywordSyntax), expressions.Node) 25244Return New TupleExpressionSyntax(SyntaxKind.TupleExpression, Nothing, Nothing, DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), arguments.Node, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 25293Return New TupleTypeSyntax(SyntaxKind.TupleType, Nothing, Nothing, DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), elements.Node, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 26883Return New CollectionInitializerSyntax(SyntaxKind.CollectionInitializer, Nothing, Nothing, DirectCast(openBraceToken.Node, InternalSyntax.PunctuationSyntax), initializers.Node, DirectCast(closeBraceToken.Node, InternalSyntax.PunctuationSyntax)) 36948Return New ArgumentListSyntax(SyntaxKind.ArgumentList, Nothing, Nothing, DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), arguments.Node, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 37991Return New FromClauseSyntax(SyntaxKind.FromClause, Nothing, Nothing, DirectCast(fromKeyword.Node, InternalSyntax.KeywordSyntax), variables.Node) 38036Return New LetClauseSyntax(SyntaxKind.LetClause, Nothing, Nothing, DirectCast(letKeyword.Node, InternalSyntax.KeywordSyntax), variables.Node) 38091Return New AggregateClauseSyntax(SyntaxKind.AggregateClause, Nothing, Nothing, DirectCast(aggregateKeyword.Node, InternalSyntax.KeywordSyntax), variables.Node, additionalQueryOperators.Node, DirectCast(intoKeyword.Node, InternalSyntax.KeywordSyntax), aggregationVariables.Node) 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) 39563Return New SimpleJoinClauseSyntax(SyntaxKind.SimpleJoinClause, Nothing, Nothing, DirectCast(joinKeyword.Node, InternalSyntax.KeywordSyntax), joinedVariables.Node, additionalJoins.Node, DirectCast(onKeyword.Node, InternalSyntax.KeywordSyntax), joinConditions.Node) 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) 39715Return New OrderByClauseSyntax(SyntaxKind.OrderByClause, Nothing, Nothing, DirectCast(orderKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(byKeyword.Node, InternalSyntax.KeywordSyntax), orderings.Node) 40198Return New SelectClauseSyntax(SyntaxKind.SelectClause, Nothing, Nothing, DirectCast(selectKeyword.Node, InternalSyntax.KeywordSyntax), variables.Node) 41232Return New TypeArgumentListSyntax(SyntaxKind.TypeArgumentList, Nothing, Nothing, DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(ofKeyword.Node, InternalSyntax.KeywordSyntax), arguments.Node, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 41308Return New CrefSignatureSyntax(SyntaxKind.CrefSignature, Nothing, Nothing, DirectCast(openParenToken.Node, InternalSyntax.PunctuationSyntax), argumentTypes.Node, DirectCast(closeParenToken.Node, InternalSyntax.PunctuationSyntax)) 43877Return New EnableWarningDirectiveTriviaSyntax(SyntaxKind.EnableWarningDirectiveTrivia, Nothing, Nothing, DirectCast(hashToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(enableKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(warningKeyword.Node, InternalSyntax.KeywordSyntax), errorCodes.Node) 43919Return New DisableWarningDirectiveTriviaSyntax(SyntaxKind.DisableWarningDirectiveTrivia, Nothing, Nothing, DirectCast(hashToken.Node, InternalSyntax.PunctuationSyntax), DirectCast(disableKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(warningKeyword.Node, InternalSyntax.KeywordSyntax), errorCodes.Node)
Syntax\SyntaxFactory.vb (2)
1014Return SyntaxEquivalence.AreEquivalent(oldList.Node, newList.Node, ignoreChildNode, topLevel:=False)