mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-25 02:58:02 +02:00
More operator constraint compliance
This commit is contained in:
parent
32cd6d8841
commit
2e3356d04a
8 changed files with 27 additions and 25 deletions
|
@ -196,7 +196,7 @@ namespace System.Collections
|
|||
return false;
|
||||
}
|
||||
|
||||
public bool ContainsWith<TAltKey>(TAltKey item) where TAltKey : IOpEquals<T>, IHashable
|
||||
public bool ContainsWith<TAltKey>(TAltKey item) where TAltKey : IHashable where bool : operator T == TAltKey
|
||||
{
|
||||
if (mBuckets != null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue