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