Building a fsharp project using MSBUILD with in the projectlevel the warninglevel set to 5 will result in a false error
- Dominant language
- F#
- Stars
- 4.3k
- Forks
- 876
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 131
Description
**Repro steps**
So we have a solution with multiple .Net 6 Fsharp projects. In one of the projects the warning level is set to 5:

And here we have the following code where an warning is reported:

When building this project in MSBuild, the following warning is shown:

**Expected behavior**
No warning is expected, since it does not make sense to name an unit parameter.
**Actual behavior**
a warning is shown that an unit parameter should also be named.
**Known workarounds**
-
**Related information**
Provide any related information (optional):
* Operating system
* .NET Runtime kind (.NET Core, .NET Framework, Mono)
*

* Editing Tools (e.g. Visual Studio Version, Visual Studio)
Contributor guide
Assessment
This issue has not been assessed yet.