[MonoDevelop] Reduced exceptions patch
Michael Hutchinson
m.j.hutchinson at gmail.com
Wed May 20 13:43:25 EDT 2009
On Wed, May 20, 2009 at 6:53 AM, Carlo Kok <ck at carlo-kok.com> wrote:
> * main/Main.sln: Enabled the working projects in the DebugWin32
> configuration
> * main/src/core/Mono.Texteditor/Mono.TextEditor/Platform.cs: Skip
> IsRunningOnMac check when running on windows
> * main/src/core/MonoDevelop.Core/MonoDevelop.Core/PropertyService.cs: Skip
> IsrunningOnMac check when running on windows
Why not just use if (Environment.OSVersion.Platform ==
PlatformID.Unix) instead of all the Windows checks? Or better, do the
IsWindows check first, and only check Mac is that's false.
--
Michael Hutchinson
http://mjhutchinson.com
More information about the Monodevelop-list
mailing list