P
Paul Hatcher
I'm porting a Java app and re-structuring it slightly to put the test cases
into a separate assembly from the actual code. The conversion wizard creates
a file with a class called SupportClass which has public visibility and also
some public inner classes.
If I move this class into another project (as it's needed by both code and
test) I get an error saying SupportClass can't be used due to it's
visibility. Is it the class that inner classes only have internal visibility
even if they have been marked public or is something else going on?
Regards
Paul
into a separate assembly from the actual code. The conversion wizard creates
a file with a class called SupportClass which has public visibility and also
some public inner classes.
If I move this class into another project (as it's needed by both code and
test) I get an error saying SupportClass can't be used due to it's
visibility. Is it the class that inner classes only have internal visibility
even if they have been marked public or is something else going on?
Regards
Paul