42 references to SharedUtils
System (42)
services\monitoring\system\diagnosticts\EventLog.cs (9)
418SharedUtils.EnterMutex(eventLogMutexName, ref mutex); 603SharedUtils.CheckEnvironment(); 614SharedUtils.EnterMutex(eventLogMutexName, ref mutex); 699SharedUtils.CheckEnvironment(); 708SharedUtils.EnterMutex(eventLogMutexName, ref mutex); 810SharedUtils.CheckEnvironment(); 874SharedUtils.CheckEnvironment(); 982SharedUtils.CheckEnvironment(); 1075return Path.Combine(SharedUtils.GetLatestBuildDllDirectory(machineName), DllName);
services\monitoring\system\diagnosticts\EventLogInternal.cs (16)
215throw SharedUtils.CreateSafeWin32Exception(); 266SharedUtils.CheckEnvironment(); 478throw SharedUtils.CreateSafeWin32Exception(); 570throw new InvalidOperationException(SR.GetString(SR.CantMonitorEventLog), SharedUtils.CreateSafeWin32Exception()); 638throw SharedUtils.CreateSafeWin32Exception(); 668throw SharedUtils.CreateSafeWin32Exception(); 679throw SharedUtils.CreateSafeWin32Exception(); 944throw new InvalidOperationException(SR.GetString(SR.CantRetrieveEntries), SharedUtils.CreateSafeWin32Exception(error)); 1118throw new InvalidOperationException(SR.GetString(SR.CantReadLogEntryAt, index.ToString(CultureInfo.CurrentCulture)), SharedUtils.CreateSafeWin32Exception()); 1225return Path.Combine(SharedUtils.GetLatestBuildDllDirectory(machineName), DllName); 1292SharedUtils.CheckEnvironment(); 1306e = SharedUtils.CreateSafeWin32Exception(); 1330SharedUtils.CheckEnvironment(); 1336e = SharedUtils.CreateSafeWin32Exception(); 1518SharedUtils.EnterMutex(eventLogMutexName, ref mutex); 1722throw SharedUtils.CreateSafeWin32Exception();
services\monitoring\system\diagnosticts\PerformanceCounter.cs (1)
519SharedUtils.CheckNtEnvironment();
services\monitoring\system\diagnosticts\PerformanceCounterCategory.cs (4)
244SharedUtils.CheckNtEnvironment(); 249SharedUtils.EnterMutex(perfMutexName, ref mutex); 389SharedUtils.CheckNtEnvironment(); 396SharedUtils.EnterMutex(perfMutexName, ref mutex);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (4)
916SharedUtils.CheckEnvironment(); 1167throw SharedUtils.CreateSafeWin32Exception(res); 1261throw SharedUtils.CreateSafeWin32Exception(error); 1269throw SharedUtils.CreateSafeWin32Exception(error);
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (8)
674if (SharedUtils.CurrentEnvironment == SharedUtils.W2kEnvironment) { 727SharedUtils.EnterMutexWithoutGlobal(categoryData.MutexName, ref mutex); 989SharedUtils.EnterMutexWithoutGlobal(categoryData.MutexName, ref mutex); 1121SharedUtils.EnterMutexWithoutGlobal(categoryData.MutexName, ref mutex); 1299SharedUtils.EnterMutexWithoutGlobal(categoryData.MutexName, ref mutex); 1338SharedUtils.EnterMutexWithoutGlobal(categoryData.MutexName, ref mutex); 1549SharedUtils.CheckEnvironment();