1 write to LoadTextOptions
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\TextDocumentState.cs (1)
38LoadTextOptions = loadTextOptions;
30 references to LoadTextOptions
Microsoft.CodeAnalysis.Workspaces (30)
Workspace\Solution\AdditionalDocumentState.cs (3)
40LoadTextOptions); 48LoadTextOptions); 66this.LoadTextOptions);
Workspace\Solution\AnalyzerConfigDocumentState.cs (3)
46LoadTextOptions, 56LoadTextOptions, 76this.LoadTextOptions);
Workspace\Solution\DocumentState.cs (13)
309if (LoadTextOptions == newLoadTextOptions) 361newTree = treeFactory.CreateSyntaxTree(Attributes.SyntaxTreeFilePath, options, text: null, existingTree.Encoding, LoadTextOptions.ChecksumAlgorithm, existingRoot); 371LoadTextOptions, 381LoadTextOptions, 413LoadTextOptions, 428LoadTextOptions, 439LoadTextOptions, 465newTreeSource = CreateLazyIncrementallyParsedTree(TreeSource, newTextSource, LoadTextOptions); 471LoadTextOptions, 483LoadTextOptions, 504var (text, treeAndVersion) = CreateTreeWithLazyText(newRoot, newTextVersion, newTreeVersion, encoding, LoadTextOptions.ChecksumAlgorithm, Attributes, ParseOptions, syntaxTreeFactory); 511LoadTextOptions, 569if (TextAndVersionSource.TryGetValue(LoadTextOptions, out var textAndVersion))
Workspace\Solution\SourceGeneratedDocumentState.cs (1)
188this.LoadTextOptions,
Workspace\Solution\TextDocumentState.cs (10)
82if (this.TextAndVersionSource.TryGetValue(LoadTextOptions, out var textAndVersion)) 95=> TextAndVersionSource.TryGetVersion(LoadTextOptions, out version); 98=> TextAndVersionSource.TryGetValue(LoadTextOptions, out textAndVersion); 116var textAndVersion = this.TextAndVersionSource.GetValue(LoadTextOptions, cancellationToken); 122var textAndVersion = this.TextAndVersionSource.GetValue(LoadTextOptions, cancellationToken); 156var newTextSource = CreateTextAndVersionSource(SolutionServices, loader, FilePath, LoadTextOptions, mode); 188if (this.TextAndVersionSource.TryGetValue(LoadTextOptions, out var textAndVersion)) 194return new ValueTask<TextAndVersion>(TextAndVersionSource.GetValueAsync(LoadTextOptions, cancellationToken)); 203if (this.TextAndVersionSource.TryGetValue(LoadTextOptions, out var textAndVersion)) 212=> this.TextAndVersionSource.GetVersionAsync(LoadTextOptions, cancellationToken);