public void Protected() { CodeGeneratorTest cg = new CodeGeneratorTest(); // test protected (but not abstract) stuff from within the class itself cg.TestProtectedProperties(); cg.TestProtectedMethods(); }
public void Public() { CodeGeneratorTest cg = new CodeGeneratorTest(); try { cg.GenerateCodeFromMember(new CodeTypeMember(), writer, null); } catch (NotImplementedException) { // mono } }
public void Protected () { CodeGeneratorTest cg = new CodeGeneratorTest (); // test protected (but not abstract) stuff from within the class itself cg.TestProtectedProperties (); cg.TestProtectedMethods (); }
public void Public () { CodeGeneratorTest cg = new CodeGeneratorTest (); try { cg.GenerateCodeFromMember (new CodeTypeMember (), writer, null); } catch (NotImplementedException) { // mono } }