15 references to AlternateLookupDelegate
System.Collections.Immutable (15)
System\Collections\Frozen\DefaultFrozenDictionary.AlternateLookup.cs (2)
13
private protected override
AlternateLookupDelegate
<TAlternateKey> GetAlternateLookupDelegate<TAlternateKey>()
28
public static readonly
AlternateLookupDelegate
<TAlternateKey> Instance = (dictionary, key)
System\Collections\Frozen\FrozenDictionary.cs (3)
472
private protected virtual
AlternateLookupDelegate
<TAlternateKey> GetAlternateLookupDelegate<TAlternateKey>()
499
/// Holds an implementation of <see cref="
AlternateLookupDelegate
{TAlternateKey}"/> which always returns a null ref.
509
public static readonly
AlternateLookupDelegate
<TAlternateKey> ReturnsNullRef = (_, _) => ref Unsafe.NullRef<TValue>();
System\Collections\Frozen\Int32\Int32FrozenDictionary.AlternateLookup.cs (2)
14
private protected override
AlternateLookupDelegate
<TAlternateKey> GetAlternateLookupDelegate<TAlternateKey>()
29
public static readonly
AlternateLookupDelegate
<TAlternateKey> Instance = (dictionary, key)
System\Collections\Frozen\SmallFrozenDictionary.AlternateLookup.cs (2)
13
private protected override
AlternateLookupDelegate
<TAlternateKey> GetAlternateLookupDelegate<TAlternateKey>()
28
public static readonly
AlternateLookupDelegate
<TAlternateKey> Instance = (dictionary, key)
System\Collections\Frozen\String\LengthBucketsFrozenDictionary.AlternateLookup.cs (3)
16
private static readonly
AlternateLookupDelegate
<ReadOnlySpan<char>> s_alternateLookup = (dictionary, key)
20
private protected override
AlternateLookupDelegate
<TAlternateKey> GetAlternateLookupDelegate<TAlternateKey>()
23
return (
AlternateLookupDelegate
<TAlternateKey>)(object)s_alternateLookup;
System\Collections\Frozen\String\OrdinalStringFrozenDictionary.AlternateLookup.cs (3)
16
private static readonly
AlternateLookupDelegate
<ReadOnlySpan<char>> s_alternateLookup = (dictionary, key)
20
private protected override
AlternateLookupDelegate
<TAlternateKey> GetAlternateLookupDelegate<TAlternateKey>()
23
return (
AlternateLookupDelegate
<TAlternateKey>)(object)s_alternateLookup;