157 references to OSID
Binding.Custom.IntegrationTests (2)
Binding.Http.IntegrationTests (2)
Binding.UDS.IntegrationTests (1)
Binding.WS.FederationHttp.IntegrationTests (3)
Client.ChannelLayer.IntegrationTests (7)
Extensibility.WebSockets.IntegrationTests (18)
WebSocketTests.4.1.0.cs (18)
22[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7
118[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7
189[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7
262[Issue(3572, OS = OSID.OSX)]
263[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7
361[Issue(3572, OS = OSID.OSX)]
362[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7
430[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7
500[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7
558[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7
617[Issue(3572, OS = OSID.OSX)]
618[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7
676[Issue(3572, OS = OSID.OSX)]
677[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7
734[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7
775[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7
816[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7
863[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7
Infrastructure.Common (80)
OSHelper.cs (74)
22private static OSID _currentOSID = 0;
29private static List<Tuple<string, OSID>> _runtimeToOSID = new List<Tuple<string, OSID>>
31new Tuple<string, OSID>("azurelinux", OSID.AzureLinux),
32new Tuple<string, OSID>("Mariner", OSID.AzureLinux), // CBL-Mariner (legacy name for Azure Linux)
33new Tuple<string, OSID>("debian", OSID.Debian),
34new Tuple<string, OSID>("fedora", OSID.Fedora),
35new Tuple<string, OSID>("sles", OSID.SLES),
36new Tuple<string, OSID>("opensuse", OSID.OpenSUSE),
37new Tuple<string, OSID>("osx", OSID.OSX),
38new Tuple<string, OSID>("rhel", OSID.RHEL),
39new Tuple<string, OSID>("ubuntu", OSID.Ubuntu),
43new Tuple<string, OSID>("win81", OSID.Windows_8_1 | OSID.Windows_Server_2012_R2),
44new Tuple<string, OSID>("win7", OSID.Windows_7 | OSID.Windows_Server_2008_R2),
51private static List<Tuple<string, OSID>> _descriptionToOSID = new List<Tuple<string, OSID>>
53new Tuple<string, OSID>("Microsoft Azure Linux", OSID.AzureLinux),
54new Tuple<string, OSID>("Microsoft Windows 6.0.", OSID.Windows_Server_2008),
55new Tuple<string, OSID>("Microsoft Windows 6.1.", OSID.Windows_7 | OSID.Windows_Server_2008_R2),
56new Tuple<string, OSID>("Microsoft Windows 6.2.", OSID.Windows_8 | OSID.Windows_Server_2012),
57new Tuple<string, OSID>("Microsoft Windows 6.3.", OSID.Windows_8_1 | OSID.Windows_Server_2012_R2),
58new Tuple<string, OSID>("Microsoft Windows 10.", OSID.Windows_10 | OSID.Windows_Server_2016),
59new Tuple<string, OSID>(MicrosoftWindowsPhoneName, OSID.WindowsPhone),
60new Tuple<string, OSID>(MicrosoftWindowsName, OSID.AnyWindows), // reserved for "Don't know which version"
61new Tuple<string, OSID>("Darwin", OSID.OSX),
77public static OSID Current
98public static bool MatchesCurrent(this OSID id)
105public static string Name(this OSID id)
110private static OSID DetectCurrentOS()
114OSID osid = OSIDfromRuntimeEnvironment();
115if (osid == OSID.None)
128private static OSID OSIDfromOSDescription()
133return OSID.None;
141OSID detectedID = pair.Item2;
144if (detectedID == OSID.AnyWindows)
155detectedID &= ~(OSID.Windows_Server_2008 |
156OSID.Windows_7 | OSID.Windows_Server_2008_R2 |
157OSID.Windows_8 | OSID.Windows_Server_2008 | OSID.Windows_Server_2012 |
158OSID.WindowsPhone);
164detectedID = OSID.Windows_8;
173detectedID = OSID.None;
181return OSID.None;
184public static OSID OSIDfromRuntimeEnvironment()
189return OSID.None;
200return OSID.None;
Infrastructure.IntegrationTests (5)
Security.TransportSecurity.IntegrationTests (37)
Https\HttpsTests.4.1.0.cs (14)
21[Issue(2870, OS = OSID.OSX)]
69[Issue(3572, OS = OSID.OSX)]
108[Issue(3572, OS = OSID.OSX)]
147[Issue(3572, OS = OSID.OSX)]
186[Issue(3572, OS = OSID.OSX)]
224[Issue(2870, OS = OSID.OSX)]
272[Issue(2870, OS = OSID.OSX)]
313[Issue(2870, OS = OSID.OSX)]
351[Issue(2870, OS = OSID.OSX)]
401[Issue(2870, OS = OSID.OSX)]
457[Issue(3572, OS = OSID.OSX)]
458[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7
517[Issue(3572, OS = OSID.OSX)]
518[Issue(1438, OS = OSID.Windows_7)] // not supported on Win7
System.ServiceModel.Primitives.Tests (2)