Beispiel #1
0
 internal GetLastNodeRemoteExpression(RemoteExpression _parent_, int value) : base(_clientNodeId_.Id)
 {
     this.Parent = _parent_;
     this.value  = value;
 }
Beispiel #2
0
 internal StaticFieldRemoteExpression(RemoteExpression _parent_) : base(_clientNodeId_.Id)
 {
     this.Parent = _parent_;
 }
Beispiel #3
0
 internal LastNodeRemoteExpression(RemoteExpression _parent_) : base(_clientNodeId_.Id)
 {
     this.Parent = _parent_;
 }
Beispiel #4
0
        /// <summary>
        /// 远程表达式测试
        /// </summary>
        /// <returns></returns>
        internal static bool TestCase()
        {
            using (AutoCSer.Net.TcpOpenSimpleServer.Server server = AutoCSer.Net.TcpOpenSimpleServer.Emit.Server <IRefOut> .Create(new RefOut()))
            {
                if (server.IsListen)
                {
                    using (AutoCSer.Net.TcpOpenSimpleServer.Emit.MethodClient client = AutoCSer.Net.TcpOpenSimpleServer.Emit.Client <IRefOut> .Create() as AutoCSer.Net.TcpOpenSimpleServer.Emit.MethodClient)
                    {
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticField).Value.Value != 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticProperty).Value.Value != 2)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(3)).Value.Value != 3)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticField.Value).Value != 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticProperty.Value).Value != 2)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(3).Value).Value != 3)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(4)[3]).Value != 4 + 3)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(4).GetNextNode(2)).Value.Value != 4 + 2)
                        {
                            return(false);
                        }

                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticField.NextNode).Value.Value != 1 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode).Value.Value != 2 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode).Value.Value != 3 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticField.NextNode.Value).Value != 1 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.Value).Value != 2 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.Value).Value != 3 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(4).NextNode[3]).Value != 4 + 1 - 3)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(4).NextNode.GetLastNode(2)).Value.Value != 4 + 1 - 2)
                        {
                            return(false);
                        }

                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticField.NextNode.LastNode).Value.Value != 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.LastNode).Value.Value != 2)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.LastNode).Value.Value != 3)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticField.NextNode.LastNode.Value).Value != 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.LastNode.Value).Value != 2)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.LastNode.Value).Value != 3)
                        {
                            return(false);
                        }

                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticField.NextNode.LastNode.NextNode).Value.Value != 1 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.LastNode.NextNode).Value.Value != 2 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.LastNode.NextNode).Value.Value != 3 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticField.NextNode.LastNode.NextNode.Value).Value != 1 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.LastNode.NextNode.Value).Value != 2 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.LastNode.NextNode.Value).Value != 3 + 1)
                        {
                            return(false);
                        }

                        return(true);
                    }
                }
            }
            return(false);
        }
Beispiel #5
0
 internal StaticMethodRemoteExpression(RemoteExpression _parent_, int value) : base(_clientNodeId_.Id)
 {
     this.Parent = _parent_;
     this.value  = value;
 }
Beispiel #6
0
 internal ItemRemoteExpression(RemoteExpression _parent_, int value) : base(ReturnClientNodeId.Id)
 {
     this.Parent = _parent_;
     this.value  = value;
 }
Beispiel #7
0
 internal ValueRemoteExpression(RemoteExpression _parent_) : base(ReturnClientNodeId.Id)
 {
     this.Parent = _parent_;
 }
Beispiel #8
0
        /// <summary>
        /// 远程表达式测试
        /// </summary>
        /// <returns></returns>
        internal static bool TestCase()
        {
            using (AutoCSer.Example.TcpOpenSimpleServer.RefOut.TcpOpenSimpleServer server = new AutoCSer.Example.TcpOpenSimpleServer.RefOut.TcpOpenSimpleServer())
            {
                if (server.IsListen)
                {
                    using (AutoCSer.Example.TcpOpenSimpleServer.TcpSimpleClient.RefOut.TcpOpenSimpleClient client = new AutoCSer.Example.TcpOpenSimpleServer.TcpSimpleClient.RefOut.TcpOpenSimpleClient())
                    {
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticField).Value.Value != 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticProperty).Value.Value != 2)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(3)).Value.Value != 3)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticField.Value).Value != 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticProperty.Value).Value != 2)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(3).Value).Value != 3)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(4)[3]).Value != 4 + 3)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(4).GetNextNode(2)).Value.Value != 4 + 2)
                        {
                            return(false);
                        }

                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticField.NextNode).Value.Value != 1 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode).Value.Value != 2 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode).Value.Value != 3 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticField.NextNode.Value).Value != 1 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.Value).Value != 2 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.Value).Value != 3 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(4).NextNode[3]).Value != 4 + 1 - 3)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(4).NextNode.GetLastNode(2)).Value.Value != 4 + 1 - 2)
                        {
                            return(false);
                        }

                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticField.NextNode.LastNode).Value.Value != 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.LastNode).Value.Value != 2)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.LastNode).Value.Value != 3)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticField.NextNode.LastNode.Value).Value != 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.LastNode.Value).Value != 2)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.LastNode.Value).Value != 3)
                        {
                            return(false);
                        }

                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticField.NextNode.LastNode.NextNode).Value.Value != 1 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.LastNode.NextNode).Value.Value != 2 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.LastNode.NextNode).Value.Value != 3 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticField.NextNode.LastNode.NextNode.Value).Value != 1 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.LastNode.NextNode.Value).Value != 2 + 1)
                        {
                            return(false);
                        }
                        if (client._TcpClient_.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.LastNode.NextNode.Value).Value != 3 + 1)
                        {
                            return(false);
                        }

                        return(true);
                    }
                }
            }
            return(false);
        }
