Merge pull request #3540 from kumpera/abort-on-gerror
[mono.git] / mcs / errors / cs1540-10.cs
index 87c17e3338d033d6cb249dd8f91fa83cb889ff83..3ab254acd775bc80a2690169db469d22fce94579 100644 (file)
@@ -1,24 +1,24 @@
-// CS1540: Cannot access protected member `Test.A.Property' via a qualifier of type `Test.A'. The qualifier must be of type `Test.B.C' or derived from it\r
-// Line: 19\r
-\r
-namespace Test\r
-{\r
-    public class A\r
-    {\r
-        protected int Property {\r
-            get { return 0; }\r
-        }\r
-    }\r
\r
-    public class B : A\r
-    {\r
-        private sealed class C\r
-        {\r
-            public C (A a)\r
-            {\r
-                int test = a.Property;\r
-                test++;\r
-            }\r
-        }\r
-    } \r
+// CS1540: Cannot access protected member `Test.A.Property' via a qualifier of type `Test.A'. The qualifier must be of type `Test.B.C' or derived from it
+// Line: 19
+
+namespace Test
+{
+    public class A
+    {
+        protected int Property {
+            get { return 0; }
+        }
+    }
+    public class B : A
+    {
+        private sealed class C
+        {
+            public C (A a)
+            {
+                int test = a.Property;
+                test++;
+            }
+        }
+    } 
 }
\ No newline at end of file