1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-20 17:08:00 +02:00

Added a 'cast' intrinsic

This commit is contained in:
Brian Fiete 2020-02-19 13:16:33 -08:00
parent 660e7d8125
commit 1f20d76f94
14 changed files with 75 additions and 22 deletions

View file

@ -70,7 +70,10 @@ namespace System
[Inline]
public static implicit operator Nullable<T>(T value)
{
return Nullable<T>(value);
Nullable<T> result;
result.mHasValue = true;
result.mValue = value;
return result;
}
[Inline]