Regardless of default settings, when a new method is added with a [TestMethod] attribute it must be public.
To make it even easier, it would be nice if we had a option pane entry which let us specify default visibility for methods which are created inside of a [TestClass] type class. That way, even if we don't have the TestMethod attribute set yet, it'll be public.
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.