From 9f3fc258891bf50834e52b862b898c509fdaba62 Mon Sep 17 00:00:00 2001 From: Dimitar Dobrev Date: Mon, 24 Aug 2020 02:55:35 +0300 Subject: [PATCH] Improve the name of a generating method Signed-off-by: Dimitar Dobrev --- src/Generator/Generators/CSharp/CSharpSources.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Generator/Generators/CSharp/CSharpSources.cs b/src/Generator/Generators/CSharp/CSharpSources.cs index 8d1e22cf..89b175ae 100644 --- a/src/Generator/Generators/CSharp/CSharpSources.cs +++ b/src/Generator/Generators/CSharp/CSharpSources.cs @@ -837,7 +837,7 @@ namespace CppSharp.Generators.CSharp private void GenerateVariableSetter(Variable var) { - string ptr = GetPointerTo(var); + string ptr = GeneratePointerTo(var); var param = new Parameter { @@ -869,7 +869,7 @@ namespace CppSharp.Generators.CSharp UnindentAndWriteCloseBrace(); } - private string GetPointerTo(Variable var) + private string GeneratePointerTo(Variable var) { TypePrinter.PushContext(TypePrinterContextKind.Native); @@ -1137,7 +1137,7 @@ namespace CppSharp.Generators.CSharp private void GenerateVariableGetter(Variable var) { - string ptr = GetPointerTo(var); + string ptr = GeneratePointerTo(var); var ctx = new CSharpMarshalContext(Context, CurrentIndentation) {