// all instances of this class are singletons public override bool Equals(ConstantValue other) { return(base.Equals(other) && _paramSymbol.Equals(other.TypeParameter)); }