Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Molaro <lupus@oddwiz.org>2003-02-08 15:18:50 +0300
committerPaolo Molaro <lupus@oddwiz.org>2003-02-08 15:18:50 +0300
commitb2b47a6f96ba80987b86bea9af079182236e2c3b (patch)
tree6c5d1e0f64202e22ded7c8025e9f9cde6c5895b8 /mcs/tests/test-180.cs
parent0c2bd9442a78620fccfe2866ee3fcf005dd7a454 (diff)
Sat Feb 8 12:58:06 CET 2003 Paolo Molaro <lupus@ximian.com>
* typemanager.cs: fix from mathpup@mylinuxisp.com (Marcus Urban) to IsValueType (). svn path=/trunk/mcs/; revision=11343
Diffstat (limited to 'mcs/tests/test-180.cs')
-rwxr-xr-xmcs/tests/test-180.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/mcs/tests/test-180.cs b/mcs/tests/test-180.cs
new file mode 100755
index 00000000000..b70775d9d19
--- /dev/null
+++ b/mcs/tests/test-180.cs
@@ -0,0 +1,11 @@
+using System;
+
+public class Testing
+{
+ public enum Fruit { Apple, Orange };
+
+ public static void Main()
+ {
+ Console.WriteLine(Convert.ToInt64( Fruit.Orange as Enum ) );
+ }
+}