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