1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-21 01:18:02 +02:00

Fixes to new conversion overload invoker

This commit is contained in:
Brian Fiete 2022-01-18 10:34:33 -05:00
parent 4fd0623451
commit 95a27d5e93
3 changed files with 50 additions and 6 deletions

View file

@ -84,6 +84,15 @@ namespace System
return result;
}
[Inline]
public static Nullable<T> operator implicit <TOther>(TOther value) where T : operator implicit TOther
{
Nullable<T> result;
result.mHasValue = true;
result.mValue = value;
return result;
}
[Inline]
public static explicit operator T(Nullable<T> value)
{