Using unsafe struct VL

Hi, i have some unsafe struct eg:

public unsafe struct YGNode : IDisposable
{
    /// <inheritdoc cref="Interop.YGNodeNew()"/>
    public static YGNode* New()
    {
        return Interop.YGNodeNew();
    }
}

I’m trying to use it in VL:

   public static class NodesTest
   {
       // Seems to be never picked up if returns unsafe pointer
       public static unsafe YGNode* Create() => YGNode.New();
   }

however VL seems to never recognize that:

test project: https://github.com/antokhio/YogaSharpVL

unsafe is one of the few C# keywords that does not have an equivalent in vl. so in this case you’d have to write a c# wrapper around it and then use that in vl.

Did a test to wrap it like so:

public class YogaNode
{
    private unsafe YGNode* _node;

    public YogaNode()
    {
        unsafe
        {
            _node = YGNode.New();
        }
    }
}

But now i’m getting:

Witch is kinda strange, any tips welcome ;)