Notify Developer of a "DO NOT USE" Method
===

OK, I know what you're thinking, "why write a method you do not want people to use?" Right?

Well, in short, I have a class that needs to be serialized to XML. In order for the *XmlSerializer* to do its magic, the class must have a default, empty constructor:

    public class MyClass
    {
      public MyClass()
      {
        // required for xml serialization
      }
    }

So, I need to have it, but I don't want people to *use* it, so **is there any attribute that can be use to mark the method as "DO NOT USE"?**

I was thinking of using the *Obsolete* attribute (since this can stop the build), but that just seems kinda "wrong", is there any other way of doing this, or do I need to go ahead and bite the bullet? :)