3 types derived from VisualBasicSyntaxTree
Microsoft.CodeAnalysis.VisualBasic (3)
Syntax\VisualBasicSyntaxTree.DummySyntaxTree.vb (1)
14Inherits VisualBasicSyntaxTree
Syntax\VisualBasicSyntaxTree.LazySyntaxTree.vb (1)
15Inherits VisualBasicSyntaxTree
Syntax\VisualBasicSyntaxTree.ParsedSyntaxTree.vb (1)
20Inherits VisualBasicSyntaxTree
56 references to VisualBasicSyntaxTree
Microsoft.CodeAnalysis.VisualBasic (56)
Binding\Binder_Attributes.vb (1)
808DirectCast(cast.SyntaxTree, VisualBasicSyntaxTree).Options.LanguageVersion,
Binding\Binder_Expressions.vb (1)
1102Dim tree = VisualBasicSyntaxTree.ParseText(SourceText.From(codeToParse))
Binding\Binder_Utils.vb (1)
228DirectCast(privateProtectedToken.SyntaxTree, VisualBasicSyntaxTree).Options.LanguageVersion,
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (1)
23Dim syntax = DirectCast(VisualBasic.VisualBasicSyntaxTree.Dummy.GetRoot(), VisualBasicSyntaxNode)
BoundTree\BoundNode.vb (1)
100Return DirectCast(_syntax.SyntaxTree, VisualBasicSyntaxTree)
CommandLine\VisualBasicCompiler.vb (1)
72Dim tree = VisualBasicSyntaxTree.ParseText(
Compilation\DocumentationComments\DocumentationCommentCompiler.Common.vb (1)
685If DirectCast(trivia.SyntaxTree, VisualBasicSyntaxTree).ReportDocumentationCommentDiagnostics() Then
Compilation\MethodCompiler.vb (1)
806Dim f = New SyntheticBoundNodeFactory(matchingStub, matchingStub, If(method.Syntax, VisualBasic.VisualBasicSyntaxTree.Dummy.GetRoot()), compilationState, BindingDiagnosticBag.Discarded)
Compilation\VisualBasicCompilation.vb (9)
167Private _lazyMyTemplate As SyntaxTree = VisualBasicSyntaxTree.Dummy 242If _lazyMyTemplate Is VisualBasicSyntaxTree.Dummy Then 254Debug.Assert(tree IsNot VisualBasicSyntaxTree.Dummy) 257Interlocked.CompareExchange(_lazyMyTemplate, tree, VisualBasicSyntaxTree.Dummy) 266tree = VisualBasicSyntaxTree.ParseText( 276If Interlocked.CompareExchange(_lazyMyTemplate, tree, VisualBasicSyntaxTree.Dummy) Is VisualBasicSyntaxTree.Dummy Then 288Debug.Assert(_lazyMyTemplate Is VisualBasicSyntaxTree.Dummy) 289Debug.Assert(value IsNot VisualBasicSyntaxTree.Dummy)
Emit\SynthesizedPrivateImplementationDetailsSharedConstructor.vb (1)
65Dim factory As New SyntheticBoundNodeFactory(Me, Me, VisualBasicSyntaxTree.Dummy.GetRoot(), compilationState, diagnostics)
Locations\LocationExtensions.vb (1)
38Return DirectCast(location.SourceTree, VisualBasicSyntaxTree)
Locations\VBLocation.vb (1)
32Return DirectCast(Me.SourceTree, VisualBasicSyntaxTree)
OptionsValidator.vb (1)
30Dim tree = VisualBasicSyntaxTree.ParseText(SourceText.From(importFileText), VisualBasicParseOptions.Default, "")
Semantics\TypeInference\TypeInferenceCollection.vb (1)
336Binder.InferDominantTypeOfExpressions(VisualBasicSyntaxTree.Dummy.GetRoot(Nothing), elements, dominantTypeDiagnostics, Nothing)
SourceGeneration\VisualBasicGeneratorDriver.vb (1)
37Return VisualBasicSyntaxTree.ParseTextLazy(input.Text, CType(_state.ParseOptions, VisualBasicParseOptions), fileName)
SymbolDisplay\SymbolDisplayVisitor_Minimal.vb (1)
165Dim sourceFile = sourceModule.TryGetSourceFile(DirectCast(GetSyntaxTree(SemanticModelOpt), VisualBasicSyntaxTree))
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_ConstructorSymbol.vb (1)
19MyBase.New(VisualBasicSyntaxTree.DummyReference, container, False, Nothing, 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\EmbeddedSymbols\EmbeddedSymbolExtensions.vb (1)
29Dim vbTree = TryCast(tree, VisualBasicSyntaxTree)
Symbols\EmbeddedSymbols\EmbeddedSymbolManager.vb (1)
23Return VisualBasicSyntaxTree.ParseText(SourceText.From(text, Encoding.UTF8, SourceHashAlgorithms.Default))
Symbols\LexicalSortKey.vb (2)
116Dim tree = DirectCast(location.PossiblyEmbeddedOrMySourceTree, VisualBasicSyntaxTree) 148Me.New(DirectCast(token.SyntaxTree, VisualBasicSyntaxTree), token.SpanStart, compilation)
Symbols\ReducedExtensionMethodSymbol.vb (1)
89New BoundRValuePlaceholder(VisualBasic.VisualBasicSyntaxTree.Dummy.GetRoot(Nothing),
Symbols\Source\ImplementsHelper.vb (1)
498DirectCast(implementedMemberSyntax.SyntaxTree, VisualBasicSyntaxTree).Options.LanguageVersion,
Symbols\Source\SourceAssemblySymbol.vb (1)
324Dim tree = VisualBasicSyntaxTree.Dummy
Symbols\Source\SourceModuleSymbol.vb (2)
386Dim binder As Binder = BinderBuilder.CreateBinderForProjectImports(Me, VisualBasicSyntaxTree.Dummy) 1023Dim tree = DirectCast(loc.SourceTree, VisualBasicSyntaxTree)
Symbols\Source\SourceNamedTypeSymbol.vb (1)
540If location.IsInSource AndAlso Not DirectCast(location.SourceTree, VisualBasicSyntaxTree).IsEmbeddedSyntaxTree Then
Symbols\Source\SynthesizedEntryPointSymbol.vb (1)
190Return VisualBasicSyntaxTree.Dummy.GetRoot()
Symbols\Source\SynthesizedMyGroupCollectionPropertyAccessorSymbol.vb (1)
74Dim tree = VisualBasicSyntaxTree.ParseText(SourceText.From(codeToParse, Encoding.UTF8, SourceHashAlgorithms.Default))
Symbols\SynthesizedSymbols\SynthesizedGlobalMethodBase.vb (1)
184Return VisualBasic.VisualBasicSyntaxTree.Dummy.GetRoot()
Symbols\SynthesizedSymbols\SynthesizedSimpleConstructorSymbol.vb (1)
20MyBase.New(VisualBasicSyntaxTree.DummyReference, container, False, Nothing, Nothing)
Symbols\SynthesizedSymbols\SynthesizedSimpleMethodSymbol.vb (1)
31MyBase.New(VisualBasicSyntaxTree.Dummy.GetRoot(), container, name)
Syntax\SyntaxNodeFactories.vb (3)
37Return VisualBasicSyntaxTree.Create(DirectCast(root, VisualBasicSyntaxNode), If(DirectCast(options, VisualBasicParseOptions), VisualBasicParseOptions.Default), path, encoding, SourceHashAlgorithm.Sha1) 62Return VisualBasicSyntaxTree.ParseText(text, DirectCast(options, VisualBasicParseOptions), path, cancellationToken) 92Return VisualBasicSyntaxTree.ParseText(text, DirectCast(options, VisualBasicParseOptions), path, diagnosticOptions, cancellationToken)
Syntax\VisualBasicSyntaxNode.vb (1)
74tree = VisualBasicSyntaxTree.CreateWithoutClone(DirectCast(rootCandidate, VisualBasicSyntaxNode))
Syntax\VisualBasicSyntaxTree.vb (2)
46''' <returns>A clone of the original syntax node that has current <see cref="VisualBasicSyntaxTree"/> as its parent.</returns> 152Friend Shared ReadOnly Dummy As VisualBasicSyntaxTree = New DummySyntaxTree()
VisualBasicExtensions.vb (6)
224Dim tree = TryCast(syntaxReference.SyntaxTree, VisualBasicSyntaxTree) 237Dim vbTree = TryCast(syntaxTree, VisualBasicSyntaxTree) 243Dim vbTree = TryCast(syntaxTree, VisualBasicSyntaxTree) 249Dim vbTree = TryCast(syntaxTree, VisualBasicSyntaxTree) 265Dim vbTree = DirectCast(syntaxTree, VisualBasicSyntaxTree) 513Return DirectCast(tree, VisualBasicSyntaxTree).GetWarningState(id, position)