135 references to Namespace
dotnet-svcutil-lib (135)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (26)
27internal static XmlQualifiedName ST_boolean = new XmlQualifiedName("boolean", XmlSchema.Namespace); 28internal static XmlQualifiedName ST_byte = new XmlQualifiedName("byte", XmlSchema.Namespace); 29internal static XmlQualifiedName ST_unsignedByte = new XmlQualifiedName("unsignedByte", XmlSchema.Namespace); 30internal static XmlQualifiedName ST_short = new XmlQualifiedName("short", XmlSchema.Namespace); 31internal static XmlQualifiedName ST_unsignedShort = new XmlQualifiedName("unsignedShort", XmlSchema.Namespace); 32internal static XmlQualifiedName ST_int = new XmlQualifiedName("int", XmlSchema.Namespace); 33internal static XmlQualifiedName ST_unsignedInt = new XmlQualifiedName("unsignedInt", XmlSchema.Namespace); 34internal static XmlQualifiedName ST_long = new XmlQualifiedName("long", XmlSchema.Namespace); 35internal static XmlQualifiedName ST_unsignedLong = new XmlQualifiedName("unsignedLong", XmlSchema.Namespace); 36internal static XmlQualifiedName ST_integer = new XmlQualifiedName("integer", XmlSchema.Namespace); 37internal static XmlQualifiedName ST_decimal = new XmlQualifiedName("decimal", XmlSchema.Namespace); 38internal static XmlQualifiedName ST_float = new XmlQualifiedName("float", XmlSchema.Namespace); 39internal static XmlQualifiedName ST_double = new XmlQualifiedName("double", XmlSchema.Namespace); 40internal static XmlQualifiedName ST_duration = new XmlQualifiedName("duration", XmlSchema.Namespace); 41internal static XmlQualifiedName ST_dateTime = new XmlQualifiedName("dateTime", XmlSchema.Namespace); 42internal static XmlQualifiedName ST_time = new XmlQualifiedName("time", XmlSchema.Namespace); 43internal static XmlQualifiedName ST_date = new XmlQualifiedName("date", XmlSchema.Namespace); 44internal static XmlQualifiedName ST_gYearMonth = new XmlQualifiedName("gYearMonth", XmlSchema.Namespace); 45internal static XmlQualifiedName ST_string = new XmlQualifiedName("string", XmlSchema.Namespace); 46internal static XmlQualifiedName ST_anySimpleType = new XmlQualifiedName("anySimpleType", XmlSchema.Namespace); 177_namespaceManager.AddNamespace("xs", XmlSchema.Namespace); 216if (_xtr.NamespaceURI == XmlSchema.Namespace) 290if (childURI == XmlSchema.Namespace) 513if (childURI == XmlSchema.Namespace) 1055if (xtr.NamespaceURI == XmlSchema.Namespace) 1228if (_xtr.NamespaceURI == XmlSchema.Namespace)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (1)
655if (parentSchema.TargetNamespace != XmlSchema.Namespace)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchema.cs (2)
21[XmlRoot("schema", Namespace = XmlSchema.Namespace)] 213ns.Add("xs", XmlSchema.Namespace);
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (3)
307if (ns == XmlSchema.Namespace) 429if (baseType == null && !baseName.IsEmpty && baseName.Namespace != XmlSchema.Namespace) 453if (el.SubstitutionGroup.Namespace != XmlSchema.Namespace)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (1)
1385if (_xsiType.Namespace != XmlSchema.Namespace)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaImporter.cs (3)
42if (!schemas.Contains(XmlSchema.Namespace)) 188mapping.Namespace = XmlSchema.Namespace; 214if (name.Namespace == XmlSchema.Namespace)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (8)
204TypeDesc td = _typeScope.GetTypeDesc(dataType, XmlSchema.Namespace); 207throw new InvalidOperationException(string.Format(ResXml.XmlInvalidXsdDataType, dataType, "SoapElementAttribute.DataType", new XmlQualifiedName(dataType, XmlSchema.Namespace).ToString())); 240TypeDesc valueTypeDesc = string.IsNullOrEmpty(dataType) ? model.TypeDesc.BaseTypeDesc : _typeScope.GetTypeDesc(dataType, XmlSchema.Namespace); 265mapping.Namespace = XmlSchema.Namespace; 506itemTypeNamespace = itemTypeMapping.TypeDesc.IsXsdType ? XmlSchema.Namespace : UrtTypes.Namespace; 514itemTypeNamespace = XmlSchema.Namespace; 564mapping.TypeDesc = _typeScope.GetTypeDesc(dataType, XmlSchema.Namespace); 580mapping.Namespace = mapping.TypeDesc.IsXsdType ? XmlSchema.Namespace : UrtTypes.Namespace;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (5)
217return new XmlQualifiedName(mapping.TypeDesc.DataType.Name, XmlSchema.Namespace); 250qname = new XmlQualifiedName(Soap.UrType, XmlSchema.Namespace); 264if (qname.Namespace != XmlSchema.Namespace) 314return new XmlQualifiedName(Soap.UrType, XmlSchema.Namespace); 418restriction.BaseTypeName = new XmlQualifiedName("string", XmlSchema.Namespace);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (2)
250if (name.Name == Soap.UrType && name.Namespace == XmlSchema.Namespace) 718if (name.Namespace == XmlSchema.Namespace)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (30)
559AddNonXsdPrimitive(typeof(Guid), "guid", UrtTypes.Namespace, "Guid", new XmlQualifiedName("string", XmlSchema.Namespace), new XmlSchemaFacet[] { guidPattern }, TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired | TypeFlags.IgnoreDefault); 560AddNonXsdPrimitive(typeof(char), "char", UrtTypes.Namespace, "Char", new XmlQualifiedName("unsignedShort", XmlSchema.Namespace), new XmlSchemaFacet[0], TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.IgnoreDefault); 615AddSoapEncodedPrimitive(typeof(string), "normalizedString", ns, "String", new XmlQualifiedName("normalizedString", XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.Reference | TypeFlags.HasDefaultConstructor); 618AddSoapEncodedPrimitive(typeof(string), s_unsupportedTypes[i], ns, "String", new XmlQualifiedName(s_unsupportedTypes[i], XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.Reference | TypeFlags.CollapseWhitespace); 621AddSoapEncodedPrimitive(typeof(string), "string", ns, "String", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.CanBeTextValue | TypeFlags.Reference); 622AddSoapEncodedPrimitive(typeof(int), "int", ns, "Int32", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 623AddSoapEncodedPrimitive(typeof(bool), "boolean", ns, "Boolean", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 624AddSoapEncodedPrimitive(typeof(short), "short", ns, "Int16", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 625AddSoapEncodedPrimitive(typeof(long), "long", ns, "Int64", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 626AddSoapEncodedPrimitive(typeof(float), "float", ns, "Single", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 627AddSoapEncodedPrimitive(typeof(double), "double", ns, "Double", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 628AddSoapEncodedPrimitive(typeof(decimal), "decimal", ns, "Decimal", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 629AddSoapEncodedPrimitive(typeof(DateTime), "dateTime", ns, "DateTime", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.XmlEncodingNotRequired); 630AddSoapEncodedPrimitive(typeof(XmlQualifiedName), "QName", ns, "XmlQualifiedName", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.HasCustomFormatter | TypeFlags.HasIsEmpty | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired | TypeFlags.Reference); 631AddSoapEncodedPrimitive(typeof(byte), "unsignedByte", ns, "Byte", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 632AddSoapEncodedPrimitive(typeof(SByte), "byte", ns, "SByte", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 633AddSoapEncodedPrimitive(typeof(UInt16), "unsignedShort", ns, "UInt16", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 634AddSoapEncodedPrimitive(typeof(UInt32), "unsignedInt", ns, "UInt32", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 635AddSoapEncodedPrimitive(typeof(UInt64), "unsignedLong", ns, "UInt64", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired); 638AddSoapEncodedPrimitive(typeof(DateTime), "date", ns, "Date", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.XmlEncodingNotRequired); 639AddSoapEncodedPrimitive(typeof(DateTime), "time", ns, "Time", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.XmlEncodingNotRequired); 641AddSoapEncodedPrimitive(typeof(string), "Name", ns, "XmlName", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.Reference); 642AddSoapEncodedPrimitive(typeof(string), "NCName", ns, "XmlNCName", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.Reference); 643AddSoapEncodedPrimitive(typeof(string), "NMTOKEN", ns, "XmlNmToken", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.Reference); 644AddSoapEncodedPrimitive(typeof(string), "NMTOKENS", ns, "XmlNmTokens", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.Reference); 646AddSoapEncodedPrimitive(typeof(byte[]), "base64Binary", ns, "ByteArrayBase64", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.Reference | TypeFlags.IgnoreDefault | TypeFlags.XmlEncodingNotRequired); 647AddSoapEncodedPrimitive(typeof(byte[]), "hexBinary", ns, "ByteArrayHex", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.Reference | TypeFlags.IgnoreDefault | TypeFlags.XmlEncodingNotRequired); 649AddSoapEncodedPrimitive(typeof(string), "arrayCoordinate", ns, "String", new XmlQualifiedName("string", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue); 650AddSoapEncodedPrimitive(typeof(byte[]), "base64", ns, "ByteArrayBase64", new XmlQualifiedName("base64Binary", XmlSchema.Namespace), TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.IgnoreDefault | TypeFlags.Reference); 661s_primitiveNames.Add(dataTypeName, XmlSchema.Namespace, typeDesc);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (8)
399TypeDesc td = _typeScope.GetTypeDesc(dataType, XmlSchema.Namespace); 402throw new InvalidOperationException(string.Format(ResXml.XmlInvalidXsdDataType, dataType, "XmlElementAttribute.DataType", new XmlQualifiedName(dataType, XmlSchema.Namespace).ToString())); 438TypeDesc valueTypeDesc = string.IsNullOrEmpty(dataType) ? model.TypeDesc.BaseTypeDesc : _typeScope.GetTypeDesc(dataType, XmlSchema.Namespace); 588if (baseQname.Namespace == XmlSchema.Namespace) return; 642mapping.Namespace = XmlSchema.Namespace; 1049ns = itemTypeMapping.Namespace == XmlSchema.Namespace ? defaultNs : itemTypeMapping.Namespace; 1162mapping.TypeDesc = _typeScope.GetTypeDesc(dataType, XmlSchema.Namespace); 1178mapping.Namespace = mapping.TypeDesc.IsXsdType ? XmlSchema.Namespace : UrtTypes.Namespace;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (6)
496if (schema.TargetNamespace != XmlSchema.Namespace) 515if (schema.TargetNamespace != XmlSchema.Namespace) 564schemaElement.RefName = new XmlQualifiedName("schema", XmlSchema.Namespace); 569AddSchemaImport(XmlSchema.Namespace, ns); 617qname = new XmlQualifiedName(mapping.TypeDesc.DataType.Name, XmlSchema.Namespace); 1199restriction.BaseTypeName = new XmlQualifiedName("string", XmlSchema.Namespace);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (11)
81mapping.TypeDesc = Scope.GetTypeDesc("string", XmlSchema.Namespace, flags); 83mapping.Namespace = XmlSchema.Namespace; 528if (name.Name == Soap.UrType && name.Namespace == XmlSchema.Namespace) 547if (addref && name.Namespace != XmlSchema.Namespace) 1792if (restriction.BaseTypeName.Namespace != XmlSchema.Namespace) 1933mapping.Namespace = mapping.TypeDesc.IsXsdType ? XmlSchema.Namespace : UrtTypes.Namespace; 1949mapping.Namespace = mapping.TypeDesc.IsXsdType ? XmlSchema.Namespace : ns; 1990return new XmlQualifiedName("string", XmlSchema.Namespace); 2004if (qname.Namespace != XmlSchema.Namespace) 2024if (name.Namespace == XmlSchema.Namespace) 2025return (XmlSchemaSimpleType)Scope.GetTypeDesc("string", XmlSchema.Namespace, flags).DataType;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (3)
691ns.Add("xs", XmlSchema.Namespace); 759if (!SchemaSet.Contains(XmlSchema.Namespace)) 833s_xsd = CreateFakeXsdSchema(XmlSchema.Namespace, "schema");
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (4)
139_schemaNsID = r.NameTable.Add(XmlSchema.Namespace); 217object ns = _r.NameTable.Add(XmlSchema.Namespace); 1800typens = XmlSchema.Namespace; 1914XmlQualifiedName urType = new XmlQualifiedName(_urTypeID, _r.NameTable.Add(XmlSchema.Namespace));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (5)
205string typeNs = XmlSchema.Namespace; 251string typeNs = XmlSchema.Namespace; 350_w.WriteStartElement(Soap.UrType, XmlSchema.Namespace); 1240typeNs = XmlSchema.Namespace; 1275typeNs = XmlSchema.Namespace;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializer.cs (1)
134nss.AddInternal("xsd", XmlSchema.Namespace);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (2)
136if (schemaSet.Contains(XmlSchema.Namespace)) 142xsdSchema.TargetNamespace = XmlSchema.Namespace;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractExporter.cs (1)
55return ns == XmlSchema.Namespace || ns == "http://schemas.xmlsoap.org/wsdl/soap/" || ns == "http://schemas.xmlsoap.org/soap/encoding/";
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (3)
28private static readonly XmlQualifiedName s_anyType = new XmlQualifiedName("anyType", XmlSchema.Namespace); 809if (typeName.Namespace == XmlSchema.Namespace) 1259if (schemaTypeName.Namespace == XmlSchema.Namespace)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (1)
689&& reader.NamespaceURI == XsdNS.XmlSchema.Namespace;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataSection.cs (2)
40static public string XmlSchemaDialect { get { return Microsoft.Xml.Schema.XmlSchema.Namespace; } } 65[XmlElement(MetadataStrings.XmlSchema.Schema, typeof(XsdNS.XmlSchema), Namespace = XsdNS.XmlSchema.Namespace)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\SchemaHelper.cs (2)
42|| NamespacesEqual(ns, XmlSchema.Namespace) 183if (typeName.Namespace == XmlSchema.Namespace)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (1)
922namespaces.Add("xsd", XmlSchema.Namespace);
FrameworkFork\System.Web.Services\Services\Description\ServiceDescription.cs (2)
281ns.Add("s", XmlSchema.Namespace); 1548[XmlElement("schema", typeof(XmlSchema), Namespace = XmlSchema.Namespace)]
Metadata\MetadataConstants.cs (1)
28public const string NamespaceUri = XmlNs.Schema.XmlSchema.Namespace;
XmlStrings.cs (1)
30public const string NamespaceUri = Microsoft.Xml.Schema.XmlSchema.Namespace;