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

Disallowed [Inline] on properties

This commit is contained in:
Brian Fiete 2020-02-20 09:31:27 -08:00
parent ace51cb7be
commit a781f29c31
5 changed files with 9 additions and 17 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)