23 references to UrtTypes
System.Private.Xml (23)
System\Xml\Serialization\SoapReflectionImporter.cs (3)
477
itemTypeNamespace = itemTypeMapping.TypeDesc!.IsXsdType ? XmlSchema.Namespace :
UrtTypes
.Namespace;
538
mapping.TypeDesc = TypeScope.GetTypeDesc(dataType,
UrtTypes
.Namespace);
550
mapping.Namespace = mapping.TypeDesc.IsXsdType ? XmlSchema.Namespace :
UrtTypes
.Namespace;
System\Xml\Serialization\Types.cs (4)
529
AddNonXsdPrimitive(typeof(Guid), "guid",
UrtTypes
.Namespace, "Guid", new XmlQualifiedName("string", XmlSchema.Namespace), new XmlSchemaFacet[] { guidPattern }, TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired | TypeFlags.IgnoreDefault);
530
AddNonXsdPrimitive(typeof(char), "char",
UrtTypes
.Namespace, "Char", new XmlQualifiedName("unsignedShort", XmlSchema.Namespace), Array.Empty<XmlSchemaFacet>(), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.IgnoreDefault);
531
AddNonXsdPrimitive(typeof(TimeSpan), "TimeSpan",
UrtTypes
.Namespace, "TimeSpan", new XmlQualifiedName("duration", XmlSchema.Namespace), Array.Empty<XmlSchemaFacet>(), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired);
532
AddNonXsdPrimitive(typeof(DateTimeOffset), "dateTimeOffset",
UrtTypes
.Namespace, "DateTimeOffset", new XmlQualifiedName("dateTime", XmlSchema.Namespace), Array.Empty<XmlSchemaFacet>(), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired);
System\Xml\Serialization\XmlReflectionImporter.cs (2)
1169
mapping.TypeDesc = TypeScope.GetTypeDesc(dataType,
UrtTypes
.Namespace);
1181
mapping.Namespace = mapping.TypeDesc.IsXsdType ? XmlSchema.Namespace :
UrtTypes
.Namespace;
System\Xml\Serialization\XmlSchemaExporter.cs (3)
401
if (!SchemaContainsItem(type,
UrtTypes
.Namespace))
403
AddSchemaItem(type,
UrtTypes
.Namespace, ns);
409
return new XmlQualifiedName(mapping.TypeDesc.DataType!.Name,
UrtTypes
.Namespace);
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1833
mapping.Namespace = mapping.TypeDesc.IsXsdType ? XmlSchema.Namespace :
UrtTypes
.Namespace;
System\Xml\Serialization\XmlSerializationReader.cs (2)
124
_schemaNonXsdTypesNsID = r.NameTable.Add(
UrtTypes
.Namespace);
192
_r.NameTable.Add(
UrtTypes
.Namespace);
System\Xml\Serialization\XmlSerializationWriter.cs (8)
225
typeNs =
UrtTypes
.Namespace;
233
typeNs =
UrtTypes
.Namespace;
238
typeNs =
UrtTypes
.Namespace;
243
typeNs =
UrtTypes
.Namespace;
311
typeNs =
UrtTypes
.Namespace;
357
typeNs =
UrtTypes
.Namespace;
363
typeNs =
UrtTypes
.Namespace;
369
typeNs =
UrtTypes
.Namespace;