Fix "ref" parameter (#61)

This commit is contained in:
Stef Heyenrath
2023-03-02 11:02:00 +01:00
committed by GitHub
parent af99f41dc9
commit e0ff3e4d54
10 changed files with 34 additions and 15 deletions
@@ -76,10 +76,8 @@ namespace ProxyInterfaceSourceGeneratorTests.Source
public void In_Out_Ref1(in int a, out int b, ref int c)
{
int a_ = a;
int b_;
int c_ = c;
_Instance.In_Out_Ref1(in a_, out b_, ref c_);
_Instance.In_Out_Ref1(in a, out b_, ref c);
b = b_;
}
@@ -103,10 +103,8 @@ namespace ProxyInterfaceSourceGeneratorTests.Source
public void In_Out_Ref1(in int a, out int b, ref int c)
{
int a_ = a;
int b_;
int c_ = c;
_Instance.In_Out_Ref1(in a_, out b_, ref c_);
_Instance.In_Out_Ref1(in a, out b_, ref c);
b = b_;
}