10 references to Collection
System.Private.Xml (10)
System\Xml\Serialization\Models.cs (4)
57
case TypeKind.
Collection
:
197
if (model.ReadOnly && model.FieldTypeDesc.Kind != TypeKind.
Collection
&& model.FieldTypeDesc.Kind != TypeKind.Enumerable)
223
if (fieldInfo.IsInitOnly && typeDesc.Kind != TypeKind.
Collection
&& typeDesc.Kind != TypeKind.Enumerable)
238
if (!propertyInfo.CanWrite && typeDesc.Kind != TypeKind.
Collection
&& typeDesc.Kind != TypeKind.Enumerable)
System\Xml\Serialization\SoapReflectionImporter.cs (1)
194
case TypeKind.
Collection
:
System\Xml\Serialization\Types.cs (4)
307
get { return _kind == TypeKind.Array || _kind == TypeKind.
Collection
|| _kind == TypeKind.Enumerable; }
312
get { return _kind == TypeKind.
Collection
; }
814
kind = TypeKind.
Collection
;
1089
if (typeDesc.Kind == TypeKind.
Collection
|| typeDesc.Kind == TypeKind.Enumerable)
System\Xml\Serialization\XmlReflectionImporter.cs (1)
433
case TypeKind.
Collection
: