diff --git a/src/Generator/Generators/CSharp/CSharpTextTemplate.cs b/src/Generator/Generators/CSharp/CSharpTextTemplate.cs index 4e67fbcb..35f63b22 100644 --- a/src/Generator/Generators/CSharp/CSharpTextTemplate.cs +++ b/src/Generator/Generators/CSharp/CSharpTextTemplate.cs @@ -5,7 +5,6 @@ using System.IO; using System.Linq; using System.Text; using CppSharp.AST; -using CppSharp.Utils; using Type = CppSharp.AST.Type; namespace CppSharp.Generators.CSharp @@ -915,10 +914,10 @@ namespace CppSharp.Generators.CSharp } NewLine(); WriteStartBraceIndent(); - Method method = function as Method; + var method = function as Method; if (method != null && method.IsOverride && method.IsSynthetized) { - GenerateVirtualTableFunctionCall(function, @class); + GenerateVirtualTableFunctionCall(function, @class); } else {