4 writes to Particle
System.Private.Xml (1)
System\Xml\Schema\XsdBuilder.cs (1)
2418_group.Particle = (XmlSchemaGroupBase)particle;
System.Web.Services.Description (3)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (3)
12723o.@Particle = Read53_XmlSchemaSequence(false, true); 12727o.@Particle = Read54_XmlSchemaChoice(false, true); 12731o.@Particle = Read55_XmlSchemaAll(false, true);
42 references to Particle
System.Private.Xml (34)
System\Xml\Schema\Preprocessor.cs (8)
1066if (group.Particle != null) 1068count = CountGroupSelfReference(group.Particle.Items, group.QualifiedName, group.Redefined); 1848if (group.Particle == null) 1853if (group.Particle.MinOccursString != null) 1855SendValidationEvent(SR.Sch_ForbiddenAttribute, "minOccurs", group.Particle); 1857if (group.Particle.MaxOccursString != null) 1859SendValidationEvent(SR.Sch_ForbiddenAttribute, "maxOccurs", group.Particle); 1862PreprocessParticle(group.Particle);
System\Xml\Schema\SchemaCollectionCompiler.cs (2)
413CleanupParticle(group.Particle!); 513group.CanonicalParticle ??= CanonicalizeParticle(group.Particle, true, true);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (8)
744if (group.Particle != null) 746count = CountGroupSelfReference(group.Particle.Items, group.QualifiedName); 1512if (group.Particle == null) 1517if (group.Particle.MinOccursString != null) 1519SendValidationEvent(SR.Sch_ForbiddenAttribute, "minOccurs", group.Particle); 1521if (group.Particle.MaxOccursString != null) 1523SendValidationEvent(SR.Sch_ForbiddenAttribute, "maxOccurs", group.Particle); 1526PreprocessParticle(group.Particle);
System\Xml\Schema\SchemaSetCompiler.cs (4)
419CleanupParticle(group.Particle); 562baseGroup.CanonicalParticle ??= CanonicalizeParticle(baseGroup.Particle, true); 563redefinedGroup.CanonicalParticle ??= CanonicalizeParticle(redefinedGroup.Particle, true); 595group.CanonicalParticle ??= CanonicalizeParticle(group.Particle, true);
System\Xml\Schema\XsdBuilder.cs (1)
2414if (_group!.Particle != null)
System\Xml\Serialization\ImportContext.cs (2)
304particle = ((XmlSchemaGroup)_schemas.Find(refGroup.RefName, typeof(XmlSchemaGroup), false)!).Particle; 389Depends(((XmlSchemaGroup)item).Particle!);
System\Xml\Serialization\SchemaObjectWriter.cs (6)
1262if (o.@Particle is XmlSchemaSequence) 1264Write54_XmlSchemaSequence((XmlSchemaSequence)o.@Particle); 1266else if (o.@Particle is XmlSchemaChoice) 1268Write52_XmlSchemaChoice((XmlSchemaChoice)o.@Particle); 1270else if (o.@Particle is XmlSchemaAll) 1272Write43_XmlSchemaAll((XmlSchemaAll)o.@Particle);
System\Xml\Serialization\XmlSchemaImporter.cs (3)
718items.Particle = FindGroup(refGroup.RefName).Particle; 884return GatherGroupChoices(group.Particle, choiceElements, identifier, ns, ref needExplicitOrder, allowDuplicates); 996ImportGroupMembers(FindGroup(refGroup.RefName).Particle, identifier, members, membersScope, elementsScope, refGroup.RefName.Namespace, groupRepeats | refGroup.IsMultipleOccurrence, ref mixed, ref needExplicitOrder, allowDuplicates, allowUnboundedElements);
System.Web.Services.Description (8)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (8)
2446if (o.@Particle is global::System.Xml.Schema.XmlSchemaAll) { 2447Write55_XmlSchemaAll(@"all", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAll)o.@Particle), false, false); 2449else if (o.@Particle is global::System.Xml.Schema.XmlSchemaChoice) { 2450Write54_XmlSchemaChoice(@"choice", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaChoice)o.@Particle), false, false); 2452else if (o.@Particle is global::System.Xml.Schema.XmlSchemaSequence) { 2453Write53_XmlSchemaSequence(@"sequence", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaSequence)o.@Particle), false, false); 2456if (o.@Particle != null) { 2457throw CreateUnknownTypeException(o.@Particle);