dotnet / dotnet/fsharp

Support for UnmanagedCallersOnlyAttribute Class.

Open
#18,445 3 comments 0 reactions 0 assignees View on GitHub
Area-Compiler-ImportAndInterop Feature Request Needs-design Needs-RFC
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 11h
Merged PRs (30d)
131

Description

**Is your feature request related to a problem? Please describe.**

The Vulkan API provides a debug listener which requires a user-provided native callback method to handle the debug messages.

**Describe the solution you'd like**

I would like support for the UnmanagedCallersOnlyAttribute Class to be added to the FSharp Compiler so that Vulkan users can use UnmanagedCallersOnly to implement the callback method in FSharp like they can in CSharp.

**Describe alternatives you've considered**

The workaround is to add a CSharp project to our FSharp software just to get this debugging feature.

Thank you in advance,
Dean.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.