diff options
author | Miguel de Icaza <miguel@gnome.org> | 2004-01-07 19:35:35 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2004-01-07 19:35:35 +0300 |
commit | c6c9ec52224063c294e2a5b48825baf8ba7d86f0 (patch) | |
tree | 1ffbde8bd2744412feebc668b6e9372073a04349 /mcs/errors/cs3011.cs | |
parent | a57fcfad058aa0b811719b969230e86f2d0f18d6 (diff) |
Applied Patch from Marek Safar
svn path=/trunk/mcs/; revision=21822
Diffstat (limited to 'mcs/errors/cs3011.cs')
-rw-r--r-- | mcs/errors/cs3011.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/errors/cs3011.cs b/mcs/errors/cs3011.cs new file mode 100644 index 00000000000..1a28549f636 --- /dev/null +++ b/mcs/errors/cs3011.cs @@ -0,0 +1,14 @@ +// cs3011.cs: 'CLSClass.Error(System.IComparable)': only CLS-compliant members can be abstract +// Line: 12 + +using System; +[assembly:CLSCompliant (true)] + +public abstract class CLSClass { + [CLSCompliant (false)] + internal abstract int Valid (); + + [CLSCompliant (false)] + protected abstract void Error (IComparable arg); +} + |