Skip to main content

IfStatementCascadeInfo.Equals Method

Containing Type: IfStatementCascadeInfo

Assembly: Roslynator.CSharp.dll

Overloads​

MethodSummary
Equals(IfStatementCascadeInfo)Determines whether this instance is equal to another object of the same type. (Implements IEquatable<IfStatementCascadeInfo>.Equals)
Equals(Object)Determines whether this instance and a specified object are equal. (Overrides ValueType.Equals)

Equals(IfStatementCascadeInfo)​

Determines whether this instance is equal to another object of the same type.

public bool Equals(Roslynator.CSharp.IfStatementCascadeInfo other)

Parameters​

other   IfStatementCascadeInfo

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.