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