7 types derived from XmlSchemaObject
System.Private.Xml (7)
System\Xml\Schema\XmlSchema.cs (1)
16public class XmlSchema : XmlSchemaObject
System\Xml\Schema\XmlSchemaAnnotated.cs (1)
9public class XmlSchemaAnnotated : XmlSchemaObject
System\Xml\Schema\XmlSchemaAnnotation.cs (1)
9public class XmlSchemaAnnotation : XmlSchemaObject
System\Xml\Schema\XmlSchemaAppInfo.cs (1)
9public class XmlSchemaAppInfo : XmlSchemaObject
System\Xml\Schema\XmlSchemaDocumentation.cs (1)
11public class XmlSchemaDocumentation : XmlSchemaObject
System\Xml\Schema\XmlSchemaExternal.cs (1)
10public abstract class XmlSchemaExternal : XmlSchemaObject
System\Xml\Schema\XmlSchemaSubstitutionGroup.cs (1)
9internal class XmlSchemaSubstitutionGroup : XmlSchemaObject
228 references to XmlSchemaObject
netstandard (1)
netstandard.cs (1)
2350[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaObject))]
System.Data.Common (4)
System\Data\XMLSchema.cs (4)
511foreach (XmlSchemaObject so in attributes) 990foreach (XmlSchemaObject so in attributes) 1012foreach (XmlSchemaObject obj in attributeGroup.Attributes) 2512XmlSchemaObject e = elem.Parent!;
System.Private.DataContractSerialization (17)
System\Runtime\Serialization\SchemaExporter.cs (4)
560XmlSchemaObject[] itemArray = new XmlSchemaObject[schema.Items.Count]; 564XmlSchemaObject item = itemArray[j]; 670foreach (XmlSchemaObject schemaItem in schema.Items)
System\Runtime\Serialization\SchemaHelper.cs (4)
71foreach (XmlSchemaObject schemaObj in schema.Items) 103foreach (XmlSchemaObject schemaObj in schema.Items) 199foreach (XmlSchemaObject schemaObject in schema.Items) 216foreach (XmlSchemaObject schemaObject in schema.Items)
System\Runtime\Serialization\SchemaImporter.cs (9)
81foreach (XmlSchemaObject typeObj in schema.SchemaTypes.Values) 252foreach (XmlSchemaObject schemaObj in schema.SchemaTypes.Values) 287foreach (XmlSchemaObject schemaObj in schema.Elements.Values) 572XmlSchemaObject o = rootSequence.Items[0]; 604foreach (XmlSchemaObject schemaObject in serializationSchema.Items) 856XmlSchemaObject o = rootSequence.Items[0]; 1244foreach (XmlSchemaObject schemaObject in type.Annotation.Items) 1266foreach (XmlSchemaObject schemaObject in type.Annotation.Items) 1376XmlSchemaObject o = attributes[i];
System.Private.Xml (199)
System\Xml\Core\XsdValidatingReader.cs (2)
126internal XsdValidatingReader(XmlReader reader, XmlResolver? xmlResolver, XmlReaderSettings readerSettings, XmlSchemaObject? partialValidationType) 169private void SetupValidator(XmlReaderSettings readerSettings, XmlReader reader, XmlSchemaObject? partialValidationType)
System\Xml\Dom\DocumentSchemaValidator.cs (11)
87XmlSchemaObject? partialValidationType = null; 243private void CreateValidator(XmlSchemaObject? partialValidationType, XmlSchemaValidationFlags validationFlags) 482private XmlSchemaObject? FindSchemaInfo(XmlElement elementToValidate) 518XmlSchemaObject? ancestorSchemaObject = parentSchemaInfo.SchemaElement; 552XmlSchemaObject? schemaObject = FindSchemaInfo(parentElement); 575private XmlSchemaObject? GetTypeFromAncestors(XmlElement elementToValidate, XmlSchemaObject? ancestorType, int ancestorsCount) 612XmlSchemaObject? schemaInfoFound; 638private static bool AncestorTypeHasWildcard(XmlSchemaObject? ancestorType) 649private static XmlSchemaComplexType? GetComplexType(XmlSchemaObject? schemaObject) 760private XmlSchemaValidator CreateTypeFinderValidator(XmlSchemaObject? partialValidationType)
System\Xml\Schema\BaseProcessor.cs (17)
55protected void AddToTable(XmlSchemaObjectTable table, XmlQualifiedName qname, XmlSchemaObject item) 61XmlSchemaObject? existingObject = (XmlSchemaObject?)table[qname]; 76XmlSchemaObject? builtInAttributeGroup = schemaForXmlNS.AttributeGroups[qname]; 99XmlSchemaObject? builtInAttribute = schemaForXmlNS.Attributes[qname]; 156private static bool IsValidAttributeGroupRedefine(XmlSchemaObject existingObject, XmlSchemaObject item, XmlSchemaObjectTable table) 175private static bool IsValidGroupRedefine(XmlSchemaObject existingObject, XmlSchemaObject item, XmlSchemaObjectTable table) 194private static bool IsValidTypeRedefine(XmlSchemaObject existingObject, XmlSchemaObject item, XmlSchemaObjectTable table) 213protected void SendValidationEvent(string code, XmlSchemaObject source) 218protected void SendValidationEvent(string code, string? msg, XmlSchemaObject source) 223protected void SendValidationEvent(string code, string? msg1, string? msg2, XmlSchemaObject source) 228protected void SendValidationEvent(string code, string?[]? args, Exception innerException, XmlSchemaObject source) 238protected void SendValidationEvent(string code, XmlSchemaObject source, XmlSeverityType severity) 248protected void SendValidationEvent(string code, string? msg, XmlSchemaObject source, XmlSeverityType severity)
System\Xml\Schema\DataTypeImplementation.cs (2)
411internal override void VerifySchemaValid(XmlSchemaObjectTable notations, XmlSchemaObject caller) {/*noop*/} 3074internal override void VerifySchemaValid(XmlSchemaObjectTable notations, XmlSchemaObject caller)
System\Xml\Schema\Inference\Infer.cs (2)
1314foreach (XmlSchemaObject? xsa in attributes) 1365foreach (XmlSchemaObject? xsa in attributes)
System\Xml\Schema\Preprocessor.cs (12)
505private void ParseUri(string uri, string code, XmlSchemaObject sourceSchemaObject) 727List<XmlSchemaObject> removeItemsList = new List<XmlSchemaObject>(); 773SendValidationEvent(SR.Sch_InvalidCollection, (XmlSchemaObject)schemaItems[i]); 974internal static XmlSchema? GetParentSchema(XmlSchemaObject? currentSchemaObject) 2001private void PreprocessAttributes(XmlSchemaObjectCollection attributes, XmlSchemaAnyAttribute? anyAttribute, XmlSchemaObject parent) 2044private void ValidateIdAttribute(XmlSchemaObject xso) 2073private void ValidateNameAttribute(XmlSchemaObject xso) 2097private void ValidateQNameAttribute(XmlSchemaObject xso, string attributeName, XmlQualifiedName value) 2155private static void SetParent(XmlSchemaObject child, XmlSchemaObject parent) 2160private void PreprocessAnnotation(XmlSchemaObject schemaObject)
System\Xml\Schema\SchemaCollectionpreProcessor.cs (12)
534List<XmlSchemaObject> removeItemsList = new List<XmlSchemaObject>(); 698redefine.Schema!.Groups.Insert((XmlQualifiedName)entry.Key!, (XmlSchemaObject)entry.Value!); 703redefine.Schema!.AttributeGroups.Insert((XmlQualifiedName)entry.Key!, (XmlSchemaObject)entry.Value!); 708redefine.Schema!.SchemaTypes.Insert((XmlQualifiedName)entry.Key!, (XmlSchemaObject)entry.Value!); 1669private void PreprocessAttributes(XmlSchemaObjectCollection attributes, XmlSchemaAnyAttribute? anyAttribute, XmlSchemaObject parent) 1710private void ValidateIdAttribute(XmlSchemaObject xso) 1733private void ValidateNameAttribute(XmlSchemaObject xso) 1756private void ValidateQNameAttribute(XmlSchemaObject xso, string attributeName, XmlQualifiedName value) 1773private static void SetParent(XmlSchemaObject child, XmlSchemaObject parent) 1778private static void PreprocessAnnotation(XmlSchemaObject schemaObject)
System\Xml\Schema\SchemaInfo.cs (1)
176internal SchemaAttDef? GetAttributeXsd(SchemaElementDecl? ed, XmlQualifiedName qname, XmlSchemaObject? partialValidationType, out AttributeMatchState attributeMatchState)
System\Xml\Schema\SchemaNamespacemanager.cs (4)
13private readonly XmlSchemaObject _node; 15public SchemaNamespaceManager(XmlSchemaObject node) 26for (XmlSchemaObject? current = _node; current != null; current = current.Parent) 41for (XmlSchemaObject? current = _node; current != null; current = current.Parent)
System\Xml\Schema\XmlSchema.cs (1)
462XmlSchemaObject newItem;
System\Xml\Schema\XmlSchemaAttribute.cs (1)
171internal override XmlSchemaObject Clone()
System\Xml\Schema\XmlSchemaAttributeGroup.cs (1)
89internal override XmlSchemaObject Clone()
System\Xml\Schema\XmlSchemaComplexType.cs (3)
316internal override XmlSchemaObject Clone() 322internal XmlSchemaObject Clone(XmlSchema? parentSchema) 416XmlSchemaObject xso;
System\Xml\Schema\XmlSchemaDataType.cs (1)
76internal abstract void VerifySchemaValid(XmlSchemaObjectTable notations, XmlSchemaObject caller);
System\Xml\Schema\XmlSchemaElement.cs (2)
271internal override XmlSchemaObject Clone() 277internal XmlSchemaObject Clone(XmlSchema? parentSchema)
System\Xml\Schema\XmlSchemaException.cs (8)
25private XmlSchemaObject? _sourceSchemaObject; 116internal XmlSchemaException(string? res, XmlSchemaObject source) : 120internal XmlSchemaException(string? res, string? arg, XmlSchemaObject source) : 124internal XmlSchemaException(string? res, string?[]? args, XmlSchemaObject source) : 128internal XmlSchemaException(string? res, string?[]? args, Exception? innerException, string? sourceUri, int lineNumber, int linePosition, XmlSchemaObject? source) : 188public XmlSchemaObject? SourceSchemaObject 204internal void SetSchemaObject(XmlSchemaObject source) 209internal void SetSource(XmlSchemaObject source)
System\Xml\Schema\XmlSchemaGroup.cs (2)
72internal override XmlSchemaObject Clone() 78internal XmlSchemaObject Clone(XmlSchema parentSchema)
System\Xml\Schema\XmlSchemaObject.cs (4)
15private XmlSchemaObject? _parent; 42public XmlSchemaObject? Parent 89internal virtual XmlSchemaObject Clone() 91return (XmlSchemaObject)MemberwiseClone();
System\Xml\Schema\XmlSchemaObjectCollection.cs (12)
12private readonly XmlSchemaObject? _parent; 18public XmlSchemaObjectCollection(XmlSchemaObject? parent) 23public virtual XmlSchemaObject this[int index] 25get { return (XmlSchemaObject)List[index]!; } 34public int Add(XmlSchemaObject item) 39public void Insert(int index, XmlSchemaObject item) 44public int IndexOf(XmlSchemaObject item) 49public bool Contains(XmlSchemaObject item) 54public void Remove(XmlSchemaObject item) 59public void CopyTo(XmlSchemaObject[] array, int index) 120public XmlSchemaObject Current 122get { return (XmlSchemaObject)_enumerator.Current!; }
System\Xml\Schema\XmlSchemaObjectTable.cs (14)
12private readonly Dictionary<XmlQualifiedName, XmlSchemaObject> _table = new Dictionary<XmlQualifiedName, XmlSchemaObject>(); 19internal void Add(XmlQualifiedName name, XmlSchemaObject value) 26internal void Insert(XmlQualifiedName name, XmlSchemaObject value) 28XmlSchemaObject? oldValue; 45internal void Replace(XmlQualifiedName name, XmlSchemaObject value) 47XmlSchemaObject? oldValue; 66XmlSchemaObject? value; 77private int FindIndexByValue(XmlSchemaObject xso) 104public XmlSchemaObject? this[XmlQualifiedName name] 108XmlSchemaObject? value; 148internal XmlSchemaObject xso; 150public XmlSchemaObjectEntry(XmlQualifiedName name, XmlSchemaObject value) 270protected XmlSchemaObject? currentValue;
System\Xml\Schema\XmlSchemaSet.cs (4)
1381private bool AddToTable(XmlSchemaObjectTable table, XmlQualifiedName qname, XmlSchemaObject item) 1388XmlSchemaObject? existingObject = (XmlSchemaObject?)table[qname]; 1414XmlSchemaObject builtInAttribute = schemaForXmlNS.Attributes[qname]!;
System\Xml\Schema\XmlSchemaSimpleType.cs (1)
44internal override XmlSchemaObject Clone()
System\Xml\Schema\XmlSchemaSimpleTypeList.cs (1)
36internal override XmlSchemaObject Clone()
System\Xml\Schema\XmlSchemaSimpleTypeRestriction.cs (1)
46internal override XmlSchemaObject Clone()
System\Xml\Schema\XmlSchemaSimpleTypeUnion.cs (1)
39internal override XmlSchemaObject Clone()
System\Xml\Schema\XmlSchemaValidator.cs (3)
106private XmlSchemaObject? _partialValidationType; 373public void Initialize(XmlSchemaObject partialValidationType) 525XmlSchemaObject? pvtAttribute = _currentState == ValidatorState.TopLevelAttribute ? _partialValidationType : null;
System\Xml\Schema\XsdBuilder.cs (7)
630private readonly Stack<XmlSchemaObject> _containerStack = new Stack<XmlSchemaObject>(); 637private XmlSchemaObject? _xso; 841private XmlSchemaObject ParentContainer 846private XmlSchemaObject GetContainer(State state) 848XmlSchemaObject container = null!; 2325private void AddAttribute(XmlSchemaObject value)
System\Xml\Serialization\ImportContext.cs (19)
67internal XmlSchemaObject? AddItem(XmlSchemaObject? item, XmlQualifiedName? qname) 84XmlSchemaObject cachedItem = (XmlSchemaObject)list[i]!; 103internal bool Match(XmlSchemaObject o1, XmlSchemaObject o2, bool shareTypes) 121private ArrayList GetDependencies(XmlSchemaObject o, ArrayList deps, Hashtable refs) 132GetDependencies((XmlSchemaObject)list[i]!, deps, refs); 139private int CompositeHash(XmlSchemaObject o) 163GetHash((XmlSchemaObject)items[i]!); 167private int GetHash(XmlSchemaObject o) 172if (hash is XmlSchemaObject) 188private static string ToString(XmlSchemaObject o, SchemaObjectWriter writer) 212foreach (XmlSchemaObject item in s.Items) 224internal void AddRef(ArrayList list, XmlSchemaObject? o) 241internal ArrayList Depends(XmlSchemaObject item) 256internal void Depends(XmlSchemaObject? item, ArrayList refs) 400foreach (XmlSchemaObject o in ((XmlSchemaGroupBase)item).Items) 412foreach (XmlSchemaObject o in ((XmlSchemaAttributeGroup)item).Attributes)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (2)
1567if (structMapping.TypeDesc.Type != null && typeof(XmlSchemaObject).IsAssignableFrom(structMapping.TypeDesc.Type)) 1571throw new NotImplementedException(nameof(XmlSchemaObject));
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (1)
544if (mapping.TypeDesc.Type != null && typeof(XmlSchemaObject).IsAssignableFrom(mapping.TypeDesc.Type))
System\Xml\Serialization\SchemaObjectWriter.cs (14)
61return _comparer.Compare(NameOf((XmlSchemaObject?)o1), NameOf((XmlSchemaObject?)o2)); 64internal static XmlQualifiedName NameOf(XmlSchemaObject? o) 139internal static string? Namespace(XmlSchemaObject? o) 274internal string WriteXmlSchemaObject(XmlSchemaObject? o) 277Write3_XmlSchemaObject((XmlSchemaObject?)o); 293Write3_XmlSchemaObject((XmlSchemaObject?)list[i]); 333private void Write3_XmlSchemaObject(XmlSchemaObject? o) 502XmlSchemaObject ai = (XmlSchemaObject)a[ia]; 661XmlSchemaObject? ai = (XmlSchemaObject?)a[ia]; 1174XmlSchemaObject ai = (XmlSchemaObject)a[ia];
System\Xml\Serialization\Types.cs (1)
1365internal static XmlQualifiedName ParseWsdlArrayType(string type, out string dims, XmlSchemaObject? parent)
System\Xml\Serialization\XmlSchemaExporter.cs (3)
257foreach (XmlSchemaObject o in schema.Items) 280private void AddSchemaItem(XmlSchemaObject item, string? ns, string? referencingNs) 322private bool SchemaContainsItem(XmlSchemaObject item, string ns)
System\Xml\Serialization\XmlSchemaImporter.cs (5)
172XmlSchemaObject? xso = Schemas.SchemaSet.GlobalTypes[typeName]; 335XmlSchemaObject parent = element; 1516foreach (XmlSchemaObject o in type.Annotation.Items) 1983XmlSchemaObject parent = element; 2011XmlSchemaObject parent = attribute;
System\Xml\Serialization\XmlSchemas.cs (18)
198foreach (XmlSchemaObject o in removes) 229XmlSchemaObject? ret = null; 301foreach (XmlSchemaObject o in schema.Items) 411XmlSchemaObject o = schema.Items[i]; 412XmlSchemaObject? dest = Find(o, originals); 438private static string? ItemName(XmlSchemaObject o) 467internal static XmlQualifiedName GetParentName(XmlSchemaObject item) 484private static string? GetSchemaItem(XmlSchemaObject? o, string? ns, string? details) 496XmlSchemaObject tmp = o; 574private static string Dump(XmlSchemaObject o) 590private static string MergeFailedMessage(XmlSchemaObject src, XmlSchemaObject dest, string? ns) 597internal static XmlSchemaObject? Find(XmlSchemaObject o, IList originals) 607foreach (XmlSchemaObject item in s.Items) 693XmlSchemaObject? source = exception.SourceSchemaObject; 758internal bool IsReference(XmlSchemaObject type) 760XmlSchemaObject parent = type;
System\Xml\Serialization\XmlSerializationReader.cs (1)
3296if (structMapping.TypeDesc.Type != null && typeof(XmlSchemaObject).IsAssignableFrom(structMapping.TypeDesc.Type))
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
1511if (structMapping.TypeDesc.Type != null && typeof(XmlSchemaObject).IsAssignableFrom(structMapping.TypeDesc.Type))
System\Xml\Serialization\XmlSerializationWriter.cs (3)
935XmlQualifiedName qname = TypeScope.ParseWsdlArrayType(attr.Value, out dims, (container is XmlSchemaObject) ? (XmlSchemaObject)container : null); 3143if (mapping.TypeDesc.Type != null && typeof(XmlSchemaObject).IsAssignableFrom(mapping.TypeDesc.Type))
System\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
1009if (mapping.TypeDesc.Type != null && typeof(XmlSchemaObject).IsAssignableFrom(mapping.TypeDesc.Type))
System.Private.Xml.Linq (5)
System\Xml\Schema\XNodeValidator.cs (5)
40public void Validate(XObject source, XmlSchemaObject? partialValidationType, bool addSchemaInfo) 499public static void Validate(this XElement source, XmlSchemaObject partialValidationType, XmlSchemaSet schemas, ValidationEventHandler? validationEventHandler) 518public static void Validate(this XElement source, XmlSchemaObject partialValidationType, XmlSchemaSet schemas, ValidationEventHandler? validationEventHandler, bool addSchemaInfo) 538public static void Validate(this XAttribute source, XmlSchemaObject partialValidationType, XmlSchemaSet schemas, ValidationEventHandler? validationEventHandler) 557public static void Validate(this XAttribute source, XmlSchemaObject partialValidationType, XmlSchemaSet schemas, ValidationEventHandler? validationEventHandler, bool addSchemaInfo)
System.Xml (1)
System.Xml.cs (1)
75[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaObject))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
74[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaObject))]