Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/errors/cs0646.cs')
-rw-r--r--mcs/errors/cs0646.cs26
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;
- }
- }
-}
-