6 writes to ProductName
System.Configuration.ConfigurationManager (6)
System\Configuration\ClientConfigPaths.cs (6)
307
ProductName
= ((AssemblyProductAttribute)attrs[0]).Product?.Trim();
336
if ((lastDot != -1) && (lastDot < ns.Length - 1))
ProductName
= ns.Substring(lastDot + 1);
337
else
ProductName
= ns;
339
ProductName
= ProductName.Trim();
343
if (string.IsNullOrEmpty(ProductName) && (mainType != null))
ProductName
= mainType.Name.Trim();
346
ProductName
??= string.Empty;
7 references to ProductName
System.Configuration.ConfigurationManager (7)
System\Configuration\ClientConfigPaths.cs (6)
141
namePrefix = Validate(
ProductName
, limitSize: true);
315
(string.IsNullOrEmpty(_companyName) || string.IsNullOrEmpty(
ProductName
) ||
330
if (string.IsNullOrEmpty(
ProductName
))
339
ProductName =
ProductName
.Trim();
343
if (string.IsNullOrEmpty(
ProductName
) && (mainType != null)) ProductName = mainType.Name.Trim();
361
if (string.IsNullOrEmpty(_companyName)) _companyName =
ProductName
;
System\Configuration\Internal\ConfigurationManagerInternal.cs (1)
19
string IConfigurationManagerInternal.ExeProductName => ClientConfigPaths.Current.
ProductName
;