2 writes to _nativeInst
System.Diagnostics.PerformanceCounter (2)
System\Diagnostics\PerformanceData\CounterSetInstance.cs (2)
35
_nativeInst
= Interop.PerfCounter.PerfCreateInstance(
106
_nativeInst
= null;
5 references to _nativeInst
System.Diagnostics.PerformanceCounter (5)
System\Diagnostics\PerformanceData\CounterSetInstance.cs (4)
37
int Status = (int)((
_nativeInst
!= null) ? Interop.Errors.ERROR_SUCCESS : Marshal.GetLastWin32Error());
38
if (
_nativeInst
!= null)
98
if (
_nativeInst
!= null && Interlocked.Exchange(ref _active, 0) != 0)
104
Interop.PerfCounter.PerfDeleteInstance(_counterSet._provider._hProvider,
_nativeInst
);
System\Diagnostics\PerformanceData\CounterSetInstanceCounterDataSet.cs (1)
143
_instance.
_nativeInst
,