nested_inheritance_interface testcase enhancement

Fixes unused variable reported by C# compiler and enhance test slightly
This commit is contained in:
William S Fulton 2019-07-09 19:32:08 +01:00
commit 20d96531e3
3 changed files with 12 additions and 0 deletions

View file

@ -16,6 +16,9 @@ public class nested_inheritance_interface_runme {
return SortArrayToString(stypes.ToArray());
}
private static void takeIA(IASwigInterface ia) {
}
public static void Main() {
Type[] BNInterfaces = typeof(B.N).GetInterfaces();
string expectedInterfacesString = "IASwigInterface IDisposable";
@ -28,5 +31,6 @@ public class nested_inheritance_interface_runme {
// overloaded methods check
B.N d = new B.N();
takeIA(d);
}
}