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); }