4 writes to PropertyType
System.Configuration.ConfigurationManager (4)
System\Configuration\ApplicationSettingsBase.cs (2)
451settingsProperty.PropertyType = propertyInfo.PropertyType; 593_init.PropertyType = null;
System\Configuration\SettingsProperty.cs (2)
38PropertyType = propertyType; 71PropertyType = propertyToCopy.PropertyType;
12 references to PropertyType
System.Configuration.ConfigurationManager (12)
System\Configuration\SettingsBase.cs (1)
83if (propertyValue != null && !pp.PropertyType.IsInstanceOfType(propertyValue))
System\Configuration\SettingsProperty.cs (1)
71PropertyType = propertyToCopy.PropertyType;
System\Configuration\SettingsPropertyValue.cs (10)
41if (_value != null && !Property.PropertyType.IsPrimitive && !(_value is string) && !(_value is DateTime)) 90value = GetObjectFromString(Property.PropertyType, Property.SerializeAs, (string)SerializedValue); 118if (value != null && !Property.PropertyType.IsAssignableFrom(value.GetType())) // is it the correct type 128if (Property.PropertyType.IsValueType) 129return TypeUtil.CreateInstance(Property.PropertyType); 141value = GetObjectFromString(Property.PropertyType, Property.SerializeAs, (string)Property.DefaultValue); 149if (value != null && !Property.PropertyType.IsAssignableFrom(value.GetType())) // is it the correct type 156if (Property.PropertyType == typeof(string)) 164value = TypeUtil.CreateInstance(Property.PropertyType); 226return ConvertObjectToString(_value, Property.PropertyType, Property.SerializeAs, Property.ThrowOnErrorSerializing);