2 types derived from FileTextLoader
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\WorkspaceFileTextLoader.cs (1)
18internal class WorkspaceFileTextLoader : FileTextLoader
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
SolutionTests\SolutionTests.cs (1)
4347private sealed class TestSmallFileTextLoader : FileTextLoader
1 instantiation of FileTextLoader
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
SolutionTests\SolutionTests.cs (1)
1504solution = solution.AddDocument(DocumentInfo.Create(fileDocumentId, "d.cs", loader: new FileTextLoader(fileD.Path, defaultEncoding: null), filePath: fileD.Path));
5 references to FileTextLoader
Microsoft.CodeAnalysis.Workspaces (4)
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (1)
95var textLoader = _project._projectSystemProjectFactory.CreateFileTextLoader(fullPath);
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (1)
97public FileTextLoader CreateFileTextLoader(string fullPath)
Workspace\Solution\FileTextLoader.cs (1)
68GetType(), _ => new StrongBox<bool>(new Func<Stream, Workspace, SourceText>(CreateText).Method.DeclaringType != typeof(FileTextLoader))).Value;
Workspace\WorkspaceFileTextLoader.cs (1)
15/// <see cref="FileTextLoader"/> that uses workspace services (i.e. <see cref="ITextFactoryService"/>) to load file content.
Microsoft.CodeAnalysis.Workspaces.Desktop (1)
TypeForwarders.cs (1)
10[assembly: TypeForwardedTo(typeof(Microsoft.CodeAnalysis.FileTextLoader))]