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:
Diffstat (limited to 'mcs/errors/cs-12.cs')
-rwxr-xr-xmcs/errors/cs-12.cs34
1 files changed, 0 insertions, 34 deletions
diff --git a/mcs/errors/cs-12.cs b/mcs/errors/cs-12.cs
deleted file mode 100755
index fe4b09b37a2..00000000000
--- a/mcs/errors/cs-12.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-class Y {
- byte b;
-
- public static implicit operator int (Y i)
- {
- return i.b;
- }
-
-// public static implicit operator byte (Y i)
-// {
-// return i.b;
-// }
-
- public Y (byte b)
- {
- this.b = b;
- }
-}
-
-class X {
- static void Main ()
- {
- Y y = new Y (1);
-
- switch (y){
- case 0:
- break;
- case 1:
- break;
- }
-
- int a = y;
- }
-}