[Mono-devel-list] Check whether an app is running on Mono (wasRe: [Mono-patches] mcs/class/corlib/Mono ChangeLog,1.1,NONERuntime.cs,1.2,NONE)

Gert Driesen gert.driesen at pandora.be
Fri May 14 02:48:57 EDT 2004


----- Original Message ----- 
From: "Gonzalo Paniagua Javier" <gonzalo at ximian.com>
To: "Mono Development" <mono-devel-list at lists.ximian.com>
Sent: Friday, May 14, 2004 8:40 AM
Subject: Re: [Mono-devel-list] Check whether an app is running on Mono
(wasRe: [Mono-patches] mcs/class/corlib/Mono
ChangeLog,1.1,NONERuntime.cs,1.2,NONE)


> >
> > Ofcourse I have no problem with this class being removed, but it would
be
> > good to agree on an another/better way to determine whether an
application
> > is running on Mono (and not MS.NET), and document this somewhere.  Any
> > proposal (eg. use a check for Mono.Math.BigInteger) ?
>
> Ugh, didn't know about that.

No, I wasn't expecting you to monitor the sourcecode of all open-source
project ;)

> What about checking for System.MonoTODOAttribute?

Sure, no problem but what if at some sunny day, all to-do's have been
resolved and someone says : what is that still doing here, and removes it ?
:-)

We should make sure this is clear to everyone, and document it (in the class
source, or on the Mono website, or both) ... so this class (or whatever
class or mechanism we propose) does not get removed

I'll make sure the involved open-source projects will be updated to reflect
this ...

Gert




More information about the Mono-devel-list mailing list