Some of the NUnits tests use System.CodeDom to compile an in-memory assembly for the purpose of testing assembly-level attributes. This only works on .NET Framework. Roslyn is suggested for new development and is cross-platform. We should look into moving towards the Roslyn APIs for in-memory dynamic assembly generation in the tests and to try to get those tests running against all our targeted runtimes.