public void ParseTheme_Deny_ControlThread()
 {
     try {
         DesignTimeTemplateParser.ParseTheme(null, "theme", "path");
     }
     catch (Exception) {
         // security exception gets hidden :-(
         Assert.Ignore("security exception gets hidden :-(");
     }
 }
 public void ParseTheme_PermitOnly_ControlThread()
 {
     DesignTimeTemplateParser.ParseTheme(null, "theme", "path");
 }