private void Test(Type ctrlType)
 {
     try
     {
         this.GHTSubTestBegin(ctrlType, "Default naming container");
         this.GHTSubTestAddResult(this.TestedControl.NamingContainer.ID);
     }
     catch (Exception exception3)
     {
         // ProjectData.SetProjectError(exception3);
         Exception exception1 = exception3;
         this.GHTSubTestUnexpectedExceptionCaught(exception1);
         // ProjectData.ClearProjectError();
     }
     this.GHTSubTestEnd();
     try
     {
         this.GHTSubTestBegin(ctrlType, "Custom naming container", false);
         TestNamingContainer container1 = new TestNamingContainer();
         container1.ID = ctrlType.ToString() + "custom_test_naming_container";
         container1.Controls.Add(this.TestedControl);
         this.HandleValidationControls(this.TestedControl);
         base.GHTActiveForm.Controls.Add(container1);
         this.GHTSubTestAddResult("NamingContainer.UniqueID: " + this.TestedControl.NamingContainer.UniqueID);
         this.GHTSubTestAddResult("NamingContainer.Type: " + this.TestedControl.NamingContainer.GetType().ToString());
     }
     catch (Exception exception4)
     {
         // ProjectData.SetProjectError(exception4);
         Exception exception2 = exception4;
         this.GHTSubTestUnexpectedExceptionCaught(exception2);
         // ProjectData.ClearProjectError();
     }
     this.GHTSubTestEnd();
 }
		private void Test(Type ctrlType)
		{
			try
			{
				this.GHTSubTestBegin(ctrlType, "Default naming container");
				this.GHTSubTestAddResult(this.TestedControl.NamingContainer.ID);
			}
			catch (Exception exception3)
			{
				// ProjectData.SetProjectError(exception3);
				Exception exception1 = exception3;
				this.GHTSubTestUnexpectedExceptionCaught(exception1);
				// ProjectData.ClearProjectError();
			}
			this.GHTSubTestEnd();
			try
			{
				this.GHTSubTestBegin(ctrlType, "Custom naming container", false);
				TestNamingContainer container1 = new TestNamingContainer();
				container1.ID = ctrlType.ToString() + "custom_test_naming_container";
				container1.Controls.Add(this.TestedControl);
				this.HandleValidationControls(this.TestedControl);
				base.GHTActiveForm.Controls.Add(container1);
				this.GHTSubTestAddResult("NamingContainer.UniqueID: " + this.TestedControl.NamingContainer.UniqueID);
				this.GHTSubTestAddResult("NamingContainer.Type: " + this.TestedControl.NamingContainer.GetType().ToString());
			}
			catch (Exception exception4)
			{
				// ProjectData.SetProjectError(exception4);
				Exception exception2 = exception4;
				this.GHTSubTestUnexpectedExceptionCaught(exception2);
				// ProjectData.ClearProjectError();
			}
			this.GHTSubTestEnd();
		}