1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

add (already implemented) support for interfaces

This commit is contained in:
Kevin Glynn 2011-01-04 14:12:05 +01:00
parent 7eed951d54
commit 186cc6aaf8

View File

@ -168,6 +168,12 @@ namespace UpdateTxFiles
upgrade(klass, res);
return res;
}
OldTSpace.InterfaceRepTemplate iface = inTemplate as OldTSpace.InterfaceRepTemplate;
if (iface != null) {
NewTSpace.InterfaceRepTemplate res = new NewTSpace.InterfaceRepTemplate();
upgrade(iface, res);
return res;
}
throw new System.NotImplementedException(inTemplate.GetType().ToString());
}