diff --git a/src/Generator/Generators/CSharp/CSharpTextTemplate.cs b/src/Generator/Generators/CSharp/CSharpTextTemplate.cs index 868e53e6..5e9649f3 100644 --- a/src/Generator/Generators/CSharp/CSharpTextTemplate.cs +++ b/src/Generator/Generators/CSharp/CSharpTextTemplate.cs @@ -2302,7 +2302,7 @@ namespace CppSharp.Generators.CSharp var index = overloads.IndexOf(function); if (index >= 0) - identifier += index.ToString(CultureInfo.InvariantCulture); + identifier += "_" + index.ToString(CultureInfo.InvariantCulture); return identifier; }