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

test-451.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b803026fa3cb328ea40a743b0889d9cc33abbc51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;

enum Foo { foo };

public class Test
{
        public static void Main ()
        {
                ValueType vt = (ValueType) 1;
		IComparable ic = (IComparable) 1;

		Enum e = (Enum) Foo.foo;
        }
}