31 references to IsArrayLike
System.Xml (31)
System\Xml\Serialization\Types.cs (1)
662
if (!typeDesc.
IsArrayLike
)
System\Xml\Serialization\XmlCodeExporter.cs (5)
383
if (memberTypeDesc.
IsArrayLike
&& accessor is ElementAccessor) {
626
(member.TypeDesc.
IsArrayLike
&& mapping.TypeDesc == member.TypeDesc.ArrayElementTypeDesc);
644
(member.TypeDesc.
IsArrayLike
&& mapping.TypeDesc == member.TypeDesc.ArrayElementTypeDesc);
672
(member.TypeDesc.
IsArrayLike
&& mapping.TypeDesc == member.TypeDesc.ArrayElementTypeDesc);
673
if (member.TypeDesc.
IsArrayLike
)
System\Xml\Serialization\XmlReflectionImporter.cs (5)
1156
if (typeDesc.
IsArrayLike
) {
1204
choiceIdentifierType = GetChoiceIdentifierType(a.XmlChoiceIdentifier, xmlReflectionMembers, typeDesc.
IsArrayLike
, model.Name);
1230
choiceIdentifierType = GetChoiceIdentifierType(a.XmlChoiceIdentifier, parent, model.FieldTypeDesc.
IsArrayLike
, model.Name);
1356
if (accessor.TypeDesc.
IsArrayLike
) {
1720
if (accessor.TypeDesc.
IsArrayLike
&& accessor.Elements.Length > 0 && !(accessor.Elements[0].Mapping is ArrayMapping))
System\Xml\Serialization\XmlSchemaExporter.cs (3)
99
if (member.TypeDesc.
IsArrayLike
&& !(member.Elements[0].Mapping is ArrayMapping))
176
bool isUnbounded = member.Mapping.TypeDesc.
IsArrayLike
;
937
bool repeats = member.TypeDesc.
IsArrayLike
&&
System\Xml\Serialization\XmlSerializationReader.cs (5)
2024
if (mapping.TypeDesc.
IsArrayLike
) {
2405
else if (mapping.TypeDesc.
IsArrayLike
&& !(mapping.Elements.Length == 1 && mapping.Elements[0].Mapping is ArrayMapping)) {
2410
if (mapping.TypeDesc.
IsArrayLike
&& !mapping.TypeDesc.IsArray)
3133
if (mapping.TypeDesc.
IsArrayLike
) {
3135
if (mapping.TypeDesc.
IsArrayLike
&& !(mapping.Elements.Length == 1 && mapping.Elements[0].Mapping is ArrayMapping)) {
System\Xml\Serialization\XmlSerializationReaderILGen.cs (8)
92
if (mapping.TypeDesc.
IsArrayLike
) {
496
else if (mapping.TypeDesc.
IsArrayLike
&& !(mapping.Elements.Length == 1 && mapping.Elements[0].Mapping is ArrayMapping)) {
501
if (mapping.TypeDesc.
IsArrayLike
&& !mapping.TypeDesc.IsArray)
1607
if (mapping.TypeDesc.
IsArrayLike
) {
1609
if (mapping.TypeDesc.
IsArrayLike
&& !(mapping.Elements.Length == 1 && mapping.Elements[0].Mapping is ArrayMapping)) {
2101
WriteSourceEnd(member.ArraySource, member.Mapping.TypeDesc.
IsArrayLike
? member.Mapping.TypeDesc.ArrayElementTypeDesc.Type : member.Mapping.TypeDesc.Type);
2117
WriteSourceEnd(member.ArraySource, member.Mapping.TypeDesc.
IsArrayLike
? member.Mapping.TypeDesc.ArrayElementTypeDesc.Type : member.Mapping.TypeDesc.Type);
2169
WriteSourceEnd(member.ArraySource, member.Mapping.TypeDesc.
IsArrayLike
? member.Mapping.TypeDesc.ArrayElementTypeDesc.Type : member.Mapping.TypeDesc.Type);
System\Xml\Serialization\XmlSerializationWriter.cs (2)
2212
if (memberTypeDesc.
IsArrayLike
) {
2374
if (memberTypeDesc.
IsArrayLike
&&
System\Xml\Serialization\XmlSerializationWriterILGen.cs (2)
1112
if (memberTypeDesc.
IsArrayLike
) {
1365
if (memberTypeDesc.
IsArrayLike
&&