23 writes to Particle
dotnet-svcutil-lib (23)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (2)
937
ct.
Particle
= new XmlSchemaSequence();
946
ct.
Particle
= new XmlSchemaSequence();
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (1)
479
complexType.
Particle
= CloneParticle(complexType.Particle, parentSchema);
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
2398
_complexType.
Particle
= particle;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (1)
393
type.
Particle
= seq;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (1)
129
type.
Particle
= seq;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (9)
187
type.
Particle
= seq;
234
type.
Particle
= seq;
468
type.
Particle
= seq;
504
type.
Particle
= seq;
540
type.
Particle
= seq;
568
type.
Particle
= seq;
662
type.
Particle
= (XmlSchemaChoice)seq.Items[0];
666
type.
Particle
= seq;
1121
type.
Particle
= seq;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (2)
204
type.
Particle
= seq;
279
type.
Particle
= seq;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaExporter.cs (2)
91
anyElementType.
Particle
= new XmlSchemaSequence();
103
anyType.
Particle
= new XmlSchemaSequence();
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (4)
11388
o.
@Particle
= Read44_XmlSchemaGroupRef(false, true);
11393
o.
@Particle
= Read53_XmlSchemaSequence(false, true);
11398
o.
@Particle
= Read54_XmlSchemaChoice(false, true);
11403
o.
@Particle
= Read55_XmlSchemaAll(false, true);
73 references to Particle
dotnet-svcutil-lib (73)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (17)
682
if (null != ct.
Particle
)
685
ct.
Particle
.MinOccurs = 0;
764
if (null != ct.
Particle
)
766
ct.
Particle
.MinOccurs = 0;
794
if (null != ct.
Particle
)
803
ct.
Particle
.MinOccurs = decimal.Zero;
935
if (ct.
Particle
!= null)
939
XmlSchemaElement subelement = AddElement(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, parentSchema, ((XmlSchemaSequence)ct.
Particle
).Items, -1);
942
ct.
Particle
.MinOccurs = 0; //previously this was simple type so subelements did not exist
944
else if (ct.
Particle
== null)
948
XmlSchemaElement subelement = AddElement(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, parentSchema, ((XmlSchemaSequence)ct.
Particle
).Items, -1);
951
((XmlSchemaSequence)ct.
Particle
).MinOccurs = decimal.Zero;
988
while (++lastUsedSeqItem < ((XmlSchemaSequence)ct.
Particle
).Items.Count)
990
if (((XmlSchemaSequence)ct.
Particle
).Items[lastUsedSeqItem].GetType() != typeof(XmlSchemaElement))
992
XmlSchemaElement subElement = (XmlSchemaElement)((XmlSchemaSequence)ct.
Particle
).Items[lastUsedSeqItem];
1062
if (ct.
Particle
.GetType() == typeof(XmlSchemaSequence))
1069
XmlSchemaSequence xss = (XmlSchemaSequence)ct.
Particle
;
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (4)
1735
if (complexType.
Particle
!= null || complexType.Attributes != null)
1861
if (complexType.
Particle
!= null)
1863
SetParent(complexType.
Particle
, complexType);
1864
PreprocessParticle(complexType.
Particle
);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (2)
352
CleanupParticle(complexType.
Particle
);
739
complexType.SetContentTypeParticle(CompileContentTypeParticle(complexType.
Particle
, true));
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (4)
1378
if (complexType.
Particle
!= null || complexType.Attributes != null)
1504
if (complexType.
Particle
!= null)
1506
SetParent(complexType.
Particle
, complexType);
1507
PreprocessParticle(complexType.
Particle
);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (2)
338
CleanupParticle(complexType.
Particle
);
826
complexType.SetContentTypeParticle(CompileContentTypeParticle(complexType.
Particle
));
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (2)
477
if (HasParticleRef(complexType.
Particle
, parentSchema))
479
complexType.Particle = CloneParticle(complexType.
Particle
, parentSchema);
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (3)
1648
(builder._complexType.
Particle
!= null || builder._complexType.Attributes.Count != 0 || builder._complexType.AnyAttribute != null)
1714
(builder._complexType.
Particle
!= null || builder._complexType.Attributes.Count != 0 || builder._complexType.AnyAttribute != null)
2393
(_complexType.
Particle
!= null)
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (1)
380
particle = ct.
Particle
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (8)
827
if (o.
@Particle
is XmlSchemaSequence)
829
Write54_XmlSchemaSequence((XmlSchemaSequence)o.
@Particle
);
831
else if (o.
@Particle
is XmlSchemaGroupRef)
833
Write55_XmlSchemaGroupRef((XmlSchemaGroupRef)o.
@Particle
);
835
else if (o.
@Particle
is XmlSchemaChoice)
837
Write52_XmlSchemaChoice((XmlSchemaChoice)o.
@Particle
);
839
else if (o.
@Particle
is XmlSchemaAll)
841
Write43_XmlSchemaAll((XmlSchemaAll)o.
@Particle
);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (6)
284
if (type.
Particle
== null)
286
if (!(type.
Particle
is XmlSchemaAll || type.
Particle
is XmlSchemaSequence))
288
XmlSchemaGroupBase group = (XmlSchemaGroupBase)type.
Particle
;
364
if (type.
Particle
!= null)
366
ImportGroup(type.
Particle
, members, typeNs);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (2)
146
if (complexType.
Particle
is XmlSchemaSequence)
148
XmlSchemaSequence sequence = (XmlSchemaSequence)complexType.
Particle
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (1)
840
particle = ct.
Particle
;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaExporter.cs (2)
95
((XmlSchemaSequence)anyElementType.
Particle
).Items.Add(any);
108
((XmlSchemaSequence)anyType.
Particle
).Items.Add(any);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (3)
456
dataContract = ImportType(typeName, complexType.
Particle
, complexType.Attributes, complexType.AnyAttribute, null /* baseTypeName */, complexType.Annotation);
774
XmlSchemaSequence sequence = xsdType.
Particle
as XmlSchemaSequence;
796
XmlSchemaSequence sequence = xsdType.
Particle
as XmlSchemaSequence;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (6)
1276
return complexType.
Particle
!= null ? complexType.
Particle
as XmlSchemaSequence : null;
1595
if (complexType.
Particle
== null)
1597
XmlSchemaSequence rootSequence = complexType.
Particle
as XmlSchemaSequence;
1646
if (complexType.
Particle
== null)
1648
XmlSchemaSequence rootSequence = complexType.
Particle
as XmlSchemaSequence;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (10)
3988
if (o.
@Particle
is Microsoft.Xml.Schema.XmlSchemaChoice)
3990
Write54_XmlSchemaChoice(@"choice", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.XmlSchemaChoice)o.
@Particle
), false, false);
3992
else if (o.
@Particle
is Microsoft.Xml.Schema.XmlSchemaAll)
3994
Write55_XmlSchemaAll(@"all", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.XmlSchemaAll)o.
@Particle
), false, false);
3996
else if (o.
@Particle
is Microsoft.Xml.Schema.XmlSchemaSequence)
3998
Write53_XmlSchemaSequence(@"sequence", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.XmlSchemaSequence)o.
@Particle
), false, false);
4000
else if (o.
@Particle
is Microsoft.Xml.Schema.XmlSchemaGroupRef)
4002
Write44_XmlSchemaGroupRef(@"group", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.XmlSchemaGroupRef)o.
@Particle
), false, false);
4006
if (o.
@Particle
!= null)
4008
throw CreateUnknownTypeException(o.
@Particle
);