7 types derived from XmlSchemaObject
System.Xml (7)
System\Xml\Schema\XmlSchema.cs (1)
29public class XmlSchema : XmlSchemaObject {
System\Xml\Schema\XmlSchemaAnnotated.cs (1)
17public class XmlSchemaAnnotated : XmlSchemaObject {
System\Xml\Schema\XmlSchemaAnnotation.cs (1)
17public class XmlSchemaAnnotation : XmlSchemaObject {
System\Xml\Schema\XmlSchemaAppInfo.cs (1)
17public class XmlSchemaAppInfo : XmlSchemaObject {
System\Xml\Schema\XmlSchemaDocumentation.cs (1)
18public class XmlSchemaDocumentation : XmlSchemaObject {
System\Xml\Schema\XmlSchemaExternal.cs (1)
15public abstract class XmlSchemaExternal : XmlSchemaObject {
System\Xml\Schema\XmlSchemaSubstitutionGroup.cs (1)
13internal class XmlSchemaSubstitutionGroup : XmlSchemaObject {
334 references to XmlSchemaObject
System.Data (10)
fx\src\data\System\Data\DataSet.cs (3)
3494public override string ImportSchemaType(string name, string schemaNamespace, XmlSchemaObject context, XmlSchemas schemas, XmlSchemaImporter importer, CodeCompileUnit compileUnit, CodeNamespace mainNamespace, CodeGenerationOptions options, CodeDomProvider codeProvider) { 3509public override string ImportSchemaType(XmlSchemaType type, XmlSchemaObject context, XmlSchemas schemas, XmlSchemaImporter importer, CodeCompileUnit compileUnit, CodeNamespace mainNamespace, CodeGenerationOptions options, CodeDomProvider codeProvider) { 3638foreach (XmlSchemaObject item in schema.Items) {
fx\src\data\System\Data\SQLTypes\SqlTypesSchemaImporter.cs (2)
70XmlSchemaObject context, 89XmlSchemaObject context,
fx\src\data\System\Data\XMLSchema.cs (5)
448foreach (XmlSchemaObject so in attributes) { 843foreach (XmlSchemaObject so in attributes) { 858foreach (XmlSchemaObject obj in attributeGroup.Attributes) { 2171XmlSchemaObject e = (XmlSchemaObject)elem.Parent;
System.Data.Services.Design (3)
System\Data\EntityModel\EntityClassGenerator.cs (2)
288XmlSchemaObject referentialConstraint = null; 289foreach (XmlSchemaObject item in sequence.Items)
System\Data\Services\Design\Xml\XNodeSchemaApplier.cs (1)
166private static string GetTargetNamespace(XmlSchemaObject schemaObject)
System.Runtime.Serialization (17)
System\Runtime\Serialization\SchemaExporter.cs (4)
556XmlSchemaObject[] itemArray = new XmlSchemaObject[schema.Items.Count]; 560XmlSchemaObject item = itemArray[j]; 673foreach (XmlSchemaObject schemaItem in schema.Items)
System\Runtime\Serialization\SchemaHelper.cs (4)
51foreach (XmlSchemaObject schemaObj in schema.Items) 104foreach (XmlSchemaObject schemaObj in schema.Items) 191foreach (XmlSchemaObject schemaObject in schema.Items) 215foreach (XmlSchemaObject schemaObject in schema.Items)
System\Runtime\Serialization\SchemaImporter.cs (9)
86foreach (XmlSchemaObject typeObj in schema.SchemaTypes.Values) 253foreach (XmlSchemaObject schemaObj in schema.SchemaTypes.Values) 292foreach (XmlSchemaObject schemaObj in schema.Elements.Values) 576XmlSchemaObject o = rootSequence.Items[0]; 613foreach (XmlSchemaObject schemaObject in serializationSchema.Items) 874XmlSchemaObject o = rootSequence.Items[0]; 1248foreach (XmlSchemaObject schemaObject in type.Annotation.Items) 1276foreach (XmlSchemaObject schemaObject in type.Annotation.Items) 1389XmlSchemaObject o = attributes[i];
System.ServiceModel (5)
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
1218foreach (XmlSchemaObject o in xsdDoc.Includes)
System\ServiceModel\Description\WsdlHelper.cs (1)
60foreach (XmlSchemaObject schemaObject in schema.Includes)
System\ServiceModel\EndpointAddress10.cs (1)
103foreach (XmlSchemaObject schemaObject in eprSchema.Items)
System\ServiceModel\EndpointAddressAugust2004.cs (1)
102foreach (XmlSchemaObject schemaObject in eprSchema.Items)
System\ServiceModel\Security\WSTrustServiceContract.cs (1)
1990foreach (XmlSchemaObject include in xmlSchema.Includes)
System.ServiceModel.Web (30)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (30)
24static Dictionary<Type, Action<XmlSchemaObject, HelpExampleGeneratorContext>> XmlObjectHandler = new Dictionary<Type, Action<XmlSchemaObject, HelpExampleGeneratorContext>> 74static Dictionary<Type, Action<XmlSchemaObject, HelpExampleGeneratorContext>> JsonObjectHandler = new Dictionary<Type, Action<XmlSchemaObject, HelpExampleGeneratorContext>> 166static void InvokeHandler(XmlSchemaObject schemaObject, HelpExampleGeneratorContext context) 170Action<XmlSchemaObject, HelpExampleGeneratorContext> action; 188static void XmlAttributeHandler(XmlSchemaObject schemaObject, HelpExampleGeneratorContext context) 202static void ChoiceHandler(XmlSchemaObject schemaObject, HelpExampleGeneratorContext context) 208static void ContentHandler(XmlSchemaObject schemaObject, HelpExampleGeneratorContext context) 214static void SimpleTypeRestrictionHandler(XmlSchemaObject schemaObject, HelpExampleGeneratorContext context) 217foreach (XmlSchemaObject facet in restriction.Facets) 223static void ErrorHandler(XmlSchemaObject schemaObject, HelpExampleGeneratorContext context) 228static void EmptyHandler(XmlSchemaObject schemaObject, HelpExampleGeneratorContext context) 232static void XmlElementHandler(XmlSchemaObject schemaObject, HelpExampleGeneratorContext context) 252foreach (XmlSchemaObject constraint in contentElement.Constraints) 260static void XmlComplexTypeHandler(XmlSchemaObject schemaObject, HelpExampleGeneratorContext context) 263foreach (XmlSchemaObject attribute in complexType.AttributeUses.Values) 278static void XmlSequenceHandler(XmlSchemaObject schemaObject, HelpExampleGeneratorContext context) 281foreach (XmlSchemaObject innerObject in sequence.Items) 311static void XmlSimpleTypeListHandler(XmlSchemaObject schemaObject, HelpExampleGeneratorContext context) 317static void XmlSimpleTypeHandler(XmlSchemaObject schemaObject, HelpExampleGeneratorContext context) 345foreach (XmlSchemaObject facet in restriction.Facets) 368static void JsonElementHandler(XmlSchemaObject schemaObject, HelpExampleGeneratorContext context) 412static void JsonComplexTypeHandler(XmlSchemaObject schemaObject, HelpExampleGeneratorContext context) 422static void JsonSequenceHandler(XmlSchemaObject schemaObject, HelpExampleGeneratorContext context) 425foreach (XmlSchemaObject innerObject in sequence.Items) 460static void JsonSimpleTypeListHandler(XmlSchemaObject schemaObject, HelpExampleGeneratorContext context) 466static void JsonSimpleTypeHandler(XmlSchemaObject schemaObject, HelpExampleGeneratorContext context) 475foreach (XmlSchemaObject facet in restriction.Facets) 804public Dictionary<Type, Action<XmlSchemaObject, HelpExampleGeneratorContext>> objectHandler;
System.Web.Extensions (21)
Compilation\WCFModel\SchemaMerger.cs (19)
84Dictionary<XmlQualifiedName, XmlSchemaObject>[] knownItemTables = new Dictionary<XmlQualifiedName, XmlSchemaObject>[schemaTopLevelItemTypes.Length]; 87knownItemTables[i] = new Dictionary<XmlQualifiedName, XmlSchemaObject>(); 94List<XmlSchemaObject> duplicatedItems = new List<XmlSchemaObject>(); 98Dictionary<XmlQualifiedName, XmlSchemaObject> knownItemTable = knownItemTables[i]; 117foreach (XmlSchemaObject item in duplicatedItems) 134Dictionary<XmlQualifiedName, XmlSchemaObject> knownItemTable, 135List<XmlSchemaObject> duplicatedItems, 145foreach (XmlSchemaObject item in schema.Items) 152XmlSchemaObject originalItem = null; 206private static bool AreSchemaObjectsEquivalent(XmlSchemaObject originalItem, XmlSchemaObject item, out string differentLocation) 354if (originalValue is XmlSchemaObject) 356return AreSchemaObjectsEquivalent((XmlSchemaObject)originalValue, (XmlSchemaObject)newValue, out differentLocation); 547private static string GetSchemaItemName(XmlSchemaObject item) 648if (value is XmlSchemaObject) 650string itemName = GetSchemaItemName((XmlSchemaObject)value);
Script\Services\WebServiceTypeData.cs (2)
131XmlSchemaObject o = rootSequence.Items[0]; 210foreach (XmlSchemaObject schemaObj in schema.Items) {
System.Web.Services (35)
System\Web\Services\Description\SchemaCompiler.cs (4)
55XmlSchemaObject source = exception.SourceSchemaObject; 74static string GetSchemaItem(XmlSchemaObject o, string ns, string details) { 82XmlSchemaObject tmp = o; 145internal static XmlQualifiedName GetParentName(XmlSchemaObject item) {
System\Web\Services\Description\ServiceDescriptionSerializer.cs (30)
1841global::System.Xml.Schema.XmlSchemaObject ai = (global::System.Xml.Schema.XmlSchemaObject)a[ia]; 1865global::System.Xml.Schema.XmlSchemaObject ai = (global::System.Xml.Schema.XmlSchemaObject)a[ia]; 1933global::System.Xml.Schema.XmlSchemaObject ai = (global::System.Xml.Schema.XmlSchemaObject)a[ia]; 2128global::System.Xml.Schema.XmlSchemaObject ai = (global::System.Xml.Schema.XmlSchemaObject)a[ia]; 2273global::System.Xml.Schema.XmlSchemaObject ai = (global::System.Xml.Schema.XmlSchemaObject)a[ia]; 2565global::System.Xml.Schema.XmlSchemaObject ai = (global::System.Xml.Schema.XmlSchemaObject)a[ia]; 3178global::System.Xml.Schema.XmlSchemaObject ai = (global::System.Xml.Schema.XmlSchemaObject)a[ia]; 3433global::System.Xml.Schema.XmlSchemaObject ai = (global::System.Xml.Schema.XmlSchemaObject)a[ia]; 3557global::System.Xml.Schema.XmlSchemaObject ai = (global::System.Xml.Schema.XmlSchemaObject)a[ia]; 3629global::System.Xml.Schema.XmlSchemaObject ai = (global::System.Xml.Schema.XmlSchemaObject)a[ia]; 3726global::System.Xml.Schema.XmlSchemaObject ai = (global::System.Xml.Schema.XmlSchemaObject)a[ia]; 3777global::System.Xml.Schema.XmlSchemaObject ai = (global::System.Xml.Schema.XmlSchemaObject)a[ia]; 3830global::System.Xml.Schema.XmlSchemaObject ai = (global::System.Xml.Schema.XmlSchemaObject)a[ia]; 3916global::System.Xml.Schema.XmlSchemaObject ai = (global::System.Xml.Schema.XmlSchemaObject)a[ia]; 4031global::System.Xml.Schema.XmlSchemaObject ai = (global::System.Xml.Schema.XmlSchemaObject)a[ia];
System\Web\Services\Description\WebServicesInteroperability.cs (1)
310foreach (XmlSchemaObject o in schema.Items) {
System.Xml (208)
System\Xml\Core\XsdValidatingReader.cs (2)
129internal XsdValidatingReader(XmlReader reader, XmlResolver xmlResolver, XmlReaderSettings readerSettings, XmlSchemaObject partialValidationType) { 170private void SetupValidator(XmlReaderSettings readerSettings, XmlReader reader, XmlSchemaObject partialValidationType) {
System\Xml\Dom\DocumentSchemaValidator.cs (11)
89XmlSchemaObject partialValidationType = null; 227private void CreateValidator(XmlSchemaObject partialValidationType, XmlSchemaValidationFlags validationFlags) { 439private XmlSchemaObject FindSchemaInfo(XmlElement elementToValidate) { 470XmlSchemaObject ancestorSchemaObject = parentSchemaInfo.SchemaElement; 503XmlSchemaObject schemaObject = FindSchemaInfo(parentElement); 521private XmlSchemaObject GetTypeFromAncestors(XmlElement elementToValidate, XmlSchemaObject ancestorType, int ancestorsCount) { 554XmlSchemaObject schemaInfoFound = null; 574private bool AncestorTypeHasWildcard(XmlSchemaObject ancestorType) { 582private XmlSchemaComplexType GetComplexType(XmlSchemaObject schemaObject) { 678private XmlSchemaValidator CreateTypeFinderValidator(XmlSchemaObject partialValidationType) {
System\Xml\Schema\BaseProcessor.cs (17)
59protected void AddToTable(XmlSchemaObjectTable table, XmlQualifiedName qname, XmlSchemaObject item) { 63XmlSchemaObject existingObject = (XmlSchemaObject)table[qname]; 74XmlSchemaObject builtInAttributeGroup = schemaForXmlNS.AttributeGroups[qname]; 92XmlSchemaObject builtInAttribute = schemaForXmlNS.Attributes[qname]; 137private bool IsValidAttributeGroupRedefine(XmlSchemaObject existingObject, XmlSchemaObject item, XmlSchemaObjectTable table) { 152private bool IsValidGroupRedefine(XmlSchemaObject existingObject, XmlSchemaObject item, XmlSchemaObjectTable table) { 167private bool IsValidTypeRedefine(XmlSchemaObject existingObject, XmlSchemaObject item, XmlSchemaObjectTable table) { 182protected void SendValidationEvent(string code, XmlSchemaObject source) { 186protected void SendValidationEvent(string code, string msg, XmlSchemaObject source) { 190protected void SendValidationEvent(string code, string msg1, string msg2, XmlSchemaObject source) { 194protected void SendValidationEvent(string code, string[] args, Exception innerException, XmlSchemaObject source) { 202protected void SendValidationEvent(string code, XmlSchemaObject source, XmlSeverityType severity) { 210protected void SendValidationEvent(string code, string msg, XmlSchemaObject source, XmlSeverityType severity) {
System\Xml\Schema\DataTypeImplementation.cs (2)
372internal override void VerifySchemaValid(XmlSchemaObjectTable notations, XmlSchemaObject caller) {/*noop*/} 2840internal override void VerifySchemaValid(XmlSchemaObjectTable notations, XmlSchemaObject caller) {
System\Xml\Schema\Inference\Infer.cs (2)
1321foreach(XmlSchemaObject xsa in attributes) 1372foreach(XmlSchemaObject xsa in attributes)
System\Xml\Schema\Preprocessor.cs (12)
451private void ParseUri(string uri, string code, XmlSchemaObject sourceSchemaObject) { 635List<XmlSchemaObject> removeItemsList = new List<XmlSchemaObject>(); 678SendValidationEvent(Res.Sch_InvalidCollection,(XmlSchemaObject)schemaItems[i]); 844internal static XmlSchema GetParentSchema(XmlSchemaObject currentSchemaObject) { 1646private void PreprocessAttributes(XmlSchemaObjectCollection attributes, XmlSchemaAnyAttribute anyAttribute, XmlSchemaObject parent) { 1678private void ValidateIdAttribute(XmlSchemaObject xso) { 1700private void ValidateNameAttribute(XmlSchemaObject xso) { 1718private void ValidateQNameAttribute(XmlSchemaObject xso, string attributeName, XmlQualifiedName value) { 1765private void SetParent(XmlSchemaObject child, XmlSchemaObject parent) { 1769private void PreprocessAnnotation(XmlSchemaObject schemaObject) {
System\Xml\Schema\SchemaCollectionpreProcessor.cs (12)
438List<XmlSchemaObject> removeItemsList = new List<XmlSchemaObject>(); 574redefine.Schema.Groups.Insert((XmlQualifiedName)entry.Key, (XmlSchemaObject)entry.Value); 577redefine.Schema.AttributeGroups.Insert((XmlQualifiedName)entry.Key, (XmlSchemaObject)entry.Value); 580redefine.Schema.SchemaTypes.Insert((XmlQualifiedName)entry.Key, (XmlSchemaObject)entry.Value); 1334private void PreprocessAttributes(XmlSchemaObjectCollection attributes, XmlSchemaAnyAttribute anyAttribute, XmlSchemaObject parent) { 1366private void ValidateIdAttribute(XmlSchemaObject xso) { 1383private void ValidateNameAttribute(XmlSchemaObject xso) { 1401private void ValidateQNameAttribute(XmlSchemaObject xso, string attributeName, XmlQualifiedName value) { 1414private void SetParent(XmlSchemaObject child, XmlSchemaObject parent) { 1418private void PreprocessAnnotation(XmlSchemaObject schemaObject) {
System\Xml\Schema\SchemaInfo.cs (1)
192internal SchemaAttDef GetAttributeXsd(SchemaElementDecl ed, XmlQualifiedName qname, XmlSchemaObject partialValidationType, out AttributeMatchState attributeMatchState) {
System\Xml\Schema\SchemaNamespacemanager.cs (4)
14XmlSchemaObject node; 16public SchemaNamespaceManager(XmlSchemaObject node) { 25for (XmlSchemaObject current = node; current != null; current = current.Parent) { 41for (XmlSchemaObject current = node; current != null; current = current.Parent) {
System\Xml\Schema\XmlSchema.cs (1)
552XmlSchemaObject newItem;
System\Xml\Schema\XmlSchemaAttribute.cs (1)
197internal override XmlSchemaObject Clone() {
System\Xml\Schema\XmlSchemaAttributeGroup.cs (1)
106internal override XmlSchemaObject Clone() {
System\Xml\Schema\XmlSchemaComplexType.cs (3)
353internal override XmlSchemaObject Clone() { 358internal XmlSchemaObject Clone(XmlSchema parentSchema) { 436XmlSchemaObject xso;
System\Xml\Schema\XmlSchemaDataType.cs (1)
119internal abstract void VerifySchemaValid(XmlSchemaObjectTable notations, XmlSchemaObject caller) ;
System\Xml\Schema\XmlSchemaElement.cs (2)
314internal override XmlSchemaObject Clone() { 319internal XmlSchemaObject Clone(XmlSchema parentSchema) {
System\Xml\Schema\XmlSchemaException.cs (8)
28XmlSchemaObject sourceSchemaObject; 109internal XmlSchemaException(string res, XmlSchemaObject source) : 112internal XmlSchemaException(string res, string arg, XmlSchemaObject source) : 115internal XmlSchemaException(string res, string[] args, XmlSchemaObject source) : 118internal XmlSchemaException(string res, string[] args, Exception innerException, string sourceUri, int lineNumber, int linePosition, XmlSchemaObject source) : 166public XmlSchemaObject SourceSchemaObject { 180internal void SetSchemaObject(XmlSchemaObject source) { 184internal void SetSource(XmlSchemaObject source) {
System\Xml\Schema\XmlSchemaGroup.cs (2)
79internal override XmlSchemaObject Clone() { 84internal XmlSchemaObject Clone(XmlSchema parentSchema) {
System\Xml\Schema\XmlSchemaObject.cs (4)
27XmlSchemaObject parent; 64public XmlSchemaObject Parent { 109internal virtual XmlSchemaObject Clone() { 110return (XmlSchemaObject)MemberwiseClone();
System\Xml\Schema\XmlSchemaObjectCollection.cs (12)
19XmlSchemaObject parent; 32public XmlSchemaObjectCollection(XmlSchemaObject parent) { 40public virtual XmlSchemaObject this[int index] { 41get { return (XmlSchemaObject)List[index]; } 57public int Add(XmlSchemaObject item) { 65public void Insert(int index, XmlSchemaObject item) { 73public int IndexOf(XmlSchemaObject item) { 81public bool Contains(XmlSchemaObject item) { 89public void Remove(XmlSchemaObject item) { 97public void CopyTo(XmlSchemaObject[] array, int index) { 184public XmlSchemaObject Current { 185get { return (XmlSchemaObject)enumerator.Current; }
System\Xml\Schema\XmlSchemaObjectTable.cs (15)
16Dictionary<XmlQualifiedName, XmlSchemaObject> table = new Dictionary<XmlQualifiedName,XmlSchemaObject>(); 22internal void Add(XmlQualifiedName name, XmlSchemaObject value) { 28internal void Insert(XmlQualifiedName name, XmlSchemaObject value) { 29XmlSchemaObject oldValue = null; 45internal void Replace(XmlQualifiedName name, XmlSchemaObject value) { 46XmlSchemaObject oldValue; 62XmlSchemaObject value; 72private int FindIndexByValue(XmlSchemaObject xso) { 95public XmlSchemaObject this[XmlQualifiedName name] { 97XmlSchemaObject value; 132internal XmlSchemaObject xso; 134public XmlSchemaObjectEntry(XmlQualifiedName name, XmlSchemaObject value) { 139public XmlSchemaObject IsMatch(string localName, string ns) { 248protected XmlSchemaObject currentValue;
System\Xml\Schema\XmlSchemaSet.cs (4)
1295private bool AddToTable(XmlSchemaObjectTable table, XmlQualifiedName qname, XmlSchemaObject item) { 1299XmlSchemaObject existingObject = (XmlSchemaObject)table[qname]; 1317XmlSchemaObject builtInAttribute = schemaForXmlNS.Attributes[qname];
System\Xml\Schema\XmlSchemaSimpleType.cs (1)
51internal override XmlSchemaObject Clone() {
System\Xml\Schema\XmlSchemaSimpleTypeList.cs (1)
49internal override XmlSchemaObject Clone() {
System\Xml\Schema\XmlSchemaSimpleTypeRestriction.cs (1)
62internal override XmlSchemaObject Clone() {
System\Xml\Schema\XmlSchemaSimpleTypeUnion.cs (1)
48internal override XmlSchemaObject Clone() {
System\Xml\Schema\XmlSchemaValidationException.cs (1)
82internal XmlSchemaValidationException(string res, string[] args, string sourceUri, int lineNumber, int linePosition, XmlSchemaObject source, object sourceNode) :
System\Xml\Schema\XmlSchemaValidator.cs (3)
105private XmlSchemaObject partialValidationType; 344public void Initialize(XmlSchemaObject partialValidationType) { 492XmlSchemaObject pvtAttribute = currentState == ValidatorState.TopLevelAttribute ? partialValidationType : null;
System\Xml\Schema\XsdBuilder.cs (6)
635private XmlSchemaObject xso; 808private XmlSchemaObject ParentContainer { 809get { return (XmlSchemaObject)containerStack.Peek(); } 812private XmlSchemaObject GetContainer(State state) { 813XmlSchemaObject container = null; 2131private void AddAttribute(XmlSchemaObject value) {
System\Xml\Serialization\Advanced\SchemaImporterExtension.cs (4)
25public virtual string ImportSchemaType(string name, string ns, XmlSchemaObject context, XmlSchemas schemas, XmlSchemaImporter importer, 31public virtual string ImportSchemaType(XmlSchemaType type, XmlSchemaObject context, XmlSchemas schemas, XmlSchemaImporter importer, 134XmlSchemaObject context; 141internal MappedTypeDesc(string clrType, string name, string ns, XmlSchemaType xsdType, XmlSchemaObject context, SchemaImporterExtension extension, CodeNamespace code, StringCollection references) {
System\Xml\Serialization\ImportContext.cs (19)
126internal XmlSchemaObject AddItem(XmlSchemaObject item, XmlQualifiedName qname, XmlSchemas schemas) { 140XmlSchemaObject cachedItem = (XmlSchemaObject)list[i]; 157internal bool Match(XmlSchemaObject o1, XmlSchemaObject o2, bool shareTypes) { 174private ArrayList GetDependencies(XmlSchemaObject o, ArrayList deps, Hashtable refs) { 181GetDependencies((XmlSchemaObject)list[i], deps, refs); 188private int CompositeHash(XmlSchemaObject o, int hash) { 205GetHash((XmlSchemaObject)items[i]); 209private int GetHash(XmlSchemaObject o) { 212if (hash is XmlSchemaObject) { 226string ToString(XmlSchemaObject o, SchemaObjectWriter writer) { 244foreach (XmlSchemaObject item in s.Items) { 254internal void AddRef(ArrayList list, XmlSchemaObject o) { 269internal ArrayList Depends(XmlSchemaObject item) { 283internal void Depends(XmlSchemaObject item, ArrayList refs) { 406foreach (XmlSchemaObject o in ((XmlSchemaGroupBase)item).Items) { 415foreach (XmlSchemaObject o in ((XmlSchemaAttributeGroup)item).Attributes) {
System\Xml\Serialization\SchemaObjectWriter.cs (15)
54return comparer.Compare(NameOf((XmlSchemaObject)o1), NameOf((XmlSchemaObject)o2)); 57internal static XmlQualifiedName NameOf(XmlSchemaObject o) { 119internal static string Namespace(XmlSchemaObject o) { 178void WriteAttributes(XmlAttribute[] a, XmlSchemaObject o) { 229internal string WriteXmlSchemaObject(XmlSchemaObject o) { 231Write3_XmlSchemaObject((XmlSchemaObject)o); 244Write3_XmlSchemaObject((XmlSchemaObject)list[i]); 278void Write3_XmlSchemaObject(XmlSchemaObject o) { 413XmlSchemaObject ai = (XmlSchemaObject)a[ia]; 548XmlSchemaObject ai = (XmlSchemaObject)a[ia]; 985XmlSchemaObject ai = (XmlSchemaObject)a[ia];
System\Xml\Serialization\SoapSchemaExporter.cs (3)
92foreach (XmlSchemaObject o in schema.Items) { 101void AddSchemaItem(XmlSchemaObject item, string ns, string referencingNs) { 131bool SchemaContainsItem(XmlSchemaObject item, string ns) {
System\Xml\Serialization\Types.cs (1)
1203static internal XmlQualifiedName ParseWsdlArrayType(string type, out string dims, XmlSchemaObject parent) {
System\Xml\Serialization\XmlSchemaExporter.cs (3)
251foreach (XmlSchemaObject o in schema.Items) { 273void AddSchemaItem(XmlSchemaObject item, string ns, string referencingNs) { 318bool SchemaContainsItem(XmlSchemaObject item, string ns) {
System\Xml\Serialization\XmlSchemaImporter.cs (8)
204XmlSchemaObject xso = Schemas.SchemaSet.GlobalTypes[typeName]; 343XmlSchemaObject parent = element; 377void RunSchemaExtensions(TypeMapping mapping, XmlQualifiedName qname, XmlSchemaType type, XmlSchemaObject context, TypeFlags flags) { 1415foreach(XmlSchemaObject o in type.Annotation.Items) { 1801XmlSchemaObject parent = element; 1833internal string FindExtendedType(string name, string ns, XmlSchemaObject context, CodeCompileUnit compileUnit, CodeNamespace mainNamespace, out SchemaImporterExtension extension ) { 1845internal string FindExtendedType(XmlSchemaType type, XmlSchemaObject context, CodeCompileUnit compileUnit, CodeNamespace mainNamespace, out SchemaImporterExtension extension) { 1859XmlSchemaObject parent = attribute;
System\Xml\Serialization\XmlSchemas.cs (18)
261foreach(XmlSchemaObject o in removes) { 289XmlSchemaObject ret = null; 350foreach (XmlSchemaObject o in schema.Items) { 432XmlSchemaObject o = schema.Items[i]; 433XmlSchemaObject dest = Find(o, originals); 457static string ItemName(XmlSchemaObject o) { 479internal static XmlQualifiedName GetParentName(XmlSchemaObject item) { 492static string GetSchemaItem(XmlSchemaObject o, string ns, string details) { 500XmlSchemaObject tmp = o; 563static string Dump(XmlSchemaObject o) { 575static string MergeFailedMessage(XmlSchemaObject src, XmlSchemaObject dest, string ns) { 582internal XmlSchemaObject Find(XmlSchemaObject o, IList originals) { 590foreach(XmlSchemaObject item in s.Items) { 662XmlSchemaObject source = exception.SourceSchemaObject; 728internal bool IsReference(XmlSchemaObject type) { 729XmlSchemaObject parent = type;
System\Xml\Serialization\XmlSerializationReader.cs (1)
3080if (structMapping.TypeDesc.Type != null && typeof(XmlSchemaObject).IsAssignableFrom(structMapping.TypeDesc.Type)) {
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
1543if (structMapping.TypeDesc.Type != null && typeof(XmlSchemaObject).IsAssignableFrom(structMapping.TypeDesc.Type)) {
System\Xml\Serialization\XmlSerializationWriter.cs (3)
818XmlQualifiedName qname = TypeScope.ParseWsdlArrayType(attr.Value, out dims, (container is XmlSchemaObject) ? (XmlSchemaObject)container : null); 2085if (mapping.TypeDesc.Type != null && typeof(XmlSchemaObject).IsAssignableFrom(mapping.TypeDesc.Type)) {
System\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
976if (mapping.TypeDesc.Type != null && typeof(XmlSchemaObject).IsAssignableFrom(mapping.TypeDesc.Type)) {
System.Xml.Linq (5)
System\Xml\Linq\XNodeValidator.cs (5)
35public void Validate(XObject source, XmlSchemaObject partialValidationType, bool addSchemaInfo) { 422public static void Validate(this XElement source, XmlSchemaObject partialValidationType, XmlSchemaSet schemas, ValidationEventHandler validationEventHandler) { 441public static void Validate(this XElement source, XmlSchemaObject partialValidationType, XmlSchemaSet schemas, ValidationEventHandler validationEventHandler, bool addSchemaInfo) { 459public static void Validate(this XAttribute source, XmlSchemaObject partialValidationType, XmlSchemaSet schemas, ValidationEventHandler validationEventHandler) { 478public static void Validate(this XAttribute source, XmlSchemaObject partialValidationType, XmlSchemaSet schemas, ValidationEventHandler validationEventHandler, bool addSchemaInfo) {