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