1 override of Compare
System.Private.Xml (1)
System\Xml\Schema\DataTypeImplementation.cs (1)
1369
internal override int
Compare
(object value1, object value2)
26 references to Compare
System.Private.Xml (26)
System\Xml\Schema\ConstraintStruct.cs (1)
351
return this.Type.
Compare
(this.Value!, other.Value!) == 0;
System\Xml\Schema\DataTypeImplementation.cs (3)
448
return
Compare
(o1, o2) == 0;
980
if (_itemType.
Compare
(arr1.GetValue(i)!, arr2.GetValue(i)!) != 0)
1183
return datatype.
Compare
(simpleValue1.TypedValue, simpleValue2.TypedValue);
System\Xml\Schema\FacetChecker.cs (22)
384
if (_datatype.
Compare
(value, restriction!.MaxInclusive!) > 0)
391
if (_datatype.
Compare
(value, restriction!.MaxExclusive!) >= 0)
401
if (_datatype.
Compare
(value, restriction!.MaxExclusive!) > 0)
408
if (_datatype.
Compare
(value, restriction!.MaxInclusive!) > 0)
418
if (_datatype.
Compare
(value, restriction!.MinInclusive!) < 0)
425
if (_datatype.
Compare
(value, restriction!.MinExclusive!) < 0)
432
if (_datatype.
Compare
(value, restriction!.MaxExclusive!) >= 0)
442
if (_datatype.
Compare
(value, restriction!.MinExclusive!) < 0)
449
if (_datatype.
Compare
(value, restriction!.MinInclusive!) < 0)
456
if (_datatype.
Compare
(value, restriction!.MaxExclusive!) >= 0)
513
if (_datatype.
Compare
(_derivedRestriction.MinInclusive!, _derivedRestriction.MaxInclusive!) > 0)
523
if (_datatype.
Compare
(_derivedRestriction.MinInclusive!, _derivedRestriction.MaxExclusive!) > 0)
533
if (_datatype.
Compare
(_derivedRestriction.MinExclusive!, _derivedRestriction.MaxExclusive!) > 0)
543
if (_datatype.
Compare
(_derivedRestriction.MinExclusive!, _derivedRestriction.MaxInclusive!) > 0)
1282
if (datatype.
Compare
(value, (DateTime)restriction!.MaxInclusive!) > 0)
1290
if (datatype.
Compare
(value, (DateTime)restriction!.MaxExclusive!) >= 0)
1298
if (datatype.
Compare
(value, (DateTime)restriction!.MinInclusive!) < 0)
1306
if (datatype.
Compare
(value, (DateTime)restriction!.MinExclusive!) <= 0)
1332
if (datatype.
Compare
(value, (DateTime)enumeration[i]!) == 0)
1614
if (datatype.
Compare
(value, (byte[])enumeration[i]!) == 0)
1684
if (list.ItemType.
Compare
(values.GetValue(j)!, enumValue.GetValue(0)!) == 0)
1721
if (datatype.
Compare
(value, enumeration[i]!) == 0)