2 writes to _counterSet
System.Diagnostics.PerformanceCounter (2)
System\Diagnostics\PerformanceData\CounterSet.cs (1)
42
_counterSet
= counterSetGuid;
System\Diagnostics\PerformanceData\CounterSetInstance.cs (1)
36
_counterSet._provider._hProvider, ref _counterSet.
_counterSet
, _instName, 0);
17 references to _counterSet
System.Diagnostics.PerformanceCounter (17)
System\Diagnostics\PerformanceData\CounterSet.cs (12)
44
PerfProviderCollection.RegisterCounterSet(
_counterSet
);
66
PerfProviderCollection.UnregisterCounterSet(
_counterSet
);
103
throw new InvalidOperationException(SR.Format(SR.Perflib_InvalidOperation_AddCounterAfterInstance,
_counterSet
));
110
throw new InvalidOperationException(SR.Format(SR.Perflib_InvalidOperation_AddCounterAfterInstance,
_counterSet
));
114
throw new ArgumentException(SR.Format(SR.Perflib_Argument_CounterAlreadyExists, counterId,
_counterSet
), nameof(counterId));
145
throw new InvalidOperationException(SR.Format(SR.Perflib_InvalidOperation_AddCounterAfterInstance,
_counterSet
));
152
throw new InvalidOperationException(SR.Format(SR.Perflib_InvalidOperation_AddCounterAfterInstance,
_counterSet
));
156
throw new ArgumentException(SR.Format(SR.Perflib_Argument_CounterNameAlreadyExists, counterName,
_counterSet
), nameof(counterName));
160
throw new ArgumentException(SR.Format(SR.Perflib_Argument_CounterAlreadyExists, counterId,
_counterSet
), nameof(counterId));
201
throw new InvalidOperationException(SR.Format(SR.Perflib_InvalidOperation_CounterSetContainsNoCounter,
_counterSet
));
224
CounterSetInfo->CounterSetGuid =
_counterSet
;
255
(uint)Interop.Errors.ERROR_ALREADY_EXISTS => new InvalidOperationException(SR.Format(SR.Perflib_Argument_CounterSetAlreadyRegister,
_counterSet
)),
System\Diagnostics\PerformanceData\CounterSetInstance.cs (3)
52
throw new ArgumentException(SR.Format(SR.Perflib_Argument_InstanceAlreadyExists, _instName, _counterSet.
_counterSet
), nameof(instanceName));
55
throw new InvalidOperationException(SR.Format(SR.Perflib_InvalidOperation_CounterSetNotInstalled, _counterSet.
_counterSet
));
60
throw new ArgumentException(SR.Format(SR.Perflib_Argument_InvalidInstance, _counterSet.
_counterSet
), nameof(instanceName));
System\Diagnostics\PerformanceData\CounterSetInstanceCounterDataSet.cs (2)
128
throw new InsufficientMemoryException(SR.Format(SR.Perflib_InsufficientMemory_InstanceCounterBlock, _instance._counterSet.
_counterSet
, _instance._instName));
153
(uint)Interop.Errors.ERROR_NOT_FOUND => new InvalidOperationException(SR.Format(SR.Perflib_InvalidOperation_CounterRefValue, _instance._counterSet.
_counterSet
, CounterDef.Key, _instance._instName)),