13 references to AlternateLookup
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 (9)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (5)
649
public
AlternateLookup
<TAlternateKey> GetAlternateLookup<TAlternateKey>()
652
if (!
AlternateLookup
<TAlternateKey>.IsCompatibleKey(this))
657
return new
AlternateLookup
<TAlternateKey>(this);
672
out
AlternateLookup
<TAlternateKey> lookup)
675
if (
AlternateLookup
<TAlternateKey>.IsCompatibleKey(this))
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\CollectionsMarshal.cs (4)
70
public 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>
97
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)
225
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>>();