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