1 write to m_counterSet
System.Core (1)
System\Diagnostics\PerformanceData\CounterSetInstance.cs (1)
42m_counterSet = counterSetDefined;
19 references to m_counterSet
System.Core (19)
System\Diagnostics\PerformanceData\CounterSetInstance.cs (9)
46m_counterSet.m_provider.m_hProvider, ref m_counterSet.m_counterSet, m_instName, 0); 59throw new ArgumentException(SR.GetString(SR.Perflib_Argument_InstanceAlreadyExists, m_instName, m_counterSet.m_counterSet), "InstanceName"); 62throw new InvalidOperationException( SR.GetString(SR.Perflib_InvalidOperation_CounterSetNotInstalled, m_counterSet.m_counterSet)); 65if (m_counterSet.m_instType == CounterSetInstanceType.Single) { 66throw new ArgumentException(SR.GetString(SR.Perflib_Argument_InvalidInstance, m_counterSet.m_counterSet), "InstanceName"); 102lock(m_counterSet) { 103if (m_counterSet.m_provider != null) { 104uint Status = UnsafeNativeMethods.PerfDeleteInstance(m_counterSet.m_provider.m_hProvider, m_nativeInst);
System\Diagnostics\PerformanceData\CounterSetInstanceCounterDataSet.cs (10)
118if (m_instance.m_counterSet.m_provider == null) { 119throw new ArgumentException(SR.GetString(SR.Perflib_Argument_ProviderNotFound, m_instance.m_counterSet.m_providerGuid), "ProviderGuid"); 121if (m_instance.m_counterSet.m_provider.m_hProvider.IsInvalid) { 122throw new InvalidOperationException(SR.GetString(SR.Perflib_InvalidOperation_NoActiveProvider, m_instance.m_counterSet.m_providerGuid)); 125m_dataBlock = (byte *) Marshal.AllocHGlobal(m_instance.m_counterSet.m_idToCounter.Count * sizeof(Int64)); 127throw new InsufficientMemoryException(SR.GetString(SR.Perflib_InsufficientMemory_InstanceCounterBlock, m_instance.m_counterSet.m_counterSet, m_instance.m_instName)); 132foreach (KeyValuePair<Int32, CounterType> CounterDef in m_instance.m_counterSet.m_idToCounter) { 140m_instance.m_counterSet.m_provider.m_hProvider, 150throw new InvalidOperationException(SR.GetString(SR.Perflib_InvalidOperation_CounterRefValue, m_instance.m_counterSet.m_counterSet, CounterDef.Key, m_instance.m_instName)); 225Int32 CounterId = m_instance.m_counterSet.m_stringToId[counterName];