[Mono-dev] [PATCH] Add missing DateTimeOffset operators to XElement

Tiaan Geldenhuys tagdev at gmail.com
Sun Jan 10 02:47:04 EST 2010

Thanks, Atsushi.  Fair enough, see the attachment for the enhanced tests
that you can also apply to the trunk; the test for my earlier patch is
simply whether the enhanced code can compile under Mono.  However, once
compiled and running, the extra tests also highlight numerous discrepancies
between the behavior of Mono and MS .NET when using the casting operators of
XElement (all the new CastXxx tests pass under .NET, while many fail under
Mono).  It seems that the underlying XmlConvert class may cause some of the
problems.  Since I provided the welcomed tests, would you mind logging these
bugs or fixing them?  ;-)


-----Original Message-----
From: Atsushi Eno [mailto:atsushieno at veritas-vos-liberabit.com] 
Sent: 09 January 2010 3:51 AM
To: Tiaan Geldenhuys
Cc: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] [PATCH] Add missing DateTimeOffset operators to


Thanks, I'm going to apply the patch.  (Patches with tests are more 
welcomed ;-)

Atsushi Eno

On 2010/01/09 13:04, Tiaan Geldenhuys wrote:
> This patch adds two of the newer DateTimeOffset operators that are 
> still missing on the System.Xml.Linq.XElement class.
> Please commit.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MonoTests-System-Xml-Linq-XElementTest_type-cast-operators_mcs-class-trunk.patch
Type: application/octet-stream
Size: 61917 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100110/660a7545/attachment-0001.obj 

More information about the Mono-devel-list mailing list