diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-02-03 12:03:56 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-02-03 12:03:56 +0300 |
commit | 57f35c238b6f225f5f1ce211d4a8c3eb09406d54 (patch) | |
tree | 6250cd1b5efb86f5ea099c154f49ce924212bba5 /mcs/errors/cs0111-3.cs | |
parent | a4d7dd056acb6c548b960754a9abffc4165a49ac (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/cs0111-3.cs')
-rw-r--r-- | mcs/errors/cs0111-3.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/errors/cs0111-3.cs b/mcs/errors/cs0111-3.cs new file mode 100644 index 00000000000..1f1d28e6652 --- /dev/null +++ b/mcs/errors/cs0111-3.cs @@ -0,0 +1,10 @@ +// cs0111.cs: Class 'Class' already defines a member called 'op_Implicit' with the same parameter types +// Line: 9 + +public class Class { + static public implicit operator Class(byte value) { + return new Class(); + } + + public static void op_Implicit (byte value) {} +}
\ No newline at end of file |