IfStatementOrElseClause.Equals Method
Containing Type: IfStatementOrElseClause
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
Equals(IfStatementOrElseClause) | Determines whether this instance is equal to another object of the same type. (Implements IEquatable<IfStatementOrElseClause>.Equals) |
Equals(Object) | Determines whether this instance and a specified object are equal. (Overrides ValueType.Equals) |
Equals(IfStatementOrElseClause)
Determines whether this instance is equal to another object of the same type.
public bool Equals(Roslynator.CSharp.IfStatementOrElseClause other)
Parameters
other IfStatementOrElseClause
An object to compare with this object.
Returns
true if the current object is equal to the other parameter; otherwise, false.
Implements
Equals(Object)
Determines whether this instance and a specified object are equal.
public override bool Equals(object obj)
Parameters
obj Object
The object to compare with the current instance.
Returns
true if obj and this instance are the same type and represent the same value; otherwise, false.