1 write to Type
System.Configuration.ConfigurationManager (1)
System\Configuration\ConfigurationProperty.cs (1)
245Type = type;
25 references to Type
System.Configuration.ConfigurationManager (25)
System\Configuration\ConfigurationElement.cs (9)
128ConfigurationElement childElement = CreateElement(prop.Type); 132if (typeof(ConfigurationElementCollection).IsAssignableFrom(prop.Type)) 775if ((result != null) && typeof(ConfigurationElement).IsAssignableFrom(result.Type)) 777PropertiesFromType(result.Type, out _); 1228if (typeof(ConfigurationElement).IsAssignableFrom(validProp.Type)) 1239if (!typeof(ConfigurationElement).IsAssignableFrom(validProp.Type)) 1321typeof(ConfigurationElement).IsAssignableFrom(propToLock.Type)) || 1325!typeof(ConfigurationElement).IsAssignableFrom(propToLock.Type)) 1642if ((propToLock != null) && typeof(ConfigurationElement).IsAssignableFrom(propToLock.Type))
System\Configuration\ConfigurationLockCollection.cs (2)
172if (!typeof(ConfigurationElement).IsAssignableFrom(propToLock?.Type)) 178if (typeof(ConfigurationElement).IsAssignableFrom(propToLock?.Type))
System\Configuration\ConfigurationProperty.cs (13)
176_isConfigurationElementType = typeof(ConfigurationElement).IsAssignableFrom(Type); 258if (!Validator.CanValidate(Type)) 278if (!Type.IsInstanceOfType(value)) 301if (defaultValue is string && (Type != typeof(string))) 317if (Type == typeof(string)) 321else if (Type.IsValueType) 323defaultValue = TypeUtil.CreateInstance(Type); 351if (Type == typeof(bool)) 385if (Type.IsEnum) 388_converter = new GenericEnumConverter(Type); 390else if (Type.IsSubclassOf(typeof(ConfigurationElement))) 398_converter = TypeDescriptor.GetConverter(Type); 405throw new ConfigurationErrorsException(SR.Format(SR.No_converter, Name, Type.Name));
System\Configuration\PropertyInformation.cs (1)
86public Type Type => Prop.Type;