1 write to m_instance
System.Core (1)
System\Diagnostics\PerformanceData\CounterSetInstanceCounterDataSet.cs (1)
114
m_instance
= thisInst;
13 references to m_instance
System.Core (13)
System\Diagnostics\PerformanceData\CounterSetInstanceCounterDataSet.cs (13)
118
if (
m_instance
.m_counterSet.m_provider == null) {
119
throw new ArgumentException(SR.GetString(SR.Perflib_Argument_ProviderNotFound,
m_instance
.m_counterSet.m_providerGuid), "ProviderGuid");
121
if (
m_instance
.m_counterSet.m_provider.m_hProvider.IsInvalid) {
122
throw new InvalidOperationException(SR.GetString(SR.Perflib_InvalidOperation_NoActiveProvider,
m_instance
.m_counterSet.m_providerGuid));
125
m_dataBlock = (byte *) Marshal.AllocHGlobal(
m_instance
.m_counterSet.m_idToCounter.Count * sizeof(Int64));
127
throw new InsufficientMemoryException(SR.GetString(SR.Perflib_InsufficientMemory_InstanceCounterBlock,
m_instance
.m_counterSet.m_counterSet,
m_instance
.m_instName));
132
foreach (KeyValuePair<Int32, CounterType> CounterDef in
m_instance
.m_counterSet.m_idToCounter) {
140
m_instance
.m_counterSet.m_provider.m_hProvider,
141
m_instance
.m_nativeInst,
150
throw new InvalidOperationException(SR.GetString(SR.Perflib_InvalidOperation_CounterRefValue,
m_instance
.m_counterSet.m_counterSet, CounterDef.Key,
m_instance
.m_instName));
225
Int32 CounterId =
m_instance
.m_counterSet.m_stringToId[counterName];