1 implementation of TryGetValue
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\VersionSource\SimpleTreeAndVersionSource.cs (1)
32public bool TryGetValue([NotNullWhen(true)] out TreeAndVersion? value)
6 references to TryGetValue
Microsoft.CodeAnalysis.Workspaces (6)
Workspace\Solution\DocumentState.cs (6)
351TreeSource.TryGetValue(out var existingTreeAndVersion)) 564if (!TreeSource.TryGetValue(out var oldTreeAndVersion) || !oldTreeAndVersion!.Tree.TryGetRoot(out var oldRoot)) 589if (TreeSource != null && TreeSource.TryGetValue(out var treeAndVersion) && treeAndVersion != null) 600if (TreeSource != null && TreeSource.TryGetValue(out var treeAndVersion) && treeAndVersion != null) 637if (TreeSource != null && TreeSource.TryGetValue(out var treeAndVersion) && treeAndVersion != null) 656if (TreeSource.TryGetValue(out var treeAndVersion) && treeAndVersion != null)