Jurassic.Compiler.NameExpression.Equals C# (CSharp) Method

Equals() public method

Determines if the given object is equal to this one.
public Equals ( object obj ) : bool
obj object The object to compare.
return bool
        public override bool Equals(object obj)
        {
            if ((obj is NameExpression) == false)
                return false;
            return this.Name == ((NameExpression)obj).Name && this.Scope == ((NameExpression)obj).Scope;
        }