You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ExperimentalAttribute on a class in a C# library causes expected errors in C# consumer projects.
But this attribute seems to be ignored in F# consumer projects.
The
ExperimentalAttribute
on a class in a C# library causes expected errors in C# consumer projects.But this attribute seems to be ignored in F# consumer projects.
Repro steps
Please see the attached solution with 3 projects
2025-01-03-0427-ExperimentalAttribute.zip
MyLib
, the library withClass1
withExperimentalAttribute
MyAppCSharp
, the C# project usingClass1
MyAppFSharp
, the F# project usingClass1
Expected behavior
Compiling both
MyAppCSharp
andMyAppFSharp
should cause the errorActual behavior
MyAppFSharp
compiles with no errors or warnings.(C# project shows the error as expected)
Known workarounds
None.
Related information
The text was updated successfully, but these errors were encountered: