Example #1
0
        public void Validate(CSharpCompilation compilation, CSharpSyntaxTree tree, SemanticModel model, Assembly assembly)
        {
            var className = "CountryInfo";

            CSharpCommonValidator.ValidateClass(tree, model, className);
            CSharpCommonValidator.ValidateProperties(tree, model, Lesson3CommonValidator.CreateStep8Properties());
        }
        public void Validate(CSharpCompilation compilation, CSharpSyntaxTree tree, SemanticModel model,
                             Assembly assembly)
        {
            var taskdata = "TaskData";

            CSharpCommonValidator.ValidateClass(tree, model, taskdata);

            List <Property> propertiesToValidate = Lesson2CommonValidator.CreateStep5Properties();

            CSharpCommonValidator.ValidateProperties(tree, model, propertiesToValidate);
        }