1 write to m_idToCounter
System.Core (1)
System\Diagnostics\PerformanceData\CounterSet.cs (1)
64m_idToCounter = new Dictionary<Int32, CounterType>();
10 references to m_idToCounter
System.Core (10)
System\Diagnostics\PerformanceData\CounterSet.cs (8)
115if (m_idToCounter.ContainsKey(counterId)) { 119m_idToCounter.Add(counterId, counterType); 154if (m_idToCounter.ContainsKey(counterId)) { 159m_idToCounter.Add(counterId, counterType); 190if (m_idToCounter.Count == 0) { 198+ (uint) m_idToCounter.Count * (uint) sizeof(UnsafeNativeMethods.PerfCounterInfoStruct); 215CounterSetInfo->NumCounters = (uint) m_idToCounter.Count; 218foreach (KeyValuePair<Int32, CounterType> CounterDef in m_idToCounter) {
System\Diagnostics\PerformanceData\CounterSetInstanceCounterDataSet.cs (2)
125m_dataBlock = (byte *) Marshal.AllocHGlobal(m_instance.m_counterSet.m_idToCounter.Count * sizeof(Int64)); 132foreach (KeyValuePair<Int32, CounterType> CounterDef in m_instance.m_counterSet.m_idToCounter) {