Repro steps
// Shows as unused; the unused opens analyzer will suggest removing it.
open type System.DayOfWeek
// …Even though it's used.
let monday = Monday
Expected behavior
The open type declaration for an enum should be considered used if any of its enum cases are used unqualified.
Actual behavior
The open type declaration for an enum is considered unused even when one or more of its enum cases are used.
Known workarounds
N/A.
Related information
.NET 8, 9.