Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ MaxOccurs

decimal System.Xml.Schema.XmlSchemaParticle.MaxOccurs
getsetinherited

Definition at line 118 of file XmlSchemaParticle.cs.

119 {
120 get
121 {
122 return _maxOccurs;
123 }
124 set
125 {
126 if (value < 0m || value != decimal.Truncate(value))
127 {
128 throw new XmlSchemaException(System.SR.Sch_MaxOccursInvalidXsd, string.Empty);
129 }
131 if (_maxOccurs == 0m && (_flags & Occurs.Min) == 0)
132 {
133 _minOccurs = default(decimal);
134 }
135 _flags |= Occurs.Max;
136 }
137 }
static string Sch_MaxOccursInvalidXsd
Definition SR.cs:752
Definition SR.cs:7

Referenced by System.Xml.Schema.Compiler.BuildParticleContentModel(), System.Xml.Schema.SchemaCollectionCompiler.BuildParticleContentModel(), System.Xml.Schema.Compiler.CalculateEffectiveTotalRange(), System.Xml.Schema.SchemaCollectionCompiler.CalculateEffectiveTotalRange(), System.Xml.Schema.Compiler.CannonicalizeElement(), System.Xml.Schema.SchemaCollectionCompiler.CannonicalizeElement(), System.Xml.Schema.XmlSchemaInference.CreateNewElementforChoice(), System.Data.XSDSchema.IsDatasetParticle(), System.Xml.Schema.Preprocessor.PreprocessLocalElement(), System.Xml.Schema.SchemaCollectionPreprocessor.PreprocessLocalElement(), System.Xml.Schema.Preprocessor.PreprocessParticle(), System.Xml.Schema.SchemaCollectionPreprocessor.PreprocessParticle(), and System.Xml.Schema.XmlSchemaInference.SetMinMaxOccurs().