public void TestEnum() { string[] expected = { "Namespace Test.Namespace", " Public Enum TestEnum", " A", " B", " C = 5", " <System.SerializableAttribute>", " D", " End Enum", "End Namespace" }; ProviderTestUtils.DoVisualBasicTest(expected, ProviderTestUtils.TestEnumCompileUnit()); }
public void TestEnum() { string[] expected = new string[] { "namespace Test.Namespace", "{", " public enum TestEnum", " {", " A,", " B,", " C = 5,", " [System.SerializableAttribute]", " D", " }", "}" }; ProviderTestUtils.DoCSharpTest(expected, ProviderTestUtils.TestEnumCompileUnit()); }