Lines Matching refs:OsKind
42 public enum OsKind { Unknown, Windows, Linux, MacOsX }; enum in Grpc.Tools.Platform
43 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()
81 Os = OsKind.Linux; in Platform()