You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Migrate in-memory assembly generation in the tests to run on all runtimes #5131
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.
changed the title [-]Migrate in-memory assembly generation in the tests from using System.CodeDom to using Roslyn[/-][+]Migrate in-memory assembly generation in the tests from using System.CodeDom to using Roslyn APIs[/+]on Feb 19, 2026
changed the title [-]Migrate in-memory assembly generation in the tests from using System.CodeDom to using Roslyn APIs[/-][+]Migrate in-memory assembly generation in the tests to run on all runtimes[/+]on Feb 20, 2026
NOTE: I had tried to just "do this" as part of #5125 but found I struggled with dependency issues at the time and wanted to move on to testing the new attribute itself
Activity
[-]Migrate in-memory assembly generation in the tests from using System.CodeDom to using Roslyn[/-][+]Migrate in-memory assembly generation in the tests from using System.CodeDom to using Roslyn APIs[/+][-]Migrate in-memory assembly generation in the tests from using System.CodeDom to using Roslyn APIs[/-][+]Migrate in-memory assembly generation in the tests to run on all runtimes[/+]stevenaw commentedon Feb 20, 2026
NOTE: I had tried to just "do this" as part of #5125 but found I struggled with dependency issues at the time and wanted to move on to testing the new attribute itself
manfred-brands commentedon Feb 25, 2026
Yes, you should not combine unrelated changes in on PR.
I have asked Copilot to convert System.CodeDom to Roslyn.
With some tweaking it seems to work.