43 references to DataType
System.Xml (43)
System\Xml\Serialization\SoapCodeExporter.cs (1)
199
attribute.Arguments.Add(new CodeAttributeArgument("DataType", new CodePrimitiveExpression(typeDesc.
DataType
.Name)));
System\Xml\Serialization\SoapReflectionImporter.cs (6)
457
itemTypeName = itemTypeMapping.TypeDesc.
DataType
.Name;
516
mapping.TypeName = mapping.TypeDesc.
DataType
.Name;
704
if (typeDesc.IsPrimitive && typeDesc.
DataType
!= null && typeDesc.
DataType
.Name != null && typeDesc.
DataType
.Name.Length > 0)
705
return typeDesc.
DataType
.Name;
System\Xml\Serialization\SoapSchemaExporter.cs (3)
176
XmlSchemaType type = mapping.TypeDesc.
DataType
;
183
return new XmlQualifiedName(mapping.TypeDesc.
DataType
.Name, UrtTypes.Namespace);
187
return new XmlQualifiedName(mapping.TypeDesc.
DataType
.Name, XmlSchema.Namespace);
System\Xml\Serialization\SoapSchemaImporter.cs (8)
451
mapping.TypeName = td.
DataType
.Name;
540
mapping.TypeName = mapping.TypeDesc.
DataType
.Name;
585
mapping.TypeName = mapping.TypeDesc.
DataType
.Name;
598
mapping.TypeName = sourceTypeDesc.
DataType
.Name;
610
mapping.TypeName = typeDesc.
DataType
.Name;
629
if (typeDesc != null && typeDesc.
DataType
is XmlSchemaSimpleType)
630
return (XmlSchemaSimpleType)typeDesc.
DataType
;
636
return (XmlSchemaSimpleType)Scope.GetTypeDesc(typeof(string)).
DataType
;
System\Xml\Serialization\XmlCodeExporter.cs (3)
182
attribute.Arguments.Add(new CodeAttributeArgument("DataType", new CodePrimitiveExpression(typeMapping.TypeDesc.
DataType
.Name)));
645
ExportText(metadata, sameType ? null : mapping.TypeDesc, mapping.TypeDesc.IsAmbiguousDataType ? mapping.TypeDesc.
DataType
.Name : null);
800
attribute.Arguments.Add(new CodeAttributeArgument("DataType", new CodePrimitiveExpression(dataTypeDesc.
DataType
.Name)));
System\Xml\Serialization\XmlReflectionImporter.cs (8)
391
string xsdTypeName = valueTypeDesc.
DataType
== null ? valueTypeDesc.Name : valueTypeDesc.
DataType
.Name;
838
if (typeDesc.IsPrimitive && typeDesc.
DataType
!= null && typeDesc.
DataType
.Name != null && typeDesc.
DataType
.Name.Length > 0)
839
return typeDesc.
DataType
.Name;
908
name = itemTypeMapping.TypeDesc.
DataType
.Name;
1028
mapping.TypeName = mapping.TypeDesc.
DataType
.Name;
System\Xml\Serialization\XmlSchemaExporter.cs (3)
383
XmlSchemaSimpleType type = (XmlSchemaSimpleType)mapping.TypeDesc.
DataType
;
390
return new XmlQualifiedName(mapping.TypeDesc.
DataType
.Name, UrtTypes.Namespace);
532
qname = new XmlQualifiedName(mapping.TypeDesc.
DataType
.Name, XmlSchema.Namespace);
System\Xml\Serialization\XmlSchemaImporter.cs (9)
81
mapping.TypeName = mapping.TypeDesc.
DataType
.Name;
1477
mapping.TypeName = mapping.TypeDesc.
DataType
.Name;
1683
mapping.TypeName = sourceTypeDesc.
DataType
.Name;
1696
mapping.TypeName = typeDesc.
DataType
.Name;
1752
return (XmlSchemaSimpleType)Scope.GetTypeDesc(typeof(string)).
DataType
;
1755
if (typeDesc != null && typeDesc.
DataType
is XmlSchemaSimpleType)
1756
return (XmlSchemaSimpleType)typeDesc.
DataType
;
1762
return (XmlSchemaSimpleType)Scope.GetTypeDesc("string", XmlSchema.Namespace, flags).
DataType
;
1775
return Scope.GetTypeDesc(typeof(string)).
DataType
;
System\Xml\Serialization\XmlSerializer.cs (2)
447
return xmlReader.IsStartElement(typeDesc.
DataType
.Name, string.Empty);
730
element.Name = typeDesc.
DataType
.Name;