[Mono-devel-list] Removing GetHashCode and Equal from System.AppDomain and System.OperatingSystem

Paolo Molaro lupus at ximian.com
Tue Jul 29 06:17:53 EDT 2003


On 07/25/03 Duncan Mak wrote:
> > > +++ System.Reflection.Emit/OpCodes.cs	24 Jul 2003 03:40:47 -0000
> > > @@ -36,7 +36,7 @@ namespace System.Reflection.Emit {
> > >    		public static readonly OpCode Box;
> > > -  		public static readonly OpCode Boxval;
> > > +//  		public static readonly OpCode Boxval;
> > 
> > Did you compile after the change? You'd also need to remove the line
> > where Boxval is assigned to. Though I don't know of any user of this
> > opcode, the .net 1.0 framework has it (it's the same as Box). They
> > have it marked with the Obsolete attribute and we probably should do the
> > same.
> 
> Here's a patch that marks Boxval with the ObsoleteAttribute. Should I
> commit this? Should I also remove the line where Boxval is assigned to?

Please commit the patch as is, you should not remove the assignment.
Thanks.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list