2 writes to CounterNames
System (2)
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (2)
664
data.
CounterNames
= names;
670
data.
CounterNames
= new ArrayList(counterNames);
16 references to CounterNames
System (16)
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (16)
115
if (!categoryData.
CounterNames
.Contains(counterName))
209
totalSize = CategoryEntrySize + InstanceEntrySize + (CounterEntrySize * categoryData.
CounterNames
.Count) + categoryNameLength;
210
for (int i=0; i<categoryData.
CounterNames
.Count; i++) {
211
totalSize += (((string)categoryData.
CounterNames
[i]).Length + 1) * 2;
262
nextPtr += CounterEntrySize * categoryData.
CounterNames
.Count;
287
string counterName = (string) categoryData.
CounterNames
[0];
295
for (int i=1; i<categoryData.
CounterNames
.Count; i++) {
297
counterName = (string) categoryData.
CounterNames
[i];
328
int totalSize = InstanceEntrySize + (CounterEntrySize * categoryData.
CounterNames
.Count);
352
for (int i=0; i<categoryData.
CounterNames
.Count; i++) {
353
totalSize += (((string)categoryData.
CounterNames
[i]).Length + 1) * 2;
368
nextPtr += CounterEntrySize * categoryData.
CounterNames
.Count;
400
for (int i=1; i<categoryData.
CounterNames
.Count; i++) {
416
for (int i=0; i<categoryData.
CounterNames
.Count; i++) {
417
string counterName = (string) categoryData.
CounterNames
[i];
926
int totalSize = InstanceEntrySize + ProcessLifetimeEntrySize + InstanceNameSlotSize + (CounterEntrySize * categoryData.
CounterNames
.Count);