4 writes to MaxOccursString
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\SchemaExporter.cs (2)
378
element.
MaxOccursString
= Globals.OccursUnbounded;
867
iSerializableWildcardElement.
MaxOccursString
= Globals.OccursUnbounded;
System.Private.Xml (2)
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
1476
baseParticle.
MaxOccursString
= maxOccursElement;
System\Xml\Schema\XsdBuilder.cs (1)
2470
particle.
MaxOccursString
= value;
9 references to MaxOccursString
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\SchemaImporter.cs (4)
574
return (localElement.
MaxOccursString
== Globals.OccursUnbounded || localElement.MaxOccurs > 1);
864
if (wildcard.
MaxOccursString
!= iSerializableWildcardElement.
MaxOccursString
)
865
ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.Format(SR.ISerializableWildcardMaxOccursMustBe, iSerializableWildcardElement.
MaxOccursString
));
System.Private.Xml (5)
System\Xml\Schema\Preprocessor.cs (2)
1303
if (element.
MaxOccursString
!= null)
1857
if (group.Particle.
MaxOccursString
!= null)
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
1465
string? maxOccursElement = baseParticle.
MaxOccursString
;
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
976
if (element.
MaxOccursString
!= null)
1521
if (group.Particle.
MaxOccursString
!= null)