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