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