12 references to ParseText
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
CSharpCompiler.cs (1)
75
return CSharpSyntaxTree.
ParseText
(
Microsoft.CodeAnalysis.CSharp (2)
Syntax\SyntaxFactory.cs (2)
1566
/// <inheritdoc cref="CSharpSyntaxTree.
ParseText
(SourceText, CSharpParseOptions?, string, CancellationToken)"/>
1573
return CSharpSyntaxTree.
ParseText
(text, (CSharpParseOptions?)options, path, cancellationToken);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\SyntaxTreeTests.cs (1)
86
SyntaxTreeFactoryKind.ParseText => CSharpSyntaxTree.
ParseText
(SourceText.From(source, Encoding.UTF8, SourceHashAlgorithm.Sha256), parseOptions),
Microsoft.CodeAnalysis.Rebuild (1)
CSharpCompilationFactory.cs (1)
45
=> CSharpSyntaxTree.
ParseText
(sourceText, ParseOptions, filePath);
Microsoft.CodeAnalysis.Test.Utilities (7)
Compilation\CompilationExtensions.cs (1)
510
new[] { CSharpSyntaxTree.
ParseText
(SourceText.From(source, encoding: null, SourceHashAlgorithms.Default)) },
Mocks\Silverlight.cs (4)
88
CSharpSyntaxTree.
ParseText
(SourceText.From(TestResources.NetFX.Minimal.mincorlib_cs)),
89
CSharpSyntaxTree.
ParseText
(SourceText.From(corlibExtraCode)),
90
CSharpSyntaxTree.
ParseText
(SourceText.From(assemblyAttributes)),
98
syntaxTrees: [CSharpSyntaxTree.
ParseText
(SourceText.From(assemblyAttributes))],
Mocks\StdOle.cs (2)
75
CSharpSyntaxTree.
ParseText
(SourceText.From(code)),
76
CSharpSyntaxTree.
ParseText
(SourceText.From(assemblyAttributes))