diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-05-25 12:35:08 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-05-25 12:35:08 +0400 |
commit | 8a6749f11e18dd855410f6d3d2b4e424a8f1a27d (patch) | |
tree | 4007c44973f7b64c64cb32f986ad6b5d322e9c0e /mcs/errors/cs0626-3.cs | |
parent | 8db1637866d2256c6b7d1daca0777b8c23bbc50f (diff) |
New tests
svn path=/trunk/mcs/; revision=28027
Diffstat (limited to 'mcs/errors/cs0626-3.cs')
-rw-r--r-- | mcs/errors/cs0626-3.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mcs/errors/cs0626-3.cs b/mcs/errors/cs0626-3.cs new file mode 100644 index 00000000000..44b91063212 --- /dev/null +++ b/mcs/errors/cs0626-3.cs @@ -0,0 +1,7 @@ +// cs0626.cs: Method, operator, or accessor 'ExternClass.implicit operator ExternClass(byte)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation +// Line: 6 +// Compiler options: -warnaserror -warn:1 + +class ExternClass { + static public extern implicit operator ExternClass(byte value); +} |