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:
parent
4fd0623451
commit
95a27d5e93
3 changed files with 50 additions and 6 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue