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)) 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) 622if (TreeSource != null && TreeSource.TryGetValue(out var treeAndVersion) && treeAndVersion != null) 641if (TreeSource.TryGetValue(out var treeAndVersion) && treeAndVersion != null)