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