Skip to main content

IfStatementOrElseClause.Equals Method

Containing Type: IfStatementOrElseClause

Assembly: Roslynator.CSharp.dll

Overloads​

MethodSummary
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​

Boolean

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​

Boolean

true if obj and this instance are the same type and represent the same value; otherwise, false.