public override ICustomTypeDescriptor GetTypeDescriptor(Type type, object instance)
        {
            ICustomTypeDescriptor realTypeDescriptor     = base.GetTypeDescriptor(type, instance);
            ICustomTypeDescriptor readonlyTypeDescriptor = new ReadonlyTypeDescriptor(realTypeDescriptor);

            return(readonlyTypeDescriptor);
        }
 public override ICustomTypeDescriptor GetTypeDescriptor(Type type, object instance)
 {
     ICustomTypeDescriptor realTypeDescriptor = base.GetTypeDescriptor(type, instance);
     ICustomTypeDescriptor readonlyTypeDescriptor = new ReadonlyTypeDescriptor(realTypeDescriptor);
     return readonlyTypeDescriptor;
 }