Thank you, this is indeed the conclusion I stumbled upon right before your
previous email.

My solution (for anyone else reading with this issue at some point) is to
just implement the patch as produced by someone for the Mono project myself
(as linked to here https://github.com/mono/mono/pull/641).

Just turn it into an extension method for IPaddress and there you go. I'll
use your tip in the future, though.

Thanks and regards,
Zacharia

On Fri, May 22, 2015 at 1:42 PM, Edward Ned Harvey (mono) <
edward.harvey.m...@clevertrove.com> wrote:

> > From: Zacharia Karami [mailto:heatedphoe...@gmail.com]
> >
> > "It works in 4.5" on Windows. But again, there is a problem (in so far
> that
>
> Oh! Ok, I get it. You should check the mono class compatibility page.
> Although *most* stuff in .Net is implemented in mono, there are areas where
> things are known absent or broken. So whenever you encounter something like
> this, which works in .Net and doesn't work in mono, always start by
> checking the class status page.
>
> From http://mono-project.com, Documentation, About Mono, Class Status,
> Status.
>
> Here, you can browse the 4.5 column, System.Net.IPAddress, and the two
> methods MapToIPv4 and MapToIPv6 are both marked as broken. There may be
> more info somewhere about *why* it's broken and what needs to happen to fix
> it, but that would be a discussion best for the mono-dev list, to assist in
> fixing mono sources.
>
> In this case, you have a definite answer. That method is definitely just
> broken in mono, end of story. Your only solution is not to use that method
> on mono... Hopefully there is a workaround you can use without suffering
> too much pain.
>
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to