NativeSymbolAttributes inside interfaces inherited by a mixed mode class don't work.
morguldir opened this issue · 0 comments
morguldir commented
Describe the bug
NativeSymbol only works inside classes when using a mixed mode class, not inside interfaces
To Reproduce
Steps to reproduce the behavior:
- Create an interface implementing a function with a different name than the entrypoint.
- Add a NativeSymbol attribute containing the actual entrypoint.
- Create an abstract class inheriting from the interface and create an abstract equivalant function.
- Activate the class.
See https://github.com/Firwood-Software/AdvanceDLSupport/blob/master/docs/mixed_mode_classes.md
Expected behavior
The entrypoint is the same as the one in NativeSymbolAttribute inside interfaces.
Desktop (please complete the following information):
- OS: Linux
- Runtime: .NET Core
- Version: 2.2.0