diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-08-23 00:07:53 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-08-23 00:07:53 +0400 |
commit | 6807edf7d9d75650624f2d6a2674ee01b2f0baa8 (patch) | |
tree | 1cfd5aed091afd168f812b442f0423e4d8a4c62d /mcs/errors/cs0102-13.cs | |
parent | 2d436d0ff08d62e33d325dd9a3ea623c2da1d049 (diff) |
new error tests
svn path=/trunk/mcs/; revision=32664
Diffstat (limited to 'mcs/errors/cs0102-13.cs')
-rw-r--r-- | mcs/errors/cs0102-13.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mcs/errors/cs0102-13.cs b/mcs/errors/cs0102-13.cs new file mode 100644 index 00000000000..b073fb946e6 --- /dev/null +++ b/mcs/errors/cs0102-13.cs @@ -0,0 +1,11 @@ +// cs0102.cs: The class 'SampleClass' already contains a definition for 'op_Implicit' +// Line: 10 + +public class SampleClass { + + static public implicit operator SampleClass (byte value) { + return new SampleClass(); + } + + public bool op_Implicit; +}
\ No newline at end of file |