Re: [Mono-dev] Open source .Net, and TLS 1.1 1.2

2014-12-14 Thread Martin Thwaites
Do we not have a flag for if it's compiled for tests, rather than release? On 14 Dec 2014 05:14, Edward Ned Harvey (mono) edward.harvey.m...@clevertrove.com wrote: From: Miguel de Icaza [mailto:mig...@xamarin.com] We would love a test case to add to the test suite. We are building a

Re: [Mono-dev] Open source .Net, and TLS 1.1 1.2

2014-12-14 Thread Edward Ned Harvey (mono)
From: mar...@my2cents.co.uk [mailto:mar...@my2cents.co.uk] On Behalf Of Martin Thwaites Do we not have a flag for if it's compiled for tests, rather than release? I don't need a flag to distinguish between tests release - I need one to determine if the test is being run on mono or windows.

Re: [Mono-dev] Open source .Net, and TLS 1.1 1.2

2014-12-14 Thread Edward Ned Harvey (mono)
From: Alexander Köplinger [mailto:alex.koeplin...@outlook.com] You can find out if you run on Mono by checking if Type.GetType (Mono.Runtime) != null. That's helpful, but doesn't quite solve it, because compilation will fail on windows ... I'm looking for something like this... #ifdef

Re: [Mono-dev] Open source .Net, and TLS 1.1 1.2

2014-12-14 Thread Rafael Teixeira
Using Reflection maybe? On Sun, Dec 14, 2014, 15:45 Edward Ned Harvey (mono) edward.harvey.m...@clevertrove.com wrote: From: Alexander Köplinger [mailto:alex.koeplin...@outlook.com] You can find out if you run on Mono by checking if Type.GetType (Mono.Runtime) != null. That's helpful,

Re: [Mono-dev] Open source .Net, and TLS 1.1 1.2

2014-12-14 Thread Alexander Köplinger
I'm curious: why do you need it to compile with MS.NET if you're testing Mono stuff? -- Alex From: edward.harvey.m...@clevertrove.com To: alex.koeplin...@outlook.com CC: mono-devel-list@lists.ximian.com Subject: RE: [Mono-dev] Open source .Net, and TLS 1.1 1.2 Date: Sun, 14 Dec 2014

Re: [Mono-dev] Open source .Net, and TLS 1.1 1.2

2014-12-14 Thread Eberhard Beilharz
Wouldn't #if __MonoCS__ do what you want? Mono edward.harvey.m...@clevertrove.com wrote on 2014-12-14 at 18:44 +0100: From: Alexander Köplinger [mailto:alex.koeplin...@outlook.com] You can find out if you run on Mono by checking if Type.GetType (Mono.Runtime) != null. That's helpful, but