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