Implemented interface members:
method
TryGetValue
System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>.TryGetValue(TKey, out TValue)
method
TryGetValue
System.Collections.Generic.IDictionary<TKey, TValue>.TryGetValue(TKey, out TValue)
35 references to TryGetValue
Microsoft.Build (1)
VersionUtilities.cs (1)
44
if (versionValues.
TryGetValue
(candidateVersion, out List<string> versionList))
Microsoft.Build.CommandLine.UnitTests (1)
VersionUtilities.cs (1)
44
if (versionValues.
TryGetValue
(candidateVersion, out List<string> versionList))
Microsoft.Build.Tasks.Core (3)
AssemblyFoldersEx.cs (1)
459
if (targetFrameworkVersionToRegistryVersions.
TryGetValue
(candidateVersion, out listOfFrameworks))
ResolveSDKReference.cs (1)
1386
bool containsKey = architectureLocations.
TryGetValue
(architectureComponent, out string architectureLocation);
VersionUtilities.cs (1)
44
if (versionValues.
TryGetValue
(candidateVersion, out List<string> versionList))
Microsoft.Build.Utilities.Core (2)
AssemblyFoldersEx.cs (1)
459
if (targetFrameworkVersionToRegistryVersions.
TryGetValue
(candidateVersion, out listOfFrameworks))
VersionUtilities.cs (1)
44
if (versionValues.
TryGetValue
(candidateVersion, out List<string> versionList))
Microsoft.DotNet.Build.Tasks.Packaging (23)
GetLastStablePackage.cs (1)
148
if (index.Packages.
TryGetValue
(packageId, out info))
PackageIndex.cs (16)
161
if (Packages.
TryGetValue
(otherPackage.Key, out info))
230
if (Packages.
TryGetValue
(assemblyName, out info))
247
if (Packages.
TryGetValue
(packageId, out info))
266
if (Packages.
TryGetValue
(assemblyName, out info))
286
if (Packages.
TryGetValue
(assemblyName, out info))
306
if (Packages.
TryGetValue
(assemblyName, out info))
319
if (Packages.
TryGetValue
(packageId, out info))
332
if (Packages.
TryGetValue
(packageId, out info))
352
if (Packages.
TryGetValue
(packageId, out info))
433
if (AssemblyVersionInPackageVersion.
TryGetValue
(assemblyVersion, out existingPackageVersion))
460
if (!AssemblyVersionInPackageVersion.
TryGetValue
(assemblyVersion, out packageVersion))
477
if (!AssemblyVersionInPackageVersion.
TryGetValue
(assemblyVersion, out packageVersion))
501
if (!inboxVersions.
TryGetValue
(frameworkKey, out mappings))
588
if (!inboxVersions.
TryGetValue
(key, out mappings))
603
if (!inboxVersions.
TryGetValue
(key, out mappings))
610
if (mappings.
TryGetValue
(normalizedFramework.Version, out assemblyVersionInbox))
UpdatePackageIndex.cs (2)
298
if (index.Packages.
TryGetValue
(dllName, out identityInfo))
344
if (!index.Packages.
TryGetValue
(id, out info))
ValidateFrameworkPackage.cs (1)
56
if (!_index.Packages.
TryGetValue
(name, out packageInfo))
ValidatePackage.cs (3)
381
if (!index.Packages.
TryGetValue
(PackageId, out info))
398
if (!info.AssemblyVersionInPackageVersion.
TryGetValue
(fileVersion, out packageVersion))
588
if (_index.Packages.
TryGetValue
(ContractName, out packageInfo))
Microsoft.ML.Tokenizers (2)
Model\BPETokenizer.cs (1)
598
if (VocabReverse.
TryGetValue
(id, out string? value))
Model\EnglishRobertaTokenizer.cs (1)
278
if (_vocabReverse.
TryGetValue
(id, out var value))
RunTests (1)
AssemblyScheduler.cs (1)
254
if (currentFilters.
TryGetValue
(assembly, out var assemblyFilters))
System.Collections (1)
System\Collections\Generic\SortedDictionary.cs (1)
303
if (
TryGetValue
((TKey)key, out value))
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
861
if (dictionary.
TryGetValue
(item.Key, out value!))