Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 1
    What do you mean by "The API is not exposed through methods?" Is this class intended to be used via the Reflection API? Commented Aug 10, 2011 at 16:26
  • 5
    A compiler error? Why not just throw an exception in constructor? Commented Aug 10, 2011 at 16:32
  • Sorry for the confusion. I have edited my post. Commented Aug 10, 2011 at 16:33
  • connect.microsoft.com/VisualStudio/feedback/details/108427/… Commented Aug 10, 2011 at 17:33
  • 1
    You can't make the class private, but you can make its constructor private. Commented Aug 11, 2011 at 12:15