Antlr4.Runtime.Atn.PredictionContextCache.IdentityCommutativePredictionContextOperands.Equals C# (CSharp) Метод

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool
            public override bool Equals(object obj)
            {
                if (!(obj is PredictionContextCache.IdentityCommutativePredictionContextOperands))
                {
                    return false;
                }
                else
                {
                    if (this == obj)
                    {
                        return true;
                    }
                }
                PredictionContextCache.IdentityCommutativePredictionContextOperands other = (PredictionContextCache.IdentityCommutativePredictionContextOperands)obj;
                return (this.x == other.x && this.y == other.y) || (this.x == other.y && this.y == other.x);
            }
PredictionContextCache.IdentityCommutativePredictionContextOperands