Util.cs 247 B

12345678910111213
  1. namespace System
  2. {
  3. internal static class MonoUtil
  4. {
  5. public readonly static bool IsUnix;
  6. static MonoUtil ()
  7. {
  8. int platform = (int) Environment.OSVersion.Platform;
  9. IsUnix = platform == 4 || platform == 128 || platform == 6;
  10. }
  11. }
  12. }