153 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 (76)
OSHelper.cs (70)
22private static OSID _currentOSID = 0;
29private static List<Tuple<string, OSID>> _runtimeToOSID = new List<Tuple<string, OSID>>
31new Tuple<string, OSID>("Mariner", OSID.Mariner),
32new Tuple<string, OSID>("debian", OSID.Debian),
33new Tuple<string, OSID>("fedora", OSID.Fedora),
34new Tuple<string, OSID>("sles", OSID.SLES),
35new Tuple<string, OSID>("opensuse", OSID.OpenSUSE),
36new Tuple<string, OSID>("osx", OSID.OSX),
37new Tuple<string, OSID>("rhel", OSID.RHEL),
38new Tuple<string, OSID>("ubuntu", OSID.Ubuntu),
42new Tuple<string, OSID>("win81", OSID.Windows_8_1 | OSID.Windows_Server_2012_R2),
43new Tuple<string, OSID>("win7", OSID.Windows_7 | OSID.Windows_Server_2008_R2),
50private static List<Tuple<string, OSID>> _descriptionToOSID = new List<Tuple<string, OSID>>
52new Tuple<string, OSID>("Microsoft Windows 6.0.", OSID.Windows_Server_2008),
53new Tuple<string, OSID>("Microsoft Windows 6.1.", OSID.Windows_7 | OSID.Windows_Server_2008_R2),
54new Tuple<string, OSID>("Microsoft Windows 6.2.", OSID.Windows_8 | OSID.Windows_Server_2012),
55new Tuple<string, OSID>("Microsoft Windows 6.3.", OSID.Windows_8_1 | OSID.Windows_Server_2012_R2),
56new Tuple<string, OSID>("Microsoft Windows 10.", OSID.Windows_10 | OSID.Windows_Server_2016),
57new Tuple<string, OSID>(MicrosoftWindowsPhoneName, OSID.WindowsPhone),
58new Tuple<string, OSID>(MicrosoftWindowsName, OSID.AnyWindows),  // reserved for "Don't know which version"
59new Tuple<string, OSID>("Darwin", OSID.OSX),
75public static OSID Current
96public static bool MatchesCurrent(this OSID id)
103public static string Name(this OSID id)
108private static OSID DetectCurrentOS()
112OSID osid = OSIDfromRuntimeEnvironment();
113if (osid == OSID.None)
126private static OSID OSIDfromOSDescription()
131return OSID.None;
139OSID detectedID =  pair.Item2;
142if (detectedID == OSID.AnyWindows)
153detectedID &= ~(OSID.Windows_Server_2008 |
154OSID.Windows_7 | OSID.Windows_Server_2008_R2 |
155OSID.Windows_8 | OSID.Windows_Server_2008 | OSID.Windows_Server_2012 |
156OSID.WindowsPhone);
162detectedID = OSID.Windows_8;
171detectedID = OSID.None;
179return OSID.None;
182public static OSID OSIDfromRuntimeEnvironment()
187return OSID.None;
198return 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)