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