Generate structs for structs and fix struct out parameter if known (#8)

* Generate structs for structs and fix struct out parameter if known

* fmt
This commit is contained in:
Adam Hathcock
2024-06-17 17:04:52 +01:00
committed by GitHub
parent c6960c7370
commit a6b99abd13
28 changed files with 510 additions and 98 deletions
@@ -1,6 +1,17 @@
namespace ProxyInterfaceSourceGeneratorTests.Source;
public struct MyStruct
{
public int Id { get; set; }
public bool TryGetMyStruct2(int i, out MyStruct2 x, double z)
{
x = default;
return true;
}
}
public struct MyStruct2
{
public int Id { get; set; }
}