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))
564
if (!TreeSource.
TryGetValue
(out var oldTreeAndVersion) || !oldTreeAndVersion!.Tree.TryGetRoot(out var oldRoot))
589
if (TreeSource != null && TreeSource.
TryGetValue
(out var treeAndVersion) && treeAndVersion != null)
600
if (TreeSource != null && TreeSource.
TryGetValue
(out var treeAndVersion) && treeAndVersion != null)
637
if (TreeSource != null && TreeSource.
TryGetValue
(out var treeAndVersion) && treeAndVersion != null)
656
if (TreeSource.
TryGetValue
(out var treeAndVersion) && treeAndVersion != null)