https://bugzilla.novell.com/show_bug.cgi?id=367536
Summary: CS0515 not reported for generic classes
Product: Mono: Compilers
Version: SVN
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
gmcs does not report CS0515 when an access modifier is defined on a static
constructor.
To reproduce, compile the following code:
public class Gen <T>
{
public static Gen ()
{
}
}
Expected result:
test.cs(3,16): error CS0515: 'Gen<T>.Gen()': access modifiers are not allowed
on
static constructors
Actual result:
No error.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs