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:
parent
ace51cb7be
commit
a781f29c31
5 changed files with 9 additions and 17 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue