11 instantiations of XmlSchemaSet
dotnet-svcutil-lib (11)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReaderSettings.cs (1)
370_schemas = new XmlSchemaSet();
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (1)
354_schemas = new XmlSchemaSet(NameTable);
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (2)
184return InferSchema1(instanceDocument, new XmlSchemaSet(_nametable)); 192schemas = new XmlSchemaSet(_nametable);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (2)
194_schemaSet = new XmlSchemaSet(nameTable); 1827XmlSchemaSet localSet = new XmlSchemaSet(); //Avoiding cost of incremental compilation checks by compiling schema in a seperate set and adding compiled set
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (1)
1346_schemas = new XmlSchemaSet();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (2)
114_schemaSet = new XmlSchemaSet(); 742_schemaSet = new XmlSchemaSet();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (1)
838XmlSchemaSet schemaSet = new XmlSchemaSet();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (1)
550XmlSchemaSet schemaSet = new XmlSchemaSet();
97 references to XmlSchemaSet
dotnet-svcutil-lib (97)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReaderSettings.cs (2)
61private XmlSchemaSet _schemas; 364public XmlSchemaSet Schemas
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (2)
28private XmlSchemaSet _schemas; 63public DocumentSchemaValidator(XmlDocument ownerDocument, XmlSchemaSet schemas, ValidationEventHandler eventHandler)
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXPathNavigator.cs (1)
1261public override bool CheckValidity(XmlSchemaSet schemas, ValidationEventHandler validationEventHandler)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (2)
29private XmlSchemaSet _schemas; // schemas associated with the cache 348public XmlSchemaSet Schemas
FrameworkFork\Microsoft.Xml\Xml\schema\ContentValidator.cs (7)
1082public virtual ArrayList ExpectedParticles(ValidationState context, bool isRequiredOnly, XmlSchemaSet schemaSet) 1087public static void AddParticleToExpected(XmlSchemaParticle p, XmlSchemaSet schemaSet, ArrayList particles) 1092public static void AddParticleToExpected(XmlSchemaParticle p, XmlSchemaSet schemaSet, ArrayList particles, bool global) 1754public override ArrayList ExpectedParticles(ValidationState context, bool isRequiredOnly, XmlSchemaSet schemaSet) 1903public override ArrayList ExpectedParticles(ValidationState context, bool isRequiredOnly, XmlSchemaSet schemaSet) 2219public override ArrayList ExpectedParticles(ValidationState context, bool isRequiredOnly, XmlSchemaSet schemaSet) 2346public override ArrayList ExpectedParticles(ValidationState context, bool isRequiredOnly, XmlSchemaSet schemaSet)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (6)
114private XmlSchemaSet _schemaSet; 182public XmlSchemaSet InferSchema(XmlReader instanceDocument) 188public XmlSchemaSet InferSchema(XmlReader instanceDocument, XmlSchemaSet schemas) 196internal XmlSchemaSet InferSchema1(XmlReader instanceDocument, XmlSchemaSet schemas)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (2)
37public bool Execute(XmlSchemaSet schemaSet, SchemaInfo schemaCompiledInfo) 167internal void ImportAllCompiledSchemas(XmlSchemaSet schemaSet)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaAttribute.cs (1)
168internal XmlReader Validate(XmlReader reader, XmlResolver resolver, XmlSchemaSet schemaSet, ValidationEventHandler valEventHandler)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaElement.cs (1)
278internal XmlReader Validate(XmlReader reader, XmlResolver resolver, XmlSchemaSet schemaSet, ValidationEventHandler valEventHandler)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSet.cs (2)
396public void Add(XmlSchemaSet schemas) 1259internal void CopyFromCompiledSet(XmlSchemaSet otherSet)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaType.cs (1)
225internal XmlReader Validate(XmlReader reader, XmlResolver resolver, XmlSchemaSet schemaSet, ValidationEventHandler valEventHandler)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (6)
70private XmlSchemaSet _schemaSet; 173public XmlSchemaValidator(XmlNameTable nameTable, XmlSchemaSet schemas, IXmlNamespaceResolver namespaceResolver, XmlSchemaValidationFlags validationFlags) 1126internal XmlSchemaSet SchemaSet 1827XmlSchemaSet localSet = new XmlSchemaSet(); //Avoiding cost of incremental compilation checks by compiling schema in a seperate set and adding compiled set 2525internal static void ElementValidationError(XmlQualifiedName name, ValidationState context, ValidationEventHandler eventHandler, object sender, string sourceUri, int lineNo, int linePos, XmlSchemaSet schemaSet) 2583internal static void CompleteValidationError(ValidationState context, ValidationEventHandler eventHandler, object sender, string sourceUri, int lineNo, int linePos, XmlSchemaSet schemaSet)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (3)
1116private XmlSchemaSet _schemas; 1134internal SerializableMapping(XmlQualifiedName xsiType, XmlSchemaSet schemas) 1230internal XmlSchemaSet Schemas
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (3)
491MethodInfo getMethod = getMethod = type.GetMethod(provider.MethodName, /* BindingFlags.DeclaredOnly | */ BindingFlags.Static | BindingFlags.Public, null, new Type[] { typeof(XmlSchemaSet) }, null); 493throw new InvalidOperationException(string.Format(ResXml.XmlGetSchemaMethodMissing, provider.MethodName, typeof(XmlSchemaSet).Name, type.FullName)); 589XmlSchemaSet schemas = mapping.Schemas;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (2)
31private XmlSchemaSet _schemaSet; 108internal XmlSchemaSet SchemaSet
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigator.cs (2)
1044public virtual bool CheckValidity(XmlSchemaSet schemas, ValidationEventHandler validationEventHandler) 1112private XmlReader GetValidatingReader(XmlReader reader, XmlSchemaSet schemas, ValidationEventHandler validationEvent, XmlSchemaType schemaType, XmlSchemaElement schemaElement, XmlSchemaAttribute schemaAttribute)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\Globals.cs (1)
951s_typeOfXmlSchemaSet = typeof(XmlSchemaSet);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaExporter.cs (3)
21XmlSchemaSet schemas = null; 32private static bool InvokeSchemaProviderMethod(Type clrType, XmlSchemaSet schemas, out XmlQualifiedName stableName, out XmlSchemaType xsdType, out bool hasRoot) 58MethodInfo getMethod = clrType.GetMethod(methodName, /*BindingFlags.DeclaredOnly |*/ BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public, new Type[] { typeof(XmlSchemaSet) });
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaHelper.cs (3)
50internal static XmlSchema GetSchemaWithType(SchemaObjectDictionary schemaInfo, XmlSchemaSet schemas, XmlQualifiedName typeName) 80internal static XmlSchema GetSchemaWithGlobalElementDeclaration(XmlSchemaElement element, XmlSchemaSet schemas) 100internal static XmlQualifiedName GetGlobalElementDeclaration(XmlSchemaSet schemas, XmlQualifiedName typeQName, out bool isNullable)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (3)
23private XmlSchemaSet _schemaSet; 38internal SchemaImporter(XmlSchemaSet schemas, ICollection<XmlQualifiedName> typeNames, ICollection<XmlSchemaElement> elements, XmlQualifiedName[] elementTypeNames, DataContractSet dataContractSet, bool importXmlDataType) 134internal static void CompileSchemaSet(XmlSchemaSet schemaSet)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XsdDataContractImporter.cs (10)
72public void Import(XmlSchemaSet schemas) 80public void Import(XmlSchemaSet schemas, ICollection<XmlQualifiedName> typeNames) 91public void Import(XmlSchemaSet schemas, XmlQualifiedName typeName) 103public XmlQualifiedName Import(XmlSchemaSet schemas, XmlSchemaElement element) 117public bool CanImport(XmlSchemaSet schemas) 125public bool CanImport(XmlSchemaSet schemas, ICollection<XmlQualifiedName> typeNames) 136public bool CanImport(XmlSchemaSet schemas, XmlQualifiedName typeName) 147public bool CanImport(XmlSchemaSet schemas, XmlSchemaElement element) 231private void InternalImport(XmlSchemaSet schemas, ICollection<XmlQualifiedName> typeNames, ICollection<XmlSchemaElement> elements, XmlQualifiedName[] elementTypeNames/*filled on return*/) 266private bool InternalCanImport(XmlSchemaSet schemas, ICollection<XmlQualifiedName> typeNames, ICollection<XmlSchemaElement> elements, XmlQualifiedName[] elementTypeNames)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ContextBindingElementImporter.cs (1)
22public void BeforeImport(ServiceDescriptionCollection wsdlDocuments, XmlSchemaSet xmlSchemas, ICollection<XmlElement> policy)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageEncodingBindingElementImporter.cs (1)
15void IWsdlImportExtension.BeforeImport(ServiceDescriptionCollection wsdlDocuments, XmlSchemaSet xmlSchemas, ICollection<XmlElement> policy)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\StandardBindingImporter.cs (1)
17void IWsdlImportExtension.BeforeImport(WsdlNS.ServiceDescriptionCollection wsdlDocuments, XmlSchemaSet xmlSchemas, ICollection<XmlElement> policy) { }
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElementImporter.cs (1)
24void IWsdlImportExtension.BeforeImport(WsdlNS.ServiceDescriptionCollection wsdlDocuments, XmlSchemaSet xmlSchemas, ICollection<XmlElement> policy)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpTransportImporter.cs (1)
19public void BeforeImport(WsdlNS.ServiceDescriptionCollection wsdlDocuments, XmlSchemaSet xmlSchemas, ICollection<XmlElement> policy)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerMessageContractImporter.cs (2)
49void IWsdlImportExtension.BeforeImport(WsdlNS.ServiceDescriptionCollection wsdlDocuments, XmlSchemaSet xmlSchemas, ICollection<XmlElement> policy) { } 76void IWsdlImportExtension.BeforeImport(WsdlNS.ServiceDescriptionCollection wsdlDocuments, XmlSchemaSet xmlSchemas, ICollection<XmlElement> policy) { }
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\IWsdlImportExtension.cs (1)
14void BeforeImport(WsdlNS.ServiceDescriptionCollection wsdlDocuments, XmlSchemaSet xmlSchemas, ICollection<XmlElement> policy);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (13)
30private readonly XmlSchemaSet _allSchemas; 139private XmlSchemaSet AllSchemas 783private static XmlSchemaElement FindSchemaElement(XmlSchemaSet schemaSet, XmlQualifiedName elementName) 789private static XmlSchemaElement FindSchemaElement(XmlSchemaSet schemaSet, XmlQualifiedName elementName, out XmlSchema containingSchema) 807private static XmlSchemaType FindSchemaType(XmlSchemaSet schemaSet, XmlQualifiedName typeName) 815private static XmlSchemaType FindSchemaType(XmlSchemaSet schemaSet, XmlQualifiedName typeName, out XmlSchema containingSchema) 836private static XmlSchemaSet GatherSchemas(WsdlImporter importer) 838XmlSchemaSet schemaSet = new XmlSchemaSet(); 887private static void CollectEncodedAndLiteralSchemas(WsdlNS.ServiceDescriptionCollection serviceDescriptions, XmlSchemas encodedSchemas, XmlSchemas literalSchemas, XmlSchemaSet allSchemas) 1023private static void AddImport(XmlSchema schema, Hashtable imports, XmlSchemaSet allSchemas) 1171private static IEnumerable GetSchema(XmlSchemaSet schemaSet, string ns) 1244private static XmlSchemaComplexType GetElementComplexType(XmlQualifiedName elementName, XmlSchemaSet schemaSet, out string ns, out XmlSchemaForm elementFormDefault) 1441readonly protected XmlSchemaSet schemaSet;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\SchemaHelper.cs (4)
22static internal void AddElementToSchema(XmlSchemaElement element, XmlSchema schema, XmlSchemaSet schemaSet) 58static internal void AddTypeToSchema(XmlSchemaType type, XmlSchema schema, XmlSchemaSet schemaSet) 74static internal XmlSchema GetSchema(string ns, XmlSchemaSet schemaSet) 129static internal void Compile(XmlSchemaSet schemaSet, Collection<MetadataConversionError> errors)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (4)
26private XmlSchemaSet _xmlSchemas = WsdlExporter.GetEmptySchemaSet(); 143public XmlSchemaSet GeneratedXmlSchemas { get { return _xmlSchemas; } } 548static internal XmlSchemaSet GetEmptySchemaSet() 550XmlSchemaSet schemaSet = new XmlSchemaSet();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (3)
33private readonly XmlSchemaSet _xmlSchemas = WsdlExporter.GetEmptySchemaSet(); 80public XmlSchemaSet XmlSchemas 1565internal static IEnumerable<MetadataSection> CreateMetadataDocuments(WsdlNS.ServiceDescriptionCollection wsdlDocuments, XmlSchemaSet xmlSchemas, IEnumerable<XmlElement> policyDocuments)
ImportModule.cs (2)
380void IWsdlImportExtension.BeforeImport(WsdlNS.ServiceDescriptionCollection wsdlDocuments, XmlSchemaSet xmlSchemas, ICollection<XmlElement> policy) { } 430public void BeforeImport(WsdlNS.ServiceDescriptionCollection wsdlDocuments, XmlSchemaSet xmlSchemas, ICollection<XmlElement> policy) { }