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