12 references to Occurs
System.Private.Xml (12)
System\Xml\Schema\XmlSchemaParticle.cs (12)
19
private
Occurs
_flags =
Occurs
.None;
26
return (_flags &
Occurs
.Min) == 0 ? null : XmlConvert.ToString(_minOccurs);
33
_flags &= ~
Occurs
.Min;
42
_flags |=
Occurs
.Min;
52
return (_flags &
Occurs
.Max) == 0 ? null : (_maxOccurs == decimal.MaxValue) ? "unbounded" : XmlConvert.ToString(_maxOccurs);
59
_flags &= ~
Occurs
.Max;
74
else if (_maxOccurs == decimal.Zero && (_flags &
Occurs
.Min) == 0)
79
_flags |=
Occurs
.Max;
95
_flags |=
Occurs
.Min;
110
if (_maxOccurs == decimal.Zero && (_flags &
Occurs
.Min) == 0)
114
_flags |=
Occurs
.Max;