Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/02/17 22:03:01 (7 years ago)
Author:
pkimmesw
Message:

#2665 Removed "this" qualifier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/StatefulExpression.cs

    r14777 r14908  
    1111
    1212    protected StatefulExpression(T state) {
    13       this.State = state;
     13      State = state;
    1414    }
    1515
    1616    protected virtual int CalcHashCode() {
    17       return this.State.GetHashCode();
     17      return State.GetHashCode();
    1818    }
    1919
     
    2222      get
    2323      {
    24         if (stringRepresentation == null) stringRepresentation = this.State.ToString();
     24        if (stringRepresentation == null) stringRepresentation = State.ToString();
    2525        return stringRepresentation;
    2626      }
     
    3131        return true;
    3232
    33       if (this.GetType() != obj.GetType())
     33      if (GetType() != obj.GetType())
    3434        return false;
    3535
    3636      var other = (StatefulExpression<T>)obj;
    3737
    38       return ReferenceEquals(this.State, other.State) ||
    39              this.GetHashCode() == other.GetHashCode();
     38      return ReferenceEquals(State, other.State) ||
     39             GetHashCode() == other.GetHashCode();
    4040    }
    4141
Note: See TracChangeset for help on using the changeset viewer.