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