|
|
@ -2034,9 +2034,8 @@ namespace CppSharp.Generators.CSharp |
|
|
|
{ |
|
|
|
{ |
|
|
|
var identifier = SafeIdentifier(function.Name);; |
|
|
|
var identifier = SafeIdentifier(function.Name);; |
|
|
|
|
|
|
|
|
|
|
|
var method = function as Method; |
|
|
|
if (function.IsOperator) |
|
|
|
if (method != null && method.IsOperator) |
|
|
|
identifier = "Operator" + function.OperatorKind.ToString(); |
|
|
|
identifier = "Operator" + method.OperatorKind.ToString(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var overloads = function.Namespace.GetFunctionOverloads(function) |
|
|
|
var overloads = function.Namespace.GetFunctionOverloads(function) |
|
|
|
.ToList(); |
|
|
|
.ToList(); |
|
|
|