template C# code generation is not correct.
Brought to you by:
niklauslee
When having a "template" class we want to generate the "C#" code equivalent, the output is not correct, It skips the generic declaration.
Actual Result: for a single wrapper template class, it generates the following code:
public class Wrapper {
public void SetData(T aData){
}
public T GetData(){
}
}
Expected result: It should generate the generic declaration as below:
public class Wrapper<t> {
public void SetData(T aData){
}
public T GetData(){
}
}</t>
Please see this attachment, it includes the project with a single class, also the c# output file. Notice that it generates properly for C++