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)
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.CodeAnalysis.Razor.Compiler (1)
Language\TagHelperBinder.cs (1)
160if (_tagNameToTagHelpersMap.TryGetValue(tagName, out var matchingDescriptors))
Microsoft.NET.Build.Containers (4)
ImageBuilder.cs (4)
263if (_baseImageConfig.EnvironmentVariables.TryGetValue(EnvironmentVariables.APP_UID, out string? appUid)) 281if (_baseImageConfig.EnvironmentVariables.TryGetValue(EnvironmentVariables.ASPNETCORE_URLS, out string? urls)) 298if (_baseImageConfig.EnvironmentVariables.TryGetValue(EnvironmentVariables.ASPNETCORE_HTTP_PORTS, out string? httpPorts)) 315if (_baseImageConfig.EnvironmentVariables.TryGetValue(EnvironmentVariables.ASPNETCORE_HTTPS_PORTS, out string? httpsPorts))
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))