43 references to DataType
dotnet-svcutil-lib (43)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (1)
215
attribute.Arguments.Add(new CodeAttributeArgument("DataType", new CodePrimitiveExpression(typeDesc.
DataType
.Name)));
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (6)
507
itemTypeName = itemTypeMapping.TypeDesc.
DataType
.Name;
579
mapping.TypeName = mapping.TypeDesc.
DataType
.Name;
790
if (typeDesc.IsPrimitive && typeDesc.
DataType
!= null && typeDesc.
DataType
.Name != null && typeDesc.
DataType
.Name.Length > 0)
791
return typeDesc.
DataType
.Name;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (3)
203
XmlSchemaType type = mapping.TypeDesc.
DataType
;
212
return new XmlQualifiedName(mapping.TypeDesc.
DataType
.Name, UrtTypes.Namespace);
217
return new XmlQualifiedName(mapping.TypeDesc.
DataType
.Name, XmlSchema.Namespace);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (8)
507
mapping.TypeName = td.
DataType
.Name;
611
mapping.TypeName = mapping.TypeDesc.
DataType
.Name;
659
mapping.TypeName = mapping.TypeDesc.
DataType
.Name;
673
mapping.TypeName = sourceTypeDesc.
DataType
.Name;
688
mapping.TypeName = typeDesc.
DataType
.Name;
711
if (typeDesc != null && typeDesc.
DataType
is XmlSchemaSimpleType)
712
return (XmlSchemaSimpleType)typeDesc.
DataType
;
719
return (XmlSchemaSimpleType)Scope.GetTypeDesc(typeof(string)).
DataType
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (3)
202
attribute.Arguments.Add(new CodeAttributeArgument("DataType", new CodePrimitiveExpression(typeMapping.TypeDesc.
DataType
.Name)));
741
ExportText(metadata, sameType ? null : mapping.TypeDesc, mapping.TypeDesc.IsAmbiguousDataType ? mapping.TypeDesc.
DataType
.Name : null);
925
attribute.Arguments.Add(new CodeAttributeArgument("DataType", new CodePrimitiveExpression(dataTypeDesc.
DataType
.Name)));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (8)
439
string xsdTypeName = valueTypeDesc.
DataType
== null ? valueTypeDesc.Name : valueTypeDesc.
DataType
.Name;
957
if (typeDesc.IsPrimitive && typeDesc.
DataType
!= null && typeDesc.
DataType
.Name != null && typeDesc.
DataType
.Name.Length > 0)
958
return typeDesc.
DataType
.Name;
1040
name = itemTypeMapping.TypeDesc.
DataType
.Name;
1177
mapping.TypeName = mapping.TypeDesc.
DataType
.Name;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (3)
439
XmlSchemaSimpleType type = (XmlSchemaSimpleType)mapping.TypeDesc.
DataType
;
448
return new XmlQualifiedName(mapping.TypeDesc.
DataType
.Name, UrtTypes.Namespace);
617
qname = new XmlQualifiedName(mapping.TypeDesc.
DataType
.Name, XmlSchema.Namespace);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (9)
82
mapping.TypeName = mapping.TypeDesc.
DataType
.Name;
1693
mapping.TypeName = mapping.TypeDesc.
DataType
.Name;
1932
mapping.TypeName = sourceTypeDesc.
DataType
.Name;
1948
mapping.TypeName = typeDesc.
DataType
.Name;
2014
return (XmlSchemaSimpleType)Scope.GetTypeDesc(typeof(string)).
DataType
;
2017
if (typeDesc != null && typeDesc.
DataType
is XmlSchemaSimpleType)
2018
return (XmlSchemaSimpleType)typeDesc.
DataType
;
2025
return (XmlSchemaSimpleType)Scope.GetTypeDesc("string", XmlSchema.Namespace, flags).
DataType
;
2043
return Scope.GetTypeDesc(typeof(string)).
DataType
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializer.cs (2)
512
return xmlReader.IsStartElement(typeDesc.
DataType
.Name, string.Empty);
766
element.Name = typeDesc.
DataType
.Name;