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)
8 references to TryGetValue
Microsoft.Build.Framework (1)
XamlTypes\Rule.cs (1)
509_propertiesByNameMap.TryGetValue(propertyName, out result);
Microsoft.Build.Tasks.Core (3)
RedistList.cs (3)
390if (_simpleNameMap.TryGetValue(simpleName, out int index)) 438if (_simpleNameMap.TryGetValue(simpleName, out int index)) 502_index = simpleNameMap.TryGetValue(simpleName, out int index) ? index : int.MaxValue;
Microsoft.DotNet.Build.Tasks.Feed (2)
src\PublishArtifactsInManifestBase.cs (2)
303if (!buildAssets.TryGetValue(name, out Asset assetWithName)) 325if (!buildAssets.TryGetValue(name, out Asset assetWithName))
System.Linq.Expressions (2)
System\Linq\Expressions\Compiler\CompilerScope.cs (1)
265if (h.Indexes.TryGetValue(variable, out index))
System\Runtime\CompilerServices\RuntimeOps.ExpressionQuoter.cs (1)
199if (scope.Indexes.TryGetValue(variable, out hoistIndex))