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
{{ message }}
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.
It is unfortunate that C# can't call the methods in FSharpReflectionExtensions just because of the compile names containing a .. This is definitely something we need to fix as it is important for core C# libraries to be able to do this. As a workaround you could call them via reflection I believe?
Some FSharpType and FSharpValue methods are defined by F# Type Extensions.
However, C# can not access F# Type Extensions.
And Some methods are not defined in .NET Core( https://github.com/fsharp/fsharp/blob/4.1.0.0/src/fsharp/FSharp.Core/reflect.fsi#L266 ).
Repro steps
dotnet new classlib -lang C#
and add<PackageReference Include="FSharp.Core" Version="4.1.0" />
.Call
Microsoft.FSharp.Reflection.FSharpType.IsRecoed
Expected behavior
Build succeeded.
Actual behavior
Related information
sample project: https://github.com/pocketberserker/FSharpNETCoreSandbox/tree/2fdd6fa60cb3989458f96e77a0265064593e9ae7
The text was updated successfully, but these errors were encountered: