[Mono-list] Re quire help with moving code to Mono (have problems)

Sebastien Pouliot sebastien.pouliot at gmail.com
Mon Dec 29 11:48:50 EST 2008


On Sun, 2008-12-28 at 21:50 -0800, davidlt wrote:
> I did some research using MoMA trying to find what is causing such behavior.
> It returned 9 error marked as "Mono Todo" in one of the main assemblies,
> basically there are two main problems:
> > void Close () -- void MarshalByValueComponent.Dispose (bool) -- No reason;

no clue - but keep in mind that MonoTODO means this is _incomplete_
compared to MS implementation, but not that it's non-working. Only
actual testing, on Mono, will show if it's complete enough for you.

> > void .ctor (string)/void .ctor (string, int)/void .ctor (Uri)/void .ctor
> > (string, string, int) -ICredentials CredentialCache.get_DefaultCredentials
> > () -- Need EnvironmentPermission implementation first.
> 
> I would like to discuss how such problems could be solved. I assume that
> writing Need EnvironmentPermission class would help to fix 4 of this errors?

In this case it looks like the author knew, likely from MSDN
documentation, that the code _should_ requires some
EnvironmentPermission. 

Now Mono does not support Code Access Security (CAS) so
having EnvironmentPermission would not change anything (if this is the
only incomplete thing). This should not be an issue unless your
application needs to run under limited trust, since all Mono code runs,
right now, at full trust.

> But what about the another 5 errors? This is something that could be fixed
> only my Mono-Dev team? I am very interested in helping to fix them.

A bit hard to answer since you did not provide them.

Sebastien



More information about the Mono-list mailing list