Home
last modified time | relevance | path

Searched refs:OsKind (Results 1 – 2 of 2) sorted by relevance

/third_party/grpc/src/csharp/Grpc.Tools/
DCommon.cs42 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()
[all …]
DProtoToolsPlatform.cs48 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()