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

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

public Equals ( object o ) : bool
o object
Результат bool
        public override bool Equals(object o)
        {
            if (o == this)
            {
                return true;
            }
            else
            {
                if (!(o is Antlr4.Runtime.Atn.SingletonPredictionContext))
                {
                    return false;
                }
            }
            if (this.GetHashCode() != o.GetHashCode())
            {
                return false;
            }
			Antlr4.Runtime.Atn.SingletonPredictionContext other = (Antlr4.Runtime.Atn.SingletonPredictionContext)o;
            return returnState == other.returnState && parent.Equals(other.parent);
        }