namespace Axibug.Runtime { /// /// System.UInt16 变量类。 /// public sealed class VarUInt16 : Variable { /// /// 初始化 System.UInt16 变量类的新实例。 /// public VarUInt16() { } /// /// 从 System.UInt16 到 System.UInt16 变量类的隐式转换。 /// /// 值。 public static implicit operator VarUInt16(ushort value) { VarUInt16 varValue = ReferencePool.Acquire(); varValue.Value = value; return varValue; } /// /// 从 System.UInt16 变量类到 System.UInt16 的隐式转换。 /// /// 值。 public static implicit operator ushort(VarUInt16 value) { return value.Value; } } }