diff options
author | Jaime Anguiano Olarra <jaime@mono-cvs.ximian.com> | 2002-12-02 20:06:22 +0300 |
---|---|---|
committer | Jaime Anguiano Olarra <jaime@mono-cvs.ximian.com> | 2002-12-02 20:06:22 +0300 |
commit | 283bc9387af3b02ae75ac26af77eb2a19393f8f0 (patch) | |
tree | bd52f3c9064f4930dfecd63826459abbc3ff4c18 /mcs/errors/cs0059.cs | |
parent | f0660558d3e84c4e8ec00bf1eb28266ded65f9f7 (diff) |
Test for C# Compiler ErrorCS0059. Inconsisten accessibility. Parameter type less accessible than delegate.
svn path=/trunk/mcs/; revision=9350
Diffstat (limited to 'mcs/errors/cs0059.cs')
-rw-r--r-- | mcs/errors/cs0059.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/errors/cs0059.cs b/mcs/errors/cs0059.cs new file mode 100644 index 00000000000..6ce96ab66fd --- /dev/null +++ b/mcs/errors/cs0059.cs @@ -0,0 +1,15 @@ +// cs0059.cs: Iconsisten accessibility. Parameter type less accessible than delegate. +// Line: 10 + +using System; + +class ErrorCS0059 { +} + +class Foo { + public delegate void ErrorCS0059Delegate (ErrorCS0059 e); + + public static void Main () { + } +} + |