1 write to ArrayElementTypeDesc
System.Private.Xml (1)
System\Xml\Serialization\Types.cs (1)
935typeDesc.ArrayElementTypeDesc = td;
40 references to ArrayElementTypeDesc
System.Private.Xml (40)
System\Xml\Serialization\Models.cs (1)
213CheckSupportedMember(typeDesc.ArrayElementTypeDesc, member, type);
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (1)
768TypeDesc? arrayElementTypeDesc = memberTypeDesc.ArrayElementTypeDesc;
System\Xml\Serialization\XmlReflectionImporter.cs (7)
1578if (a.XmlAttribute != null && !accessor.TypeDesc.ArrayElementTypeDesc!.IsPrimitive && !accessor.TypeDesc.ArrayElementTypeDesc.IsEnum) 1580if (accessor.TypeDesc.ArrayElementTypeDesc.Kind == TypeKind.Serializable) 1582throw new InvalidOperationException(SR.Format(SR.XmlIllegalAttrOrTextInterface, accessorName, accessor.TypeDesc.ArrayElementTypeDesc.FullName, nameof(IXmlSerializable))); 1586throw new InvalidOperationException(SR.Format(SR.XmlIllegalAttrOrText, accessorName, accessor.TypeDesc.ArrayElementTypeDesc.FullName)); 1590bool isList = a.XmlAttribute != null && (accessor.TypeDesc.ArrayElementTypeDesc!.IsPrimitive || accessor.TypeDesc.ArrayElementTypeDesc.IsEnum);
System\Xml\Serialization\XmlSchemaExporter.cs (2)
173bool isMixed = isUnbounded && member.Mapping.TypeDesc.ArrayElementTypeDesc != null ? member.Mapping.TypeDesc.ArrayElementTypeDesc.IsMixed : member.Mapping.TypeDesc.IsMixed;
System\Xml\Serialization\XmlSerializationReader.cs (8)
2753string item = $"{(td.ArrayElementTypeDesc == null ? "object" : td.ArrayElementTypeDesc.CSharpName)}[]"; 2754bool arrayElementUseReflection = td.ArrayElementTypeDesc == null ? false : td.ArrayElementTypeDesc.UseReflection; 4394string arrayTypeFullName = typeDesc.ArrayElementTypeDesc!.CSharpName; 4395bool arrayUseReflection = typeDesc.ArrayElementTypeDesc.UseReflection; 4438bool arrayUseReflection = typeDesc.ArrayElementTypeDesc!.UseReflection; 4439string arrayTypeFullName = typeDesc.ArrayElementTypeDesc.CSharpName;
System\Xml\Serialization\XmlSerializationReaderILGen.cs (6)
2041WriteSourceEnd(member.ArraySource, member.Mapping.TypeDesc!.IsArrayLike ? member.Mapping.TypeDesc.ArrayElementTypeDesc!.Type! : member.Mapping.TypeDesc.Type!); 2059WriteSourceEnd(member.ArraySource, member.Mapping.TypeDesc!.IsArrayLike ? member.Mapping.TypeDesc.ArrayElementTypeDesc!.Type! : member.Mapping.TypeDesc.Type!); 2101WriteSourceEnd(attributeSource, member.Mapping.TypeDesc!.ArrayElementTypeDesc!.Type!); 2108WriteSourceEnd(member.ArraySource, member.Mapping.TypeDesc!.IsArrayLike ? member.Mapping.TypeDesc.ArrayElementTypeDesc!.Type! : member.Mapping.TypeDesc.Type!); 2596string arrayTypeFullName = typeDesc.ArrayElementTypeDesc!.CSharpName; 2644ilg.Ldc(typeDesc.ArrayElementTypeDesc!.Type!);
System\Xml\Serialization\XmlSerializationWriter.cs (10)
1630TypeDesc elementTypeDesc = typeDesc.ArrayElementTypeDesc!; 1670TypeDesc elementTypeDesc = typeDesc.ArrayElementTypeDesc!; 1734string elementTypeFullName = typeDesc.ArrayElementTypeDesc!.CSharpName; 1735bool elementUseReflection = typeDesc.ArrayElementTypeDesc.UseReflection; 3051WriteArrayTypeCompare("t", fullTypeName, mapping.TypeDesc.ArrayElementTypeDesc!.CSharpName, mapping.TypeDesc.UseReflection); 3304if (CanOptimizeWriteListSequence(memberTypeDesc.ArrayElementTypeDesc)) 3328TypeDesc arrayElementTypeDesc = memberTypeDesc.ArrayElementTypeDesc!; 3396if (CanOptimizeWriteListSequence(memberTypeDesc.ArrayElementTypeDesc)) 3421if (CanOptimizeWriteListSequence(memberTypeDesc.ArrayElementTypeDesc)) 3536TypeDesc arrayElementTypeDesc = arrayTypeDesc.ArrayElementTypeDesc!;
System\Xml\Serialization\XmlSerializationWriterILGen.cs (5)
1171if (CanOptimizeWriteListSequence(memberTypeDesc.ArrayElementTypeDesc)) 1202TypeDesc arrayElementTypeDesc = memberTypeDesc.ArrayElementTypeDesc!; 1220if (CanOptimizeWriteListSequence(memberTypeDesc.ArrayElementTypeDesc)) 1287if (CanOptimizeWriteListSequence(memberTypeDesc.ArrayElementTypeDesc)) 1477TypeDesc arrayElementTypeDesc = arrayTypeDesc.ArrayElementTypeDesc!;