20 references to MaxValue
mscorlib (13)
system\convert.cs (9)
616
if (value > SByte.
MaxValue
) throw new OverflowException(Environment.GetResourceString("Overflow_SByte"));
623
if (value > SByte.
MaxValue
) throw new OverflowException(Environment.GetResourceString("Overflow_SByte"));
630
if (value < SByte.MinValue || value > SByte.
MaxValue
) throw new OverflowException(Environment.GetResourceString("Overflow_SByte"));
637
if (value > SByte.
MaxValue
) throw new OverflowException(Environment.GetResourceString("Overflow_SByte"));
644
if (value < SByte.MinValue || value > SByte.
MaxValue
) throw new OverflowException(Environment.GetResourceString("Overflow_SByte"));
651
if (value > SByte.
MaxValue
) throw new OverflowException(Environment.GetResourceString("Overflow_SByte"));
658
if (value < SByte.MinValue || value > SByte.
MaxValue
) throw new OverflowException(Environment.GetResourceString("Overflow_SByte"));
665
if (value > (ulong)SByte.
MaxValue
) throw new OverflowException(Environment.GetResourceString("Overflow_SByte"));
2002
if (r < SByte.MinValue || r > SByte.
MaxValue
)
system\decimal.cs (1)
848
if (temp < SByte.MinValue || temp > SByte.
MaxValue
) throw new OverflowException(Environment.GetResourceString("Overflow_SByte"));
system\reflection\emit\ilgenerator.cs (1)
280
if (updateAddr < SByte.MinValue || updateAddr > SByte.
MaxValue
)
system\sbyte.cs (2)
162
if (i < MinValue || i >
MaxValue
) throw new OverflowException(Environment.GetResourceString("Overflow_SByte"));
193
if (i < MinValue || i >
MaxValue
) {
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\GenericFlowSwitchHelper.cs (2)
214
sbyte maxCount = (sbyte.
MaxValue
< maxName) ? sbyte.
MaxValue
: (sbyte)maxName;
System.Data (1)
fx\src\data\System\Data\Common\SByteStorage.cs (1)
97
SByte min = SByte.
MaxValue
;
System.Data.Entity (1)
System\Data\Metadata\Helper.cs (1)
518
{ PrimitiveTypeKind.SByte, new long[] { SByte.MinValue, SByte.
MaxValue
} },
System.Runtime.Serialization (1)
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
619
if (value < SByte.MinValue || value > SByte.
MaxValue
)
System.Xml (2)
System\Xml\Schema\DataTypeImplementation.cs (1)
3129
static readonly FacetsChecker numeric10FacetsChecker = new Numeric10FacetsChecker(sbyte.MinValue, sbyte.
MaxValue
);
System\Xml\Schema\XmlValueConverter.cs (1)
845
if (value < (int) SByte.MinValue || value > (int) SByte.
MaxValue
)