X Tutup
// ========================================================================== // This software is subject to the provisions of the Zope Public License, // Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution. // THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED // WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED // WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS // FOR A PARTICULAR PURPOSE. // ========================================================================== using System; namespace Python.Test { //======================================================================== // Supports CLR enum unit tests. //======================================================================== public enum ByteEnum : byte { Zero, One, Two, Three, Four, Five } public enum SByteEnum : sbyte { Zero, One, Two, Three, Four, Five } public enum ShortEnum : short { Zero, One, Two, Three, Four, Five } public enum UShortEnum : ushort { Zero, One, Two, Three, Four, Five } public enum IntEnum : int{ Zero, One, Two, Three, Four, Five } public enum UIntEnum : uint { Zero, One, Two, Three, Four, Five } public enum LongEnum : long { Zero, One, Two, Three, Four, Five } public enum ULongEnum : ulong { Zero, One, Two, Three, Four, Five } [FlagsAttribute] public enum FlagsEnum { Zero, One, Two, Three, Four, Five } }
X Tutup