25 writes to Particle
System.Data.Common (2)
System\Data\DataSet.cs (1)
3508
tempWSDL.
Particle
= sequence;
System\Data\DataTable.cs (1)
6704
type.
Particle
= sequence;
System.Private.DataContractSerialization (8)
System\Runtime\Serialization\SchemaExporter.cs (8)
167
type.
Particle
= rootSequence;
395
keyValueType.
Particle
= keyValueSequence;
408
type.
Particle
= rootSequence;
481
type.
Particle
= ISerializableSequence;
725
anyType.
Particle
= new XmlSchemaSequence();
739
anyElementType.
Particle
= new XmlSchemaSequence();
777
type.
Particle
= new XmlSchemaSequence();
792
type.
Particle
= new XmlSchemaSequence();
System.Private.Xml (15)
System\Xml\Schema\Inference\Infer.cs (2)
919
ct.
Particle
= new XmlSchemaSequence();
928
ct.
Particle
= new XmlSchemaSequence();
System\Xml\Schema\XmlSchemaComplexType.cs (1)
391
complexType.
Particle
= CloneParticle(complexType.Particle, parentSchema);
System\Xml\Schema\XsdBuilder.cs (1)
2393
_complexType.
Particle
= particle;
System\Xml\Serialization\XmlSchemaExporter.cs (9)
161
type.
Particle
= seq;
207
type.
Particle
= seq;
429
type.
Particle
= seq;
465
type.
Particle
= seq;
501
type.
Particle
= seq;
529
type.
Particle
= seq;
623
type.
Particle
= (XmlSchemaChoice)seq.Items[0];
627
type.
Particle
= seq;
1078
type.
Particle
= seq;
System\Xml\Serialization\XmlSchemaImporter.cs (2)
155
type.
Particle
= seq;
228
type.
Particle
= seq;
58 references to Particle
System.Data.Common (7)
System\Data\XMLSchema.cs (7)
748
if (ct.
Particle
!= null)
750
XmlSchemaObjectCollection? items = GetParticleItems(ct.
Particle
);
1130
if (ct.
Particle
!= null)
1131
HandleParticle(ct.
Particle
, table, tableChildren, isBase);
1168
return ct.
Particle
;
2623
if (ct.
Particle
!= null)
2625
XmlSchemaObjectCollection? items = GetParticleItems(ct.
Particle
);
System.Private.DataContractSerialization (8)
System\Runtime\Serialization\SchemaExporter.cs (5)
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);
System\Runtime\Serialization\SchemaImporter.cs (3)
452
dataContract = ImportType(typeName, complexType.
Particle
, complexType.Attributes, complexType.AnyAttribute, null /* baseTypeName */, complexType.Annotation);
760
if (xsdType.
Particle
is XmlSchemaSequence sequence)
783
if (xsdType.
Particle
is XmlSchemaSequence sequence)
System.Private.Xml (43)
System\Xml\Schema\Inference\Infer.cs (17)
664
if (null != ct.
Particle
)
667
ct.
Particle
.MinOccurs = 0;
746
if (null != ct.
Particle
)
748
ct.
Particle
.MinOccurs = 0;
776
if (null != ct.
Particle
)
785
ct.
Particle
.MinOccurs = decimal.Zero;
917
if (ct.
Particle
!= null)
921
AddElement(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, parentSchema, ((XmlSchemaSequence)ct.
Particle
).Items, -1);
924
ct.
Particle
.MinOccurs = 0; //previously this was simple type so subelements did not exist
926
else if (ct.
Particle
== null)
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 (3)
1827
if (complexType.
Particle
!= null)
1829
SetParent(complexType.
Particle
, complexType);
1830
PreprocessParticle(complexType.
Particle
);
System\Xml\Schema\SchemaCollectionCompiler.cs (2)
363
CleanupParticle(complexType.
Particle
!);
748
complexType.SetContentTypeParticle(CompileContentTypeParticle(complexType.
Particle
, true));
System\Xml\Schema\SchemaCollectionpreProcessor.cs (3)
1490
if (complexType.
Particle
!= null)
1492
SetParent(complexType.
Particle
, complexType);
1493
PreprocessParticle(complexType.
Particle
);
System\Xml\Schema\SchemaSetCompiler.cs (2)
351
CleanupParticle(complexType.
Particle
);
839
complexType.SetContentTypeParticle(CompileContentTypeParticle(complexType.
Particle
));
System\Xml\Schema\XmlSchemaComplexType.cs (2)
389
if (HasParticleRef(complexType.
Particle
, parentSchema))
391
complexType.Particle = CloneParticle(complexType.
Particle
, parentSchema);
System\Xml\Schema\XsdBuilder.cs (3)
1643
(builder._complexType.
Particle
!= null || builder._complexType.Attributes.Count != 0 || builder._complexType.AnyAttribute != null)
1709
(builder._complexType.
Particle
!= null || builder._complexType.Attributes.Count != 0 || builder._complexType.AnyAttribute != null)
2388
(_complexType.
Particle
!= null)
System\Xml\Serialization\ImportContext.cs (1)
302
particle = ct.
Particle
;
System\Xml\Serialization\SchemaObjectWriter.cs (8)
826
if (o.
@Particle
is XmlSchemaSequence)
828
Write54_XmlSchemaSequence((XmlSchemaSequence)o.
@Particle
);
830
else if (o.
@Particle
is XmlSchemaGroupRef)
832
Write55_XmlSchemaGroupRef((XmlSchemaGroupRef)o.
@Particle
);
834
else if (o.
@Particle
is XmlSchemaChoice)
836
Write52_XmlSchemaChoice((XmlSchemaChoice)o.
@Particle
);
838
else if (o.
@Particle
is XmlSchemaAll)
840
Write43_XmlSchemaAll((XmlSchemaAll)o.
@Particle
);
System\Xml\Serialization\XmlSchemaExporter.cs (1)
122
if (complexType.
Particle
is XmlSchemaSequence sequence)
System\Xml\Serialization\XmlSchemaImporter.cs (1)
737
particle = ct.
Particle
;