19 references to DefaultCollectionProperty
System.Configuration (19)
System\Configuration\ConfigurationElement.cs (15)
193if (Properties.DefaultCollectionProperty != null) // this is not a collection but it may contain a default collection 195collection = this[Properties.DefaultCollectionProperty] as ConfigurationElementCollection; 219if (Properties.DefaultCollectionProperty != null) { // this is not a collection but it may contain a default collection 220collection = this[Properties.DefaultCollectionProperty] as ConfigurationElementCollection; 533if (Properties.DefaultCollectionProperty != null) // this is not a collection but it may contain a default collection 535collection = this[Properties.DefaultCollectionProperty] as ConfigurationElementCollection; 553if (Properties.DefaultCollectionProperty != null) // this is not a collection but it may contain a default collection 555collection = this[Properties.DefaultCollectionProperty] as ConfigurationElementCollection; 1389if (collection == null && Properties.DefaultCollectionProperty != null) // this is not a collection but it may contain a default collection 1391collection = this[Properties.DefaultCollectionProperty] as ConfigurationElementCollection; 1438ConfigurationProperty defaultCollectionProperty = props != null ? props.DefaultCollectionProperty : null; 1613if (props.DefaultCollectionProperty != null) // this is not a collection but it may contain a default collection 1615collection = this[props.DefaultCollectionProperty] as ConfigurationElementCollection; 1651if (props.DefaultCollectionProperty != null) // this is not a collection but it may contain a default collection 1653collection = this[props.DefaultCollectionProperty] as ConfigurationElementCollection;
System\Configuration\ConfigurationLockCollection.cs (2)
94if (collection == null && _thisElement.Properties.DefaultCollectionProperty != null) { // this is not a collection but it may contain a default collection 95collection = _thisElement[_thisElement.Properties.DefaultCollectionProperty] as ConfigurationElementCollection;
System\Configuration\elementinformation.cs (2)
77if (_thisElement.Properties.DefaultCollectionProperty != null) { // this is not a collection but it may contain a default collection 78collection = _thisElement[_thisElement.Properties.DefaultCollectionProperty] as ConfigurationElementCollection;