Beispiel #9
0
        /// <summary>
        /// 远程表达式测试
        /// </summary>
        /// <returns></returns>
        internal static bool TestCase()
        {
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticField).Value.Value != 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticProperty).Value.Value != 2)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(3)).Value.Value != 3)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.GenericStaticMethod(new Node1 {
                Value = 2
            })).Value != 2 + 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.GenericStaticMethod(new Node2 {
                Value = 2
            })).Value != 2 - 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.RemoteExpressionParameter(RemoteExpression.StaticField)).Value.Value != 1 + 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.Generic1).Value.Value.Value != 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.Generic2).Value.Value.Value != 2)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticField.Value).Value != 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticProperty.Value).Value != 2)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(3).Value).Value != 3)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(4)[3]).Value != 4 + 3)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(4).GetNextNode(2)).Value.Value != 4 + 2)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(4).GenericMethod(new Node1 {
                Value = 2
            })).Value != 4 + 2)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(4).GenericMethod(new Node2 {
                Value = 2
            })).Value != 4 - 2)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.Generic1.Value).Value.Value != 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.Generic2.Value).Value.Value != 2)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.Generic1.Value.Cast <Expression.Node1.RemoteExpression>()).Value.Value != 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.Generic2.Value.Cast <Expression.Node2.RemoteExpression>()).Value.Value != 2)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.Generic1.Value.Cast <Expression.Node1.RemoteExpression>().Value).Value != 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.Generic2.Value.Cast <Expression.Node2.RemoteExpression>().Value).Value != 2)
            {
                return(false);
            }

            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticField.NextNode).Value.Value != 1 + 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode).Value.Value != 2 + 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode).Value.Value != 3 + 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticField.NextNode.Value).Value != 1 + 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.Value).Value != 2 + 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.Value).Value != 3 + 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(4).NextNode[3]).Value != 4 + 1 - 3)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(4).NextNode.GetLastNode(2)).Value.Value != 4 + 1 - 2)
            {
                return(false);
            }

            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticField.NextNode.LastNode).Value.Value != 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.LastNode).Value.Value != 2)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.LastNode).Value.Value != 3)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticField.NextNode.LastNode.Value).Value != 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.LastNode.Value).Value != 2)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.LastNode.Value).Value != 3)
            {
                return(false);
            }

            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticField.NextNode.LastNode.NextNode).Value.Value != 1 + 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.LastNode.NextNode).Value.Value != 2 + 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.LastNode.NextNode).Value.Value != 3 + 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticField.NextNode.LastNode.NextNode.Value).Value != 1 + 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.LastNode.NextNode.Value).Value != 2 + 1)
            {
                return(false);
            }
            if (TcpStaticClient.Example1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.LastNode.NextNode.Value).Value != 3 + 1)
            {
                return(false);
            }
            return(true);
        }
Beispiel #10
0
        /// <summary>
        /// 远程表达式测试
        /// </summary>
        /// <returns></returns>
        internal static bool TestCase()
        {
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticField).Value.Value != 1)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticProperty).Value.Value != 2)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(3)).Value.Value != 3)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticField.Value).Value != 1)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticProperty.Value).Value != 2)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(3).Value).Value != 3)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(4)[3]).Value != 4 + 3)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(4).GetNextNode(2)).Value.Value != 4 + 2)
            {
                return(false);
            }

            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticField.NextNode).Value.Value != 1 + 1)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode).Value.Value != 2 + 1)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode).Value.Value != 3 + 1)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticField.NextNode.Value).Value != 1 + 1)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.Value).Value != 2 + 1)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.Value).Value != 3 + 1)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(4).NextNode[3]).Value != 4 + 1 - 3)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(4).NextNode.GetLastNode(2)).Value.Value != 4 + 1 - 2)
            {
                return(false);
            }

            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticField.NextNode.LastNode).Value.Value != 1)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.LastNode).Value.Value != 2)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.LastNode).Value.Value != 3)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticField.NextNode.LastNode.Value).Value != 1)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.LastNode.Value).Value != 2)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.LastNode.Value).Value != 3)
            {
                return(false);
            }

            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticField.NextNode.LastNode.NextNode).Value.Value != 1 + 1)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.LastNode.NextNode).Value.Value != 2 + 1)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.LastNode.NextNode).Value.Value != 3 + 1)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticField.NextNode.LastNode.NextNode.Value).Value != 1 + 1)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticProperty.NextNode.LastNode.NextNode.Value).Value != 2 + 1)
            {
                return(false);
            }
            if (TcpStaticStreamClient.StreamExample1.TcpClient.GetRemoteExpression(RemoteExpression.StaticMethod(3).NextNode.LastNode.NextNode.Value).Value != 3 + 1)
            {
                return(false);
            }
            return(true);
        }