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