Base:
method
TryGetValue
Roslyn.Utilities.ValueSource<T>.TryGetValue(out T)
7 references to TryGetValue
Microsoft.CodeAnalysis.Features (1)
DesignerAttribute\DesignerAttributeDiscoveryService.cs (1)
234if (lazyHasDesignerCategoryType.TryGetValue(out var hasDesignerCategoryType) && !hasDesignerCategoryType)
Microsoft.CodeAnalysis.Workspaces (5)
AsyncLazy`1.cs (1)
192if (TryGetValue(out var value))
Workspace\Solution\LoadableTextAndVersionSource.cs (1)
67=> GetLazyValue(options).TryGetValue(out value);
Workspace\Solution\ProjectState.cs (3)
196if (_lazyLatestDocumentTopLevelChangeVersion.TryGetValue(out var oldVersion)) 943if (!_lazyLatestDocumentVersion.TryGetValue(out var documentVersion) || documentVersion == oldVersion) 948if (!_lazyLatestDocumentTopLevelChangeVersion.TryGetValue(out var semanticVersion) || semanticVersion == oldVersion)
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\FileChangeTracker.cs (1)
85return cookie != s_none && cookie.TryGetValue(out _);