[Mono-bugs] [Bug 74627][Nor] New - gmcs crash on parsing error

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 15 Apr 2005 17:06:27 -0400 (EDT)


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 lluis@ximian.com.

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

--- shadow/74627	2005-04-15 17:06:27.000000000 -0400
+++ shadow/74627.tmp.17624	2005-04-15 17:06:27.000000000 -0400
@@ -0,0 +1,39 @@
+Bug#: 74627
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: lluis@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: gmcs crash on parsing error
+
+gmcs crashes when trying to compile the following class. Notice that the
+constructor is missing the class name.
+
+using System;
+
+internal class TemplateBinding
+{
+	public Type ControlType;
+	public string ControlProperty;
+	public string ControlId;
+	public string FieldName;
+	
+	public (Type controlType, string controlProperty, string controlId, string
+fieldName)
+	{
+		ControlType = controlType;
+		ControlProperty = controlProperty;
+		ControlId = controlId;
+		FieldName = fieldName;
+	}
+}