28 instantiations of XmlSchemaSequence
dotnet-svcutil-lib (28)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (2)
937
ct.Particle = new
XmlSchemaSequence
();
946
ct.Particle = new
XmlSchemaSequence
();
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (4)
954
XmlSchemaSequence compiledParticle = new
XmlSchemaSequence
();
1172
(groupBase is XmlSchemaSequence) ? (XmlSchemaGroupBase)new
XmlSchemaSequence
() :
1212
XmlSchemaSequence newSequence = new
XmlSchemaSequence
();
1284
XmlSchemaSequence newSequence = new
XmlSchemaSequence
();
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (4)
1023
XmlSchemaSequence compiledParticle = new
XmlSchemaSequence
();
1298
(groupBase is XmlSchemaSequence) ? (XmlSchemaGroupBase)new
XmlSchemaSequence
() :
1399
XmlSchemaSequence newSequence = new
XmlSchemaSequence
();
1773
XmlSchemaSequence virtualSeq = new
XmlSchemaSequence
();
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (1)
73
XmlSchemaSequence seq = new
XmlSchemaSequence
();
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
1992
builder._xso = builder._particle = builder._sequence = new
XmlSchemaSequence
();
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (1)
370
XmlSchemaGroupBase seq = new
XmlSchemaSequence
();
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (1)
128
XmlSchemaSequence seq = new
XmlSchemaSequence
();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (8)
182
XmlSchemaSequence seq = new
XmlSchemaSequence
();
228
XmlSchemaSequence seq = new
XmlSchemaSequence
();
459
XmlSchemaSequence seq = new
XmlSchemaSequence
();
480
XmlSchemaSequence seq = new
XmlSchemaSequence
();
538
XmlSchemaSequence seq = new
XmlSchemaSequence
();
565
XmlSchemaSequence seq = new
XmlSchemaSequence
();
651
XmlSchemaSequence seq = new
XmlSchemaSequence
();
1082
XmlSchemaGroupBase seq = new
XmlSchemaSequence
();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (2)
203
XmlSchemaSequence seq = new
XmlSchemaSequence
();
278
XmlSchemaSequence seq = new
XmlSchemaSequence
();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaExporter.cs (2)
91
anyElementType.Particle = new
XmlSchemaSequence
();
103
anyType.Particle = new
XmlSchemaSequence
();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (1)
637
dataContract = ImportClass(typeName, new
XmlSchemaSequence
(), baseTypeName, annotation, isReference);
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (1)
11744
o = new Microsoft.Xml.Schema.
XmlSchemaSequence
();
135 references to XmlSchemaSequence
dotnet-svcutil-lib (135)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (9)
939
XmlSchemaElement subelement = AddElement(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, parentSchema, ((
XmlSchemaSequence
)ct.Particle).Items, -1);
948
XmlSchemaElement subelement = AddElement(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, parentSchema, ((
XmlSchemaSequence
)ct.Particle).Items, -1);
951
((
XmlSchemaSequence
)ct.Particle).MinOccurs = decimal.Zero;
988
while (++lastUsedSeqItem < ((
XmlSchemaSequence
)ct.Particle).Items.Count)
990
if (((
XmlSchemaSequence
)ct.Particle).Items[lastUsedSeqItem].GetType() != typeof(XmlSchemaElement))
992
XmlSchemaElement subElement = (XmlSchemaElement)((
XmlSchemaSequence
)ct.Particle).Items[lastUsedSeqItem];
1062
if (ct.Particle.GetType() == typeof(
XmlSchemaSequence
))
1069
XmlSchemaSequence
xss = (
XmlSchemaSequence
)ct.Particle;
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (2)
1991
else if (particle is
XmlSchemaSequence
)
1993
items = ((
XmlSchemaSequence
)particle).Items;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (19)
954
XmlSchemaSequence
compiledParticle = new XmlSchemaSequence();
1092
else if (particle is
XmlSchemaSequence
)
1094
return CannonicalizeSequence((
XmlSchemaSequence
)particle, root, substitution);
1172
(groupBase is
XmlSchemaSequence
) ? (XmlSchemaGroupBase)new XmlSchemaSequence() :
1212
XmlSchemaSequence
newSequence = new XmlSchemaSequence();
1280
private XmlSchemaParticle CannonicalizeSequence(
XmlSchemaSequence
sequence, bool root, bool substitution)
1284
XmlSchemaSequence
newSequence = new XmlSchemaSequence();
1292
if (p1.MinOccurs == decimal.One && p1.MaxOccurs == decimal.One && p1 is
XmlSchemaSequence
)
1294
XmlSchemaSequence
particleSequence = (
XmlSchemaSequence
)p1;
1372
else if (derivedParticle is
XmlSchemaSequence
)
1374
return IsSequenceFromAll((
XmlSchemaSequence
)derivedParticle, (XmlSchemaAll)baseParticle);
1387
else if (derivedParticle is
XmlSchemaSequence
)
1389
return IsSequenceFromChoice((
XmlSchemaSequence
)derivedParticle, (XmlSchemaChoice)baseParticle);
1392
else if (baseParticle is
XmlSchemaSequence
)
1398
else if (derivedParticle is
XmlSchemaSequence
)
1514
private bool IsSequenceFromAll(
XmlSchemaSequence
derivedSequence, XmlSchemaAll baseAll)
1550
private bool IsSequenceFromChoice(
XmlSchemaSequence
derivedSequence, XmlSchemaChoice baseChoice)
1566
private void CalculateSequenceRange(
XmlSchemaSequence
sequence, out decimal minOccurs, out decimal maxOccurs)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (2)
1638
else if (particle is
XmlSchemaSequence
)
1640
XmlSchemaObjectCollection sequences = ((
XmlSchemaSequence
)particle).Items;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (20)
1023
XmlSchemaSequence
compiledParticle = new XmlSchemaSequence();
1213
else if (particle is
XmlSchemaSequence
)
1215
return CannonicalizeSequence((
XmlSchemaSequence
)particle, root);
1298
(groupBase is
XmlSchemaSequence
) ? (XmlSchemaGroupBase)new XmlSchemaSequence() :
1395
private XmlSchemaParticle CannonicalizeSequence(
XmlSchemaSequence
sequence, bool root)
1399
XmlSchemaSequence
newSequence = new XmlSchemaSequence();
1408
XmlSchemaSequence
p1Sequence = p1 as
XmlSchemaSequence
;
1444
XmlSchemaSequence
xss;
1449
if ((xss = (particle as
XmlSchemaSequence
)) != null)
1561
else if (derivedParticle is
XmlSchemaSequence
)
1563
if (IsSequenceFromAll((
XmlSchemaSequence
)derivedParticle, (XmlSchemaAll)baseParticle))
1595
else if (derivedParticle is
XmlSchemaSequence
)
1597
if (IsSequenceFromChoice((
XmlSchemaSequence
)derivedParticle, (XmlSchemaChoice)baseParticle))
1609
else if (baseParticle is
XmlSchemaSequence
)
1615
else if (derivedParticle is
XmlSchemaSequence
|| (derivedParticle is XmlSchemaAll && ((XmlSchemaGroupBase)derivedParticle).Items.Count == 1))
1771
if (baseGroupBase is
XmlSchemaSequence
)
1773
XmlSchemaSequence
virtualSeq = new XmlSchemaSequence();
1864
private bool IsSequenceFromAll(
XmlSchemaSequence
derivedSequence, XmlSchemaAll baseAll)
1900
private bool IsSequenceFromChoice(
XmlSchemaSequence
derivedSequence, XmlSchemaChoice baseChoice)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaChoice.cs (1)
29
XmlElement("sequence", typeof(
XmlSchemaSequence
)),
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexContentExtension.cs (1)
43
XmlElement("sequence", typeof(
XmlSchemaSequence
))]
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexContentRestriction.cs (1)
43
XmlElement("sequence", typeof(
XmlSchemaSequence
))]
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (2)
73
XmlSchemaSequence
seq = new XmlSchemaSequence();
213
XmlElement("sequence", typeof(
XmlSchemaSequence
))]
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaGroup.cs (1)
43
XmlElement("sequence", typeof(
XmlSchemaSequence
))]
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSequence.cs (1)
28
XmlElement("sequence", typeof(
XmlSchemaSequence
)),
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (2)
666
private
XmlSchemaSequence
_sequence;
1026
_sequence = (
XmlSchemaSequence
)container;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (16)
97
else if (o is
XmlSchemaSequence
)
99
XmlSchemaSequence
s = (
XmlSchemaSequence
)o;
409
else if (t == typeof(
XmlSchemaSequence
))
411
Write54_XmlSchemaSequence((
XmlSchemaSequence
)o);
827
if (o.@Particle is
XmlSchemaSequence
)
829
Write54_XmlSchemaSequence((
XmlSchemaSequence
)o.@Particle);
934
if (o.@Particle is
XmlSchemaSequence
)
936
Write54_XmlSchemaSequence((
XmlSchemaSequence
)o.@Particle);
1165
private void Write54_XmlSchemaSequence(
XmlSchemaSequence
o)
1185
else if (ai is
XmlSchemaSequence
)
1187
Write54_XmlSchemaSequence((
XmlSchemaSequence
)ai);
1238
if (o.@Particle is
XmlSchemaSequence
)
1240
Write54_XmlSchemaSequence((
XmlSchemaSequence
)o.@Particle);
1268
if (o.@Particle is
XmlSchemaSequence
)
1270
Write54_XmlSchemaSequence((
XmlSchemaSequence
)o.@Particle);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (3)
128
XmlSchemaSequence
seq = new XmlSchemaSequence();
286
if (!(type.Particle is XmlSchemaAll || type.Particle is
XmlSchemaSequence
))
531
if (particle is XmlSchemaAll || particle is
XmlSchemaSequence
)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (10)
146
if (complexType.Particle is
XmlSchemaSequence
)
148
XmlSchemaSequence
sequence = (
XmlSchemaSequence
)complexType.Particle;
182
XmlSchemaSequence
seq = new XmlSchemaSequence();
228
XmlSchemaSequence
seq = new XmlSchemaSequence();
459
XmlSchemaSequence
seq = new XmlSchemaSequence();
480
XmlSchemaSequence
seq = new XmlSchemaSequence();
538
XmlSchemaSequence
seq = new XmlSchemaSequence();
565
XmlSchemaSequence
seq = new XmlSchemaSequence();
651
XmlSchemaSequence
seq = new XmlSchemaSequence();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (5)
203
XmlSchemaSequence
seq = new XmlSchemaSequence();
278
XmlSchemaSequence
seq = new XmlSchemaSequence();
1401
else if (item is XmlSchemaAll || item is
XmlSchemaSequence
)
1453
if ((items.Particle is
XmlSchemaSequence
|| items.Particle is XmlSchemaAll) && items.Particle.Items.Count == 1 && items.Particle.Items[0] is XmlSchemaElement)
1474
if (!(items.Particle is XmlSchemaAll || items.Particle is
XmlSchemaSequence
)) return null;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaExporter.cs (2)
95
((
XmlSchemaSequence
)anyElementType.Particle).Items.Add(any);
108
((
XmlSchemaSequence
)anyType.Particle).Items.Add(any);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (14)
567
private bool CheckIfCollection(
XmlSchemaSequence
rootSequence)
583
private bool CheckIfISerializable(
XmlSchemaSequence
rootSequence, XmlSchemaObjectCollection attributes)
638
else if (!(rootParticle is
XmlSchemaSequence
))
642
XmlSchemaSequence
rootSequence = (
XmlSchemaSequence
)rootParticle;
661
private ClassDataContract ImportClass(XmlQualifiedName typeName,
XmlSchemaSequence
rootSequence, XmlQualifiedName baseTypeName, XmlSchemaAnnotation annotation, bool isReference)
774
XmlSchemaSequence
sequence = xsdType.Particle as
XmlSchemaSequence
;
796
XmlSchemaSequence
sequence = xsdType.Particle as
XmlSchemaSequence
;
836
private ClassDataContract ImportISerializable(XmlQualifiedName typeName,
XmlSchemaSequence
rootSequence, XmlQualifiedName baseTypeName, XmlSchemaObjectCollection attributes, XmlSchemaAnnotation annotation)
858
private void CheckISerializableBase(XmlQualifiedName typeName,
XmlSchemaSequence
rootSequence, XmlSchemaObjectCollection attributes)
904
private bool IsISerializableDerived(XmlQualifiedName typeName,
XmlSchemaSequence
rootSequence)
1060
private CollectionDataContract ImportCollection(XmlQualifiedName typeName,
XmlSchemaSequence
rootSequence, XmlSchemaObjectCollection attributes, XmlSchemaAnnotation annotation, bool isReference)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (8)
657
XmlSchemaSequence
rootSequence = GetRootSequence(complexType);
682
XmlSchemaSequence
rootSequence = GetRootSequence(GetElementComplexType(part.Element, _allSchemas, out ns, out elementFormDefault));
1272
private static
XmlSchemaSequence
GetRootSequence(XmlSchemaComplexType complexType)
1276
return complexType.Particle != null ? complexType.Particle as
XmlSchemaSequence
: null;
1597
XmlSchemaSequence
rootSequence = complexType.Particle as
XmlSchemaSequence
;
1648
XmlSchemaSequence
rootSequence = complexType.Particle as
XmlSchemaSequence
;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (16)
2658
else if (o.@Particle is Microsoft.Xml.Schema.
XmlSchemaSequence
)
2660
Write53_XmlSchemaSequence(@"sequence", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.
XmlSchemaSequence
)o.@Particle), false, false);
2673
private void Write53_XmlSchemaSequence(string n, string ns, Microsoft.Xml.Schema.
XmlSchemaSequence
o, bool isNullable, bool needType)
2683
if (t == typeof(Microsoft.Xml.Schema.
XmlSchemaSequence
))
2721
else if (ai is Microsoft.Xml.Schema.
XmlSchemaSequence
)
2723
Write53_XmlSchemaSequence(@"sequence", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.
XmlSchemaSequence
)ai), false, false);
3996
else if (o.@Particle is Microsoft.Xml.Schema.
XmlSchemaSequence
)
3998
Write53_XmlSchemaSequence(@"sequence", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.
XmlSchemaSequence
)o.@Particle), false, false);
4332
if (ai is Microsoft.Xml.Schema.
XmlSchemaSequence
)
4334
Write53_XmlSchemaSequence(@"sequence", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.
XmlSchemaSequence
)ai), false, false);
4461
else if (o.@Particle is Microsoft.Xml.Schema.
XmlSchemaSequence
)
4463
Write53_XmlSchemaSequence(@"sequence", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.
XmlSchemaSequence
)o.@Particle), false, false);
4552
else if (o.@Particle is Microsoft.Xml.Schema.
XmlSchemaSequence
)
4554
Write53_XmlSchemaSequence(@"sequence", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.
XmlSchemaSequence
)o.@Particle), false, false);
11728
private Microsoft.Xml.Schema.
XmlSchemaSequence
Read53_XmlSchemaSequence(bool isNullable, bool checkType)
11743
Microsoft.Xml.Schema.
XmlSchemaSequence
o;