9 references to ParseSyntaxTree
ConfigurationSchemaGenerator.Tests (2)
GeneratorTests.cs (2)
30private static readonly SyntaxTree s_implicitUsingsSyntaxTree = SyntaxFactory.ParseSyntaxTree(SourceText.From( 1561var sourceSyntaxTree = SyntaxFactory.ParseSyntaxTree(SourceText.From(sourceText));
Microsoft.CodeAnalysis.CSharp (3)
CommandLine\CSharpCompiler.cs (1)
207var tree = SyntaxFactory.ParseSyntaxTree(
Compilation\SyntaxAndDeclarationManager.cs (1)
241var loadedTree = SyntaxFactory.ParseSyntaxTree(
Syntax\CSharpSyntaxTree.LazySyntaxTree.cs (1)
70var tree = SyntaxFactory.ParseSyntaxTree(_text, _options, _path, cancellationToken);
Microsoft.CodeAnalysis.CSharp.Scripting (2)
CSharpScriptCompiler.cs (2)
31=> SyntaxFactory.ParseSyntaxTree(text, parseOptions ?? DefaultParseOptions, cancellationToken: cancellationToken); 47var tree = SyntaxFactory.ParseSyntaxTree(script.SourceText, script.Options.ParseOptions ?? DefaultParseOptions, script.Options.FilePath);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
EmbeddedLanguages\CSharpTestEmbeddedLanguageUtilities.cs (1)
25var testFileTree = SyntaxFactory.ParseSyntaxTree(testFileSourceText, semanticModel.SyntaxTree.Options, cancellationToken: cancellationToken);
Workspace\LanguageServices\CSharpSyntaxTreeFactoryService.cs (1)
67return SyntaxFactory.ParseSyntaxTree(text, options, filePath, cancellationToken: cancellationToken);