18 writes to Namespaces
System.ServiceModel (1)
System\ServiceModel\Description\WsdlExporter.cs (1)
494
wsdl.
Namespaces
= namespaces;
System.Web.Services (17)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (17)
4163
if (o.@Namespaces == null) o.
@Namespaces
= new global::System.Xml.Serialization.XmlSerializerNamespaces();
4247
if (o.@Namespaces == null) o.
@Namespaces
= new global::System.Xml.Serialization.XmlSerializerNamespaces();
4318
if (o.@Namespaces == null) o.
@Namespaces
= new global::System.Xml.Serialization.XmlSerializerNamespaces();
4546
if (o.@Namespaces == null) o.
@Namespaces
= new global::System.Xml.Serialization.XmlSerializerNamespaces();
4623
if (o.@Namespaces == null) o.
@Namespaces
= new global::System.Xml.Serialization.XmlSerializerNamespaces();
4707
if (o.@Namespaces == null) o.
@Namespaces
= new global::System.Xml.Serialization.XmlSerializerNamespaces();
4917
if (o.@Namespaces == null) o.
@Namespaces
= new global::System.Xml.Serialization.XmlSerializerNamespaces();
5753
if (o.@Namespaces == null) o.
@Namespaces
= new global::System.Xml.Serialization.XmlSerializerNamespaces();
6276
if (o.@Namespaces == null) o.
@Namespaces
= new global::System.Xml.Serialization.XmlSerializerNamespaces();
6349
if (o.@Namespaces == null) o.
@Namespaces
= new global::System.Xml.Serialization.XmlSerializerNamespaces();
6426
if (o.@Namespaces == null) o.
@Namespaces
= new global::System.Xml.Serialization.XmlSerializerNamespaces();
6494
if (o.@Namespaces == null) o.
@Namespaces
= new global::System.Xml.Serialization.XmlSerializerNamespaces();
6562
if (o.@Namespaces == null) o.
@Namespaces
= new global::System.Xml.Serialization.XmlSerializerNamespaces();
6627
if (o.@Namespaces == null) o.
@Namespaces
= new global::System.Xml.Serialization.XmlSerializerNamespaces();
6702
if (o.@Namespaces == null) o.
@Namespaces
= new global::System.Xml.Serialization.XmlSerializerNamespaces();
6763
if (o.@Namespaces == null) o.
@Namespaces
= new global::System.Xml.Serialization.XmlSerializerNamespaces();
10593
if (o.@Namespaces == null) o.
@Namespaces
= new global::System.Xml.Serialization.XmlSerializerNamespaces();
64 references to Namespaces
System.ServiceModel (10)
System\ServiceModel\Description\MessageContractImporter.cs (3)
855
XmlQualifiedName[] wsdlPrefixNsPairs = wsdl.
Namespaces
.ToArray();
1468
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxWsdlPartMustHaveElementOrType, part.Name, part.Message.Name, part.Message.
Namespaces
)));
1495
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxWsdlPartMustHaveElementOrType, part.Name, part.Message.Name, part.Message.
Namespaces
)));
System\ServiceModel\Description\WsdlExporter.cs (3)
987
if (TryMatchNamespace(scopes[j].
Namespaces
.ToArray(), ns, out prefix))
995
while (PrefixExists(scopes[0].
Namespaces
.ToArray(), prefix))
998
scopes[0].
Namespaces
.Add(prefix, ns);
System\ServiceModel\Security\WSTrustServiceContract.cs (4)
1942
XmlQualifiedName[] namespaces = context.WsdlBinding.ServiceDescription.
Namespaces
.ToArray();
1954
context.WsdlBinding.ServiceDescription.
Namespaces
.Add(prefix, ns);
2184
SR.GetString(SR.ID3149, portType.Name, portType.
Namespaces
, operationName));
2189
SR.GetString(SR.ID3150, portType.Name, portType.
Namespaces
, operationName));
System.Web.Services (54)
System\Web\Services\Description\ServiceDescription.cs (3)
437
if (
Namespaces
== null ||
Namespaces
.Count == 0) {
457
ns =
Namespaces
;
System\Web\Services\Description\ServiceDescriptionSerializer.cs (51)
28
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
117
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
172
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
306
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
382
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
459
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
601
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
1077
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
1374
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
1429
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
1508
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
1556
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
1604
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
1652
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
1707
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
1756
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
4073
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
4163
if (o.
@Namespaces
== null) o.@Namespaces = new global::System.Xml.Serialization.XmlSerializerNamespaces();
4164
((global::System.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
4247
if (o.
@Namespaces
== null) o.@Namespaces = new global::System.Xml.Serialization.XmlSerializerNamespaces();
4248
((global::System.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
4318
if (o.
@Namespaces
== null) o.@Namespaces = new global::System.Xml.Serialization.XmlSerializerNamespaces();
4319
((global::System.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
4546
if (o.
@Namespaces
== null) o.@Namespaces = new global::System.Xml.Serialization.XmlSerializerNamespaces();
4547
((global::System.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
4623
if (o.
@Namespaces
== null) o.@Namespaces = new global::System.Xml.Serialization.XmlSerializerNamespaces();
4624
((global::System.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
4707
if (o.
@Namespaces
== null) o.@Namespaces = new global::System.Xml.Serialization.XmlSerializerNamespaces();
4708
((global::System.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
4917
if (o.
@Namespaces
== null) o.@Namespaces = new global::System.Xml.Serialization.XmlSerializerNamespaces();
4918
((global::System.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
5753
if (o.
@Namespaces
== null) o.@Namespaces = new global::System.Xml.Serialization.XmlSerializerNamespaces();
5754
((global::System.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
6276
if (o.
@Namespaces
== null) o.@Namespaces = new global::System.Xml.Serialization.XmlSerializerNamespaces();
6277
((global::System.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
6349
if (o.
@Namespaces
== null) o.@Namespaces = new global::System.Xml.Serialization.XmlSerializerNamespaces();
6350
((global::System.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
6426
if (o.
@Namespaces
== null) o.@Namespaces = new global::System.Xml.Serialization.XmlSerializerNamespaces();
6427
((global::System.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
6494
if (o.
@Namespaces
== null) o.@Namespaces = new global::System.Xml.Serialization.XmlSerializerNamespaces();
6495
((global::System.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
6562
if (o.
@Namespaces
== null) o.@Namespaces = new global::System.Xml.Serialization.XmlSerializerNamespaces();
6563
((global::System.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
6627
if (o.
@Namespaces
== null) o.@Namespaces = new global::System.Xml.Serialization.XmlSerializerNamespaces();
6628
((global::System.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
6702
if (o.
@Namespaces
== null) o.@Namespaces = new global::System.Xml.Serialization.XmlSerializerNamespaces();
6703
((global::System.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
6763
if (o.
@Namespaces
== null) o.@Namespaces = new global::System.Xml.Serialization.XmlSerializerNamespaces();
6764
((global::System.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
10593
if (o.
@Namespaces
== null) o.@Namespaces = new global::System.Xml.Serialization.XmlSerializerNamespaces();
10594
((global::System.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);