Workspace\Solution\DocumentState.cs (10)
41ITextAndVersionSource textSource,
60var textSource = CreateTextAndVersionSource(languageServices.SolutionServices, info.TextLoader, info.FilePath, loadTextOptions);
114ITextAndVersionSource newTextSource,
128ITextAndVersionSource newTextSource,
144ITextAndVersionSource newTextSource,
181ITextAndVersionSource newTextSource,
192ITextAndVersionSource newTextSource,
214ITextAndVersionSource newTextSource,
453protected override TextDocumentState UpdateText(ITextAndVersionSource newTextSource, PreservationMode mode, bool incremental)
528static (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)