11 references to CounterType
System.Core (1)
System.Core.cs (1)
63[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.PerformanceData.CounterType))]
System.Diagnostics.PerformanceCounter (10)
System\Diagnostics\PerformanceData\CounterSet.cs (5)
26internal Dictionary<int, CounterType> _idToCounter; 48_idToCounter = new Dictionary<int, CounterType>(); 91public void AddCounter(int counterId, CounterType counterType) 127public void AddCounter(int counterId, CounterType counterType, string counterName) 229foreach (KeyValuePair<int, CounterType> CounterDef in _idToCounter)
System\Diagnostics\PerformanceData\CounterSetInstanceCounterDataSet.cs (1)
133foreach (KeyValuePair<int, CounterType> CounterDef in _instance._counterSet._idToCounter)
System\Diagnostics\PerformanceData\PerfProviderCollection.cs (4)
36private static readonly CounterType[] s_counterTypes = Enum.GetValues<CounterType>(); 114internal static bool ValidateCounterType(CounterType inCounterType) 116foreach (CounterType DefinedCounterType in s_counterTypes)