2 writes to counterName
System (2)
services\monitoring\system\diagnosticts\PerformanceCounter.cs (2)
73counterName = String.Empty; 207counterName = value;
10 references to counterName
System (10)
services\monitoring\system\diagnosticts\PerformanceCounter.cs (10)
182helpMsg = PerformanceCounterLib.GetCounterHelp(currentMachineName, currentCategoryName, this.counterName); 200return counterName; 206if (counterName == null || String.Compare(counterName, value, StringComparison.OrdinalIgnoreCase) != 0) { 233CounterDefinitionSample counterSample = categorySample.GetCounterDefinitionSample(this.counterName); 488if (this.counterName == String.Empty) 496if (!PerformanceCounterLib.CounterExists(currentMachineName, currentCategoryName, counterName)) 497throw new InvalidOperationException(SR.GetString(SR.CounterExists, currentCategoryName, counterName)); 537this.sharedCounter = new SharedPerformanceCounter(currentCategoryName.ToLower(CultureInfo.InvariantCulture), counterName.ToLower(CultureInfo.InvariantCulture), instanceName.ToLower(CultureInfo.InvariantCulture), instanceLifetime); 561CounterDefinitionSample counterSample = categorySample.GetCounterDefinitionSample(this.counterName);