2 writes to PropertyType
System (2)
sys\system\configuration\ApplicationSettingsBase.cs (2)
414sp.PropertyType = propInfo.PropertyType; 534_init.PropertyType = null;
27 references to PropertyType
System (12)
sys\system\configuration\SettingsBase.cs (1)
76if (propertyValue != null && !pp.PropertyType.IsInstanceOfType(propertyValue))
sys\system\configuration\SettingsProperty.cs (1)
67_PropertyType = propertyToCopy.PropertyType;
sys\system\configuration\SettingsPropertyValue.cs (10)
46if (_Value != null && !Property.PropertyType.IsPrimitive && !(_Value is string) && !(_Value is DateTime)) 104val = GetObjectFromString(Property.PropertyType, Property.SerializeAs, (string)SerializedValue); 132if (val != null && !Property.PropertyType.IsAssignableFrom(val.GetType())) // is it the correct type 142if (Property.PropertyType.IsValueType) 143return SecurityUtils.SecureCreateInstance(Property.PropertyType); 151val = GetObjectFromString(Property.PropertyType, Property.SerializeAs, (string)Property.DefaultValue); 156if (val != null && !Property.PropertyType.IsAssignableFrom(val.GetType())) // is it the correct type 164if (Property.PropertyType == typeof(string)) { 168val = SecurityUtils.SecureCreateInstance(Property.PropertyType); 222return ConvertObjectToString(_Value, Property.PropertyType, Property.SerializeAs, Property.ThrowOnErrorSerializing);
System.Web (4)
Management\WebEvents.cs (1)
1025property.Name, property.SerializeAs.ToString(), property.PropertyType.AssemblyQualifiedName ),
Profile\ProfileModule.cs (1)
169if (length == -1 && !pp.Property.PropertyType.IsValueType) // Null Value
Profile\SqlProfileProvider.cs (2)
129if (prop.PropertyType.IsPrimitive || prop.PropertyType == typeof(string))
System.Web.Extensions (11)
ApplicationServices\ApplicationServiceHelper.cs (1)
201metadata.TypeName = property.PropertyType.AssemblyQualifiedName;
ApplicationServices\KnownTypesProvider.cs (1)
24retArray[i++] = property.PropertyType;
ClientServices\Providers\ClientSettingsProvider.cs (8)
401if (!_KnownTypesHashtable.Contains(p.Property.PropertyType)) { 402_KnownTypesHashtable.Add(p.Property.PropertyType, string.Empty); 405al.Add(p.Property.PropertyType); 424if (!_KnownTypesHashtable.Contains(p.PropertyType)) { 425_KnownTypesHashtable.Add(p.PropertyType, string.Empty); 428al.Add(p.PropertyType); 556if (de.Value != null && !setting.PropertyType.IsAssignableFrom(de.Value.GetType())) 560setting.PropertyType,
Profile\ProfileService.cs (1)
101Type propertyType = settingProperty.PropertyType;