10 references to Collection
System.Xml (10)
System\Xml\Serialization\Models.cs (4)
50
case TypeKind.
Collection
:
157
if (model.ReadOnly && model.FieldTypeDesc.Kind != TypeKind.
Collection
&& model.FieldTypeDesc.Kind != TypeKind.Enumerable)
182
if (fieldInfo.IsInitOnly && typeDesc.Kind != TypeKind.
Collection
&& typeDesc.Kind != TypeKind.Enumerable)
194
if (!propertyInfo.CanWrite && typeDesc.Kind != TypeKind.
Collection
&& typeDesc.Kind != TypeKind.Enumerable)
System\Xml\Serialization\SoapReflectionImporter.cs (1)
208
case TypeKind.
Collection
:
System\Xml\Serialization\Types.cs (4)
276
get { return kind == TypeKind.Array || kind == TypeKind.
Collection
|| kind == TypeKind.Enumerable; }
280
get { return kind == TypeKind.
Collection
; }
743
kind = TypeKind.
Collection
;
980
if (typeDesc.Kind == TypeKind.
Collection
|| typeDesc.Kind == TypeKind.Enumerable) {
System\Xml\Serialization\XmlReflectionImporter.cs (1)
377
case TypeKind.
Collection
: