44 instantiations of XmlSchemaSequence
System.Data (2)
fx\src\data\System\Data\DataSet.cs (1)
3288
XmlSchemaSequence sequence = new
XmlSchemaSequence
();
fx\src\data\System\Data\DataTable.cs (1)
5918
XmlSchemaSequence sequence = new
XmlSchemaSequence
();
System.Runtime.Serialization (9)
System\Runtime\Serialization\SchemaExporter.cs (8)
134
XmlSchemaSequence rootSequence = new
XmlSchemaSequence
();
372
XmlSchemaSequence rootSequence = new
XmlSchemaSequence
();
382
XmlSchemaSequence keyValueSequence = new
XmlSchemaSequence
();
727
anyType.Particle = new
XmlSchemaSequence
();
741
anyElementType.Particle = new
XmlSchemaSequence
();
779
type.Particle = new
XmlSchemaSequence
();
794
type.Particle = new
XmlSchemaSequence
();
855
XmlSchemaSequence iSerializableSequence = new
XmlSchemaSequence
();
System\Runtime\Serialization\SchemaImporter.cs (1)
638
dataContract = ImportClass(typeName, new
XmlSchemaSequence
(), baseTypeName, annotation, isReference);
System.ServiceModel (4)
System\ServiceModel\Description\MessageContractExporter.cs (3)
173
XmlSchemaSequence bodySequence = new
XmlSchemaSequence
();
404
static readonly XmlSchemaSequence emptySequence = new
XmlSchemaSequence
();
421
XmlSchemaSequence rootSequence = new
XmlSchemaSequence
();
System\ServiceModel\Dispatcher\XPathMessageFilter.cs (1)
101
XmlSchemaSequence sequence = new
XmlSchemaSequence
();
System.ServiceModel.Discovery (3)
System\ServiceModel\Discovery\SchemaUtility.cs (3)
290
XmlSchemaSequence resolveSequence = new
XmlSchemaSequence
();
325
XmlSchemaSequence probeMatcheSequence = new
XmlSchemaSequence
();
385
XmlSchemaSequence probeTypeSequence = new
XmlSchemaSequence
();
System.Web.Services (2)
System\Web\Services\Description\HttpProtocolReflector.cs (1)
86
XmlSchemaSequence all = new
XmlSchemaSequence
();
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
9498
o = new global::System.Xml.Schema.
XmlSchemaSequence
();
System.Xml (24)
System\Xml\Schema\Inference\Infer.cs (2)
935
ct.Particle = new
XmlSchemaSequence
();
944
ct.Particle = new
XmlSchemaSequence
();
System\Xml\Schema\SchemaCollectionCompiler.cs (4)
759
XmlSchemaSequence compiledParticle = new
XmlSchemaSequence
();
931
(groupBase is XmlSchemaSequence) ? (XmlSchemaGroupBase)new
XmlSchemaSequence
() :
964
XmlSchemaSequence newSequence = new
XmlSchemaSequence
();
1020
XmlSchemaSequence newSequence = new
XmlSchemaSequence
();
System\Xml\Schema\SchemaSetCompiler.cs (4)
810
XmlSchemaSequence compiledParticle = new
XmlSchemaSequence
();
1029
(groupBase is XmlSchemaSequence) ? (XmlSchemaGroupBase)new
XmlSchemaSequence
() :
1109
XmlSchemaSequence newSequence = new
XmlSchemaSequence
();
1414
XmlSchemaSequence virtualSeq = new
XmlSchemaSequence
();
System\Xml\Schema\XmlSchemaComplexType.cs (1)
70
XmlSchemaSequence seq = new
XmlSchemaSequence
();
System\Xml\Schema\XsdBuilder.cs (1)
1831
builder.xso = builder.particle = builder.sequence = new
XmlSchemaSequence
();
System\Xml\Serialization\SoapSchemaExporter.cs (1)
321
XmlSchemaGroupBase seq = new
XmlSchemaSequence
();
System\Xml\Serialization\SoapSchemaImporter.cs (1)
126
XmlSchemaSequence seq = new
XmlSchemaSequence
();
System\Xml\Serialization\XmlSchemaExporter.cs (8)
161
XmlSchemaSequence seq = new
XmlSchemaSequence
();
203
XmlSchemaSequence seq = new
XmlSchemaSequence
();
398
XmlSchemaSequence seq = new
XmlSchemaSequence
();
416
XmlSchemaSequence seq = new
XmlSchemaSequence
();
465
XmlSchemaSequence seq = new
XmlSchemaSequence
();
489
XmlSchemaSequence seq = new
XmlSchemaSequence
();
561
XmlSchemaSequence seq = new
XmlSchemaSequence
();
923
XmlSchemaGroupBase seq = new
XmlSchemaSequence
();
System\Xml\Serialization\XmlSchemaImporter.cs (2)
186
XmlSchemaSequence seq = new
XmlSchemaSequence
();
255
XmlSchemaSequence seq = new
XmlSchemaSequence
();
181 references to XmlSchemaSequence
System.Data (10)
fx\src\data\System\Data\CodeGen\datacache.cs (2)
1209
getTypedDataSetSchema.Statements.Add(VariableDecl(typeof(
XmlSchemaSequence
),"sequence",New(typeof(
XmlSchemaSequence
),new CodeExpression[] {})));
fx\src\data\System\Data\DataSet.cs (5)
3288
XmlSchemaSequence
sequence = new XmlSchemaSequence();
3534
if (ct.Particle is
XmlSchemaSequence
)
3536
XmlSchemaObjectCollection items = ((
XmlSchemaSequence
)ct.Particle).Items;
3555
if (((
XmlSchemaSequence
)ct.Particle).MaxOccurs == Decimal.MaxValue)
3595
if (ct.Particle is
XmlSchemaSequence
|| ct.Particle is XmlSchemaAll) {
fx\src\data\System\Data\DataTable.cs (1)
5918
XmlSchemaSequence
sequence = new XmlSchemaSequence();
fx\src\data\System\Data\XMLSchema.cs (2)
748
if (pt is
XmlSchemaSequence
)
749
return ((
XmlSchemaSequence
)pt).Items;
System.Data.Services.Design (4)
System\Data\EntityModel\EntityClassGenerator.cs (2)
287
XmlSchemaSequence
sequence = associationType.Particle as
XmlSchemaSequence
;
System\Data\Services\Design\Xml\XNodeSchemaApplier.cs (2)
126
XmlSchemaSequence
schemaSequence = expected as
XmlSchemaSequence
;
System.Runtime.Serialization (24)
System\Runtime\Serialization\SchemaExporter.cs (10)
134
XmlSchemaSequence
rootSequence = new XmlSchemaSequence();
372
XmlSchemaSequence
rootSequence = new XmlSchemaSequence();
382
XmlSchemaSequence
keyValueSequence = new XmlSchemaSequence();
732
((
XmlSchemaSequence
)anyType.Particle).Items.Add(any);
745
((
XmlSchemaSequence
)anyElementType.Particle).Items.Add(any);
782
((
XmlSchemaSequence
)type.Particle).Items.Add(schemaRefElement);
784
((
XmlSchemaSequence
)type.Particle).Items.Add(any);
797
((
XmlSchemaSequence
)type.Particle).Items.Add(any);
851
internal static
XmlSchemaSequence
ISerializableSequence
855
XmlSchemaSequence
iSerializableSequence = new XmlSchemaSequence();
System\Runtime\Serialization\SchemaImporter.cs (14)
568
bool CheckIfCollection(
XmlSchemaSequence
rootSequence)
584
bool CheckIfISerializable(
XmlSchemaSequence
rootSequence, XmlSchemaObjectCollection attributes)
639
else if (!(rootParticle is
XmlSchemaSequence
))
643
XmlSchemaSequence
rootSequence = (
XmlSchemaSequence
)rootParticle;
662
ClassDataContract ImportClass(XmlQualifiedName typeName,
XmlSchemaSequence
rootSequence, XmlQualifiedName baseTypeName, XmlSchemaAnnotation annotation, bool isReference)
780
XmlSchemaSequence
sequence = xsdType.Particle as
XmlSchemaSequence
;
802
XmlSchemaSequence
sequence = xsdType.Particle as
XmlSchemaSequence
;
842
ClassDataContract ImportISerializable(XmlQualifiedName typeName,
XmlSchemaSequence
rootSequence, XmlQualifiedName baseTypeName, XmlSchemaObjectCollection attributes, XmlSchemaAnnotation annotation)
864
void CheckISerializableBase(XmlQualifiedName typeName,
XmlSchemaSequence
rootSequence, XmlSchemaObjectCollection attributes)
910
bool IsISerializableDerived(XmlQualifiedName typeName,
XmlSchemaSequence
rootSequence)
1066
CollectionDataContract ImportCollection(XmlQualifiedName typeName,
XmlSchemaSequence
rootSequence, XmlSchemaObjectCollection attributes, XmlSchemaAnnotation annotation, bool isReference)
System.ServiceModel (17)
System\ServiceModel\Description\MessageContractExporter.cs (8)
173
XmlSchemaSequence
bodySequence = new XmlSchemaSequence();
203
XmlSchemaSequence
wrapperSequence = null;
368
void ExportLocalElement(string wrapperNs, string elementName, string elementNs, XmlQualifiedName typeName, XmlSchemaType xsdType, bool multiple, bool isOptional, bool isNillable,
XmlSchemaSequence
sequence, XmlSchemaSet schemaSet)
404
static readonly
XmlSchemaSequence
emptySequence = new XmlSchemaSequence();
405
protected
XmlSchemaSequence
ExportWrappedPart(WsdlNS.Message message, string elementName, string elementNs, XmlSchemaSet schemaSet, bool skipSchemaExport)
421
XmlSchemaSequence
rootSequence = new XmlSchemaSequence();
558
protected void ExportMessagePart(WsdlNS.Message message, MessagePartDescription part, XmlQualifiedName typeName, XmlSchemaType xsdType, bool isOptional, bool isNillable, bool skipSchemaExport, bool generateElement, string wrapperNs,
XmlSchemaSequence
wrapperSequence, XmlSchemaSet schemaSet)
969
XmlSchemaSequence
wrapperSequence = null;
System\ServiceModel\Description\MessageContractImporter.cs (8)
668
XmlSchemaSequence
rootSequence = GetRootSequence(complexType);
693
XmlSchemaSequence
rootSequence = GetRootSequence(GetElementComplexType(part.Element, allSchemas, out ns, out elementFormDefault));
1284
static
XmlSchemaSequence
GetRootSequence(XmlSchemaComplexType complexType)
1288
return complexType.Particle != null ? complexType.Particle as
XmlSchemaSequence
: null;
1609
XmlSchemaSequence
rootSequence = complexType.Particle as
XmlSchemaSequence
;
1660
XmlSchemaSequence
rootSequence = complexType.Particle as
XmlSchemaSequence
;
System\ServiceModel\Dispatcher\XPathMessageFilter.cs (1)
101
XmlSchemaSequence
sequence = new XmlSchemaSequence();
System.ServiceModel.Discovery (3)
System\ServiceModel\Discovery\SchemaUtility.cs (3)
290
XmlSchemaSequence
resolveSequence = new XmlSchemaSequence();
325
XmlSchemaSequence
probeMatcheSequence = new XmlSchemaSequence();
385
XmlSchemaSequence
probeTypeSequence = new XmlSchemaSequence();
System.ServiceModel.Web (9)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (9)
71
{ typeof(
XmlSchemaSequence
), XmlSequenceHandler },
120
{ typeof(
XmlSchemaSequence
), JsonSequenceHandler },
280
XmlSchemaSequence
sequence = (
XmlSchemaSequence
)schemaObject;
424
XmlSchemaSequence
sequence = (
XmlSchemaSequence
)schemaObject;
775
if (complexType.ContentTypeParticle != null && complexType.ContentTypeParticle is
XmlSchemaSequence
)
777
XmlSchemaSequence
sequence = complexType.ContentTypeParticle as
XmlSchemaSequence
;
System.Web.Extensions (2)
Script\Services\WebServiceTypeData.cs (2)
119
isCollection = CheckIfCollectionSequence(type.Particle as
XmlSchemaSequence
);
124
private static bool CheckIfCollectionSequence(
XmlSchemaSequence
rootSequence) {
System.Web.Services (17)
System\Web\Services\Description\HttpProtocolReflector.cs (1)
86
XmlSchemaSequence
all = new XmlSchemaSequence();
System\Web\Services\Description\ServiceDescriptionSerializer.cs (16)
2083
else if (o.@Particle is global::System.Xml.Schema.
XmlSchemaSequence
) {
2084
Write53_XmlSchemaSequence(@"sequence", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaSequence
)o.@Particle), false, false);
2095
void Write53_XmlSchemaSequence(string n, string ns, global::System.Xml.Schema.
XmlSchemaSequence
o, bool isNullable, bool needType) {
2102
if (t == typeof(global::System.Xml.Schema.
XmlSchemaSequence
)) {
2133
else if (ai is global::System.Xml.Schema.
XmlSchemaSequence
) {
2134
Write53_XmlSchemaSequence(@"sequence", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaSequence
)ai), false, false);
3162
else if (o.@Particle is global::System.Xml.Schema.
XmlSchemaSequence
) {
3163
Write53_XmlSchemaSequence(@"sequence", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaSequence
)o.@Particle), false, false);
3435
if (ai is global::System.Xml.Schema.
XmlSchemaSequence
) {
3436
Write53_XmlSchemaSequence(@"sequence", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaSequence
)ai), false, false);
3538
else if (o.@Particle is global::System.Xml.Schema.
XmlSchemaSequence
) {
3539
Write53_XmlSchemaSequence(@"sequence", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaSequence
)o.@Particle), false, false);
3610
else if (o.@Particle is global::System.Xml.Schema.
XmlSchemaSequence
) {
3611
Write53_XmlSchemaSequence(@"sequence", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.
XmlSchemaSequence
)o.@Particle), false, false);
9485
global::System.Xml.Schema.
XmlSchemaSequence
Read53_XmlSchemaSequence(bool isNullable, bool checkType) {
9497
global::System.Xml.Schema.
XmlSchemaSequence
o;
System.Xml (95)
System\Xml\Schema\Inference\Infer.cs (9)
937
XmlSchemaElement subelement = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema,((
XmlSchemaSequence
)ct.Particle).Items, -1);
946
XmlSchemaElement subelement = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema,((
XmlSchemaSequence
)ct.Particle).Items, -1);
949
((
XmlSchemaSequence
)ct.Particle).MinOccurs = decimal.Zero;
987
while (++lastUsedSeqItem < ((
XmlSchemaSequence
)ct.Particle).Items.Count)
989
if (((
XmlSchemaSequence
)ct.Particle).Items[lastUsedSeqItem].GetType() != typeof (XmlSchemaElement))
991
XmlSchemaElement subElement = (XmlSchemaElement) ((
XmlSchemaSequence
)ct.Particle).Items[lastUsedSeqItem];
1052
if (ct.Particle.GetType() == typeof (
XmlSchemaSequence
))
1059
XmlSchemaSequence
xss = (
XmlSchemaSequence
) ct.Particle;
System\Xml\Schema\Preprocessor.cs (2)
1611
else if (particle is
XmlSchemaSequence
) {
1612
items = ((
XmlSchemaSequence
)particle).Items;
System\Xml\Schema\SchemaCollectionCompiler.cs (19)
759
XmlSchemaSequence
compiledParticle = new XmlSchemaSequence();
869
else if (particle is
XmlSchemaSequence
) {
870
return CannonicalizeSequence((
XmlSchemaSequence
)particle, root, substitution);
931
(groupBase is
XmlSchemaSequence
) ? (XmlSchemaGroupBase)new XmlSchemaSequence() :
964
XmlSchemaSequence
newSequence = new XmlSchemaSequence();
1018
private XmlSchemaParticle CannonicalizeSequence(
XmlSchemaSequence
sequence, bool root, bool substitution) {
1020
XmlSchemaSequence
newSequence = new XmlSchemaSequence();
1026
if (p1.MinOccurs == decimal.One && p1.MaxOccurs == decimal.One && p1 is
XmlSchemaSequence
) {
1027
XmlSchemaSequence
particleSequence = (
XmlSchemaSequence
)p1;
1086
else if (derivedParticle is
XmlSchemaSequence
) {
1087
return IsSequenceFromAll((
XmlSchemaSequence
)derivedParticle, (XmlSchemaAll)baseParticle);
1097
else if (derivedParticle is
XmlSchemaSequence
) {
1098
return IsSequenceFromChoice((
XmlSchemaSequence
)derivedParticle, (XmlSchemaChoice)baseParticle);
1101
else if (baseParticle is
XmlSchemaSequence
) {
1105
else if (derivedParticle is
XmlSchemaSequence
) {
1201
private bool IsSequenceFromAll(
XmlSchemaSequence
derivedSequence, XmlSchemaAll baseAll) {
1228
private bool IsSequenceFromChoice(
XmlSchemaSequence
derivedSequence, XmlSchemaChoice baseChoice) {
1241
private void CalculateSequenceRange(
XmlSchemaSequence
sequence, out decimal minOccurs, out decimal maxOccurs) {
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
1299
else if (particle is
XmlSchemaSequence
) {
1300
XmlSchemaObjectCollection sequences = ((
XmlSchemaSequence
) particle).Items;
System\Xml\Schema\SchemaSetCompiler.cs (20)
810
XmlSchemaSequence
compiledParticle = new XmlSchemaSequence();
963
else if (particle is
XmlSchemaSequence
) {
964
return CannonicalizeSequence((
XmlSchemaSequence
)particle, root);
1029
(groupBase is
XmlSchemaSequence
) ? (XmlSchemaGroupBase)new XmlSchemaSequence() :
1107
private XmlSchemaParticle CannonicalizeSequence(
XmlSchemaSequence
sequence, bool root) {
1109
XmlSchemaSequence
newSequence = new XmlSchemaSequence();
1116
XmlSchemaSequence
p1Sequence = p1 as
XmlSchemaSequence
;
1144
XmlSchemaSequence
xss;
1149
if ( (xss = (particle as
XmlSchemaSequence
)) != null ) {
1234
else if (derivedParticle is
XmlSchemaSequence
) {
1235
if(IsSequenceFromAll((
XmlSchemaSequence
)derivedParticle, (XmlSchemaAll)baseParticle)) {
1260
else if (derivedParticle is
XmlSchemaSequence
) {
1261
if(IsSequenceFromChoice((
XmlSchemaSequence
)derivedParticle, (XmlSchemaChoice) baseParticle)) {
1271
else if (baseParticle is
XmlSchemaSequence
) {
1275
else if (derivedParticle is
XmlSchemaSequence
|| (derivedParticle is XmlSchemaAll && ((XmlSchemaGroupBase)derivedParticle).Items.Count ==1)) {
1413
if (baseGroupBase is
XmlSchemaSequence
) {
1414
XmlSchemaSequence
virtualSeq = new XmlSchemaSequence();
1488
private bool IsSequenceFromAll(
XmlSchemaSequence
derivedSequence, XmlSchemaAll baseAll) {
1515
private bool IsSequenceFromChoice(
XmlSchemaSequence
derivedSequence, XmlSchemaChoice baseChoice) {
System\Xml\Schema\XmlSchemaChoice.cs (1)
27
XmlElement("sequence", typeof(
XmlSchemaSequence
)),
System\Xml\Schema\XmlSchemaComplexContentExtension.cs (1)
40
XmlElement("sequence", typeof(
XmlSchemaSequence
))]
System\Xml\Schema\XmlSchemaComplexContentRestriction.cs (1)
40
XmlElement("sequence", typeof(
XmlSchemaSequence
))]
System\Xml\Schema\XmlSchemaComplexType.cs (2)
70
XmlSchemaSequence
seq = new XmlSchemaSequence();
192
XmlElement("sequence", typeof(
XmlSchemaSequence
))]
System\Xml\Schema\XmlSchemaGroup.cs (1)
40
XmlElement("sequence", typeof(
XmlSchemaSequence
))]
System\Xml\Schema\XmlSchemaSequence.cs (1)
26
XmlElement("sequence", typeof(
XmlSchemaSequence
)),
System\Xml\Schema\XsdBuilder.cs (2)
655
private
XmlSchemaSequence
sequence;
980
this.sequence = (
XmlSchemaSequence
)container;
System\Xml\Serialization\SchemaObjectWriter.cs (16)
82
else if (o is
XmlSchemaSequence
) {
83
XmlSchemaSequence
s = (
XmlSchemaSequence
)o;
338
else if (t == typeof(
XmlSchemaSequence
)) {
339
Write54_XmlSchemaSequence((
XmlSchemaSequence
)o);
686
if (o.@Particle is
XmlSchemaSequence
) {
687
Write54_XmlSchemaSequence((
XmlSchemaSequence
)o.@Particle);
777
if (o.@Particle is
XmlSchemaSequence
) {
778
Write54_XmlSchemaSequence((
XmlSchemaSequence
)o.@Particle);
973
void Write54_XmlSchemaSequence(
XmlSchemaSequence
o) {
989
else if (ai is
XmlSchemaSequence
) {
990
Write54_XmlSchemaSequence((
XmlSchemaSequence
)ai);
1034
if (o.@Particle is
XmlSchemaSequence
) {
1035
Write54_XmlSchemaSequence((
XmlSchemaSequence
)o.@Particle);
1059
if (o.@Particle is
XmlSchemaSequence
) {
1060
Write54_XmlSchemaSequence((
XmlSchemaSequence
)o.@Particle);
System\Xml\Serialization\SoapSchemaImporter.cs (3)
126
XmlSchemaSequence
seq = new XmlSchemaSequence();
261
if(!(type.Particle is XmlSchemaAll ||type.Particle is
XmlSchemaSequence
))
474
if (particle is XmlSchemaAll || particle is
XmlSchemaSequence
) {
System\Xml\Serialization\XmlSchemaExporter.cs (10)
130
if (complexType.Particle is
XmlSchemaSequence
) {
131
XmlSchemaSequence
sequence = (
XmlSchemaSequence
) complexType.Particle;
161
XmlSchemaSequence
seq = new XmlSchemaSequence();
203
XmlSchemaSequence
seq = new XmlSchemaSequence();
398
XmlSchemaSequence
seq = new XmlSchemaSequence();
416
XmlSchemaSequence
seq = new XmlSchemaSequence();
465
XmlSchemaSequence
seq = new XmlSchemaSequence();
489
XmlSchemaSequence
seq = new XmlSchemaSequence();
561
XmlSchemaSequence
seq = new XmlSchemaSequence();
System\Xml\Serialization\XmlSchemaImporter.cs (5)
186
XmlSchemaSequence
seq = new XmlSchemaSequence();
255
XmlSchemaSequence
seq = new XmlSchemaSequence();
1216
else if (item is XmlSchemaAll || item is
XmlSchemaSequence
) {
1266
if ((items.Particle is
XmlSchemaSequence
|| items.Particle is XmlSchemaAll) && items.Particle.Items.Count == 1 && items.Particle.Items[0] is XmlSchemaElement)
1286
if (!(items.Particle is XmlSchemaAll || items.Particle is
XmlSchemaSequence
)) return null;