示例#1
0
        //MethodDeclarationSyntax (ParameterSyntax)
        public void F(int i1, int i2)
        {
            string s = "balh"; // VariableDeclarator
            Console.WriteLine(s + i1 + i2);

            Datastrucutre ds = new Datastrucutre();
            ds.att2 = "asdd";       //SimpleMemberAccessExpression
            string blub = ds.att2;  //SimpleMemberAccessExpression
        }
示例#2
0
        public void F(int i1, int i2) //MethodDeclarationSyntax (ParameterSyntax)
        {
            string s = "balh";        // VariableDeclarator

            Console.WriteLine(s + i1 + i2);


            Datastrucutre ds = new Datastrucutre();

            ds.att2 = "asdd";       //SimpleMemberAccessExpression
            string blub = ds.att2;  //SimpleMemberAccessExpression
        }