Source generator: Classes that generate files have Dir() method for getting the directory they will be placed