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