1 write to TreeSource
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\DocumentState.cs (1)
53TreeSource = treeSource;
25 references to TreeSource
Microsoft.CodeAnalysis.Workspaces (25)
Workspace\Solution\DocumentState.cs (24)
49Contract.ThrowIfFalse(ParseOptions is null == TreeSource is null); 93[MemberNotNullWhen(true, nameof(TreeSource))] 96=> TreeSource != null; 297return oldState.TreeSource != TreeSource 351TreeSource.TryGetValue(out var existingTreeAndVersion)) 420newTreeSource = TreeSource; 441TreeSource); 465newTreeSource = CreateLazyIncrementallyParsedTree(TreeSource, newTextSource, LoadTextOptions); 542RoslynDebug.Assert(TreeSource != null); 549if (!TreeSource.TryGetValue(out var oldTreeAndVersion) || !oldTreeAndVersion!.Tree.TryGetRoot(out var oldRoot)) 574if (TreeSource != null && TreeSource.TryGetValue(out var treeAndVersion) && treeAndVersion != null) 585if (TreeSource != null && TreeSource.TryGetValue(out var treeAndVersion) && treeAndVersion != null) 599RoslynDebug.Assert(TreeSource != null); 601var treeAndVersion = await TreeSource.GetValueAsync(cancellationToken).ConfigureAwait(false); 611RoslynDebug.Assert(TreeSource != null); 613var treeAndVersion = TreeSource.GetValue(cancellationToken); 622if (TreeSource != null && TreeSource.TryGetValue(out var treeAndVersion) && treeAndVersion != null) 636if (TreeSource == null) 641if (TreeSource.TryGetValue(out var treeAndVersion) && treeAndVersion != null) 646treeAndVersion = await TreeSource.GetValueAsync(cancellationToken).ConfigureAwait(false);
Workspace\Solution\SourceGeneratedDocumentState.cs (1)
189this.TreeSource!,