MichalStrehovsky / zerosharp

Demo of the potential of C# for systems programming with the .NET native ahead-of-time compilation technology.
2.02k stars 105 forks source link

Fix unmanaged in the efinoruntime project #16

Closed 333fred closed 3 years ago

333fred commented 3 years ago

Roslyn is very particular about the shape of the RuntimeFeature class: it must be both in the assembly that defines System.Object and be a static class. Just a class doesn't cut it. I also added LangVersion 9 to the project file to get rid of the langversion error when opening the csproj in VS or VSCode.