33 instantiations of XmlSchemaSequence
System.Data.Common (2)
System\Data\DataSet.cs (1)
3493XmlSchemaSequence sequence = new XmlSchemaSequence();
System\Data\DataTable.cs (1)
6690XmlSchemaSequence sequence = new XmlSchemaSequence();
System.Private.DataContractSerialization (9)
System\Runtime\Serialization\SchemaExporter.cs (8)
128XmlSchemaSequence rootSequence = new XmlSchemaSequence(); 373XmlSchemaSequence rootSequence = new XmlSchemaSequence(); 383XmlSchemaSequence keyValueSequence = new XmlSchemaSequence(); 725anyType.Particle = new XmlSchemaSequence(); 739anyElementType.Particle = new XmlSchemaSequence(); 777type.Particle = new XmlSchemaSequence(); 792type.Particle = new XmlSchemaSequence(); 853XmlSchemaSequence iSerializableSequence = new XmlSchemaSequence();
System\Runtime\Serialization\SchemaImporter.cs (1)
631dataContract = ImportClass(typeName, new XmlSchemaSequence(), baseTypeName, annotation, isReference);
System.Private.Xml (22)
System\Xml\Schema\Inference\Infer.cs (2)
919ct.Particle = new XmlSchemaSequence(); 928ct.Particle = new XmlSchemaSequence();
System\Xml\Schema\SchemaCollectionCompiler.cs (4)
963XmlSchemaSequence compiledParticle = new XmlSchemaSequence(); 1170(groupBase is XmlSchemaSequence) ? (XmlSchemaGroupBase)new XmlSchemaSequence() : 1210XmlSchemaSequence newSequence = new XmlSchemaSequence(); 1282XmlSchemaSequence newSequence = new XmlSchemaSequence();
System\Xml\Schema\SchemaSetCompiler.cs (4)
1039XmlSchemaSequence compiledParticle = new XmlSchemaSequence(); 1313(groupBase is XmlSchemaSequence) ? (XmlSchemaGroupBase)new XmlSchemaSequence() : 1415XmlSchemaSequence newSequence = new XmlSchemaSequence(); 1789XmlSchemaSequence virtualSeq = new XmlSchemaSequence();
System\Xml\Schema\XmlSchemaComplexType.cs (1)
65XmlSchemaSequence seq = new XmlSchemaSequence();
System\Xml\Schema\XsdBuilder.cs (1)
1987builder._xso = builder._particle = builder._sequence = new XmlSchemaSequence();
System\Xml\Serialization\XmlSchemaExporter.cs (8)
156XmlSchemaSequence seq = new XmlSchemaSequence(); 201XmlSchemaSequence seq = new XmlSchemaSequence(); 420XmlSchemaSequence seq = new XmlSchemaSequence(); 441XmlSchemaSequence seq = new XmlSchemaSequence(); 499XmlSchemaSequence seq = new XmlSchemaSequence(); 526XmlSchemaSequence seq = new XmlSchemaSequence(); 612XmlSchemaSequence seq = new XmlSchemaSequence(); 1039XmlSchemaGroupBase seq = new XmlSchemaSequence();
System\Xml\Serialization\XmlSchemaImporter.cs (2)
154XmlSchemaSequence seq = new XmlSchemaSequence(); 227XmlSchemaSequence seq = new XmlSchemaSequence();
115 references to XmlSchemaSequence
netstandard (1)
netstandard.cs (1)
2357[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaSequence))]
System.Data.Common (4)
System\Data\DataSet.cs (1)
3493XmlSchemaSequence sequence = new XmlSchemaSequence();
System\Data\DataTable.cs (1)
6690XmlSchemaSequence sequence = new XmlSchemaSequence();
System\Data\XMLSchema.cs (2)
875if (pt is XmlSchemaSequence) 876return ((XmlSchemaSequence)pt).Items;
System.Private.DataContractSerialization (20)
System\Runtime\Serialization\SchemaExporter.cs (10)
128XmlSchemaSequence rootSequence = new XmlSchemaSequence(); 373XmlSchemaSequence rootSequence = new XmlSchemaSequence(); 383XmlSchemaSequence keyValueSequence = new XmlSchemaSequence(); 730((XmlSchemaSequence)anyType.Particle).Items.Add(any); 743((XmlSchemaSequence)anyElementType.Particle).Items.Add(any); 780((XmlSchemaSequence)type.Particle).Items.Add(schemaRefElement); 782((XmlSchemaSequence)type.Particle).Items.Add(any); 795((XmlSchemaSequence)type.Particle).Items.Add(any); 849internal static XmlSchemaSequence ISerializableSequence 853XmlSchemaSequence iSerializableSequence = new XmlSchemaSequence();
System\Runtime\Serialization\SchemaImporter.cs (10)
564private static bool CheckIfCollection(XmlSchemaSequence rootSequence) 579private static bool CheckIfISerializable(XmlSchemaSequence rootSequence, XmlSchemaObjectCollection attributes) 632else if (rootParticle is XmlSchemaSequence rootSequence) 653private ClassDataContract ImportClass(XmlQualifiedName typeName, XmlSchemaSequence rootSequence, XmlQualifiedName? baseTypeName, XmlSchemaAnnotation? annotation, bool isReference) 760if (xsdType.Particle is XmlSchemaSequence sequence) 783if (xsdType.Particle is XmlSchemaSequence sequence) 823private ClassDataContract ImportISerializable(XmlQualifiedName typeName, XmlSchemaSequence rootSequence, XmlQualifiedName? baseTypeName, XmlSchemaObjectCollection attributes, XmlSchemaAnnotation? annotation) 846private static void CheckISerializableBase(XmlQualifiedName typeName, XmlSchemaSequence? rootSequence, XmlSchemaObjectCollection attributes) 892private static bool IsISerializableDerived(XmlSchemaSequence? rootSequence) 1049private CollectionDataContract ImportCollection(XmlQualifiedName typeName, XmlSchemaSequence rootSequence, XmlSchemaAnnotation? annotation, bool isReference)
System.Private.Xml (88)
System\Xml\Schema\Inference\Infer.cs (9)
921AddElement(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, parentSchema, ((XmlSchemaSequence)ct.Particle).Items, -1); 930AddElement(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, parentSchema, ((XmlSchemaSequence)ct.Particle).Items, -1); 933((XmlSchemaSequence)ct.Particle).MinOccurs = decimal.Zero; 969while (++lastUsedSeqItem < ((XmlSchemaSequence)ct!.Particle!).Items.Count) 971if (((XmlSchemaSequence)ct.Particle).Items[lastUsedSeqItem].GetType() != typeof(XmlSchemaElement)) 973XmlSchemaElement subElement = (XmlSchemaElement)((XmlSchemaSequence)ct.Particle).Items[lastUsedSeqItem]; 1038if (ct.Particle!.GetType() == typeof(XmlSchemaSequence)) 1046XmlSchemaSequence xss = (XmlSchemaSequence)ct.Particle;
System\Xml\Schema\Preprocessor.cs (2)
1957else if (particle is XmlSchemaSequence) 1959items = ((XmlSchemaSequence)particle).Items;
System\Xml\Schema\SchemaCollectionCompiler.cs (19)
963XmlSchemaSequence compiledParticle = new XmlSchemaSequence(); 1090else if (particle is XmlSchemaSequence) 1092return CanonicalizeSequence((XmlSchemaSequence)particle, root, substitution); 1170(groupBase is XmlSchemaSequence) ? (XmlSchemaGroupBase)new XmlSchemaSequence() : 1210XmlSchemaSequence newSequence = new XmlSchemaSequence(); 1278private XmlSchemaParticle CanonicalizeSequence(XmlSchemaSequence sequence, bool root, bool substitution) 1282XmlSchemaSequence newSequence = new XmlSchemaSequence(); 1290if (p1.MinOccurs == decimal.One && p1.MaxOccurs == decimal.One && p1 is XmlSchemaSequence) 1292XmlSchemaSequence particleSequence = (XmlSchemaSequence)p1; 1370else if (derivedParticle is XmlSchemaSequence) 1372return IsSequenceFromAll((XmlSchemaSequence)derivedParticle, (XmlSchemaAll)baseParticle); 1385else if (derivedParticle is XmlSchemaSequence) 1387return IsSequenceFromChoice((XmlSchemaSequence)derivedParticle, (XmlSchemaChoice)baseParticle); 1390else if (baseParticle is XmlSchemaSequence) 1396else if (derivedParticle is XmlSchemaSequence) 1512private bool IsSequenceFromAll(XmlSchemaSequence derivedSequence, XmlSchemaAll baseAll) 1548private bool IsSequenceFromChoice(XmlSchemaSequence derivedSequence, XmlSchemaChoice baseChoice) 1564private static void CalculateSequenceRange(XmlSchemaSequence sequence, out decimal minOccurs, out decimal maxOccurs)
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
1625else if (particle is XmlSchemaSequence) 1627XmlSchemaObjectCollection sequences = ((XmlSchemaSequence)particle).Items;
System\Xml\Schema\SchemaSetCompiler.cs (20)
1039XmlSchemaSequence compiledParticle = new XmlSchemaSequence(); 1221else if (particle is XmlSchemaSequence) 1223return CanonicalizeSequence((XmlSchemaSequence)particle, root); 1313(groupBase is XmlSchemaSequence) ? (XmlSchemaGroupBase)new XmlSchemaSequence() : 1411private XmlSchemaParticle CanonicalizeSequence(XmlSchemaSequence sequence, bool root) 1415XmlSchemaSequence newSequence = new XmlSchemaSequence(); 1424XmlSchemaSequence p1Sequence = (p1 as XmlSchemaSequence)!; 1462XmlSchemaSequence? xss; 1467if ((xss = (particle as XmlSchemaSequence)) != null) 1577else if (derivedParticle is XmlSchemaSequence) 1579if (IsSequenceFromAll((XmlSchemaSequence)derivedParticle, (XmlSchemaAll)baseParticle)) 1611else if (derivedParticle is XmlSchemaSequence) 1613if (IsSequenceFromChoice((XmlSchemaSequence)derivedParticle, (XmlSchemaChoice)baseParticle)) 1625else if (baseParticle is XmlSchemaSequence) 1631else if (derivedParticle is XmlSchemaSequence || (derivedParticle is XmlSchemaAll && ((XmlSchemaGroupBase)derivedParticle).Items.Count == 1)) 1787if (baseGroupBase is XmlSchemaSequence) 1789XmlSchemaSequence virtualSeq = new XmlSchemaSequence(); 1878private bool IsSequenceFromAll(XmlSchemaSequence derivedSequence, XmlSchemaAll baseAll) 1914private bool IsSequenceFromChoice(XmlSchemaSequence derivedSequence, XmlSchemaChoice baseChoice)
System\Xml\Schema\XmlSchemaChoice.cs (1)
16XmlElement("sequence", typeof(XmlSchemaSequence)),
System\Xml\Schema\XmlSchemaComplexContentExtension.cs (1)
26XmlElement("sequence", typeof(XmlSchemaSequence))]
System\Xml\Schema\XmlSchemaComplexContentRestriction.cs (1)
26XmlElement("sequence", typeof(XmlSchemaSequence))]
System\Xml\Schema\XmlSchemaComplexType.cs (2)
65XmlSchemaSequence seq = new XmlSchemaSequence(); 182XmlElement("sequence", typeof(XmlSchemaSequence))]
System\Xml\Schema\XmlSchemaGroup.cs (1)
26XmlElement("sequence", typeof(XmlSchemaSequence))]
System\Xml\Schema\XmlSchemaSequence.cs (1)
15XmlElement("sequence", typeof(XmlSchemaSequence)),
System\Xml\Schema\XsdBuilder.cs (2)
657private XmlSchemaSequence? _sequence; 1018_sequence = (XmlSchemaSequence)container;
System\Xml\Serialization\SchemaObjectWriter.cs (14)
98else if (o is XmlSchemaSequence s) 408else if (t == typeof(XmlSchemaSequence)) 410Write54_XmlSchemaSequence((XmlSchemaSequence)o); 826if (o.@Particle is XmlSchemaSequence) 828Write54_XmlSchemaSequence((XmlSchemaSequence)o.@Particle); 933if (o.@Particle is XmlSchemaSequence) 935Write54_XmlSchemaSequence((XmlSchemaSequence)o.@Particle); 1159private void Write54_XmlSchemaSequence(XmlSchemaSequence? o) 1179else if (ai is XmlSchemaSequence) 1181Write54_XmlSchemaSequence((XmlSchemaSequence)ai); 1232if (o.@Particle is XmlSchemaSequence) 1234Write54_XmlSchemaSequence((XmlSchemaSequence)o.@Particle); 1262if (o.@Particle is XmlSchemaSequence) 1264Write54_XmlSchemaSequence((XmlSchemaSequence)o.@Particle);
System\Xml\Serialization\XmlSchemaExporter.cs (8)
122if (complexType.Particle is XmlSchemaSequence sequence) 156XmlSchemaSequence seq = new XmlSchemaSequence(); 201XmlSchemaSequence seq = new XmlSchemaSequence(); 420XmlSchemaSequence seq = new XmlSchemaSequence(); 441XmlSchemaSequence seq = new XmlSchemaSequence(); 499XmlSchemaSequence seq = new XmlSchemaSequence(); 526XmlSchemaSequence seq = new XmlSchemaSequence(); 612XmlSchemaSequence seq = new XmlSchemaSequence();
System\Xml\Serialization\XmlSchemaImporter.cs (5)
154XmlSchemaSequence seq = new XmlSchemaSequence(); 227XmlSchemaSequence seq = new XmlSchemaSequence(); 1298else if (item is XmlSchemaAll || item is XmlSchemaSequence) 1350if ((items.Particle is XmlSchemaSequence || items.Particle is XmlSchemaAll) && items.Particle.Items.Count == 1 && items.Particle.Items[0] is XmlSchemaElement) 1372if (!(items.Particle is XmlSchemaAll || items.Particle is XmlSchemaSequence)) return null;
System.Xml (1)
System.Xml.cs (1)
82[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaSequence))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
81[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaSequence))]