From 1dcfeae373f6a0c19880a3990eaad78ba612bacf Mon Sep 17 00:00:00 2001 From: Paolo Molaro Date: Mon, 10 Jun 2002 13:12:50 +0000 Subject: [PATCH] Mon Jun 10 18:58:18 CEST 2002 Paolo Molaro * PropertyBuilder.cs: implemented ReflectedType and DeclaringType properties. svn path=/trunk/mcs/; revision=5208 --- mcs/class/corlib/System.Reflection.Emit/ChangeLog | 6 ++++++ mcs/class/corlib/System.Reflection.Emit/PropertyBuilder.cs | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/mcs/class/corlib/System.Reflection.Emit/ChangeLog b/mcs/class/corlib/System.Reflection.Emit/ChangeLog index 115be2538f1..4995f15ac40 100644 --- a/mcs/class/corlib/System.Reflection.Emit/ChangeLog +++ b/mcs/class/corlib/System.Reflection.Emit/ChangeLog @@ -1,3 +1,9 @@ + +Mon Jun 10 18:58:18 CEST 2002 Paolo Molaro + + * PropertyBuilder.cs: implemented ReflectedType and DeclaringType + properties. + 2002-06-07 Martin Baulig * TypeBuilder.cs (TypeBuilder): Added `PackingSize packing_size' and diff --git a/mcs/class/corlib/System.Reflection.Emit/PropertyBuilder.cs b/mcs/class/corlib/System.Reflection.Emit/PropertyBuilder.cs index 9a548923c23..d006a4ac142 100755 --- a/mcs/class/corlib/System.Reflection.Emit/PropertyBuilder.cs +++ b/mcs/class/corlib/System.Reflection.Emit/PropertyBuilder.cs @@ -49,7 +49,7 @@ namespace System.Reflection.Emit { get {return set_method != null;} } public override Type DeclaringType { - get {return null;} + get {return typeb;} } public override string Name { get {return name;} @@ -61,7 +61,7 @@ namespace System.Reflection.Emit { get {return type;} } public override Type ReflectedType { - get {return null;} + get {return typeb;} } public void AddOtherMethod( MethodBuilder mdBuilder) { } -- 2.25.1