12 references to Occurs
System.Xml (12)
System\Xml\Schema\XmlSchemaParticle.cs (12)
25
Occurs
flags =
Occurs
.None;
34
return (flags &
Occurs
.Min) == 0 ? null : XmlConvert.ToString(minOccurs);
39
flags &= ~
Occurs
.Min;
46
flags |=
Occurs
.Min;
58
return (flags &
Occurs
.Max) == 0 ? null : (maxOccurs == decimal.MaxValue) ? "unbounded" : XmlConvert.ToString(maxOccurs);
63
flags &= ~
Occurs
.Max;
74
else if (maxOccurs == decimal.Zero && (flags &
Occurs
.Min) == 0) {
78
flags |=
Occurs
.Max;
95
flags |=
Occurs
.Min;
111
if (maxOccurs == decimal.Zero && (flags &
Occurs
.Min) == 0) {
114
flags |=
Occurs
.Max;