2022-11-05 22:22:39 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace HybridCLR.Runtime
|
|
|
|
|
{
|
2022-11-24 12:09:04 +08:00
|
|
|
|
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Struct)]
|
2022-11-05 22:22:39 +08:00
|
|
|
|
public class UnchangedAttribute : Attribute
|
|
|
|
|
{
|
|
|
|
|
public bool Unchanged { get; }
|
|
|
|
|
|
|
|
|
|
public UnchangedAttribute(bool unchanged = true)
|
|
|
|
|
{
|
|
|
|
|
Unchanged = unchanged;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|