4 implementations of TryGetValue
Microsoft.CodeAnalysis.Workspaces (4)
Workspace\Solution\ConstantTextAndVersionSource.cs (1)
33
public bool
TryGetValue
(LoadTextOptions options, [MaybeNullWhen(false)] out TextAndVersion value)
Workspace\Solution\DocumentState_TreeTextSource.cs (1)
41
public bool
TryGetValue
(LoadTextOptions options, [NotNullWhen(true)] out TextAndVersion? value)
Workspace\Solution\VersionSource\LoadableTextAndVersionSource.cs (1)
129
public bool
TryGetValue
(LoadTextOptions options, [MaybeNullWhen(false)] out TextAndVersion value)
Workspace\Solution\VersionSource\RecoverableTextAndVersion.cs (1)
54
public bool
TryGetValue
(LoadTextOptions options, [MaybeNullWhen(false)] out TextAndVersion value)
6 references to TryGetValue
Microsoft.CodeAnalysis.Workspaces (6)
Workspace\Solution\DocumentState.cs (1)
571
if (TextAndVersionSource.
TryGetValue
(LoadTextOptions, out var textAndVersion))
Workspace\Solution\TextDocumentState.cs (4)
82
if (this.TextAndVersionSource.
TryGetValue
(LoadTextOptions, out var textAndVersion))
98
=> TextAndVersionSource.
TryGetValue
(LoadTextOptions, out textAndVersion);
188
if (this.TextAndVersionSource.
TryGetValue
(LoadTextOptions, out var textAndVersion))
209
if (this.TextAndVersionSource.
TryGetValue
(LoadTextOptions, out var textAndVersion))
Workspace\Solution\VersionSource\RecoverableTextAndVersion.cs (1)
57
return source.
TryGetValue
(options, out value);