33 references to IsArrayLike
System.Private.Xml (33)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (5)
224
else if (mapping.TypeDesc!.
IsArrayLike
697
if (anyTextMapping.TypeDesc!.
IsArrayLike
)
814
bool isList = member!.Mapping.TypeDesc!.
IsArrayLike
&& !member.Mapping.TypeDesc.IsArray;
1632
if (mapping.TypeDesc!.
IsArrayLike
)
1634
if (member.Source == null && mapping.TypeDesc.
IsArrayLike
&& !(mapping.Elements!.Length == 1 && mapping.Elements[0].Mapping is ArrayMapping))
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (2)
118
if (memberTypeDesc.
IsArrayLike
&&
765
if (memberTypeDesc.
IsArrayLike
)
System\Xml\Serialization\Types.cs (1)
723
if (!typeDesc.
IsArrayLike
)
System\Xml\Serialization\XmlReflectionImporter.cs (5)
1334
if (typeDesc.
IsArrayLike
)
1390
choiceIdentifierType = GetChoiceIdentifierType(a.XmlChoiceIdentifier, xmlReflectionMembers, typeDesc.
IsArrayLike
, model.Name);
1421
choiceIdentifierType = GetChoiceIdentifierType(a.XmlChoiceIdentifier, parent, model.FieldTypeDesc.
IsArrayLike
, model.Name);
1569
if (accessor.TypeDesc.
IsArrayLike
)
1977
if (accessor.TypeDesc.
IsArrayLike
&& accessor.Elements.Length > 0 && !(accessor.Elements[0].Mapping is ArrayMapping))
System\Xml\Serialization\XmlSchemaExporter.cs (3)
85
if (member.TypeDesc!.
IsArrayLike
&& !(member.Elements[0].Mapping is ArrayMapping))
172
bool isUnbounded = member.Mapping.TypeDesc!.
IsArrayLike
;
1057
bool repeats = member.TypeDesc!.
IsArrayLike
&&
System\Xml\Serialization\XmlSerializationReader.cs (5)
2117
if (mapping.TypeDesc!.
IsArrayLike
)
2557
else if (mapping.TypeDesc!.
IsArrayLike
&& !(mapping.Elements!.Length == 1 && mapping.Elements[0].Mapping is ArrayMapping))
2564
if (mapping.TypeDesc.
IsArrayLike
&& !mapping.TypeDesc.IsArray)
3357
if (mapping.TypeDesc.
IsArrayLike
)
3360
if (mapping.TypeDesc.
IsArrayLike
&& !(mapping.Elements!.Length == 1 && mapping.Elements[0].Mapping is ArrayMapping))
System\Xml\Serialization\XmlSerializationReaderILGen.cs (8)
79
if (mapping.TypeDesc!.
IsArrayLike
)
484
else if (mapping.TypeDesc!.
IsArrayLike
&& !(mapping.Elements!.Length == 1 && mapping.Elements[0].Mapping is ArrayMapping))
491
if (mapping.TypeDesc.
IsArrayLike
&& !mapping.TypeDesc.IsArray)
1581
if (mapping.TypeDesc.
IsArrayLike
)
1584
if (mapping.TypeDesc.
IsArrayLike
&& !(mapping.Elements!.Length == 1 && mapping.Elements[0].Mapping is ArrayMapping))
2041
WriteSourceEnd(member.ArraySource, member.Mapping.TypeDesc!.
IsArrayLike
? member.Mapping.TypeDesc.ArrayElementTypeDesc!.Type! : member.Mapping.TypeDesc.Type!);
2059
WriteSourceEnd(member.ArraySource, member.Mapping.TypeDesc!.
IsArrayLike
? member.Mapping.TypeDesc.ArrayElementTypeDesc!.Type! : member.Mapping.TypeDesc.Type!);
2108
WriteSourceEnd(member.ArraySource, member.Mapping.TypeDesc!.
IsArrayLike
? member.Mapping.TypeDesc.ArrayElementTypeDesc!.Type! : member.Mapping.TypeDesc.Type!);
System\Xml\Serialization\XmlSerializationWriter.cs (2)
3291
if (memberTypeDesc.
IsArrayLike
)
3486
if (memberTypeDesc.
IsArrayLike
&&
System\Xml\Serialization\XmlSerializationWriterILGen.cs (2)
1155
if (memberTypeDesc.
IsArrayLike
)
1406
if (memberTypeDesc.
IsArrayLike
&&