75 references to MaxValue
System.Data (5)
fx\src\data\System\Data\Common\DecimalStorage.cs (1)
97
Decimal min = Decimal.
MaxValue
;
fx\src\data\System\Data\DataSet.cs (3)
3311
sequence.MaxOccurs = Decimal.
MaxValue
;
3555
if (((XmlSchemaSequence)ct.Particle).MaxOccurs == Decimal.
MaxValue
)
3559
else if (any0.MaxOccurs == Decimal.
MaxValue
)
fx\src\data\System\Data\DataTable.cs (1)
5922
any.MaxOccurs = Decimal.
MaxValue
;
System.Runtime.Serialization (2)
System\Runtime\Serialization\SchemaExporter.cs (1)
730
any.MaxOccurs = Decimal.
MaxValue
;
System\Runtime\Serialization\SchemaImporter.cs (1)
813
if (any.MaxOccurs != Decimal.
MaxValue
)
System.ServiceModel (2)
System\ServiceModel\Description\MessageContractExporter.cs (2)
178
anyElement.MaxOccurs = decimal.
MaxValue
;
398
element.MaxOccurs = Decimal.
MaxValue
;
System.ServiceModel.Discovery (3)
System\ServiceModel\Discovery\SchemaUtility.cs (3)
301
any.MaxOccurs = decimal.
MaxValue
;
356
any.MaxOccurs = decimal.
MaxValue
;
402
any.MaxOccurs = decimal.
MaxValue
;
System.Web.Services (1)
System\Web\Services\Description\HttpProtocolReflector.cs (1)
85
element.MaxOccurs = decimal.
MaxValue
;
System.Windows.Forms (1)
winforms\Managed\System\WinForms\NumericUpDown.cs (1)
829
maxDigits = (int)Math.Floor(Math.Log((double)decimal.
MaxValue
, baseSize));
System.Xml (61)
System\Xml\Schema\DataTypeImplementation.cs (3)
1585
static readonly FacetsChecker numeric10FacetsChecker = new Numeric10FacetsChecker(decimal.MinValue, decimal.
MaxValue
);
3179
static readonly FacetsChecker numeric10FacetsChecker = new Numeric10FacetsChecker(decimal.Zero,decimal.
MaxValue
);
3419
static readonly FacetsChecker numeric10FacetsChecker = new Numeric10FacetsChecker(decimal.One, decimal.
MaxValue
);
System\Xml\Schema\FacetChecker.cs (1)
813
return decimal.
MaxValue
;
System\Xml\Schema\Inference\Infer.cs (4)
1108
el.MaxOccurs = decimal.
MaxValue
; //set it to unbounded
1117
el.MaxOccurs = decimal.
MaxValue
; //set it to unbounded
1185
xsc.MaxOccurs = decimal.
MaxValue
;
2493
el.MaxOccurs = decimal.
MaxValue
; //set it to unbounded
System\Xml\Schema\SchemaCollectionCompiler.cs (21)
1164
if ( baseParticle.MaxOccurs != decimal.
MaxValue
) {
1165
if (baseGroupBase.MaxOccurs == decimal.
MaxValue
)
1166
baseParticle.MaxOccurs = decimal.
MaxValue
;
1247
if (p.MaxOccurs == decimal.
MaxValue
)
1248
maxOccurs = decimal.
MaxValue
;
1249
else if (maxOccurs != decimal.
MaxValue
)
1253
if (sequence.MaxOccurs == decimal.
MaxValue
) {
1254
maxOccurs = decimal.
MaxValue
;
1256
else if (maxOccurs != decimal.
MaxValue
) {
1293
minOccurs = decimal.
MaxValue
;
1307
if (maxOccurs != decimal.
MaxValue
) {
1308
if (particle.MaxOccurs == decimal.
MaxValue
)
1309
maxOccurs = decimal.
MaxValue
;
1327
if (maxOccurs != decimal.
MaxValue
) {
1328
if (max == decimal.
MaxValue
)
1329
maxOccurs = decimal.
MaxValue
;
1335
if (maxOccurs != decimal.
MaxValue
) {
1336
if (particle.MaxOccurs == decimal.
MaxValue
)
1337
maxOccurs = decimal.
MaxValue
;
2101
else if (particle.MinOccurs == decimal.Zero && particle.MaxOccurs == decimal.
MaxValue
) {
2104
else if (particle.MinOccurs == decimal.One && particle.MaxOccurs == decimal.
MaxValue
) {
System\Xml\Schema\SchemaSetCompiler.cs (14)
1518
if (derivedSequence.MaxOccurs == decimal.
MaxValue
) {
1519
maxOccurs = decimal.
MaxValue
;
1568
minOccurs = decimal.
MaxValue
;
1581
if (maxOccurs != decimal.
MaxValue
) {
1582
if (particle.MaxOccurs == decimal.
MaxValue
)
1583
maxOccurs = decimal.
MaxValue
;
1601
if (maxOccurs != decimal.
MaxValue
) {
1602
if (max == decimal.
MaxValue
)
1603
maxOccurs = decimal.
MaxValue
;
1609
if (maxOccurs != decimal.
MaxValue
) {
1610
if (particle.MaxOccurs == decimal.
MaxValue
)
1611
maxOccurs = decimal.
MaxValue
;
2457
else if (particle.MinOccurs == decimal.Zero && particle.MaxOccurs == decimal.
MaxValue
) {
2460
else if (particle.MinOccurs == decimal.One && particle.MaxOccurs == decimal.
MaxValue
) {
System\Xml\Schema\XmlSchemaComplexType.cs (1)
66
anyElement.MaxOccurs = decimal.
MaxValue
;
System\Xml\Schema\XmlSchemaParticle.cs (2)
58
return (flags & Occurs.Max) == 0 ? null : (maxOccurs == decimal.
MaxValue
) ? "unbounded" : XmlConvert.ToString(maxOccurs);
67
maxOccurs = decimal.
MaxValue
;
System\Xml\Serialization\SchemaObjectWriter.cs (6)
800
WriteAttribute("maxOccurs", "", o.MaxOccurs == decimal.
MaxValue
? "unbounded" : XmlConvert.ToString(o.MaxOccurs));
813
WriteAttribute("maxOccurs", "", o.MaxOccurs == decimal.
MaxValue
? "unbounded" : XmlConvert.ToString(o.MaxOccurs));
951
WriteAttribute(@"maxOccurs", @"", o.MaxOccurs == decimal.
MaxValue
? "unbounded" : XmlConvert.ToString(o.MaxOccurs));
964
WriteAttribute(@"maxOccurs", @"", o.MaxOccurs == decimal.
MaxValue
? "unbounded" : XmlConvert.ToString(o.MaxOccurs));
979
WriteAttribute("maxOccurs", "", o.MaxOccurs == decimal.
MaxValue
? "unbounded" : XmlConvert.ToString(o.MaxOccurs));
1012
WriteAttribute(@"maxOccurs", @"", o.MaxOccurs == decimal.
MaxValue
? "unbounded" : XmlConvert.ToString(o.MaxOccurs));
System\Xml\Serialization\SoapSchemaExporter.cs (2)
246
choice.MaxOccurs = repeats ? decimal.
MaxValue
: 1;
259
element.MaxOccurs = repeats ? decimal.
MaxValue
: 1;
System\Xml\Serialization\XmlSchemaExporter.cs (7)
164
any.MaxOccurs = decimal.
MaxValue
;
207
any.MaxOccurs = decimal.
MaxValue
;
403
any.MaxOccurs = decimal.
MaxValue
;
421
any.MaxOccurs = decimal.
MaxValue
;
597
choice.MaxOccurs = repeats ? decimal.
MaxValue
: 1;
723
any.MaxOccurs = repeats ? decimal.
MaxValue
: 1;
731
decimal maxOccurs = repeats || accessor.IsUnbounded ? decimal.
MaxValue
: 1;