59 types derived from VisualBasicSyntaxNode
Microsoft.CodeAnalysis.VisualBasic (59)
Generated\Syntax.xml.Syntax.Generated.vb (57)
120Inherits VisualBasicSyntaxNode 389Inherits VisualBasicSyntaxNode 867Inherits VisualBasicSyntaxNode 1007Inherits VisualBasicSyntaxNode 4378Inherits VisualBasicSyntaxNode 4540Inherits VisualBasicSyntaxNode 4679Inherits VisualBasicSyntaxNode 4972Inherits VisualBasicSyntaxNode 6444Inherits VisualBasicSyntaxNode 9187Inherits VisualBasicSyntaxNode 9307Inherits VisualBasicSyntaxNode 9747Inherits VisualBasicSyntaxNode 10220Inherits VisualBasicSyntaxNode 10375Inherits VisualBasicSyntaxNode 10691Inherits VisualBasicSyntaxNode 10985Inherits VisualBasicSyntaxNode 11358Inherits VisualBasicSyntaxNode 11468Inherits VisualBasicSyntaxNode 11687Inherits VisualBasicSyntaxNode 11870Inherits VisualBasicSyntaxNode 12008Inherits VisualBasicSyntaxNode 12151Inherits VisualBasicSyntaxNode 12303Inherits VisualBasicSyntaxNode 14387Inherits VisualBasicSyntaxNode 14868Inherits VisualBasicSyntaxNode 15132Inherits VisualBasicSyntaxNode 15641Inherits VisualBasicSyntaxNode 15939Inherits VisualBasicSyntaxNode 16049Inherits VisualBasicSyntaxNode 17113Inherits VisualBasicSyntaxNode 17365Inherits VisualBasicSyntaxNode 18353Inherits VisualBasicSyntaxNode 19350Inherits VisualBasicSyntaxNode 21007Inherits VisualBasicSyntaxNode 21241Inherits VisualBasicSyntaxNode 21771Inherits VisualBasicSyntaxNode 26475Inherits VisualBasicSyntaxNode 26614Inherits VisualBasicSyntaxNode 26838Inherits VisualBasicSyntaxNode 27176Inherits VisualBasicSyntaxNode 27198Inherits VisualBasicSyntaxNode 27365Inherits VisualBasicSyntaxNode 27487Inherits VisualBasicSyntaxNode 27609Inherits VisualBasicSyntaxNode 29292Inherits VisualBasicSyntaxNode 30145Inherits VisualBasicSyntaxNode 30574Inherits VisualBasicSyntaxNode 30768Inherits VisualBasicSyntaxNode 32134Inherits VisualBasicSyntaxNode 33580Inherits VisualBasicSyntaxNode 33742Inherits VisualBasicSyntaxNode 33886Inherits VisualBasicSyntaxNode 34014Inherits VisualBasicSyntaxNode 34564Inherits VisualBasicSyntaxNode 35522Inherits VisualBasicSyntaxNode 35819Inherits VisualBasicSyntaxNode 35930Inherits VisualBasicSyntaxNode
Syntax\CompilationUnitSyntax.vb (1)
8Inherits VisualBasicSyntaxNode
Syntax\StructuredTriviaSyntax.vb (1)
15Inherits VisualBasicSyntaxNode
442 references to VisualBasicSyntaxNode
Microsoft.CodeAnalysis.VisualBasic (442)
Binding\AttributeBinder.vb (3)
18Private ReadOnly _root As VisualBasicSyntaxNode 20Public Sub New(containingBinder As Binder, tree As SyntaxTree, Optional node As VisualBasicSyntaxNode = Nothing) 27Friend ReadOnly Property Root As VisualBasicSyntaxNode
Binding\AttributeSemanticModel.vb (1)
16Friend Sub New(root As VisualBasicSyntaxNode,
Binding\BackstopBinder.vb (1)
92Public Overrides Function GetSyntaxReference(node As VisualBasicSyntaxNode) As SyntaxReference
Binding\Binder.vb (3)
487Private Function GetInternalXmlHelperType(syntax As VisualBasicSyntaxNode, diagBag As BindingDiagnosticBag) As NamedTypeSymbol 666Public Overridable Function GetSyntaxReference(node As VisualBasicSyntaxNode) As SyntaxReference 1076syntax As VisualBasicSyntaxNode,
Binding\Binder_AnonymousTypes.vb (8)
25Private Function BindAnonymousObjectCreationExpression(node As VisualBasicSyntaxNode, 40Private Function CreateAnonymousObjectCreationExpression(node As VisualBasicSyntaxNode, 56Protected Overridable Function CreateAnonymousObjectCreationExpression(node As VisualBasicSyntaxNode, 105owningSyntax As VisualBasicSyntaxNode, 149Dim fieldNode As VisualBasicSyntaxNode = Nothing 168fieldNode = DirectCast(fieldNameToken.Parent, VisualBasicSyntaxNode) 209Private Function BindInitializersAndCreateBoundNode(owningSyntax As VisualBasicSyntaxNode, 290Protected Overrides Function CreateAnonymousObjectCreationExpression(node As VisualBasicSyntaxNode,
Binding\Binder_Delegates.vb (2)
45Private Function BindAddressOfExpression(node As VisualBasicSyntaxNode, diagnostics As BindingDiagnosticBag) As BoundExpression 86node As VisualBasicSyntaxNode,
Binding\Binder_Diagnostics.vb (5)
20syntax As VisualBasicSyntaxNode, 29syntax As VisualBasicSyntaxNode, 39syntax As VisualBasicSyntaxNode, 51syntax As VisualBasicSyntaxNode, 61syntax As VisualBasicSyntaxNode,
Binding\Binder_Expressions.vb (10)
527errorSyntax As VisualBasicSyntaxNode, 2398Dim parent As VisualBasicSyntaxNode = nameSyntax.Parent 2548node As VisualBasicSyntaxNode, 2604Private Function TryBindInteractiveReceiver(syntax As VisualBasicSyntaxNode, currentMember As Symbol, currentType As NamedTypeSymbol, memberDeclaringType As NamedTypeSymbol) As BoundExpression 2790Protected Function BindMemberAccess(node As VisualBasicSyntaxNode, left As BoundExpression, right As SimpleNameSyntax, eventContext As Boolean, diagnostics As BindingDiagnosticBag) As BoundExpression 3012Private Function GetLocalSymbolType(localSymbol As LocalSymbol, node As VisualBasicSyntaxNode, Optional diagnostics As BindingDiagnosticBag = Nothing) As TypeSymbol 3070Private Function BindSymbolAccess(node As VisualBasicSyntaxNode, 3957symbolReference As VisualBasicSyntaxNode, 4000symbolReference As VisualBasicSyntaxNode, 4654node As VisualBasicSyntaxNode,
Binding\Binder_Initializers.vb (4)
116Dim initializerNode = DirectCast(syntaxRef.GetSyntax(), VisualBasicSyntaxNode) 399Dim fieldInitializerSyntax As VisualBasicSyntaxNode 451equalsValueOrAsNewSyntax As VisualBasicSyntaxNode, 493equalsValueOrAsNewSyntax As VisualBasicSyntaxNode,
Binding\Binder_Invocation.vb (5)
61Dim node As VisualBasicSyntaxNode = invocationExpression.Parent 66Dim nodeParent As VisualBasicSyntaxNode = node.Parent 520Private Function BindDefaultPropertyGroup(node As VisualBasicSyntaxNode, target As BoundExpression, diagnostics As BindingDiagnosticBag) As BoundExpression 580Private Function ShouldBindWithoutArguments(node As VisualBasicSyntaxNode, ByRef group As BoundMethodOrPropertyGroup, diagnostics As BindingDiagnosticBag) As Boolean 3297Dim parent As VisualBasicSyntaxNode = node.Parent
Binding\Binder_ObjectInitializer.vb (1)
201callerInfoOpt As VisualBasicSyntaxNode
Binding\Binder_Query.vb (9)
18Private Function CreateQueryLambdaSymbol(syntaxNode As VisualBasicSyntaxNode, 1070Dim joinSelectorSyntax As VisualBasicSyntaxNode = Nothing 1191<Out> ByRef lambdaSyntax As VisualBasicSyntaxNode) 1463Dim joinSelectorSyntax As VisualBasicSyntaxNode = Nothing 2169Private Shared Function GetQueryLambdaParameterSyntax(syntaxNode As VisualBasicSyntaxNode, rangeVariables As ImmutableArray(Of RangeVariableSymbol)) As VisualBasicSyntaxNode 2181syntaxNode As VisualBasicSyntaxNode, 2193syntaxNode As VisualBasicSyntaxNode 3175syntax As VisualBasicSyntaxNode,
Binding\Binder_SelectCase.vb (1)
37Dim selectBinder = GetBinder(DirectCast(node, VisualBasicSyntaxNode))
Binding\Binder_Statements.vb (18)
314Dim blockBinder = Me.GetBinder(DirectCast(methodBlock, VisualBasicSyntaxNode)) 854Dim labelParent = DirectCast(label.LabelName.Parent, VisualBasicSyntaxNode) 904Private Shared Function IsValidBranchTarget(block As VisualBasicSyntaxNode, labelSyntax As LabelSyntax) As Boolean 1112tree As VisualBasicSyntaxNode, 1155Dim errSyntax = If(asClauseOpt Is Nothing, DirectCast(equalsValueOpt, VisualBasicSyntaxNode), asClauseOpt.Type) 1269errSyntax = If(asClauseOpt IsNot Nothing AndAlso Not type.IsArrayType, DirectCast(asClauseOpt.Type, VisualBasicSyntaxNode), name) 1763nameSyntax As VisualBasicSyntaxNode, 2024node As VisualBasicSyntaxNode, 2798Dim syntax As VisualBasicSyntaxNode 2830Dim loopBodyBinder = GetBinder(DirectCast(node, VisualBasicSyntaxNode)) 2938controlVariableSyntax As VisualBasicSyntaxNode, 3131VerifyLocalSymbolNameAndSetType(declaredOrInferredLocalOpt, type, DirectCast(identifier.Parent, VisualBasicSyntaxNode), identifier, diagnostics) 3202Dim syntax As VisualBasicSyntaxNode = node.ForOrForEachStatement 3270syntax As VisualBasicSyntaxNode, 3405VerifyLocalSymbolNameAndSetType(declaredOrInferredLocalOpt, type, DirectCast(identifier.Parent, VisualBasicSyntaxNode), identifier, diagnostics) 3589controlVariableSyntax As VisualBasicSyntaxNode, 4407Dim binder As Binder = Me.GetBinder(DirectCast(node, VisualBasicSyntaxNode)) 5176Dim curSyntax As VisualBasicSyntaxNode = node.Parent
Binding\Binder_Symbols.vb (2)
103syntaxWhole As VisualBasicSyntaxNode, 759Public Shared Function LookupPredefinedTypeName(node As VisualBasicSyntaxNode,
Binding\Binder_Utils.vb (5)
291syntax As VisualBasicSyntaxNode, 292syntaxTypeArgument As VisualBasicSyntaxNode, 485initializerSyntaxOpt As VisualBasicSyntaxNode, 538DirectCast(modifiedIdentifier, VisualBasicSyntaxNode)), 1114DirectCast(paramSyntax, VisualBasicSyntaxNode)),
Binding\Binder_WithBlock.vb (1)
360Private Sub PrepareBindingOfOmittedLeft(node As VisualBasicSyntaxNode, diagnostics As BindingDiagnosticBag, accessingBinder As Binder)
Binding\Binder_XmlLiterals.vb (7)
345syntax As VisualBasicSyntaxNode, 851Private Function BindXmlName(syntax As VisualBasicSyntaxNode, localName As BoundExpression, [namespace] As BoundExpression, diagnostics As BindingDiagnosticBag) As BoundExpression 887Private Function BindXmlNamespace(syntax As VisualBasicSyntaxNode, [namespace] As BoundExpression, diagnostics As BindingDiagnosticBag) As BoundExpression 898Private Function ReportXmlNamespacePrefixNotDefined(syntax As VisualBasicSyntaxNode, prefixToken As SyntaxToken, prefix As String, compilerGenerated As Boolean, diagnostics As BindingDiagnosticBag) As BoundBadExpression 955Private Function GetXmlMethodOrPropertyGroup(syntax As VisualBasicSyntaxNode, type As NamedTypeSymbol, memberName As String, receiverOpt As BoundExpression, diagnostics As BindingDiagnosticBag) As BoundMethodOrPropertyGroup 1036Private Function CheckXmlFeaturesAllowed(syntax As VisualBasicSyntaxNode, diagnostics As BindingDiagnosticBag) As BindingDiagnosticBag 1242Private Shared Function RedefinesReservedXmlNamespace(syntax As VisualBasicSyntaxNode, prefix As String, reservedPrefix As String, [namespace] As String, reservedNamespace As String, diagnostics As BindingDiagnosticBag) As Boolean
Binding\BinderBuilder.vb (4)
304Public Shared Function CreateBinderForAttribute(tree As SyntaxTree, containingBinder As Binder, node As VisualBasicSyntaxNode) As AttributeBinder 311node As VisualBasicSyntaxNode) As Binder 333Public Shared Function CreateBinderForParameterDefaultValue(parameterSymbol As ParameterSymbol, containingBinder As Binder, node As VisualBasicSyntaxNode) As Binder 428Dim declarationSyntax As VisualBasicSyntaxNode
Binding\BinderFactory.BinderFactoryVisitor.vb (6)
79Dim parentForEnclosingBinder As VisualBasicSyntaxNode = If(possibleParentBlock IsNot Nothing, possibleParentBlock.Parent, methodBaseSyntax.Parent) 87Return GetBinderForNodeAndUsage(DirectCast(node.Parent, VisualBasicSyntaxNode), NodeUsage.TopLevelExecutableStatement, DirectCast(node.Parent, VisualBasicSyntaxNode), _position) 246Private Function GetBinderForNodeAndUsage(node As VisualBasicSyntaxNode, 248Optional parentNode As VisualBasicSyntaxNode = Nothing, 255Private Shared Function IsNotNothingAndContains(nodeOpt As VisualBasicSyntaxNode, position As Integer) As Boolean
Binding\BinderFactory.vb (12)
29Private ReadOnly _cache As ConcurrentDictionary(Of ValueTuple(Of VisualBasicSyntaxNode, Byte), Binder) 43Me._cache = New ConcurrentDictionary(Of ValueTuple(Of VisualBasicSyntaxNode, Byte), Binder) 80Dim parentForEnclosingBinder As VisualBasicSyntaxNode = If(possibleParentBlock IsNot Nothing, possibleParentBlock.Parent, node.Parent) 88Dim parentForEnclosingBinder As VisualBasicSyntaxNode = If(possibleParentBlock IsNot Nothing, possibleParentBlock.Parent, node.Parent) 114node = DirectCast(DirectCast(node, StructuredTriviaSyntax).ParentTrivia.Token.Parent, VisualBasicSyntaxNode) 127Private Function GetBinderForNodeAndUsage(node As VisualBasicSyntaxNode, 129Optional parentNode As VisualBasicSyntaxNode = Nothing, 155Private Function CreateBinderForNodeAndUsage(node As VisualBasicSyntaxNode, 455Dim parent = DirectCast(token.Parent, VisualBasicSyntaxNode) 459Dim nodeForOuterBinder As VisualBasicSyntaxNode = Nothing 570Private Function GetContainingNamedTypeBinderForMemberNode(node As VisualBasicSyntaxNode, containingBinder As Binder) As NamedTypeBinder 668Private Function BuildAttributeBinder(containingBinder As Binder, node As VisualBasicSyntaxNode) As Binder
Binding\DeclarationInitializerBinder.vb (3)
29Private ReadOnly _root As VisualBasicSyntaxNode 38Public Sub New(symbol As Symbol, additionalSymbols As ImmutableArray(Of Symbol), [next] As Binder, root As VisualBasicSyntaxNode) 71Friend ReadOnly Property Root As VisualBasicSyntaxNode
Binding\DocumentationCommentBinder.vb (1)
110Dim parent As VisualBasicSyntaxNode = attr.Parent
Binding\DocumentationCommentCrefBinder.vb (2)
306Dim parent As VisualBasicSyntaxNode = name.Parent 418Dim node As VisualBasicSyntaxNode = nameFromCref
Binding\DocumentationCommentCrefBinder_Compat.vb (1)
42Dim name As VisualBasicSyntaxNode = nameFromCref.Parent
Binding\ForOrForEachBlockBinder.vb (1)
44Dim controlVariableSyntax As VisualBasicSyntaxNode
Binding\InitializerSemanticModel.vb (5)
16Friend Sub New(root As VisualBasicSyntaxNode, 53Dim initSyntax As VisualBasicSyntaxNode = declarator.AsClause 65Dim initSyntax As VisualBasicSyntaxNode = declSyntax.AsClause 181Dim initSyntax As VisualBasicSyntaxNode = declarator.AsClause 191Dim initSyntax As VisualBasicSyntaxNode = declSyntax.AsClause
Binding\LocalBinderBuilder.vb (3)
14''' <see cref="VisualBasicSyntaxNode"/>. To do so it traverses all the statements, handling blocks and other 22''' which also creates a map from <see cref="VisualBasicSyntaxNode"/> to <see cref="Binder"/>. That type owns it's binders 80Private Sub RememberBinder(node As VisualBasicSyntaxNode, binder As Binder)
Binding\MemberSemanticModel.vb (21)
171Friend Function GetLowerBoundNode(node As VisualBasicSyntaxNode) As BoundNode 185Protected Function GetBindableParent(node As VisualBasicSyntaxNode) As VisualBasicSyntaxNode 186Dim parent As VisualBasicSyntaxNode = node.Parent 214Friend Function GetBoundNodeSummary(node As VisualBasicSyntaxNode) As BoundNodeSummary 218Dim parentSyntax As VisualBasicSyntaxNode = GetBindableParent(node) 232Dim parentSyntax As VisualBasicSyntaxNode = GetBindableParent(node) 511Dim parent As VisualBasicSyntaxNode = parameter.Parent 576Dim parent As VisualBasicSyntaxNode = identifierSyntax.Parent 839Friend Overrides Function GetOperationWorker(node As VisualBasicSyntaxNode, cancellationToken As CancellationToken) As IOperation 1137Private ReadOnly _targetSyntax As VisualBasicSyntaxNode 1141Private Sub New(targetSyntax As VisualBasicSyntaxNode, targetBoundKind As BoundKind) 1146Public Shared Function FindIn(context As BoundNode, targetSyntax As VisualBasicSyntaxNode, targetBoundKind As BoundKind) As BoundNode 1274Return GetEnclosingBinderInternal(memberBinder, binderRoot, DirectCast(trivia.Token.Parent, VisualBasicSyntaxNode), position) 1655Private Function GetQueryClauseLambdaBinders(node As VisualBasicSyntaxNode) As ImmutableArray(Of Binder) 1754Dim parent As VisualBasicSyntaxNode = expression.Parent 1781Private Sub AssertIfShouldHaveFound(node As VisualBasicSyntaxNode) 1788Private Function ShouldHaveFound(node As VisualBasicSyntaxNode, Optional guard As Boolean = False) As Boolean 1798Dim child As VisualBasicSyntaxNode = node 1799Dim parent As VisualBasicSyntaxNode = node.Parent 1986node = DirectCast(trivia.Token.Parent, VisualBasicSyntaxNode)
Binding\MethodBodySemanticModel.vb (1)
31Friend Shared Function CreateSpeculative(parentSemanticModel As SyntaxTreeSemanticModel, root As VisualBasicSyntaxNode, binder As Binder, position As Integer) As SpeculativeSemanticModelWithMemberModel
Binding\ProjectImportsBinder.vb (1)
35Public Overrides Function GetSyntaxReference(node As VisualBasicSyntaxNode) As SyntaxReference
Binding\SourceFileBinder.vb (1)
35Public Overrides Function GetSyntaxReference(node As VisualBasicSyntaxNode) As SyntaxReference
Binding\SpeculativeBinder.vb (1)
36Public Overrides Function GetSyntaxReference(node As VisualBasicSyntaxNode) As SyntaxReference
Binding\SpeculativeMemberSemanticModel.vb (1)
19Public Sub New(parentSemanticModel As SpeculativeSemanticModelWithMemberModel, root As VisualBasicSyntaxNode, binder As Binder)
Binding\SpeculativeStatementBinder.vb (1)
27Public Sub New(root As VisualBasicSyntaxNode, containingBinder As Binder)
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (1)
23Dim syntax = DirectCast(VisualBasic.VisualBasicSyntaxTree.Dummy.GetRoot(), VisualBasicSyntaxNode)
CodeGen\EmitStatement.vb (2)
296DefineLocal(localOpt, If(Not declNodes.IsEmpty, DirectCast(declNodes(0).GetSyntax(), VisualBasicSyntaxNode), catchBlock.Syntax)) 1161syntaxNodeOpt:=DirectCast(syntaxNode, VisualBasicSyntaxNode), diagnostics:=assertDiagnostics))
Compilation\DocumentationComments\DocumentationCommentWalker.vb (1)
302Dim reference As VisualBasicSyntaxNode = crefAttribute.Reference
Compilation\DocumentationComments\UnprocessedDocumentationCommentFinder.vb (2)
140Dim parent As VisualBasicSyntaxNode = DirectCast(trivia.Token.Parent, VisualBasicSyntaxNode)
Compilation\SemanticModel.vb (13)
116Friend Function CanGetSemanticInfo(node As VisualBasicSyntaxNode, Optional allowNamedArgumentName As Boolean = False) As Boolean 141Dim vbnode = DirectCast(node, VisualBasicSyntaxNode) 147Friend Overridable Function GetOperationWorker(node As VisualBasicSyntaxNode, cancellationToken As CancellationToken) As IOperation 581Friend Sub CheckSyntaxNode(node As VisualBasicSyntaxNode) 591Private Sub CheckModelAndSyntaxNodeToSpeculate(node As VisualBasicSyntaxNode) 625Dim trivia As StructuredTriviaSyntax = DirectCast(token.Parent, VisualBasicSyntaxNode).EnclosingStructuredTrivia 626If trivia Is Nothing OrElse Not IsInCrefOrNameAttributeInterior(DirectCast(token.Parent, VisualBasicSyntaxNode)) Then 646Return DirectCast(token.Parent, VisualBasicSyntaxNode) 661Friend Shared Function IsInCrefOrNameAttributeInterior(node As VisualBasicSyntaxNode) As Boolean 680Dim parent As VisualBasicSyntaxNode = node.Parent 3251Dim node = DirectCast(declaration, VisualBasicSyntaxNode) 3591Friend Function GetMessage(node As VisualBasicSyntaxNode) As String 3596Friend Function GetMessage(node As VisualBasicSyntaxNode, position As Integer) As String
Compilation\SpeculativeSemanticModelWithMemberModel.vb (2)
53Friend Sub New(parentSemanticModel As SyntaxTreeSemanticModel, position As Integer, root As VisualBasicSyntaxNode, binder As Binder) 233Friend Overrides Function GetOperationWorker(node As VisualBasicSyntaxNode, cancellationToken As CancellationToken) As IOperation
Compilation\SyntaxTreeSemanticModel.vb (18)
58Return DirectCast(_syntaxTree.GetRoot(), VisualBasicSyntaxNode) 355Friend Overrides Function GetOperationWorker(node As VisualBasicSyntaxNode, cancellationToken As CancellationToken) As IOperation 474Private Function GetSymbolInfoForCrefOrNameAttributeReference(node As VisualBasicSyntaxNode, options As SymbolInfoOptions) As SymbolInfo 543Private Function GetCrefOrNameAttributeReferenceSymbols(node As VisualBasicSyntaxNode, 562Dim parent As VisualBasicSyntaxNode = node.Parent 866Private Function CheckSymbolLocationsAgainstSyntax(symbol As NamedTypeSymbol, nodeToCheck As VisualBasicSyntaxNode) As NamedTypeSymbol 1556Dim expressionParent As VisualBasicSyntaxNode = expression.Parent 1583Dim argList As VisualBasicSyntaxNode = expressionParent.Parent 1585Dim modIdentifier As VisualBasicSyntaxNode = argList.Parent 1587Dim varDeclarator As VisualBasicSyntaxNode = modIdentifier.Parent 1602Private Shared Function IsNodeInsideAttributeArguments(node As VisualBasicSyntaxNode) As Boolean 1619Dim currentNode As VisualBasicSyntaxNode = expression 1621Dim parent As VisualBasicSyntaxNode = currentNode.Parent 1706Private Sub AssertNodeInTree(node As VisualBasicSyntaxNode, argName As String) 1730Dim parent As VisualBasicSyntaxNode = expression.Parent 1748Dim possibleSecondLevelInitializer As VisualBasicSyntaxNode = parent 1752Dim possibleFirstLevelInitializer As VisualBasicSyntaxNode = parent 1816Private Function IsNotUppermostForBlock(forBlockOrStatement As VisualBasicSyntaxNode) As Boolean
Declarations\DeclarationTreeBuilder.vb (4)
44Private Function VisitNamespaceChildren(node As VisualBasicSyntaxNode, members As SyntaxList(Of StatementSyntax)) As ImmutableArray(Of SingleNamespaceOrTypeDeclaration) 55Private Function VisitNamespaceChildren(node As VisualBasicSyntaxNode, 115Private Function CreateImplicitClass(parent As VisualBasicSyntaxNode, memberNames As ImmutableHashSet(Of String), children As ImmutableArray(Of SingleTypeDeclaration), declFlags As SingleTypeDeclaration.TypeDeclarationFlags) As SingleNamespaceOrTypeDeclaration 131Private Function CreateScriptClass(parent As VisualBasicSyntaxNode, children As ImmutableArray(Of SingleTypeDeclaration), memberNames As ImmutableHashSet(Of String), declFlags As SingleTypeDeclaration.TypeDeclarationFlags) As SingleNamespaceOrTypeDeclaration
Emit\ArrayTypeSymbolAdapter.vb (1)
22Dim type = moduleBeingBuilt.Translate(AdaptedArrayTypeSymbol.ElementType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
Emit\AttributeDataAdapter.vb (5)
35syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics) 56Return moduleBeingBuilt.Translate(AttributeClass, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics) 107Dim syntaxNodeOpt = DirectCast(context.SyntaxNode, VisualBasicSyntaxNode) 115Return moduleBeingBuilt.CreateConstant(DirectCast(type, TypeSymbol), value, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics) 130Return New MetadataNamedArgument(sym, moduleBeingBuilt.Translate(type, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics), value)
Emit\CustomModifierAdapter.vb (1)
20Return DirectCast(context.Module, PEModuleBuilder).Translate(Me.ModifierSymbol, DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), context.Diagnostics)
Emit\EventSymbolAdapter.vb (1)
90Return (DirectCast(context.Module, PEModuleBuilder)).Translate(AdaptedEventSymbol.Type, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
Emit\FieldSymbolAdapter.vb (3)
33Dim type = moduleBeingBuilt.Translate(AdaptedFieldSymbol.Type, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics) 83Return moduleBeingBuilt.Translate(AdaptedFieldSymbol.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics, needDeclaration:=AdaptedFieldSymbol.IsDefinition) 127Return DirectCast(context.Module, PEModuleBuilder).CreateConstant(AdaptedFieldSymbol.Type, AdaptedFieldSymbol.ConstantValue, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
Emit\GenericMethodInstanceReference.vb (2)
30Select moduleBeingBuilt.Translate(arg, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics) 38DirectCast(context.SyntaxNode, VisualBasicSyntaxNode),
Emit\GenericNestedTypeInstanceReference.vb (1)
23Return (DirectCast(context.Module, PEModuleBuilder)).Translate(m_UnderlyingNamedType.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
Emit\GenericTypeInstanceReference.vb (2)
44builder.Add(moduleBeingBuilt.Translate(t, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)) 53Return moduleBeingBuilt.Translate(m_UnderlyingNamedType.OriginalDefinition, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode),
Emit\MethodReference.vb (1)
89Return moduleBeingBuilt.Translate(returnType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
Emit\MethodSymbolAdapter.vb (6)
68Return moduleBeingBuilt.Translate(AdaptedMethodSymbol.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics) 70Dim privateImplClass = moduleBeingBuilt.GetPrivateImplClass(syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics) 75Return moduleBeingBuilt.Translate(AdaptedMethodSymbol.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics, needDeclaration:=True) 202Return moduleBeingBuilt.Translate(returnType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics) 211Select moduleBeingBuilt.Translate(arg, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics) 223DirectCast(context.SyntaxNode, VisualBasicSyntaxNode),
Emit\NamedTypeSymbolAdapter.vb (8)
243Return moduleBeingBuilt.Translate(baseType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics) 314moduleBeingBuilt.TranslateOverriddenMethodReference(implemented, DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), context.Diagnostics))) 321moduleBeingBuilt.TranslateOverriddenMethodReference(implementingMethod.OverriddenMethod, DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), context.Diagnostics))) 329moduleBeingBuilt.TranslateOverriddenMethodReference(comMethod, DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), context.Diagnostics))) 424syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), 807Return moduleBeingBuilt.Translate(AdaptedNamedTypeSymbol.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics, needDeclaration:=AdaptedNamedTypeSymbol.IsDefinition) 840Dim arg = moduleBeingBuilt.Translate(arguments(i), syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics) 863Return moduleBeingBuilt.Translate(AdaptedNamedTypeSymbol.OriginalDefinition, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode),
Emit\NoPia\EmbeddedType.vb (1)
113DirectCast(context.SyntaxNode, VisualBasicSyntaxNode),
Emit\ParameterSymbolAdapter.vb (2)
48Return moduleBeingBuilt.Translate(paramType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics) 64Return DirectCast(context.Module, PEModuleBuilder).CreateConstant(AdaptedParameterSymbol.Type, AdaptedParameterSymbol.ExplicitDefaultConstantValue.Value, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
Emit\ParameterTypeInformation.vb (1)
42Return moduleBeingBuilt.Translate(paramType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
Emit\PropertySymbolAdapter.vb (1)
149Return (DirectCast(context.Module, PEModuleBuilder)).Translate(AdaptedPropertySymbol.Type, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
Emit\SpecializedFieldReference.vb (1)
55Dim type = DirectCast(context.Module, PEModuleBuilder).Translate(_underlyingField.Type, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
Emit\SpecializedGenericMethodInstanceReference.vb (1)
37Select moduleBeingBuilt.Translate(arg, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
Emit\SpecializedGenericNestedTypeInstanceReference.vb (2)
39builder.Add(moduleBeingBuilt.Translate(t, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)) 48Return moduleBeingBuilt.Translate(m_UnderlyingNamedType.OriginalDefinition, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode),
Emit\SpecializedNestedTypeReference.vb (2)
26Dim result = (DirectCast(context.Module, PEModuleBuilder)).Translate(m_UnderlyingNamedType.OriginalDefinition, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), 37Return (DirectCast(context.Module, PEModuleBuilder)).Translate(m_UnderlyingNamedType.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
Emit\SymbolTranslator.vb (1)
374Friend Overloads Function TranslateOverriddenMethodReference(methodSymbol As MethodSymbol, syntaxNodeOpt As VisualBasicSyntaxNode, diagnostics As DiagnosticBag) As Microsoft.Cci.IMethodReference
Emit\TypeMemberReference.vb (1)
16Return moduleBeingBuilt.Translate(UnderlyingSymbol.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
Emit\TypeParameterSymbolAdapter.vb (2)
210syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), 218DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), context.Diagnostics)
Errors\DiagnosticBagExtensions.vb (1)
60node As VisualBasicSyntaxNode,
Generated\Syntax.xml.Main.Generated.vb (11)
3481Dim newControlVariable = DirectCast(Visit(node.ControlVariable), VisualBasicSyntaxNode) 3523Dim newControlVariable = DirectCast(Visit(node.ControlVariable), VisualBasicSyntaxNode) 4223Dim newBody = DirectCast(Visit(node.Body), VisualBasicSyntaxNode) 19157Public Shared Function ForStatement(forKeyword As SyntaxToken, controlVariable As VisualBasicSyntaxNode, equalsToken As SyntaxToken, fromValue As ExpressionSyntax, toKeyword As SyntaxToken, toValue As ExpressionSyntax, stepClause As ForStepClauseSyntax) As ForStatementSyntax 19537Public Shared Function ForStatement(controlVariable As VisualBasicSyntaxNode, fromValue As ExpressionSyntax, toValue As ExpressionSyntax, stepClause As ForStepClauseSyntax) As ForStatementSyntax 19562Public Shared Function ForStatement(controlVariable As VisualBasicSyntaxNode, fromValue As ExpressionSyntax, toValue As ExpressionSyntax) As ForStatementSyntax 19736Public Shared Function ForEachStatement(forKeyword As SyntaxToken, eachKeyword As SyntaxToken, controlVariable As VisualBasicSyntaxNode, inKeyword As SyntaxToken, expression As ExpressionSyntax) As ForEachStatementSyntax 19999Public Shared Function ForEachStatement(controlVariable As VisualBasicSyntaxNode, expression As ExpressionSyntax) As ForEachStatementSyntax 35666Public Shared Function SingleLineFunctionLambdaExpression(subOrFunctionHeader As LambdaHeaderSyntax, body As VisualBasicSyntaxNode) As SingleLineLambdaExpressionSyntax 35960Public Shared Function SingleLineSubLambdaExpression(subOrFunctionHeader As LambdaHeaderSyntax, body As VisualBasicSyntaxNode) As SingleLineLambdaExpressionSyntax 36259Public Shared Function SingleLineLambdaExpression(ByVal kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, body As VisualBasicSyntaxNode) As SingleLineLambdaExpressionSyntax
Generated\Syntax.xml.Syntax.Generated.vb (22)
19024Friend _controlVariable as VisualBasicSyntaxNode 19061Public ReadOnly Property ControlVariable As VisualBasicSyntaxNode 19067Friend Overridable Function GetControlVariableCore() As VisualBasicSyntaxNode 19076Public Function WithControlVariable(controlVariable As VisualBasicSyntaxNode) As ForOrForEachStatementSyntax 19079Friend MustOverride Function WithControlVariableCore(controlVariable As VisualBasicSyntaxNode) As ForOrForEachStatementSyntax 19110Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forKeyword As InternalSyntax.KeywordSyntax, controlVariable As VisualBasicSyntaxNode, equalsToken As InternalSyntax.PunctuationSyntax, fromValue As ExpressionSyntax, toKeyword As InternalSyntax.KeywordSyntax, toValue As ExpressionSyntax, stepClause As ForStepClauseSyntax) 19146Public Shadows ReadOnly Property ControlVariable As VisualBasicSyntaxNode 19152Friend Overrides Function GetControlVariableCore() As VisualBasicSyntaxNode 19156Friend Overrides Function WithControlVariableCore(controlVariable As VisualBasicSyntaxNode) As ForOrForEachStatementSyntax 19165Public Shadows Function WithControlVariable(controlVariable as VisualBasicSyntaxNode) As ForStatementSyntax 19326Public Function Update(forKeyword As SyntaxToken, controlVariable As VisualBasicSyntaxNode, equalsToken As SyntaxToken, fromValue As ExpressionSyntax, toKeyword As SyntaxToken, toValue As ExpressionSyntax, stepClause As ForStepClauseSyntax) As ForStatementSyntax 19477Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), forKeyword As InternalSyntax.KeywordSyntax, eachKeyword As InternalSyntax.KeywordSyntax, controlVariable As VisualBasicSyntaxNode, inKeyword As InternalSyntax.KeywordSyntax, expression As ExpressionSyntax) 19531Public Shadows ReadOnly Property ControlVariable As VisualBasicSyntaxNode 19537Friend Overrides Function GetControlVariableCore() As VisualBasicSyntaxNode 19541Friend Overrides Function WithControlVariableCore(controlVariable As VisualBasicSyntaxNode) As ForOrForEachStatementSyntax 19550Public Shadows Function WithControlVariable(controlVariable as VisualBasicSyntaxNode) As ForEachStatementSyntax 19640Public Function Update(forKeyword As SyntaxToken, eachKeyword As SyntaxToken, controlVariable As VisualBasicSyntaxNode, inKeyword As SyntaxToken, expression As ExpressionSyntax) As ForEachStatementSyntax 25927Friend _body as VisualBasicSyntaxNode 25935Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionHeader As LambdaHeaderSyntax, body As VisualBasicSyntaxNode) 25970Public ReadOnly Property Body As VisualBasicSyntaxNode 25980Public Shadows Function WithBody(body as VisualBasicSyntaxNode) As SingleLineLambdaExpressionSyntax 26028Public Function Update(kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, body As VisualBasicSyntaxNode) As SingleLineLambdaExpressionSyntax
Lowering\Instrumentation\DebugInfoInjector.vb (1)
224Dim syntax As VisualBasicSyntaxNode = Nothing
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (1)
383syntaxNode As VisualBasicSyntaxNode,
Scanner\Blender.vb (3)
42Private ReadOnly _baseTreeRoot As VisualBasic.VisualBasicSyntaxNode 92Private Shared Function ExpandToNearestStatements(root As VisualBasic.VisualBasicSyntaxNode, span As TextSpan) As TextSpan 154Private Shared Function ExpandByLookAheadAndBehind(root As VisualBasic.VisualBasicSyntaxNode, span As TextSpan) As TextSpan
Semantics\AccessCheck.vb (1)
1108errorLocation As VisualBasicSyntaxNode,
Semantics\StatementSyntaxWalker.vb (1)
22Public Overridable Sub VisitList(list As IEnumerable(Of VisualBasicSyntaxNode))
Symbols\ConstantValueUtils.vb (2)
34Dim initValueSyntax As VisualBasicSyntaxNode = equalsValueOrAsNewNodeRef.GetVisualBasicSyntax() 55equalsValueOrAsNewSyntax As VisualBasicSyntaxNode,
Symbols\LexicalSortKey.vb (1)
138Public Sub New(node As VisualBasicSyntaxNode, compilation As VisualBasicCompilation)
Symbols\PreprocessingSymbol.vb (1)
36Return GetDeclaringSyntaxReferenceHelper(Of VisualBasicSyntaxNode)(Locations)
Symbols\Source\QuickAttributeChecker.vb (1)
112Dim node As VisualBasicSyntaxNode = typeSyntax
Symbols\Source\RangeVariableSymbol.vb (13)
24Public MustOverride ReadOnly Property Syntax As VisualBasicSyntaxNode 142syntax As VisualBasicSyntaxNode, 150syntax As VisualBasicSyntaxNode, 177Public Overrides ReadOnly Property Syntax As VisualBasicSyntaxNode 179Return DirectCast(_identifierToken.Parent, VisualBasicSyntaxNode) 191Dim parent As VisualBasicSyntaxNode 192Dim grandParent As VisualBasicSyntaxNode = Nothing 193Dim ggParent As VisualBasicSyntaxNode = Nothing 194parent = DirectCast(_identifierToken.Parent, VisualBasicSyntaxNode) 241Private ReadOnly _syntax As VisualBasicSyntaxNode 245syntax As VisualBasicSyntaxNode, 253Public Overrides ReadOnly Property Syntax As VisualBasicSyntaxNode 285syntax As VisualBasicSyntaxNode,
Symbols\Source\SourceDelegateMethodSymbol.vb (7)
29syntax As VisualBasicSyntaxNode, 66syntax As VisualBasicSyntaxNode, 108Private Shared Function BindReturnType(syntax As VisualBasicSyntaxNode, binder As Binder, diagnostics As BindingDiagnosticBag) As TypeSymbol 218syntax As VisualBasicSyntaxNode, 249syntax As VisualBasicSyntaxNode, 278syntax As VisualBasicSyntaxNode, 324syntax As VisualBasicSyntaxNode,
Symbols\Source\SourceEnumConstantSymbol.vb (1)
45Friend NotOverridable Overrides ReadOnly Property DeclarationSyntax As VisualBasicSyntaxNode
Symbols\Source\SourceFieldSymbol.vb (3)
89Friend ReadOnly Property Syntax As VisualBasicSyntaxNode 95Friend MustOverride ReadOnly Property DeclarationSyntax As VisualBasicSyntaxNode 101Friend Overridable ReadOnly Property EqualsValueOrAsNewInitOpt As VisualBasicSyntaxNode
Symbols\Source\SourceMemberContainerTypeSymbol.vb (2)
2654Dim equalsValueOrAsNewSyntax As VisualBasicSyntaxNode 3786Dim declaringSyntax = Me.GetDeclaringSyntaxNode(Of VisualBasicSyntaxNode)()
Symbols\Source\SourceMemberFieldSymbol.vb (6)
45Friend NotOverridable Overrides ReadOnly Property DeclarationSyntax As VisualBasicSyntaxNode 165Dim initializerSyntax As VisualBasicSyntaxNode = declarator.Initializer 309Friend NotOverridable Overrides ReadOnly Property EqualsValueOrAsNewInitOpt As VisualBasicSyntaxNode 388Friend Overrides ReadOnly Property EqualsValueOrAsNewInitOpt As VisualBasicSyntaxNode 517Dim initializerSyntax As VisualBasicSyntaxNode = Nothing 534DirectCast(declarator, VisualBasicSyntaxNode)),
Symbols\Source\SourceMethodSymbol.vb (1)
860Private Shared Function GetMethodLocationFromSyntax(node As VisualBasicSyntaxNode) As TextSpan
Symbols\Source\SourceNamedTypeSymbol.vb (11)
128Friend Function GetTypeIdentifierToken(node As VisualBasicSyntaxNode) As SyntaxToken 170Dim firstNode As VisualBasicSyntaxNode = Nothing 226node As VisualBasicSyntaxNode, 281Private Function CheckDeclarationModifiers(node As VisualBasicSyntaxNode, 401Private Function DecodeDeclarationModifiers(node As VisualBasicSyntaxNode, 469Private Sub CheckDeclarationNameAndTypeParameters(node As VisualBasicSyntaxNode, 633node As VisualBasicSyntaxNode, 634firstNode As VisualBasicSyntaxNode, 940Private Shared Function GetTypeParameterListSyntax(syntax As VisualBasicSyntaxNode) As TypeParameterListSyntax 996syntaxNode As VisualBasicSyntaxNode, 1025syntaxNode As VisualBasicSyntaxNode,
Symbols\Source\SourceNamespaceSymbol.vb (1)
380Dim node As VisualBasicSyntaxNode = syntaxRef.GetVisualBasicSyntax(cancellationToken)
Symbols\Source\SourceParameterSymbol.vb (1)
391Protected Sub VerifyParamDefaultValueMatchesAttributeIfAny(value As ConstantValue, syntax As VisualBasicSyntaxNode, diagnostics As BindingDiagnosticBag)
Symbols\Source\SourcePropertySymbol.vb (2)
243DirectCast(identifier.Parent, VisualBasicSyntaxNode), 1012Friend ReadOnly Property Syntax As VisualBasicSyntaxNode
Symbols\Source\SynthesizedEntryPointSymbol.vb (2)
189Private Function GetSyntax() As VisualBasicSyntaxNode 207Private Shared Function CreateParameterlessCall(syntax As VisualBasicSyntaxNode, receiver As BoundExpression, method As MethodSymbol) As BoundCall
Symbols\Source\SynthesizedEventAccessorSymbol.vb (1)
125DirectCast(eventSymbol.SyntaxReference.GetSyntax(), VisualBasicSyntaxNode),
Symbols\Source\SynthesizedInteractiveInitializerMethod.vb (1)
131Return DirectCast(_syntaxReference.GetSyntax(), VisualBasicSyntaxNode)
Symbols\Source\SynthesizedMainTypeEntryPoint.vb (1)
24Public Sub New(syntaxNode As VisualBasicSyntaxNode, container As SourceNamedTypeSymbol)
Symbols\Symbol.vb (7)
366Friend Shared Function GetDeclaringSyntaxNodeHelper(Of TNode As VisualBasicSyntaxNode)(locations As ImmutableArray(Of Location)) As ImmutableArray(Of VisualBasicSyntaxNode) 368Return ImmutableArray(Of VisualBasicSyntaxNode).Empty 370Dim builder As ArrayBuilder(Of VisualBasicSyntaxNode) = ArrayBuilder(Of VisualBasicSyntaxNode).GetInstance() 375Dim node As VisualBasicSyntaxNode = token.Parent.FirstAncestorOrSelf(Of TNode)() 390Friend Shared Function GetDeclaringSyntaxReferenceHelper(Of TNode As VisualBasicSyntaxNode)(locations As ImmutableArray(Of Location)) As ImmutableArray(Of SyntaxReference)
Symbols\SymbolExtensions.vb (1)
417Friend Function GetDeclaringSyntaxNode(Of T As VisualBasicSyntaxNode)(this As Symbol) As T
Symbols\SynthesizedSymbols\SynthesizedConstructorBase.vb (1)
207Return If(m_syntaxReference Is Nothing, Nothing, DirectCast(m_syntaxReference.GetSyntax(), VisualBasicSyntaxNode))
Symbols\SynthesizedSymbols\SynthesizedRegularMethodBase.vb (2)
20Protected ReadOnly m_SyntaxNode As VisualBasicSyntaxNode 23syntaxNode As VisualBasicSyntaxNode,
Symbols\Tuples\TupleErrorFieldSymbol.vb (1)
102GetDeclaringSyntaxReferenceHelper(Of VisualBasicSyntaxNode)(_locations))
Symbols\Tuples\TupleFieldSymbol.vb (1)
170GetDeclaringSyntaxReferenceHelper(Of VisualBasicSyntaxNode)(_locations))
Symbols\Tuples\TupleTypeSymbol.vb (2)
166Return Symbol.GetDeclaringSyntaxReferenceHelper(Of VisualBasicSyntaxNode)(Me._locations) 571Friend Shared Sub VerifyTupleTypePresent(cardinality As Integer, syntax As VisualBasicSyntaxNode, compilation As VisualBasicCompilation, diagnostics As BindingDiagnosticBag)
Syntax\BaseSyntaxExtensions.vb (3)
21Friend Function ToGreen(node As VisualBasicSyntaxNode) As InternalSyntax.VisualBasicSyntaxNode 35Friend Function ToRed(node As VisualBasicSyntaxNode) As VisualBasicSyntaxNode
Syntax\LambdaUtilities.vb (11)
224Friend Shared Function GetLambdaExpressionLambdaBody(lambda As LambdaExpressionSyntax) As VisualBasicSyntaxNode 228Friend Shared Function GetFromOrAggregateVariableLambdaBody(rangeVariable As CollectionRangeVariableSyntax) As VisualBasicSyntaxNode 232Friend Shared Function GetOrderingLambdaBody(ordering As OrderingSyntax) As VisualBasicSyntaxNode 236Friend Shared Function GetAggregationLambdaBody(aggregation As FunctionAggregationSyntax) As VisualBasicSyntaxNode 240Friend Shared Function GetLetVariableLambdaBody(rangeVariable As ExpressionRangeVariableSyntax) As VisualBasicSyntaxNode 244Friend Shared Function GetSelectLambdaBody(selectClause As SelectClauseSyntax) As VisualBasicSyntaxNode 248Friend Shared Function GetAggregateLambdaBody(aggregateClause As AggregateClauseSyntax) As VisualBasicSyntaxNode 252Friend Shared Function GetGroupByItemsLambdaBody(groupByClause As GroupByClauseSyntax) As VisualBasicSyntaxNode 256Friend Shared Function GetGroupByKeysLambdaBody(groupByClause As GroupByClauseSyntax) As VisualBasicSyntaxNode 260Friend Shared Function GetJoinLeftLambdaBody(joinClause As JoinClauseSyntax) As VisualBasicSyntaxNode 264Friend Shared Function GetJoinRightLambdaBody(joinClause As JoinClauseSyntax) As VisualBasicSyntaxNode
Syntax\StructuredTriviaSyntax.vb (1)
25Dim parent = DirectCast(trivia.Token.Parent, VisualBasicSyntaxNode)
Syntax\SyntaxFacts.vb (2)
79Dim parent As VisualBasicSyntaxNode = node.Parent 1108Dim p As VisualBasicSyntaxNode = TryCast(token.Parent, QueryClauseSyntax)
Syntax\SyntaxNodeExtensions.vb (12)
16Public Function WithAnnotations(Of TNode As VisualBasicSyntaxNode)(node As TNode, ParamArray annotations As SyntaxAnnotation()) As TNode 27Public Function ContainingWithStatement(node As VisualBasicSyntaxNode) As WithStatementSyntax 58Public Sub GetAncestors(Of T As VisualBasicSyntaxNode, C As VisualBasicSyntaxNode)(node As VisualBasicSyntaxNode, result As ArrayBuilder(Of T)) 72Public Function GetAncestorOrSelf(Of T As VisualBasicSyntaxNode)(node As VisualBasicSyntaxNode) As T 204Dim access As VisualBasicSyntaxNode = node 205Dim parent As VisualBasicSyntaxNode = access.Parent 305Public Function AllAreMissing(arguments As IEnumerable(Of VisualBasicSyntaxNode), kind As SyntaxKind) As Boolean 314Public Function AllAreMissingIdentifierName(arguments As IEnumerable(Of VisualBasicSyntaxNode)) As Boolean 376Friend Function EnclosingStructuredTrivia(node As VisualBasicSyntaxNode) As StructuredTriviaSyntax
Syntax\SyntaxNodeFactories.vb (1)
37Return VisualBasicSyntaxTree.Create(DirectCast(root, VisualBasicSyntaxNode), If(DirectCast(options, VisualBasicParseOptions), VisualBasicParseOptions.Default), path, encoding, SourceHashAlgorithm.Sha1)
Syntax\SyntaxNormalizer.vb (1)
863Dim previousNode As VisualBasicSyntaxNode
Syntax\VisualBasicSyntaxNode.vb (9)
74tree = VisualBasicSyntaxTree.CreateWithoutClone(DirectCast(rootCandidate, VisualBasicSyntaxNode)) 118Friend Shadows ReadOnly Property Parent As VisualBasicSyntaxNode 120Return DirectCast(MyBase.Parent, VisualBasicSyntaxNode) 254stack.Push(DirectCast(n.GetStructure, VisualBasicSyntaxNode)) 293Friend Function AddError(err As DiagnosticInfo) As VisualBasicSyntaxNode 313Return DirectCast(result, VisualBasicSyntaxNode) 339Dim d As DirectiveTriviaSyntax = DirectCast(child.AsNode, VisualBasicSyntaxNode).GetFirstDirective(predicate) 365Dim d As DirectiveTriviaSyntax = DirectCast(child.AsNode, VisualBasicSyntaxNode).GetLastDirective(predicate) 470Return SyntaxFactory.AreEquivalent(Me, DirectCast(node, VisualBasicSyntaxNode), topLevel)
Syntax\VisualBasicSyntaxRewriter.vb (2)
36Dim result = DirectCast(node, VisualBasicSyntaxNode).Accept(Me) 62Dim [structure] = DirectCast(trivia.GetStructure(), VisualBasicSyntaxNode)
Syntax\VisualBasicSyntaxTree.ConditionalSymbolsMap.vb (1)
56Friend Shared Function Create(syntaxRoot As VisualBasicSyntaxNode, options As VisualBasicParseOptions) As ConditionalSymbolsMap
Syntax\VisualBasicSyntaxTree.DebuggerSyntaxTree.vb (1)
16Friend Sub New(root As VisualBasicSyntaxNode, text As SourceText, options As VisualBasicParseOptions)
Syntax\VisualBasicSyntaxTree.DummySyntaxTree.vb (3)
75Public Overrides Function GetRoot(Optional cancellationToken As CancellationToken = Nothing) As VisualBasicSyntaxNode 79Public Overrides Function TryGetRoot(ByRef root As VisualBasicSyntaxNode) As Boolean 91Return Create(DirectCast(root, VisualBasicSyntaxNode), DirectCast(options, VisualBasicParseOptions), FilePath, Encoding, ChecksumAlgorithm)
Syntax\VisualBasicSyntaxTree.LazySyntaxTree.vb (7)
21Private _lazyRoot As VisualBasicSyntaxNode 72Public Overrides Function GetRoot(Optional cancellationToken As CancellationToken = Nothing) As VisualBasicSyntaxNode 76Dim root = CloneNodeAsRoot(CType(tree.GetRoot(cancellationToken), VisualBasicSyntaxNode)) 84Public Overrides Function TryGetRoot(ByRef root As VisualBasicSyntaxNode) As Boolean 125DirectCast(root, VisualBasicSyntaxNode), 136Dim root As VisualBasicSyntaxNode = Nothing 162Dim root As VisualBasicSyntaxNode = Nothing
Syntax\VisualBasicSyntaxTree.ParsedSyntaxTree.vb (6)
24Private ReadOnly _root As VisualBasicSyntaxNode 41syntaxRoot As VisualBasicSyntaxNode, 101Public Overrides Function GetRoot(Optional cancellationToken As CancellationToken = Nothing) As VisualBasicSyntaxNode 105Public Overrides Function GetRootAsync(Optional cancellationToken As CancellationToken = Nothing) As Task(Of VisualBasicSyntaxNode) 109Public Overrides Function TryGetRoot(ByRef root As VisualBasicSyntaxNode) As Boolean 150DirectCast(root, VisualBasicSyntaxNode),
Syntax\VisualBasicSyntaxTree.vb (16)
39''' Produces a clone of a <see cref="VisualBasicSyntaxNode"/> which will have current syntax tree as its parent. 41''' Caller must guarantee that if the same instance of <see cref="VisualBasicSyntaxNode"/> makes multiple calls 47Protected Function CloneNodeAsRoot(Of T As VisualBasicSyntaxNode)(node As T) As T 48Return VisualBasicSyntaxNode.CloneNodeAsRoot(node, Me) 54Public MustOverride Shadows Function GetRoot(Optional cancellationToken As CancellationToken = Nothing) As VisualBasicSyntaxNode 63Public Overridable Shadows Function GetRootAsync(Optional cancellationToken As CancellationToken = Nothing) As Task(Of VisualBasicSyntaxNode) 64Dim node As VisualBasicSyntaxNode = Nothing 71Public MustOverride Shadows Function TryGetRoot(ByRef root As VisualBasicSyntaxNode) As Boolean 160Public Shared Function Create(root As VisualBasicSyntaxNode, 180Friend Shared Function Create(root As VisualBasicSyntaxNode, 200Friend Shared Function CreateForDebugger(root As VisualBasicSyntaxNode, text As SourceText, options As VisualBasicParseOptions) As SyntaxTree 207''' Internal helper for <see cref="VisualBasicSyntaxNode"/> class to create a new syntax tree rooted at the given root node. 213Friend Shared Function CreateWithoutClone(root As VisualBasicSyntaxNode) As SyntaxTree 320Return Me.GetDiagnostics(DirectCast(node.Green, InternalSyntax.VisualBasicSyntaxNode), DirectCast(node, VisualBasicSyntaxNode).Position, InDocumentationComment(node)) 551Dim node As VisualBasicSyntaxNode = Nothing 632Public Shared Function Create(root As VisualBasicSyntaxNode,
Syntax\VisualBasicSyntaxVisitor.vb (2)
18DirectCast(node, VisualBasicSyntaxNode).Accept(Me) 38Return DirectCast(node, VisualBasicSyntaxNode).Accept(Me)
Syntax\VisualBasicSyntaxWalker.vb (2)
26DirectCast(node, VisualBasicSyntaxNode).Accept(Me) 80Visit(DirectCast(trivia.GetStructure(), VisualBasicSyntaxNode))
VisualBasicExtensions.vb (8)
254Friend Function GetVisualBasicSyntax(syntaxReference As SyntaxReference, Optional cancellationToken As CancellationToken = Nothing) As VisualBasicSyntaxNode 255Return DirectCast(syntaxReference.GetSyntax(cancellationToken), VisualBasicSyntaxNode) 259Friend Function GetVisualBasicRoot(syntaxTree As SyntaxTree, Optional cancellationToken As CancellationToken = Nothing) As VisualBasicSyntaxNode 260Return DirectCast(syntaxTree.GetRoot(cancellationToken), VisualBasicSyntaxNode) 281Return VisualBasicSyntaxNode.DoGetSyntaxErrors(tree, token) 474Return DirectCast(node, VisualBasicSyntaxNode).GetDirectives(filter) 484Return DirectCast(node, VisualBasicSyntaxNode).GetFirstDirective(predicate) 495Return DirectCast(node, VisualBasicSyntaxNode).GetLastDirective(predicate)