7 writes to Particle
System.Private.Xml (3)
System\Xml\Schema\XmlSchemaComplexType.cs (1)
378
newComplexRest.
Particle
= CloneParticle(newComplexRest.Particle, parentSchema);
System\Xml\Schema\XsdBuilder.cs (1)
2411
_complexContentRestriction.
Particle
= particle;
System\Xml\Serialization\XmlSchemaExporter.cs (1)
1070
((XmlSchemaComplexContentRestriction)type.ContentModel.Content).
Particle
= seq;
System.Web.Services.Description (4)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (4)
12482
o.
@Particle
= Read54_XmlSchemaChoice(false, true);
12486
o.
@Particle
= Read44_XmlSchemaGroupRef(false, true);
12490
o.
@Particle
= Read55_XmlSchemaAll(false, true);
12494
o.
@Particle
= Read53_XmlSchemaSequence(false, true);
35 references to Particle
System.Data.Common (3)
System\Data\XMLSchema.cs (3)
1094
if (ccRestriction.
Particle
!= null)
1095
HandleParticle(ccRestriction.
Particle
, table, tableChildren, isBase);
1157
return ((XmlSchemaComplexContentRestriction)cContent).
Particle
;
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
472
dataContract = ImportType(typeName, restriction.
Particle
, restriction.Attributes, restriction.AnyAttribute, null /* baseTypeName */, complexType.Annotation);
System.Private.Xml (21)
System\Xml\Schema\Preprocessor.cs (3)
1812
if (contentRestriction.
Particle
!= null)
1814
SetParent(contentRestriction.
Particle
, contentRestriction); // Group / all / choice / sequence
1815
PreprocessParticle(contentRestriction.
Particle
);
System\Xml\Schema\SchemaCollectionCompiler.cs (2)
356
CleanupParticle(complexRestriction.
Particle
!);
1024
complexType.SetContentTypeParticle(CompileContentTypeParticle(complexRestriction.
Particle
, true));
System\Xml\Schema\SchemaCollectionpreProcessor.cs (3)
1476
if (contentRestriction.
Particle
!= null)
1478
SetParent(contentRestriction.
Particle
, contentRestriction); //Group / all / choice / sequence
1479
PreprocessParticle(contentRestriction.
Particle
);
System\Xml\Schema\SchemaSetCompiler.cs (2)
344
CleanupParticle(complexRestriction.
Particle
);
1103
complexType.SetContentTypeParticle(CompileContentTypeParticle(complexRestriction.
Particle
));
System\Xml\Schema\XmlSchemaComplexType.cs (2)
376
if (HasParticleRef(newComplexRest.
Particle
, parentSchema))
378
newComplexRest.Particle = CloneParticle(newComplexRest.
Particle
, parentSchema);
System\Xml\Schema\XsdBuilder.cs (1)
2405
if ((_complexContentRestriction!.
Particle
!= null) ||
System\Xml\Serialization\SchemaObjectWriter.cs (8)
1232
if (o.
@Particle
is XmlSchemaSequence)
1234
Write54_XmlSchemaSequence((XmlSchemaSequence)o.
@Particle
);
1236
else if (o.
@Particle
is XmlSchemaGroupRef)
1238
Write55_XmlSchemaGroupRef((XmlSchemaGroupRef)o.
@Particle
);
1240
else if (o.
@Particle
is XmlSchemaChoice)
1242
Write52_XmlSchemaChoice((XmlSchemaChoice)o.
@Particle
);
1244
else if (o.
@Particle
is XmlSchemaAll)
1246
Write43_XmlSchemaAll((XmlSchemaAll)o.
@Particle
);
System.Web.Services.Description (10)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (10)
4244
if (o.
@Particle
is global::System.Xml.Schema.XmlSchemaAll) {
4245
Write55_XmlSchemaAll(@"all", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaAll)o.
@Particle
), false, false);
4247
else if (o.
@Particle
is global::System.Xml.Schema.XmlSchemaSequence) {
4248
Write53_XmlSchemaSequence(@"sequence", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaSequence)o.
@Particle
), false, false);
4250
else if (o.
@Particle
is global::System.Xml.Schema.XmlSchemaChoice) {
4251
Write54_XmlSchemaChoice(@"choice", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaChoice)o.
@Particle
), false, false);
4253
else if (o.
@Particle
is global::System.Xml.Schema.XmlSchemaGroupRef) {
4254
Write44_XmlSchemaGroupRef(@"group", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaGroupRef)o.
@Particle
), false, false);
4257
if (o.
@Particle
!= null) {
4258
throw CreateUnknownTypeException(o.
@Particle
);