File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ namespace Xtensive.Core
2121 IComparable < Pair < TFirst , TSecond > > ,
2222 IEquatable < Pair < TFirst , TSecond > >
2323 {
24- private static readonly AdvancedComparerStruct < TFirst > firstComparer = AdvancedComparerStruct < TFirst > . System ;
25- private static readonly AdvancedComparerStruct < TSecond > secondComparer = AdvancedComparerStruct < TSecond > . System ;
24+ private static readonly AdvancedComparerStruct < TFirst > FirstComparer = AdvancedComparerStruct < TFirst > . System ;
25+ private static readonly AdvancedComparerStruct < TSecond > SecondComparer = AdvancedComparerStruct < TSecond > . System ;
2626
2727 /// <summary>
2828 /// A first value.
@@ -37,15 +37,15 @@ namespace Xtensive.Core
3737
3838 /// <inheritdoc/>
3939 public bool Equals ( Pair < TFirst , TSecond > other ) =>
40- firstComparer . Equals ( First , other . First ) && secondComparer . Equals ( Second , other . Second ) ;
40+ FirstComparer . Equals ( First , other . First ) && SecondComparer . Equals ( Second , other . Second ) ;
4141
4242 /// <inheritdoc/>
4343 public int CompareTo ( Pair < TFirst , TSecond > other )
4444 {
45- int result = firstComparer . Compare ( First , other . First ) ;
45+ int result = FirstComparer . Compare ( First , other . First ) ;
4646 return result != 0
4747 ? result
48- : secondComparer . Compare ( Second , other . Second ) ;
48+ : SecondComparer . Compare ( Second , other . Second ) ;
4949 }
5050
5151 #endregion
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ namespace Xtensive.Core
2222 IEquatable < Pair < T > > ,
2323 IComparable < Pair < T > >
2424 {
25- private static readonly AdvancedComparerStruct < T > comparer = AdvancedComparerStruct < T > . System ;
25+ private static readonly AdvancedComparerStruct < T > Comparer = AdvancedComparerStruct < T > . System ;
2626
2727 /// <summary>
2828 /// The first value.
@@ -38,15 +38,15 @@ namespace Xtensive.Core
3838
3939 /// <inheritdoc/>
4040 public bool Equals ( Pair < T > other ) =>
41- comparer . Equals ( First , other . First ) && comparer . Equals ( Second , other . Second ) ;
41+ Comparer . Equals ( First , other . First ) && Comparer . Equals ( Second , other . Second ) ;
4242
4343 /// <inheritdoc/>
4444 public int CompareTo ( Pair < T > other )
4545 {
46- int result = comparer . Compare ( First , other . First ) ;
46+ int result = Comparer . Compare ( First , other . First ) ;
4747 return result != 0
4848 ? result
49- : comparer . Compare ( Second , other . Second ) ;
49+ : Comparer . Compare ( Second , other . Second ) ;
5050 }
5151
5252 #endregion
You can’t perform that action at this time.
0 commit comments