I have written the following code as my first test in nUnit.
Public Class Tests
<TestFixture()>
Private Class TranslationTest
<Test()>
Private Sub LanguageTest()
Dim stringToTest As String = "Tower Count"
strLanguageText(stringToTest, LanguageIDs.English, 0)
Assert.Equals("Tower Count")
End Sub
End Class
End Class
Intellisense is saying that both the strLanguageText method and the LanguageIDs.Enlish enum are "not accessible in this context because it is 'Public'". I can understand something not being accessible because its modifier is Private, but why would having a modifier of Public prevent it from being accessible by the test?