[Mono-list] Mono Bug: Type.Missing != Missing.Value

Miguel de Icaza miguel at novell.com
Wed Sep 23 20:21:39 EDT 2009


Hello Dino,

   This has been fixed on Mono trunk (what will become Mono 2.6) and on
the 2.4 branch, so the next 2.4.x release will also include this fix.

   Thanks for the report!

Miguel.

> It looks like Mono has a bug w/ Type.Missing not being the same as
> System.Reflection.Missing.Value:
> 
>  
> 
> using System;
> 
>  
> 
> public class Foo {
> 
>     public static void Main(string[] args) {
> 
>         Console.WriteLine(Type.Missing ==
> System.Reflection.Missing.Value);
> 
>     }
> 
> }
> 
>  
> 
> I tested on 2.4.2.3 on Windows and this prints False where .NET prints
> True.
> 
>  
> 
> We had this bug reported against IronPython:
> http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=24186
> 
>  
> 
> I can switch to always using Missing.Value in IronPython but thought
> you might be interested in knowing about the issue.
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list