Workspace\Solution\DocumentState.cs (10)
43ITextAndVersionSource textSource,
62var textSource = CreateTextAndVersionSource(languageServices.SolutionServices, info.TextLoader, info.FilePath, loadTextOptions);
116ITextAndVersionSource newTextSource,
130ITextAndVersionSource newTextSource,
146ITextAndVersionSource newTextSource,
183ITextAndVersionSource newTextSource,
194ITextAndVersionSource newTextSource,
216ITextAndVersionSource newTextSource,
455protected override TextDocumentState UpdateText(ITextAndVersionSource newTextSource, PreservationMode mode, bool incremental)
531static (ITextAndVersionSource, TreeAndVersion) CreateTreeWithLazyText(
Workspace\Solution\TextDocumentState.cs (6)
21public readonly ITextAndVersionSource TextAndVersionSource;
31ITextAndVersionSource textAndVersionSource,
69protected abstract TextDocumentState UpdateText(ITextAndVersionSource newTextSource, PreservationMode mode, bool incremental);
156var newTextSource = CreateTextAndVersionSource(SolutionServices, loader, FilePath, LoadTextOptions, mode);
161protected static ITextAndVersionSource CreateTextAndVersionSource(SolutionServices solutionServices, TextLoader? loader, string? filePath, LoadTextOptions loadTextOptions, PreservationMode mode = PreservationMode.PreserveValue)
166private static ITextAndVersionSource CreateTextFromLoader(SolutionServices solutionServices, TextLoader loader, PreservationMode mode)