63 references to Zero
mscorlib (4)
system\runtime\remoting\soapinteroptypes.cs (4)
1198
if (_value > Decimal.
Zero
)
1211
if (_value > Decimal.
Zero
)
1260
if (_value < Decimal.
Zero
)
1273
if (_value < Decimal.
Zero
)
PresentationCore (1)
Core\CSharp\MS\Internal\AnimatedTypeHelpers.cs (1)
769
return Decimal.
Zero
;
System.Data (2)
fx\src\data\System\Data\Common\DecimalStorage.cs (1)
18
private static readonly Decimal defaultValue = Decimal.
Zero
;
fx\src\data\System\Data\XMLSchema.cs (1)
2421
if (node.MaxOccurs == decimal.
Zero
)
System.Runtime.Serialization (1)
System\Runtime\Serialization\Json\JsonObjectDataContract.cs (1)
94
if (decimalValue == Decimal.
Zero
)
System.Web.Services (1)
System\Web\Services\Description\HttpProtocolReflector.cs (1)
84
element.MinOccurs = decimal.
Zero
;
System.Windows.Forms (4)
winforms\Managed\System\WinForms\NumericUpDown.cs (2)
35
private static readonly Decimal DefaultValue = Decimal.
Zero
;
36
private static readonly Decimal DefaultMinimum = Decimal.
Zero
;
winforms\Managed\System\WinForms\NumericUpDownAcceleration.cs (2)
27
if (increment < Decimal.
Zero
)
68
if (value < Decimal.
Zero
)
System.Xml (50)
System\Xml\Schema\DataTypeImplementation.cs (2)
2910
static readonly FacetsChecker numeric10FacetsChecker = new Numeric10FacetsChecker(decimal.MinValue, decimal.
Zero
);
3179
static readonly FacetsChecker numeric10FacetsChecker = new Numeric10FacetsChecker(decimal.
Zero
,decimal.MaxValue);
System\Xml\Schema\Inference\Infer.cs (6)
801
ct.Particle.MinOccurs=decimal.
Zero
;
949
((XmlSchemaSequence)ct.Particle).MinOccurs = decimal.
Zero
;
1124
if (bItemNotUsedYet && el.MinOccurs!=decimal.
Zero
)
1140
((XmlSchemaElement) minOccursCandidates[i]).MinOccurs = decimal.
Zero
;
1151
((XmlSchemaElement) minOccursCandidates[i]).MinOccurs = decimal.
Zero
;
1200
subElement.MinOccurs = decimal.
Zero
;
System\Xml\Schema\Preprocessor.cs (3)
1138
element.MinOccurs = decimal.
Zero
;
1574
if (particle.MinOccurs != decimal.
Zero
&& particle.MinOccurs != decimal.One) {
1585
if (element.MaxOccurs != decimal.
Zero
&& element.MaxOccurs != decimal.One) {
System\Xml\Schema\SchemaCollectionCompiler.cs (14)
845
if (choice.MinOccurs != decimal.
Zero
) {
925
if (groupRef.MinOccurs != decimal.
Zero
) {
1005
if (choice.MinOccurs != decimal.
Zero
) {
1144
baseAny.MinOccurs = decimal.
Zero
;
1242
minOccurs = decimal.
Zero
; maxOccurs = decimal.
Zero
;
1280
return minOccurs == decimal.
Zero
;
1290
minOccurs = maxOccurs = decimal.
Zero
;
1294
maxOccurs = decimal.
Zero
;
1318
minOccurs = maxOccurs = decimal.
Zero
;
1944
AllElementsContentValidator contentValidator = new AllElementsContentValidator(complexType.ContentType, all.Items.Count, all.MinOccurs == decimal.
Zero
);
1947
if (!contentValidator.AddElement(localElement.QualifiedName, localElement, localElement.MinOccurs == decimal.
Zero
)) {
2098
else if (particle.MinOccurs == decimal.
Zero
&& particle.MaxOccurs == decimal.One) {
2101
else if (particle.MinOccurs == decimal.
Zero
&& particle.MaxOccurs == decimal.MaxValue) {
System\Xml\Schema\SchemaCollectionpreProcessor.cs (3)
828
element.MinOccurs = decimal.
Zero
;
1262
if (particle.MinOccurs != decimal.
Zero
&& particle.MinOccurs != decimal.One) {
1272
if (element.MaxOccurs != decimal.
Zero
&& element.MaxOccurs != decimal.One) {
System\Xml\Schema\SchemaSetCompiler.cs (12)
938
if (choice.MinOccurs != decimal.
Zero
) {
1023
if (groupRef.MinOccurs != decimal.
Zero
) {
1094
if (choice.MinOccurs != decimal.
Zero
) {
1356
baseAny.MinOccurs = decimal.
Zero
;
1553
return minOccurs == decimal.
Zero
;
1565
minOccurs = maxOccurs = decimal.
Zero
;
1569
maxOccurs = decimal.
Zero
;
1592
minOccurs = maxOccurs = decimal.
Zero
;
2299
AllElementsContentValidator contentValidator = new AllElementsContentValidator(complexType.ContentType, all.Items.Count, all.MinOccurs == decimal.
Zero
);
2302
if (!contentValidator.AddElement(localElement.QualifiedName, localElement, localElement.MinOccurs == decimal.
Zero
)) {
2454
else if (particle.MinOccurs == decimal.
Zero
&& particle.MaxOccurs == decimal.One) {
2457
else if (particle.MinOccurs == decimal.
Zero
&& particle.MaxOccurs == decimal.MaxValue) {
System\Xml\Schema\XmlSchemaComplexType.cs (1)
65
anyElement.MinOccurs = decimal.
Zero
;
System\Xml\Schema\XmlSchemaParticle.cs (9)
43
if (minOccurs < decimal.
Zero
) {
71
if (maxOccurs < decimal.
Zero
) {
74
else if (maxOccurs == decimal.
Zero
&& (flags & Occurs.Min) == 0) {
75
minOccurs = decimal.
Zero
;
91
if (value < decimal.
Zero
|| value != decimal.Truncate(value)) {
107
if (value < decimal.
Zero
|| value != decimal.Truncate(value)) {
111
if (maxOccurs == decimal.
Zero
&& (flags & Occurs.Min) == 0) {
112
minOccurs = decimal.
Zero
;
119
get { return maxOccurs == decimal.
Zero
; }