4 implementations of TryGetValue
Microsoft.CodeAnalysis.Workspaces (4)
Workspace\Solution\ConstantTextAndVersionSource.cs (1)
46
public bool
TryGetValue
(LoadTextOptions options, [MaybeNullWhen(false)] out TextAndVersion value)
Workspace\Solution\DocumentState_TreeTextSource.cs (1)
44
public bool
TryGetValue
(LoadTextOptions options, [NotNullWhen(true)] out TextAndVersion? value)
Workspace\Solution\LoadableTextAndVersionSource.cs (1)
66
public bool
TryGetValue
(LoadTextOptions options, [MaybeNullWhen(false)] out TextAndVersion value)
Workspace\Solution\RecoverableTextAndVersion.cs (1)
58
public bool
TryGetValue
(LoadTextOptions options, [MaybeNullWhen(false)] out TextAndVersion value)
7 references to TryGetValue
Microsoft.CodeAnalysis.Workspaces (7)
Workspace\Solution\DocumentState.cs (1)
587
if (TextAndVersionSource.
TryGetValue
(LoadTextOptions, out var textAndVersion))
Workspace\Solution\RecoverableTextAndVersion.cs (1)
62
return source.
TryGetValue
(options, out value);
Workspace\Solution\TextDocumentState.cs (5)
103
if (this.TextAndVersionSource.
TryGetValue
(LoadTextOptions, out var textAndVersion))
123
if (this.TextAndVersionSource.
TryGetValue
(LoadTextOptions, out var textAndVersion))
136
=> TextAndVersionSource.
TryGetValue
(LoadTextOptions, out textAndVersion);
215
if (this.TextAndVersionSource.
TryGetValue
(LoadTextOptions, out var textAndVersion))
230
if (this.TextAndVersionSource.
TryGetValue
(LoadTextOptions, out var textAndVersion))