9 references to IsWindowsNT
System.Data (9)
fx\src\data\System\Data\Common\AdapterUtil.cs (2)
1880static internal readonly bool IsPlatformNT5 = (ADP.IsWindowsNT && (Environment.OSVersion.Version.Major >= 5)); 1915if (IsWindowsNT) { // we can reference SysTx just not use it on Win9X, we can't ever reference SysES on Win9X
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (1)
402if ((null == poolOptions) && ADP.IsWindowsNT) {
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (1)
469Debug.Assert(ADP.IsWindowsNT, "Attempting to construct a connection pool on Win9x?");
fx\src\data\System\Data\ProviderBase\DbConnectionPoolGroup.cs (2)
55Debug.Assert(null == poolGroupOptions || ADP.IsWindowsNT, "should not have pooling options on Win9x"); 168Debug.Assert(ADP.IsWindowsNT, "should not be pooling on Win9x");
fx\src\data\System\Data\ProviderBase\DbConnectionPoolIdentity.cs (2)
33static private readonly byte[] NetworkSid = (ADP.IsWindowsNT ? CreateWellKnownSid(WellKnownSidType.NetworkSid) : null); 99if (!ADP.IsWindowsNT) {
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (1)
260_enlist = ConvertValueToBoolean(KEY.Enlist, ADP.IsWindowsNT);