예제 #1
0
 public override bool Equals(object obj)
 {
     return(obj is TriviaMapping other &&
            SourceLine == other.SourceLine &&
            TargetLine == other.TargetLine &&
            SourceTrivia.Equals(other.SourceTrivia) &&
            TargetToken.Equals(other.TargetToken) &&
            IsLeading == other.IsLeading);
 }