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