3 references to InstanceNameMaxLength
System.Diagnostics.PerformanceCounter (3)
System\Diagnostics\PerformanceCounterLib.cs (2)
1733if (instanceName.Length > SharedPerformanceCounter.InstanceNameMaxLength) 1734instanceName = instanceName.Substring(0, SharedPerformanceCounter.InstanceNameMaxLength);
System\Diagnostics\SharedPerformanceCounter.cs (1)
98if (instanceName != null && instanceName.Length > InstanceNameMaxLength)