[MonoDevelop] Reduced exceptions patch

Carlo Kok ck at carlo-kok.com
Mon May 25 03:05:55 EDT 2009


On 20-5-2009 19:43, Michael Hutchinson wrote:
> 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.
>

Fixed.
-- 
Carlo Kok

RemObjects Software
The Infrastructure Company
http://www.remobjects.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: exception_patches2.diff
Url: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20090525/c357beec/attachment-0001.pl 


More information about the Monodevelop-list mailing list