Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Molaro <lupus@oddwiz.org>2007-01-23 19:45:30 +0300
committerPaolo Molaro <lupus@oddwiz.org>2007-01-23 19:45:30 +0300
commit7cbb1d9e455109c0d1286ae17354dbc532022a1f (patch)
tree72bd88c6df72b55f2f11e0f254d43bc2478525a4
parent25af0d0ca20211087017a77fa97fbdfd0a8fcb3b (diff)
Tue Jan 23 17:45:07 CET 2007 Paolo Molaro <lupus@ximian.com>
* ModuleBuilder.cs, AssemblyBuilder.cs: mark the GC-tracked field with UIntPtr. svn path=/trunk/mcs/; revision=71519
-rw-r--r--mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs2
-rw-r--r--mcs/class/corlib/System.Reflection.Emit/ChangeLog6
-rw-r--r--mcs/class/corlib/System.Reflection.Emit/ModuleBuilder.cs2
3 files changed, 8 insertions, 2 deletions
diff --git a/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs b/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs
index 80682d96039..ce941531c95 100644
--- a/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs
+++ b/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs
@@ -89,7 +89,7 @@ namespace System.Reflection.Emit {
[ClassInterface (ClassInterfaceType.None)]
public sealed class AssemblyBuilder : Assembly, _AssemblyBuilder {
#region Sync with object-internals.h
- private IntPtr dynamic_assembly;
+ private UIntPtr dynamic_assembly; /* GC-tracked */
private MethodInfo entry_point;
private ModuleBuilder[] modules;
private string name;
diff --git a/mcs/class/corlib/System.Reflection.Emit/ChangeLog b/mcs/class/corlib/System.Reflection.Emit/ChangeLog
index afb77282636..7feaaffe044 100644
--- a/mcs/class/corlib/System.Reflection.Emit/ChangeLog
+++ b/mcs/class/corlib/System.Reflection.Emit/ChangeLog
@@ -1,3 +1,9 @@
+
+Tue Jan 23 17:45:07 CET 2007 Paolo Molaro <lupus@ximian.com>
+
+ * ModuleBuilder.cs, AssemblyBuilder.cs: mark the GC-tracked field
+ with UIntPtr.
+
2007-01-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
* EnumBuilder.cs: value__ must have RTSpecialName flag set.
diff --git a/mcs/class/corlib/System.Reflection.Emit/ModuleBuilder.cs b/mcs/class/corlib/System.Reflection.Emit/ModuleBuilder.cs
index decfede88b2..da6092c1d4b 100644
--- a/mcs/class/corlib/System.Reflection.Emit/ModuleBuilder.cs
+++ b/mcs/class/corlib/System.Reflection.Emit/ModuleBuilder.cs
@@ -49,7 +49,7 @@ namespace System.Reflection.Emit {
[ClassInterface (ClassInterfaceType.None)]
public class ModuleBuilder : Module, _ModuleBuilder {
#region Sync with object-internals.h
- private IntPtr dynamic_image;
+ private UIntPtr dynamic_image; /* GC-tracked */
private int num_types;
private TypeBuilder[] types;
private CustomAttributeBuilder[] cattrs;