-using System;\r
-using System.Collections.Generic;\r
-\r
-namespace TestIssue\r
-{\r
- class Base\r
- {\r
- }\r
-\r
- class Derived : Base\r
- {\r
- }\r
-\r
- class Program\r
- {\r
- static int Main ()\r
- {\r
- try {\r
- IEnumerable<Derived> e1 = (IEnumerable<Derived>) (new Base [] { });\r
- return 1;\r
- }\r
- catch (InvalidCastException)\r
- {\r
- return 0;\r
- }\r
- }\r
- }\r
-}\r
+using System;
+using System.Collections.Generic;
+
+namespace TestIssue
+{
+ class Base
+ {
+ }
+
+ class Derived : Base
+ {
+ }
+
+ class Program
+ {
+ public static int Main ()
+ {
+ try {
+ IEnumerable<Derived> e1 = (IEnumerable<Derived>) (new Base [] { });
+ return 1;
+ }
+ catch (InvalidCastException)
+ {
+ return 0;
+ }
+ }
+ }
+}