[Mono-list] Mono on Linux and Missing methods

Zacharia Karami heatedphoenix at gmail.com
Fri May 22 11:51:42 UTC 2015

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,

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

> > From: Zacharia Karami [mailto:heatedphoenix at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20150522/05bfd817/attachment-0001.html>

More information about the Mono-list mailing list