Add support for generics (#20)

* wip

* .

* method

* TT

* TT

* .

* .

* mp
This commit is contained in:
Stef Heyenrath
2021-08-01 10:34:25 +02:00
committed by GitHub
parent 296988b13f
commit 390093d007
18 changed files with 322 additions and 169 deletions
@@ -27,6 +27,13 @@ namespace ProxyInterfaceConsumer
public IMyInterface MyInterface { get; set; }
public bool TMethod<T1, T2>(int x, T1 t1, T2 t2)
where T1 : struct
where T2 : class, new()
{
return true;
}
public int DefaultValue(int x = 100)
{
return x + 1;