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