3 overrides of GetRoot
Microsoft.CodeAnalysis.VisualBasic (3)
Syntax\VisualBasicSyntaxTree.DummySyntaxTree.vb (1)
75Public Overrides Function GetRoot(Optional cancellationToken As CancellationToken = Nothing) As VisualBasicSyntaxNode
Syntax\VisualBasicSyntaxTree.LazySyntaxTree.vb (1)
72Public Overrides Function GetRoot(Optional cancellationToken As CancellationToken = Nothing) As VisualBasicSyntaxNode
Syntax\VisualBasicSyntaxTree.ParsedSyntaxTree.vb (1)
101Public Overrides Function GetRoot(Optional cancellationToken As CancellationToken = Nothing) As VisualBasicSyntaxNode
20 references to GetRoot
Microsoft.CodeAnalysis.VisualBasic (20)
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (1)
23Dim syntax = DirectCast(VisualBasic.VisualBasicSyntaxTree.Dummy.GetRoot(), VisualBasicSyntaxNode)
Compilation\MethodCompiler.vb (1)
813Dim f = New SyntheticBoundNodeFactory(matchingStub, matchingStub, If(method.Syntax, VisualBasic.VisualBasicSyntaxTree.Dummy.GetRoot()), compilationState, BindingDiagnosticBag.Discarded)
Emit\SynthesizedPrivateImplementationDetailsSharedConstructor.vb (1)
65Dim factory As New SyntheticBoundNodeFactory(Me, Me, VisualBasicSyntaxTree.Dummy.GetRoot(), compilationState, diagnostics)
Semantics\TypeInference\TypeInferenceCollection.vb (1)
336Binder.InferDominantTypeOfExpressions(VisualBasicSyntaxTree.Dummy.GetRoot(Nothing), elements, dominantTypeDiagnostics, Nothing)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_EqualsMethodSymbol.vb (1)
20MyBase.New(VisualBasicSyntaxTree.Dummy.GetRoot(), container, WellKnownMemberNames.ObjectEquals)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_GetHashCodeMethodSymbol.vb (1)
16MyBase.New(VisualBasicSyntaxTree.Dummy.GetRoot(), container, WellKnownMemberNames.ObjectGetHashCode)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_IEquatable_EqualsMethodSymbol.vb (1)
20MyBase.New(VisualBasicSyntaxTree.Dummy.GetRoot(), container, WellKnownMemberNames.ObjectEquals)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_ToStringMethodSymbol.vb (1)
20MyBase.New(VisualBasic.VisualBasicSyntaxTree.Dummy.GetRoot(), container, WellKnownMemberNames.ObjectToString)
Symbols\ReducedExtensionMethodSymbol.vb (1)
96New BoundRValuePlaceholder(VisualBasic.VisualBasicSyntaxTree.Dummy.GetRoot(Nothing),
Symbols\Source\SourceAssemblySymbol.vb (1)
325Dim node = tree.GetRoot()
Symbols\Source\SynthesizedEntryPointSymbol.vb (1)
190Return VisualBasicSyntaxTree.Dummy.GetRoot()
Symbols\SynthesizedSymbols\SynthesizedGlobalMethodBase.vb (1)
184Return VisualBasic.VisualBasicSyntaxTree.Dummy.GetRoot()
Symbols\SynthesizedSymbols\SynthesizedSimpleMethodSymbol.vb (1)
31MyBase.New(VisualBasicSyntaxTree.Dummy.GetRoot(), container, name)
Syntax\VisualBasicSyntaxTree.vb (7)
65Return Task.FromResult(If(Me.TryGetRoot(node), node, Me.GetRoot(cancellationToken))) 81Return DirectCast(Me.GetRoot(cancellationToken), CompilationUnitSyntax) 154Friend Shared ReadOnly DummyReference As SyntaxReference = Dummy.GetReference(Dummy.GetRoot()) 361Return Me.GetDiagnostics(Me.GetRoot(cancellationToken).VbGreen, 0, False) 524Return SyntaxDiffer.GetPossiblyDifferentTextSpans(oldTree.GetRoot(), Me.GetRoot()) 543Return Me.GetRoot(CancellationToken) 576Interlocked.CompareExchange(_lazySymbolsMap, ConditionalSymbolsMap.Create(Me.GetRoot(CancellationToken.None), Options), ConditionalSymbolsMap.Uninitialized)