1 override of Compare
System.Xml (1)
System\Xml\Schema\DataTypeImplementation.cs (1)
1222
internal override int
Compare
(object value1, object value2) {
26 references to Compare
System.Xml (26)
System\Xml\Schema\ConstraintStruct.cs (1)
307
return this.Type.
Compare
(this.Value, other.Value) == 0;
System\Xml\Schema\DataTypeImplementation.cs (3)
401
return
Compare
(o1, o2) == 0;
897
if ( itemType.
Compare
(arr1.GetValue(i), arr2.GetValue(i)) != 0) {
1068
return datatype.
Compare
(simpleValue1.TypedValue, simpleValue2.TypedValue);
System\Xml\Schema\FacetChecker.cs (22)
317
if (datatype.
Compare
(value, restriction.MaxInclusive) > 0) {
322
if (datatype.
Compare
(value, restriction.MaxExclusive) >= 0) {
330
if (datatype.
Compare
(value, restriction.MaxExclusive) > 0) {
335
if (datatype.
Compare
(value, restriction.MaxInclusive) > 0) {
343
if (datatype.
Compare
(value, restriction.MinInclusive) < 0) {
348
if (datatype.
Compare
(value, restriction.MinExclusive) < 0) {
353
if (datatype.
Compare
(value, restriction.MaxExclusive) >= 0) {
361
if (datatype.
Compare
(value, restriction.MinExclusive) < 0) {
366
if (datatype.
Compare
(value, restriction.MinInclusive) < 0) {
371
if (datatype.
Compare
(value, restriction.MaxExclusive) >= 0) {
422
if (datatype.
Compare
(derivedRestriction.MinInclusive, derivedRestriction.MaxInclusive) > 0) {
430
if (datatype.
Compare
(derivedRestriction.MinInclusive, derivedRestriction.MaxExclusive) > 0) {
438
if (datatype.
Compare
(derivedRestriction.MinExclusive, derivedRestriction.MaxExclusive) > 0) {
446
if (datatype.
Compare
(derivedRestriction.MinExclusive, derivedRestriction.MaxInclusive) > 0) {
1060
if (datatype.
Compare
(value, (DateTime)restriction.MaxInclusive) > 0) {
1066
if (datatype.
Compare
(value, (DateTime)restriction.MaxExclusive) >= 0) {
1072
if (datatype.
Compare
(value, (DateTime)restriction.MinInclusive) < 0) {
1078
if (datatype.
Compare
(value, (DateTime)restriction.MinExclusive) <= 0) {
1096
if (datatype.
Compare
(value, (DateTime)enumeration[i]) == 0) {
1328
if (datatype.
Compare
(value, (byte[])enumeration[i]) == 0) {
1376
if (datatype.
Compare
(value, enumeration[i]) == 0) {
1400
if (datatype.
Compare
(value, enumeration[i]) == 0) { //Compare on Datatype_union will compare two XsdSimpleValue