|
|
@ -2376,13 +2376,13 @@ namespace CppSharp.Generators.CSharp |
|
|
|
if (method != null) |
|
|
|
if (method != null) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (method.IsConstructor) |
|
|
|
if (method.IsConstructor) |
|
|
|
functionName = "ctor_"; |
|
|
|
functionName = "ctor"; |
|
|
|
else if (method.IsCopyConstructor) |
|
|
|
else if (method.IsCopyConstructor) |
|
|
|
functionName = "cctor_"; |
|
|
|
functionName = "cctor"; |
|
|
|
else if (method.IsDestructor) |
|
|
|
else if (method.IsDestructor) |
|
|
|
functionName = "dtor_"; |
|
|
|
functionName = "dtor"; |
|
|
|
|
|
|
|
else |
|
|
|
functionName += GetMethodIdentifier(method); |
|
|
|
functionName = GetMethodIdentifier(method); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var identifier = SafeIdentifier(functionName); |
|
|
|
var identifier = SafeIdentifier(functionName); |
|
|
|