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