public void TestSimpleClass() { string[] expected = { "'this is a comment", "''' this is a doc comment", "Namespace Test.Namespace", " ''' this is a doc comment", " ''' this is a doc comment", " Friend Class TestClass", " Private count As Integer", "", " Private Protected increment As Integer", "", " Public Property Prop As Integer", " Get", " Return increment", " End Get", " Set", " increment = Value", " End Set", " End Property", "", " Public Overridable WriteOnly Property Prop2 As Integer", " Set", " Throw New Exception()", " End Set", " End Property", "", " Protected Sub New(ByVal count As Integer, ByVal increment As Integer)", " Me.count = count", " Me.increment = increment", " End Sub", "", " 'this is a comment", " Protected Friend Function IncrementAndGet() As Integer", " 'this is a comment", " count = count + increment", " Return count", " End Function", " End Class", "End Namespace" }; ProviderTestUtils.DoVisualBasicTest(expected, ProviderTestUtils.TestSimpleClassCompileUnit()); }