Searched refs:OsKind (Results 1 – 2 of 2) sorted by relevance
42 public enum OsKind { Unknown, Windows, Linux, MacOsX }; enum in Grpc.Tools.Platform43 public static readonly OsKind Os;50 public static bool IsFsCaseInsensitive => Os == OsKind.Windows;51 public static bool IsWindows => Os == OsKind.Windows;56 Os = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? OsKind.Windows in Platform()57 : RuntimeInformation.IsOSPlatform(OSPlatform.Linux) ? OsKind.Linux in Platform()58 : RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ? OsKind.MacOsX in Platform()59 : OsKind.Unknown; in Platform()73 Os = OsKind.Windows; in Platform()77 Os = OsKind.MacOsX; in Platform()[all …]
48 case Platform.OsKind.Linux: Os = "linux"; break; in Execute()49 case Platform.OsKind.MacOsX: Os = "macosx"; break; in Execute()50 case Platform.OsKind.Windows: Os = "windows"; break; in Execute()