diff options
Diffstat (limited to 'mcs/errors/cs0646.cs')
-rw-r--r-- | mcs/errors/cs0646.cs | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/mcs/errors/cs0646.cs b/mcs/errors/cs0646.cs deleted file mode 100644 index 78b7f4e3c77..00000000000 --- a/mcs/errors/cs0646.cs +++ /dev/null @@ -1,26 +0,0 @@ -// cs0646.cs : Cannot specify the DefaultMember attribute on a type containing an indexer -// Line : 8 - -using System; -using System.Reflection; - -[DefaultMember ("Item")] -public class Foo { - - string bar; - - public static void Main () - { - Console.WriteLine ("foo"); - } - - string this [int idx] { - get { - return "foo"; - } - set { - bar = value; - } - } -} - |