13 references to AlternateLookup
System.Console (1)
System\IO\KeyParser.cs (1)
65Dictionary<string, ConsoleKeyInfo>.AlternateLookup<ReadOnlySpan<char>> terminfoDb = // the most important source of truth
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (5)
649public AlternateLookup<TAlternateKey> GetAlternateLookup<TAlternateKey>() 652if (!AlternateLookup<TAlternateKey>.IsCompatibleKey(this)) 657return new AlternateLookup<TAlternateKey>(this); 672out AlternateLookup<TAlternateKey> lookup) 675if (AlternateLookup<TAlternateKey>.IsCompatibleKey(this))
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\CollectionsMarshal.cs (4)
70public static ref TValue GetValueRefOrNullRef<TKey, TValue, TAlternateKey>(Dictionary<TKey, TValue>.AlternateLookup<TAlternateKey> dictionary, TAlternateKey key) 88/// 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"/>. 96/// <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> 97public 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)
667Dictionary<string, EncodingRules>.AlternateLookup<ReadOnlySpan<char>> alternateLookup =
System.Text.Json (2)
System\Text\Json\JsonHelpers.cs (1)
225Dictionary<string, TValue>.AlternateLookup<ReadOnlySpan<char>> spanLookup =
System\Text\Json\Serialization\Converters\Value\EnumConverter.cs (1)
306Dictionary<string, EnumFieldInfo>.AlternateLookup<ReadOnlySpan<char>> lookup = _enumFieldInfoIndex.GetAlternateLookup<ReadOnlySpan<char>>();