I am dealing with an existing C# codebase of a dotnet application running under Windows. One task is to make it running under different OSs (e.g. Linux). To get a first running version, I had to make changes to the code, for example in some cases there were paths calculated without using System.IO Calls but directly embedding path separators, that failed when running on Linux.
Are there tools or code analysers that can automatically parse a C# codebase and find out potential cross-platform issue?
If not, does anyone know a way to find out such potential issues with full coverage, without reading the code line by line?