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

◆ MinOccurs

decimal System.Xml.Schema.XmlSchemaParticle.MinOccurs
getsetinherited

Definition at line 100 of file XmlSchemaParticle.cs.

101 {
102 get
103 {
104 return _minOccurs;
105 }
106 set
107 {
108 if (value < 0m || value != decimal.Truncate(value))
109 {
110 throw new XmlSchemaException(System.SR.Sch_MinOccursInvalidXsd, string.Empty);
111 }
113 _flags |= Occurs.Min;
114 }
115 }
static string Sch_MinOccursInvalidXsd
Definition SR.cs:754
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.Xml.Serialization.XmlSchemaImporter.ImportElementMember(), 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().