global using
produces unnecessary TypeRef in output file
#68250
Labels
global using
produces unnecessary TypeRef in output file
#68250
in combination with
<OutputType>exe</OutputType>
always produces extra TypeRef in the output forNFloat
even if the alias or theNFloat
type is never used in the source code.Repro: extra-typeref.zip
Steps to reproduce:
dotnet build
mdv bin\Debug\net7.0\extra-typeref.dll
(see https://github.com/dotnet/metadata-tools for instructions on how to installmdv
).11: 0x23000002 (AssemblyRef) 'NFloat' (#283) 'System.Runtime.InteropServices' (#20d)
The text was updated successfully, but these errors were encountered: