1 write to Type
System.Configuration.ConfigurationManager (1)
System\Configuration\ConfigurationProperty.cs (1)
241Type = 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)
172_isConfigurationElementType = typeof(ConfigurationElement).IsAssignableFrom(Type); 254if (!Validator.CanValidate(Type)) 274if (!Type.IsInstanceOfType(value)) 297if (defaultValue is string && (Type != typeof(string))) 313if (Type == typeof(string)) 317else if (Type.IsValueType) 319defaultValue = TypeUtil.CreateInstance(Type); 347if (Type == typeof(bool)) 381if (Type.IsEnum) 384_converter = new GenericEnumConverter(Type); 386else if (Type.IsSubclassOf(typeof(ConfigurationElement))) 394_converter = TypeDescriptor.GetConverter(Type); 401throw new ConfigurationErrorsException(SR.Format(SR.No_converter, Name, Type.Name));
System\Configuration\PropertyInformation.cs (1)
86public Type Type => Prop.Type;