Exemplo n.º 1
0
        void CreateParameter(string code)
        {
            AddCodeFile("class.cs", code);
            IMethod method = assemblyModel
                .TopLevelTypeDefinitions
                .First()
                .Members
                .First()
                .Resolve() as IMethod;

            IParameter member =  method.Parameters.First();
            parameter = new CodeParameter2(codeModelContext, member);
        }
Exemplo n.º 2
0
		void CreateParameter()
		{
			parameter = new CodeParameter2(null, helper.Parameter);
		}