[Mono-bugs] [Bug 433108] System.PlatformID.MacOSX should be supported

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 8 12:38:10 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=433108

User kornelpal at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=433108#c8





--- Comment #8 from Kornél Pál <kornelpal at gmail.com>  2008-10-08 10:38:09 MDT ---
I agree with you that the fix is to return MacOSX.

But I think that when relying on PlatformID the only safe thing is to fail if
the value is not known to the program.

For example if you assume that Windows is Win32S, Win32Windows, Win32NT you
will think that WinCE (that was added in .NET 1.1) is Unix.

I mean that we just can't make sure that there won't be a Win32Future value for
example.

Inside Mono there is no problem because we ship the Class Library with the
runtime so can be kept in sync. But user code can easily break.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list