From: Martin Baulig Date: Fri, 24 May 2002 13:15:48 +0000 (-0000) Subject: 2002-05-24 Martin Baulig X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=86de22cd799a33fabdd8fd826198da24b84c4cb2;p=mono.git 2002-05-24 Martin Baulig * ParameterInfo.cs: Added internal constructor. svn path=/trunk/mcs/; revision=4901 --- diff --git a/mcs/class/corlib/System.Reflection/ChangeLog b/mcs/class/corlib/System.Reflection/ChangeLog index 6715f9e028d..4ef24a52c4d 100644 --- a/mcs/class/corlib/System.Reflection/ChangeLog +++ b/mcs/class/corlib/System.Reflection/ChangeLog @@ -1,3 +1,6 @@ +2002-05-24 Martin Baulig + + * ParameterInfo.cs: Added internal constructor. Thu May 23 17:18:46 CEST 2002 Paolo Molaro diff --git a/mcs/class/corlib/System.Reflection/ParameterInfo.cs b/mcs/class/corlib/System.Reflection/ParameterInfo.cs index 69f296a9452..52702c9a9fc 100644 --- a/mcs/class/corlib/System.Reflection/ParameterInfo.cs +++ b/mcs/class/corlib/System.Reflection/ParameterInfo.cs @@ -4,6 +4,8 @@ // // (C) 2001 Ximian, Inc. +using System.Reflection.Emit; + namespace System.Reflection { [Serializable] @@ -18,6 +20,14 @@ namespace System.Reflection protected ParameterInfo () { } + + internal ParameterInfo (ParameterBuilder pb, Type type, MemberInfo member) { + this.ClassImpl = type; + this.MemberImpl = member; + this.NameImpl = pb.Name; + this.PositionImpl = pb.Position; + this.AttrsImpl = (ParameterAttributes) pb.Attributes; + } public virtual Type ParameterType { get {return ClassImpl;}