295 references to Node
Microsoft.CodeAnalysis (3)
Syntax\SyntaxList`1.cs (2)
62return builder.ToList().Node; 460return new SyntaxList<SyntaxNode>(nodes.Node);
Syntax\SyntaxListBuilder.cs (1)
110this.AddRange(new SyntaxList<SyntaxNode>(list.Node), offset, count);
Microsoft.CodeAnalysis.CSharp (10)
Symbols\Source\SourceComplexParameterSymbol.cs (1)
318var attributes = parameterSyntax.AttributeLists.Node;
Symbols\Source\SourceNamedTypeSymbol.cs (3)
1191var syntaxTree = list.Node.SyntaxTree; 1192QuickAttributeChecker checker = this.DeclaringCompilation.GetBinderFactory(list.Node.SyntaxTree).GetBinder(list.Node).QuickAttributeChecker;
Symbols\Symbol_Attributes.cs (2)
650var binder = rootBinder ?? compilation.GetBinderFactory(attributeDeclarationSyntaxList.Node!.SyntaxTree).GetBinder(attributeDeclarationSyntaxList.Node);
Syntax\SyntaxFactory.cs (4)
2003return SyntaxEquivalence.AreEquivalent(oldList.Node, newList.Node, null, topLevel); 2018return SyntaxEquivalence.AreEquivalent(oldList.Node, newList.Node, ignoreChildNode, topLevel: false);
Microsoft.CodeAnalysis.VisualBasic (280)
Generated\Syntax.xml.Main.Generated.vb (272)
1518If node._options IsNot newOptions.Node Then anyChanges = True 1520If node._imports IsNot newImports.Node Then anyChanges = True 1522If node._attributes IsNot newAttributes.Node Then anyChanges = True 1524If node._members IsNot newMembers.Node Then anyChanges = True 1529Return New CompilationUnitSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOptions.Node, newImports.Node, newAttributes.Node, newMembers.Node, newEndOfFileToken) 1620If node._members IsNot newMembers.Node Then anyChanges = True 1625Return New NamespaceBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newNamespaceStatement, newMembers.Node, newEndNamespaceStatement) 1652If node._inherits IsNot newInherits.Node Then anyChanges = True 1654If node._implements IsNot newImplements.Node Then anyChanges = True 1656If node._members IsNot newMembers.Node Then anyChanges = True 1661Return New ModuleBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newModuleStatement, newInherits.Node, newImplements.Node, newMembers.Node, newEndModuleStatement) 1673If node._inherits IsNot newInherits.Node Then anyChanges = True 1675If node._implements IsNot newImplements.Node Then anyChanges = True 1677If node._members IsNot newMembers.Node Then anyChanges = True 1682Return New StructureBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newStructureStatement, newInherits.Node, newImplements.Node, newMembers.Node, newEndStructureStatement) 1694If node._inherits IsNot newInherits.Node Then anyChanges = True 1696If node._implements IsNot newImplements.Node Then anyChanges = True 1698If node._members IsNot newMembers.Node Then anyChanges = True 1703Return New InterfaceBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newInterfaceStatement, newInherits.Node, newImplements.Node, newMembers.Node, newEndInterfaceStatement) 1715If node._inherits IsNot newInherits.Node Then anyChanges = True 1717If node._implements IsNot newImplements.Node Then anyChanges = True 1719If node._members IsNot newMembers.Node Then anyChanges = True 1724Return New ClassBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newClassStatement, newInherits.Node, newImplements.Node, newMembers.Node, newEndClassStatement) 1736If node._members IsNot newMembers.Node Then anyChanges = True 1741Return New EnumBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newEnumStatement, newMembers.Node, newEndEnumStatement) 1781If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 1792Return New ModuleStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newModuleKeyword, newIdentifier, newTypeParameterList) 1802If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 1813Return New StructureStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newStructureKeyword, newIdentifier, newTypeParameterList) 1823If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 1834Return New InterfaceStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newInterfaceKeyword, newIdentifier, newTypeParameterList) 1844If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 1855Return New ClassStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newClassKeyword, newIdentifier, newTypeParameterList) 1865If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 1876Return New EnumStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newEnumKeyword, newIdentifier, newUnderlyingType) 1982If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 1989Return New EnumMemberDeclarationSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newIdentifier, newInitializer) 2001If node._statements IsNot newStatements.Node Then anyChanges = True 2006Return New MethodBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newSubOrFunctionStatement, newStatements.Node, newEndSubOrFunctionStatement) 2018If node._statements IsNot newStatements.Node Then anyChanges = True 2023Return New ConstructorBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newSubNewStatement, newStatements.Node, newEndSubStatement) 2035If node._statements IsNot newStatements.Node Then anyChanges = True 2040Return New OperatorBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newOperatorStatement, newStatements.Node, newEndOperatorStatement) 2052If node._statements IsNot newStatements.Node Then anyChanges = True 2057Return New AccessorBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAccessorStatement, newStatements.Node, newEndAccessorStatement) 2069If node._accessors IsNot newAccessors.Node Then anyChanges = True 2074Return New PropertyBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newPropertyStatement, newAccessors.Node, newEndPropertyStatement) 2086If node._accessors IsNot newAccessors.Node Then anyChanges = True 2091Return New EventBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newEventStatement, newAccessors.Node, newEndEventStatement) 2118If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 2137Return New MethodStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newSubOrFunctionKeyword, newIdentifier, newTypeParameterList, newParameterList, newAsClause, newHandlesClause, newImplementsClause) 2147If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 2158Return New SubNewStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newSubKeyword, newNewKeyword, newParameterList) 2168If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 2193Return New DeclareStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newDeclareKeyword, newCharsetKeyword, newSubOrFunctionKeyword, newIdentifier, newLibKeyword, newLibraryName, newAliasKeyword, newAliasName, newParameterList, newAsClause) 2203If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 2220Return New DelegateStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newDelegateKeyword, newSubOrFunctionKeyword, newIdentifier, newTypeParameterList, newParameterList, newAsClause) 2230If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 2247Return New EventStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newCustomKeyword, newEventKeyword, newIdentifier, newParameterList, newAsClause, newImplementsClause) 2257If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 2270Return New OperatorStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newOperatorKeyword, newOperatorToken, newParameterList, newAsClause) 2280If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 2297Return New PropertyStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newPropertyKeyword, newIdentifier, newParameterList, newAsClause, newInitializer, newImplementsClause) 2307If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 2316Return New AccessorStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newAccessorKeyword, newParameterList) 2416If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 2423Return New IncompleteMemberSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newMissingIdentifier) 2433If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 2440Return New FieldDeclarationSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newDeclarators.Node) 2469If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 2474Return New SimpleAsClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAsKeyword, newAttributeLists.Node, newType) 2584If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 2595Return New ParameterSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newIdentifier, newAsClause, newDefault) 2611If node._arrayRankSpecifiers IsNot newArrayRankSpecifiers.Node Then anyChanges = True 2614Return New ModifiedIdentifierSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newIdentifier, newNullable, newArrayBounds, newArrayRankSpecifiers.Node) 2690If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 2693Return New AttributesStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node) 2733If node._statements IsNot newStatements.Node Then anyChanges = True 2738Return New WhileBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newWhileStatement, newStatements.Node, newEndWhileStatement) 2750If node._statements IsNot newStatements.Node Then anyChanges = True 2755Return New UsingBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newUsingStatement, newStatements.Node, newEndUsingStatement) 2767If node._statements IsNot newStatements.Node Then anyChanges = True 2772Return New SyncLockBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newSyncLockStatement, newStatements.Node, newEndSyncLockStatement) 2784If node._statements IsNot newStatements.Node Then anyChanges = True 2789Return New WithBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newWithStatement, newStatements.Node, newEndWithStatement) 2921If node._statements IsNot newStatements.Node Then anyChanges = True 2926Return New SingleLineIfStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newIfKeyword, newCondition, newThenKeyword, newStatements.Node, newElseClause) 2938If node._statements IsNot newStatements.Node Then anyChanges = True 2941Return New SingleLineElseClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newElseKeyword, newStatements.Node) 2953If node._statements IsNot newStatements.Node Then anyChanges = True 2955If node._elseIfBlocks IsNot newElseIfBlocks.Node Then anyChanges = True 2962Return New MultiLineIfBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newIfStatement, newStatements.Node, newElseIfBlocks.Node, newElseBlock, newEndIfStatement) 2991If node._statements IsNot newStatements.Node Then anyChanges = True 2994Return New ElseIfBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newElseIfStatement, newStatements.Node) 3023If node._statements IsNot newStatements.Node Then anyChanges = True 3026Return New ElseBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newElseStatement, newStatements.Node) 3051If node._statements IsNot newStatements.Node Then anyChanges = True 3053If node._catchBlocks IsNot newCatchBlocks.Node Then anyChanges = True 3060Return New TryBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newTryStatement, newStatements.Node, newCatchBlocks.Node, newFinallyBlock, newEndTryStatement) 3085If node._statements IsNot newStatements.Node Then anyChanges = True 3088Return New CatchBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newCatchStatement, newStatements.Node) 3134If node._statements IsNot newStatements.Node Then anyChanges = True 3137Return New FinallyBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newFinallyStatement, newStatements.Node) 3232If node._caseBlocks IsNot newCaseBlocks.Node Then anyChanges = True 3237Return New SelectBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newSelectStatement, newCaseBlocks.Node, newEndSelectStatement) 3266If node._statements IsNot newStatements.Node Then anyChanges = True 3269Return New CaseBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newCaseStatement, newStatements.Node) 3371If node._statements IsNot newStatements.Node Then anyChanges = True 3376Return New DoLoopBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newDoStatement, newStatements.Node, newLoopStatement) 3448If node._statements IsNot newStatements.Node Then anyChanges = True 3453Return New ForBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newForStatement, newStatements.Node, newNextStatement) 3465If node._statements IsNot newStatements.Node Then anyChanges = True 3470Return New ForEachBlockSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newForEachStatement, newStatements.Node, newNextStatement) 3976If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 3985Return New ObjectCreationExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newNewKeyword, newAttributeLists.Node, newType, newArgumentList, newInitializer) 3997If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 4002Return New AnonymousObjectCreationExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newNewKeyword, newAttributeLists.Node, newInitializer) 4014If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 4020If node._rankSpecifiers IsNot newRankSpecifiers.Node Then anyChanges = True 4025Return New ArrayCreationExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newNewKeyword, newAttributeLists.Node, newType, newArrayBounds, newRankSpecifiers.Node, newInitializer) 4239If node._statements IsNot newStatements.Node Then anyChanges = True 4244Return New MultiLineLambdaExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newSubOrFunctionHeader, newStatements.Node, newEndSubOrFunctionStatement) 4254If node._attributeLists IsNot newAttributeLists.Node Then anyChanges = True 4265Return New LambdaHeaderSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newSubOrFunctionKeyword, newParameterList, newAsClause) 4352If node._clauses IsNot newClauses.Node Then anyChanges = True 4355Return New QueryExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newClauses.Node) 4497If node._additionalQueryOperators IsNot newAdditionalQueryOperators.Node Then anyChanges = True 4504Return New AggregateClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newAggregateKeyword, newVariables.Node, newAdditionalQueryOperators.Node, newIntoKeyword, newAggregationVariables.Node) 4618If node._additionalJoins IsNot newAdditionalJoins.Node Then anyChanges = True 4625Return New SimpleJoinClauseSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newJoinKeyword, newJoinedVariables.Node, newAdditionalJoins.Node, newOnKeyword, newJoinConditions.Node) 4641If node._additionalJoins IsNot newAdditionalJoins.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) 4711If node._precedingMisc IsNot newPrecedingMisc.Node Then anyChanges = True 4715If node._followingMisc IsNot newFollowingMisc.Node Then anyChanges = True 4718Return New XmlDocumentSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newDeclaration, newPrecedingMisc.Node, newRoot, newFollowingMisc.Node) 4770If node._content IsNot newContent.Node Then anyChanges = True 4775Return New XmlElementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newStartTag, newContent.Node, newEndTag) 4802If node._attributes IsNot newAttributes.Node Then anyChanges = True 4807Return New XmlElementStartTagSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLessThanToken, newName, newAttributes.Node, newGreaterThanToken) 4838If node._attributes IsNot newAttributes.Node Then anyChanges = True 4843Return New XmlEmptyElementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newLessThanToken, newName, newAttributes.Node, newSlashGreaterThanToken) 5019If node._rankSpecifiers IsNot newRankSpecifiers.Node Then anyChanges = True 5022Return New ArrayTypeSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newElementType, newRankSpecifiers.Node) 5261If node._content IsNot newContent.Node Then anyChanges = True 5264Return New DocumentationCommentTriviaSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newContent.Node) 5354If node._contents IsNot newContents.Node Then anyChanges = True 5359Return New InterpolatedStringExpressionSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newDollarSignDoubleQuoteToken, newContents.Node, newDoubleQuoteToken) 6680Return New CompilationUnitSyntax(SyntaxKind.CompilationUnit, Nothing, Nothing, options.Node, [imports].Node, attributes.Node, members.Node, DirectCast(endOfFileToken.Node, InternalSyntax.PunctuationSyntax)) 6970Return New NamespaceBlockSyntax(SyntaxKind.NamespaceBlock, Nothing, Nothing, namespaceStatement, members.Node, endNamespaceStatement) 7080Return New ModuleBlockSyntax(SyntaxKind.ModuleBlock, Nothing, Nothing, moduleStatement, [inherits].Node, [implements].Node, members.Node, endModuleStatement) 7153Return New StructureBlockSyntax(SyntaxKind.StructureBlock, Nothing, Nothing, structureStatement, [inherits].Node, [implements].Node, members.Node, endStructureStatement) 7226Return New InterfaceBlockSyntax(SyntaxKind.InterfaceBlock, Nothing, Nothing, interfaceStatement, [inherits].Node, [implements].Node, members.Node, endInterfaceStatement) 7299Return New ClassBlockSyntax(SyntaxKind.ClassBlock, Nothing, Nothing, classStatement, [inherits].Node, [implements].Node, members.Node, endClassStatement) 7366Return New EnumBlockSyntax(SyntaxKind.EnumBlock, Nothing, Nothing, enumStatement, members.Node, endEnumStatement) 7512Return New ModuleStatementSyntax(SyntaxKind.ModuleStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(moduleKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList) 7597Return New StructureStatementSyntax(SyntaxKind.StructureStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(structureKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList) 7682Return New InterfaceStatementSyntax(SyntaxKind.InterfaceStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(interfaceKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList) 7767Return New ClassStatementSyntax(SyntaxKind.ClassStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(classKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList) 7852Return New EnumStatementSyntax(SyntaxKind.EnumStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(enumKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), underlyingType) 8251Return New EnumMemberDeclarationSyntax(SyntaxKind.EnumMemberDeclaration, Nothing, Nothing, attributeLists.Node, DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), initializer) 8303Return New MethodBlockSyntax(SyntaxKind.SubBlock, Nothing, Nothing, subOrFunctionStatement, statements.Node, endSubOrFunctionStatement) 8364Return New MethodBlockSyntax(SyntaxKind.FunctionBlock, Nothing, Nothing, subOrFunctionStatement, statements.Node, endSubOrFunctionStatement) 8428Return New MethodBlockSyntax(kind, Nothing, Nothing, subOrFunctionStatement, statements.Node, endSubOrFunctionStatement) 8501Return New ConstructorBlockSyntax(SyntaxKind.ConstructorBlock, Nothing, Nothing, subNewStatement, statements.Node, endSubStatement) 8562Return New OperatorBlockSyntax(SyntaxKind.OperatorBlock, Nothing, Nothing, operatorStatement, statements.Node, endOperatorStatement) 8634Return New AccessorBlockSyntax(SyntaxKind.GetAccessorBlock, Nothing, Nothing, accessorStatement, statements.Node, endAccessorStatement) 8702Return New AccessorBlockSyntax(SyntaxKind.SetAccessorBlock, Nothing, Nothing, accessorStatement, statements.Node, endAccessorStatement) 8770Return New AccessorBlockSyntax(SyntaxKind.AddHandlerAccessorBlock, Nothing, Nothing, accessorStatement, statements.Node, endAccessorStatement) 8838Return New AccessorBlockSyntax(SyntaxKind.RemoveHandlerAccessorBlock, Nothing, Nothing, accessorStatement, statements.Node, endAccessorStatement) 8906Return New AccessorBlockSyntax(SyntaxKind.RaiseEventAccessorBlock, Nothing, Nothing, accessorStatement, statements.Node, endAccessorStatement) 8978Return New AccessorBlockSyntax(kind, Nothing, Nothing, accessorStatement, statements.Node, endAccessorStatement) 9068Return New PropertyBlockSyntax(SyntaxKind.PropertyBlock, Nothing, Nothing, propertyStatement, accessors.Node, endPropertyStatement) 9119Return New EventBlockSyntax(SyntaxKind.EventBlock, Nothing, Nothing, eventStatement, accessors.Node, endEventStatement) 9240Return New MethodStatementSyntax(SyntaxKind.SubStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList, parameterList, asClause, handlesClause, implementsClause) 9367Return New MethodStatementSyntax(SyntaxKind.FunctionStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList, parameterList, asClause, handlesClause, implementsClause) 9499Return New MethodStatementSyntax(kind, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList, parameterList, asClause, handlesClause, implementsClause) 9591Return New SubNewStatementSyntax(SyntaxKind.SubNewStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(subKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(newKeyword.Node, InternalSyntax.KeywordSyntax), parameterList) 9711Return New DeclareStatementSyntax(SyntaxKind.DeclareSubStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(declareKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(charsetKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), DirectCast(libKeyword.Node, InternalSyntax.KeywordSyntax), libraryName, DirectCast(aliasKeyword.Node, InternalSyntax.KeywordSyntax), aliasName, parameterList, asClause) 9863Return New DeclareStatementSyntax(SyntaxKind.DeclareFunctionStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(declareKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(charsetKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), DirectCast(libKeyword.Node, InternalSyntax.KeywordSyntax), libraryName, DirectCast(aliasKeyword.Node, InternalSyntax.KeywordSyntax), aliasName, parameterList, asClause) 10020Return New DeclareStatementSyntax(kind, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(declareKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(charsetKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), DirectCast(libKeyword.Node, InternalSyntax.KeywordSyntax), libraryName, DirectCast(aliasKeyword.Node, InternalSyntax.KeywordSyntax), aliasName, parameterList, asClause) 10173Return New DelegateStatementSyntax(SyntaxKind.DelegateSubStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(delegateKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList, parameterList, asClause) 10282Return New DelegateStatementSyntax(SyntaxKind.DelegateFunctionStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(delegateKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList, parameterList, asClause) 10397Return New DelegateStatementSyntax(kind, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(delegateKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList, parameterList, asClause) 10537Return New EventStatementSyntax(SyntaxKind.EventStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(customKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(eventKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), parameterList, asClause, implementsClause) 10666Return New OperatorStatementSyntax(SyntaxKind.OperatorStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(operatorKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(operatorToken.Node, InternalSyntax.SyntaxToken), parameterList, asClause) 10765Return New PropertyStatementSyntax(SyntaxKind.PropertyStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(propertyKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), parameterList, asClause, initializer, implementsClause) 10871Return New AccessorStatementSyntax(SyntaxKind.GetAccessorStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(accessorKeyword.Node, InternalSyntax.KeywordSyntax), parameterList) 10941Return New AccessorStatementSyntax(SyntaxKind.SetAccessorStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(accessorKeyword.Node, InternalSyntax.KeywordSyntax), parameterList) 11011Return New AccessorStatementSyntax(SyntaxKind.AddHandlerAccessorStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(accessorKeyword.Node, InternalSyntax.KeywordSyntax), parameterList) 11081Return New AccessorStatementSyntax(SyntaxKind.RemoveHandlerAccessorStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(accessorKeyword.Node, InternalSyntax.KeywordSyntax), parameterList) 11151Return New AccessorStatementSyntax(SyntaxKind.RaiseEventAccessorStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(accessorKeyword.Node, InternalSyntax.KeywordSyntax), parameterList) 11228Return New AccessorStatementSyntax(kind, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(accessorKeyword.Node, InternalSyntax.KeywordSyntax), parameterList) 11535Return New IncompleteMemberSyntax(SyntaxKind.IncompleteMember, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(missingIdentifier.Node, InternalSyntax.IdentifierTokenSyntax)) 11568Return New FieldDeclarationSyntax(SyntaxKind.FieldDeclaration, Nothing, Nothing, attributeLists.Node, modifiers.Node, declarators.Node) 11687Return New SimpleAsClauseSyntax(SyntaxKind.SimpleAsClause, Nothing, Nothing, DirectCast(asKeyword.Node, InternalSyntax.KeywordSyntax), attributeLists.Node, type) 12245Return New ParameterSyntax(SyntaxKind.Parameter, Nothing, Nothing, attributeLists.Node, modifiers.Node, identifier, asClause, [default]) 12283Return New ModifiedIdentifierSyntax(SyntaxKind.ModifiedIdentifier, Nothing, Nothing, DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), DirectCast(nullable.Node, InternalSyntax.PunctuationSyntax), arrayBounds, arrayRankSpecifiers.Node) 12500Return New AttributesStatementSyntax(SyntaxKind.AttributesStatement, Nothing, Nothing, attributeLists.Node) 12810Return New WhileBlockSyntax(SyntaxKind.WhileBlock, Nothing, Nothing, whileStatement, statements.Node, endWhileStatement) 12872Return New UsingBlockSyntax(SyntaxKind.UsingBlock, Nothing, Nothing, usingStatement, statements.Node, endUsingStatement) 12935Return New SyncLockBlockSyntax(SyntaxKind.SyncLockBlock, Nothing, Nothing, syncLockStatement, statements.Node, endSyncLockStatement) 12998Return New WithBlockSyntax(SyntaxKind.WithBlock, Nothing, Nothing, withStatement, statements.Node, endWithStatement) 14077Return New SingleLineIfStatementSyntax(SyntaxKind.SingleLineIfStatement, Nothing, Nothing, DirectCast(ifKeyword.Node, InternalSyntax.KeywordSyntax), condition, DirectCast(thenKeyword.Node, InternalSyntax.KeywordSyntax), statements.Node, elseClause) 14126Return New SingleLineElseClauseSyntax(SyntaxKind.SingleLineElseClause, Nothing, Nothing, DirectCast(elseKeyword.Node, InternalSyntax.KeywordSyntax), statements.Node) 14189Return New MultiLineIfBlockSyntax(SyntaxKind.MultiLineIfBlock, Nothing, Nothing, ifStatement, statements.Node, elseIfBlocks.Node, elseBlock, endIfStatement) 14393Return New ElseIfBlockSyntax(SyntaxKind.ElseIfBlock, Nothing, Nothing, elseIfStatement, statements.Node) 14571Return New ElseBlockSyntax(SyntaxKind.ElseBlock, Nothing, Nothing, elseStatement, statements.Node) 14654Return New TryBlockSyntax(SyntaxKind.TryBlock, Nothing, Nothing, tryStatement, statements.Node, catchBlocks.Node, finallyBlock, endTryStatement) 14727Return New CatchBlockSyntax(SyntaxKind.CatchBlock, Nothing, Nothing, catchStatement, statements.Node) 14954Return New FinallyBlockSyntax(SyntaxKind.FinallyBlock, Nothing, Nothing, finallyStatement, statements.Node) 15676Return New SelectBlockSyntax(SyntaxKind.SelectBlock, Nothing, Nothing, selectStatement, caseBlocks.Node, endSelectStatement) 15873Return New CaseBlockSyntax(SyntaxKind.CaseBlock, Nothing, Nothing, caseStatement, statements.Node) 15907Return New CaseBlockSyntax(SyntaxKind.CaseElseBlock, Nothing, Nothing, caseStatement, statements.Node) 15948Return New CaseBlockSyntax(kind, Nothing, Nothing, caseStatement, statements.Node) 17779Return New DoLoopBlockSyntax(SyntaxKind.SimpleDoLoopBlock, Nothing, Nothing, doStatement, statements.Node, loopStatement) 17828Return New DoLoopBlockSyntax(SyntaxKind.DoWhileLoopBlock, Nothing, Nothing, doStatement, statements.Node, loopStatement) 17877Return New DoLoopBlockSyntax(SyntaxKind.DoUntilLoopBlock, Nothing, Nothing, doStatement, statements.Node, loopStatement) 17926Return New DoLoopBlockSyntax(SyntaxKind.DoLoopWhileBlock, Nothing, Nothing, doStatement, statements.Node, loopStatement) 17975Return New DoLoopBlockSyntax(SyntaxKind.DoLoopUntilBlock, Nothing, Nothing, doStatement, statements.Node, loopStatement) 18028Return New DoLoopBlockSyntax(kind, Nothing, Nothing, doStatement, statements.Node, loopStatement) 19066Return New ForBlockSyntax(SyntaxKind.ForBlock, Nothing, Nothing, forStatement, statements.Node, nextStatement) 19108Return New ForEachBlockSyntax(SyntaxKind.ForEachBlock, Nothing, Nothing, forEachStatement, statements.Node, nextStatement) 26671Return New ObjectCreationExpressionSyntax(SyntaxKind.ObjectCreationExpression, Nothing, Nothing, DirectCast(newKeyword.Node, InternalSyntax.KeywordSyntax), attributeLists.Node, type, argumentList, initializer) 26737Return New AnonymousObjectCreationExpressionSyntax(SyntaxKind.AnonymousObjectCreationExpression, Nothing, Nothing, DirectCast(newKeyword.Node, InternalSyntax.KeywordSyntax), attributeLists.Node, initializer) 26820Return New ArrayCreationExpressionSyntax(SyntaxKind.ArrayCreationExpression, Nothing, Nothing, DirectCast(newKeyword.Node, InternalSyntax.KeywordSyntax), attributeLists.Node, type, arrayBounds, rankSpecifiers.Node, initializer) 36580Return New MultiLineLambdaExpressionSyntax(SyntaxKind.MultiLineFunctionLambdaExpression, Nothing, Nothing, subOrFunctionHeader, statements.Node, endSubOrFunctionStatement) 36635Return New MultiLineLambdaExpressionSyntax(SyntaxKind.MultiLineSubLambdaExpression, Nothing, Nothing, subOrFunctionHeader, statements.Node, endSubOrFunctionStatement) 36698Return New MultiLineLambdaExpressionSyntax(kind, Nothing, Nothing, subOrFunctionHeader, statements.Node, endSubOrFunctionStatement) 36754Return New LambdaHeaderSyntax(SyntaxKind.SubLambdaHeader, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), parameterList, asClause) 36822Return New LambdaHeaderSyntax(SyntaxKind.FunctionLambdaHeader, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), parameterList, asClause) 36895Return New LambdaHeaderSyntax(kind, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), parameterList, asClause) 37447Return New QueryExpressionSyntax(SyntaxKind.QueryExpression, Nothing, Nothing, clauses.Node) 38091Return New AggregateClauseSyntax(SyntaxKind.AggregateClause, Nothing, Nothing, DirectCast(aggregateKeyword.Node, InternalSyntax.KeywordSyntax), variables.Node, additionalQueryOperators.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) 40248Return New XmlDocumentSyntax(SyntaxKind.XmlDocument, Nothing, Nothing, declaration, precedingMisc.Node, root, followingMisc.Node) 40363Return New XmlElementSyntax(SyntaxKind.XmlElement, Nothing, Nothing, startTag, content.Node, endTag) 40418Return New XmlElementStartTagSyntax(SyntaxKind.XmlElementStartTag, Nothing, Nothing, DirectCast(lessThanToken.Node, InternalSyntax.PunctuationSyntax), name, attributes.Node, DirectCast(greaterThanToken.Node, InternalSyntax.PunctuationSyntax)) 40495Return New XmlEmptyElementSyntax(SyntaxKind.XmlEmptyElement, Nothing, Nothing, DirectCast(lessThanToken.Node, InternalSyntax.PunctuationSyntax), name, attributes.Node, DirectCast(slashGreaterThanToken.Node, InternalSyntax.PunctuationSyntax)) 40948Return New ArrayTypeSyntax(SyntaxKind.ArrayType, Nothing, Nothing, elementType, rankSpecifiers.Node) 42008Return New DocumentationCommentTriviaSyntax(SyntaxKind.DocumentationCommentTrivia, Nothing, Nothing, content.Node) 42372Return New InterpolatedStringExpressionSyntax(SyntaxKind.InterpolatedStringExpression, Nothing, Nothing, DirectCast(dollarSignDoubleQuoteToken.Node, InternalSyntax.PunctuationSyntax), contents.Node, DirectCast(doubleQuoteToken.Node, InternalSyntax.PunctuationSyntax))
Symbols\Source\SourceNamedTypeSymbol.vb (1)
2331Dim sourceFile = ContainingSourceModule.TryGetSourceFile(list.Node.SyntaxTree)
Symbols\Source\UnboundLambdaParameterSymbol.vb (2)
79If syntax.AttributeLists.Node IsNot Nothing Then 80Binder.ReportDiagnostic(diagBag, syntax.AttributeLists.Node, ERRID.ERR_LambdasCannotHaveAttributes)
Symbols\Symbol_Attributes.vb (3)
331Debug.Assert(attributeDeclarationSyntaxList.Node IsNot Nothing) 352Dim syntaxTree = syntaxList.Node.SyntaxTree 353Dim parent = syntaxList.Node.Parent
Syntax\SyntaxFactory.vb (2)
1001Return SyntaxEquivalence.AreEquivalent(oldList.Node, newList.Node, ignoreChildNode, topLevel:=False)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
TestSyntaxNodes.vb (2)
1869Assert.Same(membs1.Node, membs2.Node)