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