string GetExpressionPath(RemoteValueFake remoteValue)
        {
            string expressionPath;

            Assert.True(remoteValue.GetExpressionPath(out expressionPath));
            return(expressionPath);
        }
Esempio n. 2
0
        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);
        }