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