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:
authorRaja R Harinath <harinath@hurrynot.org>2005-02-22 16:45:20 +0300
committerRaja R Harinath <harinath@hurrynot.org>2005-02-22 16:45:20 +0300
commit4d824b1f4cee6ac86a42a5671fc5a2405b389113 (patch)
treeb0b4deff4d74e5352b40fa1c687606754fc4033b /mcs/errors/cs0534-3.cs
parent0ccb8776dfdb4dad6bff98dcfd036306b6372c6e (diff)
* cs0534-3.cs, cs0534-4.cs, CS0534-3-lib.cs, CS0534-4-lib.cs: New
files based on #71134. * Makefile (all-local): Add CS0534-3-lib.dll and CS0534-4-lib.dll. svn path=/trunk/mcs/; revision=41036
Diffstat (limited to 'mcs/errors/cs0534-3.cs')
-rw-r--r--mcs/errors/cs0534-3.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/mcs/errors/cs0534-3.cs b/mcs/errors/cs0534-3.cs
new file mode 100644
index 00000000000..ec73e645043
--- /dev/null
+++ b/mcs/errors/cs0534-3.cs
@@ -0,0 +1,20 @@
+// cs0534: 'MyTestExtended' does not implement inherited abstract member 'MyTestAbstract.GetName()'
+// Line: 6
+// Compiler options: -r:CS0534-3-lib.dll
+
+using System;
+public class MyTestExtended : MyTestAbstract
+{
+ public MyTestExtended() : base()
+ {
+ }
+
+ public static void Main(string[] args)
+ {
+ Console.WriteLine("Calling PrintName");
+ MyTestExtended test = new MyTestExtended();
+ test.PrintName();
+ Console.WriteLine("Out of PrintName");
+ }
+
+}