src/Misc/EFTools/DesignXmlCore/Refactoring/TextChangeProposal.cs
/// <summary>
///     Returns if this TextChangeProposal object has the same value as another object,
///     which also must be a TextChangeProposal
/// </summary>
Returns if this TextChangeProposal object has the same value as another object,
which also must be a TextChangeProposal
Returns if this TextChangeProposal object has the same value as another object which also must be a TextChangeProposal
public override bool Equals(object obj)
        {
            var isEqual = false;
            var other = obj as TextChangeProposal;
            if (other != null)
            {
                isEqual = base.Equals(obj);
                if (isEqual)
                {
                    isEqual = (StartLine == other.StartLine &&
                               StartColumn == other.StartColumn &&
                               string.Equals(FileName, other.FileName, StringComparison.OrdinalIgnoreCase) &&
                               string.Equals(ProjectName, other.ProjectName, StringComparison.OrdinalIgnoreCase));
                }
            }
            return isEqual;
        }
public override bool Equals ( object obj ) { var isEqual = false ; var other = obj as TextChangeProposal ; if ( other != null ) { isEqual = base . Equals ( obj ) ; if ( isEqual ) { isEqual = ( StartLine == other . StartLine && StartColumn == other . StartColumn && string . Equals ( FileName , other . FileName , StringComparison . OrdinalIgnoreCase ) && string . Equals ( ProjectName , other . ProjectName , StringComparison . OrdinalIgnoreCase ) ) ; } } return isEqual ; }
Returns if this TextChangeProposal object has the same value as another object,
which also must be a TextChangeProposal
Returns if this TextChangeProposal object has the same value as another object which also must be a TextChangeProposal
obj
object