3 writes to InstanceNameTable
System (3)
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (3)
1316
this.
InstanceNameTable
= new Hashtable(StringComparer.OrdinalIgnoreCase);
1376
this.
InstanceNameTable
= new Hashtable(1, StringComparer.OrdinalIgnoreCase);
1385
this.
InstanceNameTable
= new Hashtable(instanceNumber, StringComparer.OrdinalIgnoreCase);
16 references to InstanceNameTable
System (16)
services\monitoring\system\diagnosticts\PerformanceCounterCategory.cs (4)
452
if (categorySample.
InstanceNameTable
.Count == 0)
455
string[] instanceNames = new string[categorySample.
InstanceNameTable
.Count];
456
categorySample.
InstanceNameTable
.Keys.CopyTo(instanceNames, 0);
540
return categorySample.
InstanceNameTable
.ContainsKey(instanceName);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (12)
1377
this.
InstanceNameTable
[PerformanceCounterLib.SingleInstanceName] = 0;
1403
if (!this.
InstanceNameTable
.ContainsKey(newInstanceName)) {
1404
this.
InstanceNameTable
[newInstanceName] = i;
1562
if (!categorySample.
InstanceNameTable
.ContainsKey(instanceName)) {
1568
if (!categorySample.
InstanceNameTable
.ContainsKey(instanceName))
1572
int index = (int)categorySample.
InstanceNameTable
[instanceName];
1577
int baseIndex = (int)baseCategorySample.
InstanceNameTable
[instanceName];
1597
string[] keys = new string[categorySample.
InstanceNameTable
.Count];
1598
categorySample.
InstanceNameTable
.Keys.CopyTo(keys, 0);
1599
int[] indexes = new int[categorySample.
InstanceNameTable
.Count];
1600
categorySample.
InstanceNameTable
.Values.CopyTo(indexes, 0);
1605
int baseIndex = (int)baseCategorySample.
InstanceNameTable
[keys[index]];