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

Property [Inline] changes, large container/string fixes, reload fixes

This commit is contained in:
Brian Fiete 2019-12-09 10:28:56 -08:00
parent c531ade968
commit becd673914
9 changed files with 45 additions and 37 deletions

View file

@ -15,15 +15,15 @@ namespace System
mValue = value;
}
[Inline]
public bool HasValue
{
[Inline]
get { return mHasValue; }
}
[Inline]
public T Value
{
[Inline]
get
{
if (!mHasValue)
@ -35,9 +35,9 @@ namespace System
}
}
[Inline]
public ref T ValueRef
{
[Inline]
get mut
{
if (!mHasValue)