28 references to DataType
System.Private.Xml (28)
System\Xml\Serialization\SoapReflectionImporter.cs (6)
478
itemTypeName = itemTypeMapping.TypeDesc.
DataType
!.Name!;
549
mapping.TypeName = mapping.TypeDesc.
DataType
!.Name;
766
if (typeDesc.IsPrimitive && typeDesc.
DataType
!= null && typeDesc.
DataType
.Name != null && typeDesc.
DataType
.Name.Length > 0)
767
return typeDesc.
DataType
.Name;
System\Xml\Serialization\XmlReflectionImporter.cs (8)
448
string? xsdTypeName = valueTypeDesc.
DataType
== null ? valueTypeDesc.Name : valueTypeDesc.
DataType
.Name;
961
if (typeDesc.IsPrimitive && typeDesc.
DataType
!= null && typeDesc.
DataType
.Name != null && typeDesc.
DataType
.Name.Length > 0)
962
return typeDesc.
DataType
.Name;
1045
name = itemTypeMapping.TypeDesc!.
DataType
!.Name;
1180
mapping.TypeName = mapping.TypeDesc.
DataType
!.Name;
System\Xml\Serialization\XmlSchemaExporter.cs (3)
400
XmlSchemaSimpleType type = (XmlSchemaSimpleType)mapping.TypeDesc!.
DataType
!;
409
return new XmlQualifiedName(mapping.TypeDesc.
DataType
!.Name, UrtTypes.Namespace);
578
qname = new XmlQualifiedName(mapping.TypeDesc.
DataType
!.Name, XmlSchema.Namespace);
System\Xml\Serialization\XmlSchemaImporter.cs (9)
45
mapping.TypeName = mapping.TypeDesc!.
DataType
!.Name;
1592
mapping.TypeName = mapping.TypeDesc.
DataType
!.Name;
1832
mapping.TypeName = sourceTypeDesc.
DataType
!.Name;
1848
mapping.TypeName = typeDesc.
DataType
!.Name;
1915
return (XmlSchemaSimpleType?)Scope.GetTypeDesc(typeof(string)).
DataType
;
1919
if (typeDesc != null && typeDesc.
DataType
is XmlSchemaSimpleType)
1920
return (XmlSchemaSimpleType)typeDesc.
DataType
;
1930
return (XmlSchemaSimpleType?)TypeScope.GetTypeDesc("string", XmlSchema.Namespace, flags)!.
DataType
;
1950
return Scope.GetTypeDesc(typeof(string)).
DataType
;
System\Xml\Serialization\XmlSerializer.cs (2)
549
return xmlReader.IsStartElement(typeDesc.
DataType
!.Name!, string.Empty);
851
element.Name = typeDesc.
DataType
!.Name;