Closed SlyCedix closed 9 months ago
The only test that is still platform dependent now is the MultipleFileGeneration test, could be fixed by enforcing the use of a specific line ending on the writer in MultipleFileGenerationContext.InitializeNewSourceCodeFile. Though this could cause problems if \n
was used on a system which uses \r
Add functions WriteNamespaceStart and WriteNamespaceEnd to GenerationContext to support FileScopedNamespaces in both contexts.
Changes some indentation logic to further support this
Update unit tests to call GenerationContext constructor correctly
Unit tests made line ending agnostic with StringCompareShould.IgnoreLineEndings