1 write to ArrayElementTypeDesc
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (1)
981
typeDesc.
ArrayElementTypeDesc
= td;
34 references to ArrayElementTypeDesc
dotnet-svcutil-lib (34)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (3)
1032
if (td.IsMappedType || (!td.IsValueType && (Elements[0].IsSoap || td.
ArrayElementTypeDesc
== null)))
1034
if (td.
ArrayElementTypeDesc
!= null)
1036
return GetNullableType(td.
ArrayElementTypeDesc
) + "[]";
FrameworkFork\Microsoft.Xml\Xml\Serialization\Models.cs (1)
198
CheckSupportedMember(typeDesc.
ArrayElementTypeDesc
, member, type);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (6)
699
ExportArrayElements(metadata, (ArrayMapping)elementMapping, ns, elementTypeDesc.
ArrayElementTypeDesc
, nestingLevel + 1);
720
(member.TypeDesc.IsArrayLike && mapping.TypeDesc == member.TypeDesc.
ArrayElementTypeDesc
);
740
(member.TypeDesc.IsArrayLike && mapping.TypeDesc == member.TypeDesc.
ArrayElementTypeDesc
);
761
else if (mapping.TypeDesc.
ArrayElementTypeDesc
== new TypeScope().GetTypeDesc(typeof(byte)))
767
ExportArrayElements(metadata, array, element.Namespace, member.TypeDesc.
ArrayElementTypeDesc
, 0);
772
(member.TypeDesc.IsArrayLike && mapping.TypeDesc == member.TypeDesc.
ArrayElementTypeDesc
);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (7)
1564
if (a.XmlAttribute != null && !accessor.TypeDesc.
ArrayElementTypeDesc
.IsPrimitive && !accessor.TypeDesc.
ArrayElementTypeDesc
.IsEnum)
1566
if (accessor.TypeDesc.
ArrayElementTypeDesc
.Kind == TypeKind.Serializable)
1568
throw new InvalidOperationException(string.Format(ResXml.XmlIllegalAttrOrTextInterface, accessorName, accessor.TypeDesc.
ArrayElementTypeDesc
.FullName, typeof(IXmlSerializable).Name));
1572
throw new InvalidOperationException(string.Format(ResXml.XmlIllegalAttrOrText, accessorName, accessor.TypeDesc.
ArrayElementTypeDesc
.FullName));
1576
bool isList = a.XmlAttribute != null && (accessor.TypeDesc.
ArrayElementTypeDesc
.IsPrimitive || accessor.TypeDesc.
ArrayElementTypeDesc
.IsEnum);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (2)
200
bool isMixed = isUnbounded && member.Mapping.TypeDesc.
ArrayElementTypeDesc
!= null ? member.Mapping.TypeDesc.
ArrayElementTypeDesc
.IsMixed : member.Mapping.TypeDesc.IsMixed;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (10)
2317
WriteArrayTypeCompare("t", fullTypeName, mapping.TypeDesc.
ArrayElementTypeDesc
.CSharpName, mapping.TypeDesc.UseReflection);
2568
if (CanOptimizeWriteListSequence(memberTypeDesc.
ArrayElementTypeDesc
))
2592
TypeDesc arrayElementTypeDesc = memberTypeDesc.
ArrayElementTypeDesc
;
2660
if (CanOptimizeWriteListSequence(memberTypeDesc.
ArrayElementTypeDesc
))
2685
if (CanOptimizeWriteListSequence(memberTypeDesc.
ArrayElementTypeDesc
))
2799
TypeDesc arrayElementTypeDesc = arrayTypeDesc.
ArrayElementTypeDesc
;
3853
TypeDesc elementTypeDesc = typeDesc.
ArrayElementTypeDesc
;
3893
TypeDesc elementTypeDesc = typeDesc.
ArrayElementTypeDesc
;
3954
string elementTypeFullName = typeDesc.
ArrayElementTypeDesc
.CSharpName;
3955
bool elementUseReflection = typeDesc.
ArrayElementTypeDesc
.UseReflection;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (5)
1226
if (CanOptimizeWriteListSequence(memberTypeDesc.
ArrayElementTypeDesc
))
1259
TypeDesc arrayElementTypeDesc = memberTypeDesc.
ArrayElementTypeDesc
;
1285
if (CanOptimizeWriteListSequence(memberTypeDesc.
ArrayElementTypeDesc
))
1360
if (CanOptimizeWriteListSequence(memberTypeDesc.
ArrayElementTypeDesc
))
1558
TypeDesc arrayElementTypeDesc = arrayTypeDesc.
ArrayElementTypeDesc
;