Browse Source

Ignore generated field method acessors when processing properties in GetterSetterToProperty.

pull/1316/head
João Matos 5 years ago committed by João Matos
parent
commit
9a27954ad0
  1. 1
      src/Generator/Passes/GetterSetterToPropertyPass.cs

1
src/Generator/Passes/GetterSetterToPropertyPass.cs

@ -78,6 +78,7 @@ namespace CppSharp.Passes @@ -78,6 +78,7 @@ namespace CppSharp.Passes
m.OriginalFunction != null) &&
m.SynthKind != FunctionSynthKind.DefaultValueOverload &&
m.SynthKind != FunctionSynthKind.ComplementOperator &&
m.SynthKind != FunctionSynthKind.FieldAcessor &&
!m.ExcludeFromPasses.Contains(typeof(GetterSetterToPropertyPass))))
{
if (IsGetter(method))

Loading…
Cancel
Save