[Mono-bugs] [Bug 75802][Nor] New - CLS + partial classes crash.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 12 19:47:23 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by miguel at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=75802

--- shadow/75802	2005-08-12 19:47:22.000000000 -0400
+++ shadow/75802.tmp.23879	2005-08-12 19:47:22.000000000 -0400
@@ -0,0 +1,44 @@
+Bug#: 75802
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: miguel at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: CLS + partial classes crash.
+
+The following program crashes the compiler:
+
+[assembly:CLSCompliant(true)]
+
+namespace System {
+	[AttributeUsage (AttributeTargets.All, AllowMultiple=true)]
+	internal sealed class MonoTODOAttribute : Attribute {
+
+		string comment;
+		
+		public MonoTODOAttribute ()
+		{
+		}
+	}
+
+}
+
+namespace System.Web
+{
+	public partial class HttpBrowserCapabilities {
+
+		[MonoTODO] public Version A {
+			get { throw new Exception (); }
+		}
+	}
+}


More information about the mono-bugs mailing list