Issue description
The following module generates a 3261 warning:
module rec M
open System.Collections.Generic
[<Struct>]
type Hole = Hole of string with
member this.Value =
let (Hole value) = this in value
type Substitution = Dictionary<Hole,obj>
If you change the first line to module M, there is no warning.
Choose one or more from the following categories of impact
Operating System
Windows (Default)
What .NET runtime/SDK kind are you seeing the issue on
.NET SDK (.NET Core, .NET 5+)
.NET Runtime/SDK version
.NET 10
Reproducible code snippet and actual behavior
No response
Possible workarounds
No response
Issue description
The following module generates a 3261 warning:
If you change the first line to
module M, there is no warning.Choose one or more from the following categories of impact
nullconstructs in code not using the checknulls switch.null,not null).Operating System
Windows (Default)
What .NET runtime/SDK kind are you seeing the issue on
.NET SDK (.NET Core, .NET 5+)
.NET Runtime/SDK version
.NET 10
Reproducible code snippet and actual behavior
No response
Possible workarounds
No response