24 references to PolicyHelper
dotnet-svcutil-lib (24)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\PolicyReader.cs (16)
52
private static IEnumerable<XmlElement> s_empty = new
PolicyHelper
.EmptyEnumerable<XmlElement>();
53
private static IEnumerable<IEnumerable<XmlElement>> s_emptyEmpty = new
PolicyHelper
.SingleEnumerable<IEnumerable<XmlElement>>(new
PolicyHelper
.EmptyEnumerable<XmlElement>());
69
string warningMsg = string.Format(SRServiceModel.ExceededMaxPolicyComplexity, node.Name,
PolicyHelper
.GetFragmentIdentifier((XmlElement)node));
77
switch (
PolicyHelper
.GetNodeType(node))
79
case
PolicyHelper
.NodeType.Policy:
80
case
PolicyHelper
.NodeType.All:
83
case
PolicyHelper
.NodeType.ExactlyOne:
86
case
PolicyHelper
.NodeType.Assertion:
89
case
PolicyHelper
.NodeType.PolicyReference:
92
case
PolicyHelper
.NodeType.UnrecognizedWSPolicy:
136
yield return new
PolicyHelper
.SingleEnumerable<XmlElement>(element);
169
target =
PolicyHelper
.CrossProduct<XmlElement>(target, childPolicy, yieldLimiter);
182
target =
PolicyHelper
.CrossProduct<XmlElement>(target, childPolicy, yieldLimiter);
246
return
PolicyHelper
.NodeType.NonElement;
260
return
PolicyHelper
.NodeType.UnrecognizedWSPolicy;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (8)
1379
if (MetadataImporter.
PolicyHelper
.IsPolicyURIs(attribute))
1416
if (MetadataImporter.
PolicyHelper
.IsPolicyURIs(attribute))
2150
if (
PolicyHelper
.IsPolicyURIs(attribute))
2163
if (attributes != null && Array.Exists(attributes,
PolicyHelper
.IsPolicyURIs))
2195
policyAlternatives.EndpointAlternatives =
PolicyHelper
.CrossProduct<XmlElement>(wsdlBindingAlternatives, wsdlPortAlternatives, new YieldLimiter(_importer.Quotas.MaxYields, _importer));
2359
if (
PolicyHelper
.GetNodeType(policyDocument.Value) !=
PolicyHelper
.NodeType.Policy)
2429
return
PolicyHelper
.GetFragmentIdentifier(element);