using System.Security.Permissions;
-namespace System.Web.UI {
-
- [Obsolete ("Use the System.Convert class and String.Format instead", false)]
+namespace System.Web.UI
+{
+ [Obsolete ("The recommended alternative is System.Convert and String.Format. http://go.microsoft.com/fwlink/?linkid=14202")]
// CAS - no InheritanceDemand here as the class is sealed
- [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
- public sealed class ObjectConverter {
-
+ public sealed class ObjectConverter
+ {
public ObjectConverter ()
{
}