23 references to SchemaElements
System.ServiceModel.Discovery (23)
System\ServiceModel\Discovery\SchemaUtility.cs (23)
35
SchemaElements
elementsFound =
SchemaElements
.None;
78
SchemaElements
elementsFound =
SchemaElements
.XAddrs |
SchemaElements
.MetadataVersion;
201
static void AddElements(DiscoveryVersion discoveryVersion,
SchemaElements
elementsFound, XmlSchema discoverySchema)
203
if ((elementsFound &
SchemaElements
.Types) == 0)
207
if ((elementsFound &
SchemaElements
.Scopes) == 0)
211
if ((elementsFound &
SchemaElements
.XAddrs) == 0)
215
if ((elementsFound &
SchemaElements
.MetadataVersion) == 0)
558
static void LocateSchemaElements(DiscoveryVersion discoveryVersion, XmlSchema schema, ref
SchemaElements
elementsFound)
560
if (((elementsFound &
SchemaElements
.Types) !=
SchemaElements
.Types) &&
563
elementsFound |=
SchemaElements
.Types;
565
if (((elementsFound &
SchemaElements
.Scopes) !=
SchemaElements
.Scopes) &&
568
elementsFound |=
SchemaElements
.Scopes;
570
if (((elementsFound &
SchemaElements
.XAddrs) !=
SchemaElements
.XAddrs) &&
573
elementsFound |=
SchemaElements
.XAddrs;
575
if (((elementsFound &
SchemaElements
.MetadataVersion) !=
SchemaElements
.MetadataVersion) &&
578
elementsFound |=
SchemaElements
.MetadataVersion;