Fixed multi-dimension argument / return type (#55)

* Fixed multi dimension array arguments

* .

* .

* .

* ,
This commit is contained in:
Stef Heyenrath
2023-02-21 19:10:03 +01:00
committed by GitHub
parent 196db037ab
commit 65d1d801ce
8 changed files with 36 additions and 8 deletions
@@ -54,6 +54,8 @@ namespace ProxyInterfaceSourceGeneratorTests.Source
void In_Out_Ref1(in int a, out int b, ref int c);
double[,] Out_MultiDimensionIssue54(out double[,] x);
bool Generic2<T1, T2>(int x, T1 t1, T2 t2) where T1 : struct where T2 : class, new();
System.Threading.Tasks.Task Method1Async();
@@ -110,6 +110,14 @@ namespace ProxyInterfaceSourceGeneratorTests.Source
b = b_;
}
public double[,] Out_MultiDimensionIssue54(out double[,] x)
{
double[,] x_;
var result_692039870 = _Instance.Out_MultiDimensionIssue54(out x_);
x = x_;
return result_692039870;
}
public bool Generic2<T1, T2>(int x, T1 t1, T2 t2) where T1 : struct where T2 : class, new()
{
int x_ = x;