18 writes to Namespaces
dotnet-svcutil-lib (18)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (1)
494
wsdl.
Namespaces
= namespaces;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (17)
5244
if (o.@Namespaces == null) o.
@Namespaces
= new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
5347
if (o.@Namespaces == null) o.
@Namespaces
= new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
5433
if (o.@Namespaces == null) o.
@Namespaces
= new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
5711
if (o.@Namespaces == null) o.
@Namespaces
= new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
5805
if (o.@Namespaces == null) o.
@Namespaces
= new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
5908
if (o.@Namespaces == null) o.
@Namespaces
= new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
6165
if (o.@Namespaces == null) o.
@Namespaces
= new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
7195
if (o.@Namespaces == null) o.
@Namespaces
= new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
7836
if (o.@Namespaces == null) o.
@Namespaces
= new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
7924
if (o.@Namespaces == null) o.
@Namespaces
= new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
8018
if (o.@Namespaces == null) o.
@Namespaces
= new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
8100
if (o.@Namespaces == null) o.
@Namespaces
= new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
8182
if (o.@Namespaces == null) o.
@Namespaces
= new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
8260
if (o.@Namespaces == null) o.
@Namespaces
= new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
8351
if (o.@Namespaces == null) o.
@Namespaces
= new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
8424
if (o.@Namespaces == null) o.
@Namespaces
= new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
13080
if (o.@Namespaces == null) o.
@Namespaces
= new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
60 references to Namespaces
dotnet-svcutil-lib (60)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (3)
843
XmlQualifiedName[] wsdlPrefixNsPairs = wsdl.
Namespaces
.ToArray();
1456
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlPartMustHaveElementOrType, part.Name, part.Message.Name, part.Message.
Namespaces
)));
1483
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlPartMustHaveElementOrType, part.Name, part.Message.Name, part.Message.
Namespaces
)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (3)
986
if (TryMatchNamespace(scopes[j].
Namespaces
.ToArray(), ns, out prefix))
994
while (PrefixExists(scopes[0].
Namespaces
.ToArray(), prefix))
997
scopes[0].
Namespaces
.Add(prefix, ns);
FrameworkFork\System.Web.Services\Services\Description\ServiceDescription.cs (3)
478
if (
Namespaces
== null ||
Namespaces
.Count == 0)
505
ns =
Namespaces
;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (51)
39
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
151
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
221
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
392
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
489
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
587
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
767
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
1377
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
1757
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
1827
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
1928
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
1989
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
2050
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
2111
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
2181
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
2243
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
5134
WriteStartElement(n, ns, o, false, o.
@Namespaces
);
5244
if (o.
@Namespaces
== null) o.@Namespaces = new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
5245
((Microsoft.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
5347
if (o.
@Namespaces
== null) o.@Namespaces = new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
5348
((Microsoft.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
5433
if (o.
@Namespaces
== null) o.@Namespaces = new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
5434
((Microsoft.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
5711
if (o.
@Namespaces
== null) o.@Namespaces = new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
5712
((Microsoft.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
5805
if (o.
@Namespaces
== null) o.@Namespaces = new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
5806
((Microsoft.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
5908
if (o.
@Namespaces
== null) o.@Namespaces = new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
5909
((Microsoft.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
6165
if (o.
@Namespaces
== null) o.@Namespaces = new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
6166
((Microsoft.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
7195
if (o.
@Namespaces
== null) o.@Namespaces = new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
7196
((Microsoft.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
7836
if (o.
@Namespaces
== null) o.@Namespaces = new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
7837
((Microsoft.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
7924
if (o.
@Namespaces
== null) o.@Namespaces = new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
7925
((Microsoft.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
8018
if (o.
@Namespaces
== null) o.@Namespaces = new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
8019
((Microsoft.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
8100
if (o.
@Namespaces
== null) o.@Namespaces = new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
8101
((Microsoft.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
8182
if (o.
@Namespaces
== null) o.@Namespaces = new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
8183
((Microsoft.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
8260
if (o.
@Namespaces
== null) o.@Namespaces = new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
8261
((Microsoft.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
8351
if (o.
@Namespaces
== null) o.@Namespaces = new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
8352
((Microsoft.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
8424
if (o.
@Namespaces
== null) o.@Namespaces = new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
8425
((Microsoft.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);
13080
if (o.
@Namespaces
== null) o.@Namespaces = new Microsoft.Xml.Serialization.XmlSerializerNamespaces();
13081
((Microsoft.Xml.Serialization.XmlSerializerNamespaces)o.
@Namespaces
).Add(Reader.Name.Length == 5 ? "" : Reader.LocalName, Reader.Value);