PdfSharpCore
PdfSharpCore copied to clipboard
modernize code
- [ ] String -> string
- [ ] make build warning free (ev.
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>) - [ ] make use of
nullablefeature (needs C# 8)<LangVersion>8.0</LangVersion> <Nullable>enable</Nullable> - [ ] StyleCop or something similar
Please use nullable. We found a silly bug that happened I believe because nullable reference types aren't used. The string we passed was a string? but Visual Studio nor VSCode flagged it when passed to .AddParagraph it seems because PdFSharpCore is still not using nullable reference types.