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)
10 references to TryGetValue
Microsoft.Build.Tasks.Core (3)
RedistList.cs (3)
390
if (_simpleNameMap.
TryGetValue
(simpleName, out int index))
438
if (_simpleNameMap.
TryGetValue
(simpleName, out int index))
502
_index = simpleNameMap.
TryGetValue
(simpleName, out int index) ? index : int.MaxValue;
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\TagHelperBinder.cs (1)
160
if (_tagNameToTagHelpersMap.
TryGetValue
(tagName, out var matchingDescriptors))
Microsoft.NET.Build.Containers (4)
ImageBuilder.cs (4)
263
if (_baseImageConfig.EnvironmentVariables.
TryGetValue
(EnvironmentVariables.APP_UID, out string? appUid))
281
if (_baseImageConfig.EnvironmentVariables.
TryGetValue
(EnvironmentVariables.ASPNETCORE_URLS, out string? urls))
298
if (_baseImageConfig.EnvironmentVariables.
TryGetValue
(EnvironmentVariables.ASPNETCORE_HTTP_PORTS, out string? httpPorts))
315
if (_baseImageConfig.EnvironmentVariables.
TryGetValue
(EnvironmentVariables.ASPNETCORE_HTTPS_PORTS, out string? httpsPorts))
System.Linq.Expressions (2)
System\Linq\Expressions\Compiler\CompilerScope.cs (1)
265
if (h.Indexes.
TryGetValue
(variable, out index))
System\Runtime\CompilerServices\RuntimeOps.ExpressionQuoter.cs (1)
199
if (scope.Indexes.
TryGetValue
(variable, out hoistIndex))