22 references to Namespace
System.Xml (22)
System\Xml\Serialization\SoapReflectionImporter.cs (3)
456itemTypeNamespace = itemTypeMapping.TypeDesc.IsXsdType ? XmlSchema.Namespace : UrtTypes.Namespace; 507mapping.TypeDesc = typeScope.GetTypeDesc(dataType, UrtTypes.Namespace); 517mapping.Namespace = mapping.TypeDesc.IsXsdType ? XmlSchema.Namespace : UrtTypes.Namespace;
System\Xml\Serialization\SoapSchemaExporter.cs (4)
177if (!SchemaContainsItem(type, UrtTypes.Namespace)) { 178AddSchemaItem(type, UrtTypes.Namespace, ns); 181AddSchemaImport(UrtTypes.Namespace, ns); 183return new XmlQualifiedName(mapping.TypeDesc.DataType.Name, UrtTypes.Namespace);
System\Xml\Serialization\Types.cs (3)
486AddNonXsdPrimitive(typeof(Guid), "guid", UrtTypes.Namespace, "Guid", new XmlQualifiedName("string", XmlSchema.Namespace), new XmlSchemaFacet[] { guidPattern }, TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired | TypeFlags.IgnoreDefault); 487AddNonXsdPrimitive(typeof(char), "char", UrtTypes.Namespace, "Char", new XmlQualifiedName("unsignedShort", XmlSchema.Namespace), new XmlSchemaFacet[0], TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.IgnoreDefault); 490AddNonXsdPrimitive(typeof(TimeSpan), "TimeSpan", UrtTypes.Namespace, "TimeSpan", new XmlQualifiedName("duration", XmlSchema.Namespace), new XmlSchemaFacet[0], TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired);
System\Xml\Serialization\XmlReflectionImporter.cs (2)
1019mapping.TypeDesc = typeScope.GetTypeDesc(dataType, UrtTypes.Namespace); 1029mapping.Namespace = mapping.TypeDesc.IsXsdType ? XmlSchema.Namespace : UrtTypes.Namespace;
System\Xml\Serialization\XmlSchemaExporter.cs (3)
384if (!SchemaContainsItem(type, UrtTypes.Namespace)) { 385AddSchemaItem(type, UrtTypes.Namespace, ns); 390return new XmlQualifiedName(mapping.TypeDesc.DataType.Name, UrtTypes.Namespace);
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1684mapping.Namespace = mapping.TypeDesc.IsXsdType ? XmlSchema.Namespace : UrtTypes.Namespace;
System\Xml\Serialization\XmlSerializationReader.cs (2)
146schemaNonXsdTypesNsID = r.NameTable.Add(UrtTypes.Namespace); 210object ns2 = r.NameTable.Add(UrtTypes.Namespace);
System\Xml\Serialization\XmlSerializationWriter.cs (4)
197typeNs = UrtTypes.Namespace; 206typeNs = UrtTypes.Namespace; 269typeNs = UrtTypes.Namespace; 312typeNs = UrtTypes.Namespace;