9 references to TryGetValue
PresentationCore (1)
MS\Internal\FontCache\FamilyCollection.cs (1)
495
if (alternateLookup.
TryGetValue
(faceName, out matchingFont))
PresentationFramework (2)
MS\Internal\AppModel\ResourceContainer.cs (2)
237
if (s_registeredResourceManagersLookup.
TryGetValue
(key, out ResourceManagerWrapper value))
273
if (!s_registeredResourceManagersLookup.
TryGetValue
(key.Slice(0, totalLength), out rmwResult))
System.Console (3)
System\IO\KeyParser.cs (3)
73
if (!terminfoDb.
TryGetValue
(buffer.AsSpan(startIndex, MinimalSequenceLength), out parsed))
107
if (!terminfoDb.
TryGetValue
(buffer.AsSpan(startIndex, 4), out parsed))
132
if (!terminfoDb.
TryGetValue
(buffer.AsSpan(startIndex, sequenceLength), out parsed))
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\X500NameEncoder.cs (1)
669
return alternateLookup.
TryGetValue
(oid, out EncodingRules rules) ? rules : EncodingRules.Unknown;
System.Text.Json (2)
System\Text\Json\JsonHelpers.cs (1)
238
bool success = spanLookup.
TryGetValue
(decodedKey, out result);
System\Text\Json\Serialization\Converters\Value\EnumConverter.cs (1)
329
if (lookup.
TryGetValue
(