ShaderTools.Hlsl.Symbols.Symbol.EqualsImpl C# (CSharp) Method

EqualsImpl() protected method

protected EqualsImpl ( Symbol other ) : bool
other Symbol
return bool
        protected bool EqualsImpl(Symbol other)
        {
            return Kind == other.Kind
                && string.Equals(Name, other.Name)
                && (Parent == null) == (other.Parent == null)
                && (Parent == null || Parent.EqualsImpl(other.Parent));
        }