string GetExpressionPath(RemoteValueFake remoteValue)
        {
            string expressionPath;

            Assert.True(remoteValue.GetExpressionPath(out expressionPath));
            return(expressionPath);
        }
        public virtual bool GetExpressionPath(out string path)
        {
            string parentPath = "";

            parent?.GetExpressionPath(out parentPath);

            var op = "";

            if (parent != null && !name.StartsWith("["))
            {
                op = parent.TypeIsPointerType() ? "->" : ".";
            }
            path = $"{parentPath}{op}{name}";
            return(true);
        }