machinelearning icon indicating copy to clipboard operation
machinelearning copied to clipboard

C# code generator should handle generic types.

Open yaeldekel opened this issue 8 years ago • 1 comments

Line 505 in CSharpApiGenerator throws an exception in case the type is generic, since fullTypeName contains multiple dots after the last index of '+':

name += fullTypeName.Substring(0, fullTypeName.LastIndexOf('+')).Substring(fullTypeName.LastIndexOf('.') + 1);

yaeldekel avatar May 09 '18 17:05 yaeldekel

Fixed in #102

shauheen avatar May 14 '18 14:05 shauheen