29 references to UrtTypes
System.Private.Xml (29)
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 (6)
531
AddNonXsdPrimitive(typeof(Guid), "guid",
UrtTypes
.Namespace, "Guid", new XmlQualifiedName("string", XmlSchema.Namespace), new XmlSchemaFacet[] { guidPattern }, TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired | TypeFlags.IgnoreDefault);
532
AddNonXsdPrimitive(typeof(char), "char",
UrtTypes
.Namespace, "Char", new XmlQualifiedName("unsignedShort", XmlSchema.Namespace), Array.Empty<XmlSchemaFacet>(), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.IgnoreDefault);
533
AddNonXsdPrimitive(typeof(TimeSpan), "TimeSpan",
UrtTypes
.Namespace, "TimeSpan", new XmlQualifiedName("duration", XmlSchema.Namespace), Array.Empty<XmlSchemaFacet>(), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired);
534
AddNonXsdPrimitive(typeof(DateTimeOffset), "dateTimeOffset",
UrtTypes
.Namespace, "DateTimeOffset", new XmlQualifiedName("dateTime", XmlSchema.Namespace), Array.Empty<XmlSchemaFacet>(), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired);
539
AddNonXsdPrimitive(typeof(DateOnly), "dateOnly",
UrtTypes
.Namespace, "DateOnly", new XmlQualifiedName("date", XmlSchema.Namespace), new XmlSchemaFacet[] { dateOnlyPattern }, TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.XmlEncodingNotRequired);
544
AddNonXsdPrimitive(typeof(TimeOnly), "timeOnly",
UrtTypes
.Namespace, "TimeOnly", new XmlQualifiedName("time", XmlSchema.Namespace), new XmlSchemaFacet[] { new XmlSchemaPatternFacet() { Value = timeOnlyPattern } }, TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.XmlEncodingNotRequired);
System\Xml\Serialization\XmlReflectionImporter.cs (2)
1174
mapping.TypeDesc = TypeScope.GetTypeDesc(dataType,
UrtTypes
.Namespace);
1186
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)
126
_schemaNonXsdTypesNsID = r.NameTable.Add(
UrtTypes
.Namespace);
194
_r.NameTable.Add(
UrtTypes
.Namespace);
System\Xml\Serialization\XmlSerializationWriter.cs (12)
250
typeNs =
UrtTypes
.Namespace;
258
typeNs =
UrtTypes
.Namespace;
263
typeNs =
UrtTypes
.Namespace;
268
typeNs =
UrtTypes
.Namespace;
273
typeNs =
UrtTypes
.Namespace;
278
typeNs =
UrtTypes
.Namespace;
346
typeNs =
UrtTypes
.Namespace;
392
typeNs =
UrtTypes
.Namespace;
398
typeNs =
UrtTypes
.Namespace;
404
typeNs =
UrtTypes
.Namespace;
410
typeNs =
UrtTypes
.Namespace;
416
typeNs =
UrtTypes
.Namespace;