13 references to Type
System.Configuration (12)
System\Configuration\ConfigurationElement.cs (9)
671
ConfigurationElement childElement = CreateElement(prop.
Type
);
677
if (typeof(ConfigurationElementCollection).IsAssignableFrom(prop.
Type
)) {
854
if (result != null && typeof(ConfigurationElement).IsAssignableFrom(result.
Type
)) {
857
PropertiesFromType(result.
Type
, out unused);
1309
if (typeof(ConfigurationElement).IsAssignableFrom(validProp.
Type
)) {
1318
if (!typeof(ConfigurationElement).IsAssignableFrom(validProp.
Type
)) {
1382
typeof(ConfigurationElement).IsAssignableFrom(propToLock.
Type
)) || // or if not locking elements but the property is a element
1384
!typeof(ConfigurationElement).IsAssignableFrom(propToLock.
Type
)) // or if locking elements but the property is not an element
1625
if (propToLock != null && typeof(ConfigurationElement).IsAssignableFrom(propToLock.
Type
)) {
System\Configuration\ConfigurationLockCollection.cs (2)
115
if (!typeof(ConfigurationElement).IsAssignableFrom(propToLock.
Type
)) {
121
if (typeof(ConfigurationElement).IsAssignableFrom(propToLock.
Type
)) {
System\Configuration\PropertyInformation.cs (1)
185
return Prop.
Type
;
System.ServiceModel (1)
System\ServiceModel\Configuration\ServiceModelConfigurationElement.cs (1)
25
Contract.Assert(configurationProperty.
Type
.IsAssignableFrom(typeof(T)), "Parameter 'propertyName' should be the name of a configuration property of type T");