2 instantiations of AlternateLookup
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (2)
657
return new
AlternateLookup
<TAlternateKey>(this);
677
lookup = new
AlternateLookup
<TAlternateKey>(this);
14 references to AlternateLookup
PresentationCore (1)
MS\Internal\FontCache\FamilyCollection.cs (1)
490
Dictionary<string, Text.TextInterface.Font>.
AlternateLookup
<ReadOnlySpan<char>> alternateLookup = faces.GetAlternateLookup<ReadOnlySpan<char>>();
PresentationFramework (1)
MS\Internal\AppModel\ResourceContainer.cs (1)
323
private static readonly Dictionary<string, ResourceManagerWrapper>.
AlternateLookup
<ReadOnlySpan<char>> s_registeredResourceManagersLookup = s_registeredResourceManagers.GetAlternateLookup<ReadOnlySpan<char>>();
System.Console (1)
System\IO\KeyParser.cs (1)
65
Dictionary<string, ConsoleKeyInfo>.
AlternateLookup
<ReadOnlySpan<char>> terminfoDb = // the most important source of truth
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (4)
649
public
AlternateLookup
<TAlternateKey> GetAlternateLookup<TAlternateKey>()
652
if (!
AlternateLookup
<TAlternateKey>.IsCompatibleKey(this))
672
out
AlternateLookup
<TAlternateKey> lookup)
675
if (
AlternateLookup
<TAlternateKey>.IsCompatibleKey(this))
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\CollectionsMarshal.cs (4)
93
public static ref TValue GetValueRefOrNullRef<TKey, TValue, TAlternateKey>(Dictionary<TKey, TValue>.
AlternateLookup
<TAlternateKey> dictionary, TAlternateKey key)
111
/// Gets a ref to a <typeparamref name="TValue"/> in the <see cref="Dictionary{TKey, TValue}.
AlternateLookup
{TAlternateKey}"/>, adding a new entry with a default value if it does not exist in the <paramref name="dictionary"/>.
119
/// <remarks>Items should not be added to or removed from the <see cref="Dictionary{TKey, TValue}.
AlternateLookup
{TAlternateKey}"/> while the ref <typeparamref name="TValue"/> is in use.</remarks>
120
public static ref TValue? GetValueRefOrAddDefault<TKey, TValue, TAlternateKey>(Dictionary<TKey, TValue>.
AlternateLookup
<TAlternateKey> dictionary, TAlternateKey key, out bool exists)
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\X500NameEncoder.cs (1)
667
Dictionary<string, EncodingRules>.
AlternateLookup
<ReadOnlySpan<char>> alternateLookup =
System.Text.Json (2)
System\Text\Json\JsonHelpers.cs (1)
226
Dictionary<string, TValue>.
AlternateLookup
<ReadOnlySpan<char>> spanLookup =
System\Text\Json\Serialization\Converters\Value\EnumConverter.cs (1)
306
Dictionary<string, EnumFieldInfo>.
AlternateLookup
<ReadOnlySpan<char>> lookup = _enumFieldInfoIndex.GetAlternateLookup<ReadOnlySpan<char>>();