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