[Mono-bugs] [Bug 41520][Nor] Changed - Fail to compiler constructors in attributes.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Thu, 1 May 2003 13:29:33 -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 miguel@ximian.com.

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

--- shadow/41520	Thu May  1 13:10:36 2003
+++ shadow/41520.tmp.19212	Thu May  1 13:29:33 2003
@@ -105,6 +105,28 @@
 
 mono$ mcs -target:library *.cs -out:../RemotingCorbaLibrary.dll  
 
 ** ERROR **: only types allowed, not System.String
 
 
+
+------- Additional Comments From miguel@ximian.com  2003-05-01 13:29 -------
+Stack trace for the "null" test case:
+Unhandled Exception: System.NullReferenceException: A null value was
+found where an object instance was required
+in (unmanaged) /mono/lib/libmono.so.0 [0x4008a08c]
+in (unmanaged) /mono/lib/libmono.so.0 [0x4008a2ce]
+in (unmanaged)
+/mono/lib/libmono.so.0(mono_reflection_get_custom_attrs_blob+0xd5)
+[0x4008a56e]
+in <0x00037> 00 System.Reflection.Emit.CustomAttributeBuilder:.ctor
+(System.Reflection.ConstructorInfo,object[],System.Reflection.PropertyInfo[],object[],System.Reflection.FieldInfo[],object[])
+in <0x00027> 00 System.Reflection.Emit.CustomAttributeBuilder:.ctor
+(System.Reflection.ConstructorInfo,object[])
+in <0x00f9a> 00 Mono.CSharp.Attribute:Resolve (Mono.CSharp.EmitContext)
+in <0x002a3> 00 Mono.CSharp.Attribute:ApplyAttributes
+(Mono.CSharp.EmitContext,object,object,Mono.CSharp.Attributes)
+in <0x00840> 00 Mono.CSharp.TypeContainer:Emit ()
+in <0x004d8> 00 Mono.CSharp.RootContext:EmitCode ()
+in <0x0084b> 00 Mono.CSharp.Driver:MainDriver (string[])
+in <0x00011> 00 Mono.CSharp.Driver:Main (string[])
+