diff --git a/src/Generator/Generators/CSharp/CSharpTextTemplate.cs b/src/Generator/Generators/CSharp/CSharpTextTemplate.cs index 3fd48217..6133bb75 100644 --- a/src/Generator/Generators/CSharp/CSharpTextTemplate.cs +++ b/src/Generator/Generators/CSharp/CSharpTextTemplate.cs @@ -1284,7 +1284,7 @@ namespace CppSharp.Generators.CSharp WriteCloseBraceIndent(); } - public string GetOperatorIdentifier(CXXOperatorKind kind) + public static string GetOperatorIdentifier(CXXOperatorKind kind) { // These follow the order described in MSDN (Overloadable Operators).