https://bugs.winehq.org/show_bug.cgi?id=37998
Bug ID: 37998 Summary: Wine-mono: Type.GetType("Mono.Runtime", false) is not null, confuse runtime detection code like NUnit Product: Wine Version: 1.7.35 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: mscoree Assignee: wine-bugs@winehq.org Reporter: fracting@gmail.com Distribution: ---
In NUnit, src/NUnitCore/interfaces/RuntimeFramework.cs,
the application use `Type monoRuntimeType = Type.GetType("Mono.Runtime", false); ` to detect C# runtime, wine mono is detected as mono, but wine mono is not mono, which brings some strange failure later.
On Microsoft .Net Framework, Type.GetType("Mono.Runtime", false) should return null.