[Mono-bugs] [Bug 77602][Wis] Changed - fail to save assembly or
create reflection assembly with system librairies
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Feb 20 14:29:22 EST 2006
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 sebastien at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=77602
--- shadow/77602 2006-02-20 11:42:41.000000000 -0500
+++ shadow/77602.tmp.24929 2006-02-20 14:29:22.000000000 -0500
@@ -1,12 +1,12 @@
Bug#: 77602
Product: Mono: Class Libraries
Version: 1.1
OS: unknown
OS Details:
-Status: NEW
+Status: NEEDINFO
Resolution:
Severity: Unknown
Priority: Wishlist
Component: Mono.Cecil
AssignedTo: mono at evain.net
ReportedBy: guillaume.bour at free.fr
@@ -67,6 +67,60 @@
This can be "somewhat" fixed in Cecil but unless you have the required
private key you'll run into problems with all strongnamed assemblies
(even more if you're using a "system" assembly signed with the ECMA
"key"). The actual problems will be different if you're using Mono or
the MS runtime.
+
+------- Additional Comments From sebastien at ximian.com 2006-02-20 14:29 -------
+Did you use the Mono or MS runtime ?
+
+Using SVN (both Mono and Cecil) I get an exception before hitting the
+GetStrongNameSignatureSize method.
+
+% mono 77602.exe
+
+Unhandled Exception: System.ArgumentNullException: Argument cannot be
+null.
+Parameter name: s
+in <0x0008d> System.Text.UTF8Encoding:GetBytes (System.String s)
+in <0x00372> Mono.Cecil.Signatures.SignatureWriter:Write (Elem elem,
+Mono.Cecil.Binary.MemoryBinaryWriter writer)
+in <0x0009a> Mono.Cecil.Signatures.SignatureWriter:Write (FixedArg fa,
+Mono.Cecil.Binary.MemoryBinaryWriter writer)
+in <0x00096> Mono.Cecil.Signatures.SignatureWriter:Write
+(Mono.Cecil.Signatures.CustomAttrib ca, Mono.Cecil.MethodReference
+ctor, Mono.Cecil.Binary.MemoryBinaryWriter writer)
+in <0x00013>
+Mono.Cecil.Signatures.SignatureWriter:CompressCustomAttribute
+(Mono.Cecil.Signatures.CustomAttrib ca, Mono.Cecil.MethodReference
+ctor, Mono.Cecil.Binary.MemoryBinaryWriter writer)
+in <0x00021> Mono.Cecil.Signatures.SignatureWriter:AddCustomAttribute
+(Mono.Cecil.Signatures.CustomAttrib ca, Mono.Cecil.MethodReference ctor)
+in <0x003f8>
+Mono.Cecil.ReflectionWriter:VisitCustomAttributeCollection
+(Mono.Cecil.CustomAttributeCollection customAttrs)
+in <0x00017> Mono.Cecil.CustomAttributeCollection:Accept
+(IReflectionVisitor visitor)
+in <0x00032> Mono.Cecil.PropertyDefinition:Accept (IReflectionVisitor
+visitor)
+in <0x000f1> Mono.Cecil.BaseReflectionVisitor:VisitCollection
+(ICollection coll)
+in <0x00098>
+Mono.Cecil.ReflectionWriter:VisitPropertyDefinitionCollection
+(Mono.Cecil.PropertyDefinitionCollection properties)
+in <0x00017> Mono.Cecil.PropertyDefinitionCollection:Accept
+(IReflectionVisitor visitor)
+in <0x000a5> Mono.Cecil.TypeDefinition:Accept (IReflectionVisitor visitor)
+in <0x01011> Mono.Cecil.ReflectionWriter:VisitTypeDefinitionCollection
+(Mono.Cecil.TypeDefinitionCollection types)
+in <0x000fb> Mono.Cecil.StructureWriter:TerminateAssemblyDefinition
+(Mono.Cecil.AssemblyDefinition asm)
+in <0x0004b> Mono.Cecil.AssemblyDefinition:Accept
+(IReflectionStructureVisitor visitor)
+in <0x00034> Mono.Cecil.AssemblyFactory:WriteAssembly
+(Mono.Cecil.AssemblyDefinition asm,
+Mono.Cecil.Binary.MemoryBinaryWriter bw)
+in <0x0007f> Mono.Cecil.AssemblyFactory:SaveAssembly
+(Mono.Cecil.AssemblyDefinition asm, System.String file)
+in <0x00032> Program:Main ()
+
More information about the mono-bugs
mailing list