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