//
using System;
+using System.ComponentModel;
using System.Configuration;
#if NET_2_0
static TrustSection ()
{
- levelProp = new ConfigurationProperty ("level", typeof (string), "Full", ConfigurationPropertyOptions.IsRequired);
+ levelProp = new ConfigurationProperty ("level", typeof (string), "Full",
+ TypeDescriptor.GetConverter (typeof (string)),
+ PropertyHelper.NonEmptyStringValidator,
+ ConfigurationPropertyOptions.IsRequired);
originUrlProp = new ConfigurationProperty ("originUrl", typeof (string), "");
processRequestInApplicationTrustProp = new ConfigurationProperty ("processRequestInApplicationTrust", typeof (bool), true);
properties = new ConfigurationPropertyCollection ();