interoptopus_csharp 0.16.0-alpha.11

The C# backend for Interoptopus.
Documentation
using My.Company;
using Xunit;

public class TestArrayChars
{
    // [Fact]
    // public void char_array_1()
    // {
    //     var result = Interop.char_array_1();
    //     Assert.Equal("Hello, World!", result.str);
    // }
    //
    // [Fact]
    // public void char_array_2()
    // {
    //     var result = Interop.char_array_2(new CharArray
    //     {
    //         str = "Hello",
    //         str_2 = "World"
    //     });
    //     Assert.Equal("Hello", result.str);
    //     Assert.Equal("World", result.str_2);
    // }
    //
    // [Fact]
    // public void char_array_2_throws()
    // {
    //     Assert.Throws<System.InvalidOperationException>(() => Interop.char_array_2(new CharArray
    //     {
    //         str = "Hello, World! Hello, World! Hello, World! Hello, World!"
    //     }));
    // }
    //
    // [Fact]
    // public void char_array_3()
    // {
    //     var arr = new CharArray
    //     {
    //         str = "Hello",
    //         str_2 = "World"
    //     };
    //     var result = Interop.char_array_3(ref arr);
    //     Assert.Equal((byte)'H', result);
    // }
}