Hello everyone!
To tell the long story short, to make OS-specific monikers like net5.0-windows work with BenchmarkDotnet I need to detect (preferably using reflection) that given .dll is using an OS-specific moniker. (more details dotnet/BenchmarkDotNet#1535)
Is it somehow possible?
Repro:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0-windows</TargetFramework>
</PropertyGroup>
</Project>
ILSpy gives me:

No information indicates that it's windows-specific.
cc @wli3 @buyaa-n