[Mono-bugs] [Bug 52570][Wis] Changed - VB needs to not throw exceptions in Attributes, so that method may be called

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 3 Jan 2004 22:12:45 -0500 (EST)


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 bmaurer@users.sf.net.

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

--- shadow/52570	2004-01-03 04:41:48.000000000 -0500
+++ shadow/52570.tmp.23365	2004-01-03 22:12:44.000000000 -0500
@@ -2,22 +2,22 @@
 Product: Mono/Compilers
 Version: unspecified
 OS: Red Hat 9.0
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
-Priority: Major
-Component: C#
+Severity: Unknown
+Priority: Wishlist
+Component: Basic
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: jwezel@compumaster.de               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: msc block compilation failure
+Summary: VB needs to not throw exceptions in Attributes, so that method may be called
 
 Description of Problem: 
 mcs StringsTest.bugtest2.cs /r:Microsoft.VisualBasic /r:NUnit.Framework
 Exception caught by the compiler while compiling:
    Block that caused the problem begin at: StringsTest.bugtest2.cs: (11)
                      Block being compiled: [StringsTest.bugtest2.cs: 
@@ -109,6 +109,13 @@
 
 How often does this happen? 
 every time
 
 Additional Information:
 N/A
+
+------- Additional Comments From bmaurer@users.sf.net  2004-01-03 22:12 -------
+the problem is that VB has not yet implemented this parameter, so when
+we overload to the method and try to get the data, an exception is thrown.
+
+--> VB, we need to not throw exceptions in the .ctor for attributes.
+