diff options
author | Jaime Anguiano Olarra <jaime@mono-cvs.ximian.com> | 2002-12-02 12:27:26 +0300 |
---|---|---|
committer | Jaime Anguiano Olarra <jaime@mono-cvs.ximian.com> | 2002-12-02 12:27:26 +0300 |
commit | d6968462eaf0dd8b2b170f34d80d92631ab62b50 (patch) | |
tree | bd241520d86addaea35517e0581d0e2eebf3a54f /mcs/errors/cs0055.cs | |
parent | cf0db186491cad7ec185f130091c717a6dbdb1aa (diff) |
Test for C# Compiler Error CS0055. Inconsistent accessibility. Parameter type less accessible than indexer.
svn path=/trunk/mcs/; revision=9338
Diffstat (limited to 'mcs/errors/cs0055.cs')
-rw-r--r-- | mcs/errors/cs0055.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mcs/errors/cs0055.cs b/mcs/errors/cs0055.cs new file mode 100644 index 00000000000..1ba12ae0a8d --- /dev/null +++ b/mcs/errors/cs0055.cs @@ -0,0 +1,17 @@ +// cs0055.cs: Inconsistent accessibility. Parameter type is less accessible than indexer. +// Line: 10 + +using System; + +class ErrorCS0055 { +} + +class Foo { + public ErrorCS0055 this[ErrorCS0055 e] { + get { return new ErrorCS0055 (); } + } + + public static void Main () { + } +} + |