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