21 references to MetadataPolicy
dotnet-svcutil-lib (21)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (12)
469
nameTable.Add(MetadataStrings.Addressing10.
MetadataPolicy
.Addressing);
470
nameTable.Add(MetadataStrings.Addressing10.
MetadataPolicy
.AnonymousResponses);
471
nameTable.Add(MetadataStrings.Addressing10.
MetadataPolicy
.NonAnonymousResponses);
652
addressingAssertion = XmlDoc.CreateElement(MetadataStrings.Addressing10.
MetadataPolicy
.Prefix,
653
MetadataStrings.Addressing10.
MetadataPolicy
.Addressing,
654
MetadataStrings.Addressing10.
MetadataPolicy
.NamespaceUri);
672
responsesAssertionLocalName = MetadataStrings.Addressing10.
MetadataPolicy
.AnonymousResponses;
676
responsesAssertionLocalName = MetadataStrings.Addressing10.
MetadataPolicy
.NonAnonymousResponses;
683
XmlElement responsesAssertion = XmlDoc.CreateElement(MetadataStrings.Addressing10.
MetadataPolicy
.Prefix,
685
MetadataStrings.Addressing10.
MetadataPolicy
.NamespaceUri);
929
namespaces.Add(MetadataStrings.Addressing10.
MetadataPolicy
.Prefix, MetadataStrings.Addressing10.
MetadataPolicy
.NamespaceUri);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (9)
1107
MetadataStrings.Addressing10.
MetadataPolicy
.Addressing,
1108
MetadataStrings.Addressing10.
MetadataPolicy
.NamespaceUri, true /*remove*/) != null)
1128
MetadataStrings.Addressing10.
MetadataPolicy
.Addressing, MetadataStrings.Addressing10.
MetadataPolicy
.NamespaceUri, false);
1144
string message = string.Format(SRServiceModel.ElementRequired, MetadataStrings.Addressing10.
MetadataPolicy
.Prefix,
1145
MetadataStrings.Addressing10.
MetadataPolicy
.Addressing, MetadataStrings.WSPolicy.Prefix,
1157
if (element.NamespaceURI == MetadataStrings.Addressing10.
MetadataPolicy
.NamespaceUri)
1159
if (element.LocalName == MetadataStrings.Addressing10.
MetadataPolicy
.NonAnonymousResponses)
1163
else if (element.LocalName == MetadataStrings.Addressing10.
MetadataPolicy
.AnonymousResponses)