1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-30 05:15:59 +02:00

Added some Commutable attributes

This commit is contained in:
Brian Fiete 2020-12-04 07:45:42 -08:00
parent 195a699af4
commit 3f6eae6bfc
4 changed files with 6 additions and 1 deletions

View file

@ -90,7 +90,7 @@ namespace System
return value.mValue;
}
[Inline]
[Inline, Commutable]
public static bool operator==(Nullable<T> lhs, T rhs)
{
if (!lhs.mHasValue) return false;