https://bugzilla.novell.com/show_bug.cgi?id=672009
https://bugzilla.novell.com/show_bug.cgi?id=672009#c0 Summary: csharp interpreter fails to do anything with unsafe code when run with -unsafe+ Classification: Mono Product: Mono: Compilers Version: 2.10.x Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other. AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b12pre) Gecko/20110210 Firefox/4.0b12pre When I run csharp.exe in Windows/Linux with -unsafe+ command line switch it fails to parse/compile anything that is actually unsafe. For exmaple: int *a = null; unsafe { int *a = null; } I assume this is because it fails to parse blocks ({}) while unsafe code must be declared in an unsafe block of some sort... Reproducible: Always Steps to Reproduce: 1. csharp -unsafe+ 2. int *a = null 3. ERROR Actual Results: fails Expected Results: should parse unsafe c# code -- 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
