17 references to ParseSyntaxTree
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\TestWorkspace_XmlConsumption.cs (1)
995return Microsoft.CodeAnalysis.VisualBasic.SyntaxFactory.ParseSyntaxTree(sourceText, options);
Microsoft.CodeAnalysis.Scripting.TestUtilities (1)
TestCompilationFactory.cs (1)
33new[] { VisualBasic.SyntaxFactory.ParseSyntaxTree(SourceText.From(source, encoding: null, SourceHashAlgorithms.Default)) },
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\SyntaxNodeFactories.vb (1)
79Return ParseSyntaxTree(SourceText.From(text, encoding), options, path, diagnosticOptions, cancellationToken)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.UnitTests (1)
Utils.vb (1)
15Return SyntaxFactory.ParseSyntaxTree(text)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (4)
Completion\CompletionProviders\AbstractContextTests.vb (2)
28Dim tree = SyntaxFactory.ParseSyntaxTree(SourceText.From(text)) 46Dim tree = SyntaxFactory.ParseSyntaxTree(SourceText.From(text))
Recommendations\RecommendationTestHelpers.vb (1)
33Dim tree = DirectCast(SyntaxFactory.ParseSyntaxTree(SourceText.From(source), parseOptions), VisualBasicSyntaxTree)
Utils.vb (1)
15Return SyntaxFactory.ParseSyntaxTree(text)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
PDB\PDBTests.vb (2)
27Dim tree3 = SyntaxFactory.ParseSyntaxTree(SourceText.From("Class C : End Class", encoding:=Nothing), path:="Bar.vb") 45Dim tree4 = SyntaxFactory.ParseSyntaxTree(SourceText.From("Class D" & vbCrLf & "Sub F() : End Sub : End Class", New UTF8Encoding(False, False)), path:="Baz.vb")
Microsoft.CodeAnalysis.VisualBasic.Scripting (2)
VisualBasicScriptCompiler.vb (2)
41Return SyntaxFactory.ParseSyntaxTree(text, If(parseOptions, s_defaultOptions), cancellationToken:=cancellationToken) 63Dim tree = SyntaxFactory.ParseSyntaxTree(script.SourceText, If(script.Options.ParseOptions, s_defaultOptions), script.Options.FilePath)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Syntax\SyntaxTreeTests.vb (2)
126Dim oldTree = SyntaxFactory.ParseSyntaxTree(oldText) 166Dim oldTree = SyntaxFactory.ParseSyntaxTree(oldText, path:="old.vb")
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
BasicTestSource.vb (1)
25Dim tree = SyntaxFactory.ParseSyntaxTree(sourceTest, If(options, TestOptions.RegularLatest), path)
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)
CodeModel\VisualBasicCodeModelService.vb (1)
36Private Shared ReadOnly s_emptyTree As SyntaxTree = SyntaxFactory.ParseSyntaxTree(SourceText.From("", encoding:=Nothing, SourceHashAlgorithms.Default))
ProjectSystemShim\TempPECompiler.TempPEProject.vb (1)
36Return SyntaxFactory.ParseSyntaxTree(SourceText.From(stream), options:=_parseOptions, path:=path)