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:
authorMarek Safar <marek.safar@gmail.com>2004-02-03 12:03:56 +0300
committerMarek Safar <marek.safar@gmail.com>2004-02-03 12:03:56 +0300
commit57f35c238b6f225f5f1ce211d4a8c3eb09406d54 (patch)
tree6250cd1b5efb86f5ea099c154f49ce924212bba5 /mcs/errors/cs0102-3.cs
parenta4d7dd056acb6c548b960754a9abffc4165a49ac (diff)
2004-02-03 Marek Safar <marek.safar@seznam.cz>
* cs0102-{2,3,4,5}.cs, cs0111-{3,4}.cs, cs0547-2.cs: New error tests. svn path=/trunk/mcs/; revision=22732
Diffstat (limited to 'mcs/errors/cs0102-3.cs')
-rw-r--r--mcs/errors/cs0102-3.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/mcs/errors/cs0102-3.cs b/mcs/errors/cs0102-3.cs
new file mode 100644
index 00000000000..9aac748a27e
--- /dev/null
+++ b/mcs/errors/cs0102-3.cs
@@ -0,0 +1,7 @@
+// cs0102.cs: The class 'ErrorClass' already contains a definition for 'Method'
+// Line: 6
+
+public class ErrorClass {
+ protected int Method () { return 2; }
+ public bool Method;
+} \ No newline at end of file