Author: spouliot
Date: 2005-06-14 10:19:09 -0400 (Tue, 14 Jun 2005)
New Revision: 45970
Modified:
trunk/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs
trunk/mcs/class/corlib/System.Reflection.Emit/ChangeLog
Log:
2005-06-14 Sebastien Pouliot <[EMAIL PROTECTED]>
* AssemblyBuilder.cs: Override UnprotectedGetName to set the public
key (if available).
Modified: trunk/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs
2005-06-14 14:17:53 UTC (rev 45969)
+++ trunk/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs
2005-06-14 14:19:09 UTC (rev 45970)
@@ -850,5 +850,14 @@
{
return (str == "neutral" ? String.Empty : str);
}
+
+ internal override AssemblyName UnprotectedGetName ()
+ {
+ AssemblyName an = base.UnprotectedGetName ();
+ if (sn != null) {
+ an.SetPublicKey (sn.PublicKey);
+ }
+ return an;
+ }
}
}
Modified: trunk/mcs/class/corlib/System.Reflection.Emit/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Reflection.Emit/ChangeLog 2005-06-14
14:17:53 UTC (rev 45969)
+++ trunk/mcs/class/corlib/System.Reflection.Emit/ChangeLog 2005-06-14
14:19:09 UTC (rev 45970)
@@ -1,3 +1,8 @@
+2005-06-14 Sebastien Pouliot <[EMAIL PROTECTED]>
+
+ * AssemblyBuilder.cs: Override UnprotectedGetName to set the public
+ key (if available).
+
2005-06-12 Gert Driesen <[EMAIL PROTECTED]>
* FieldBuilder.cs: FieldBuilder.FieldHandle should throw
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches