diff options
Diffstat (limited to 'mcs/errors/cs0668.cs')
-rwxr-xr-x | mcs/errors/cs0668.cs | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/mcs/errors/cs0668.cs b/mcs/errors/cs0668.cs deleted file mode 100755 index 04408a390d2..00000000000 --- a/mcs/errors/cs0668.cs +++ /dev/null @@ -1,28 +0,0 @@ -// cs0668.cs: Two indexers have different names, they should have the same name across the board. -// Line: - -using System.Runtime.CompilerServices; -class A { - [IndexerName ("Blah")] - int this [int a] { - get { return 1; } - } - - [IndexerName ("Foo")] - int this [string b] { - get { return 2; } - } - - public static int Main () - { - int a = 5; - - if (!(a is object)) - return 3; - - return 0; - } -} - - - |