Skip to content

Commit 3ff9fb2

Browse files
committed
Disable getter/setter to property pass by default in non-managed backends.
1 parent fc2a938 commit 3ff9fb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generator/Driver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,9 @@ public void SetupPasses(ILibrary library)
271271
if (Options.IsCLIGenerator || Options.IsCSharpGenerator)
272272
{
273273
TranslationUnitPasses.AddPass(new DelegatesPass());
274+
TranslationUnitPasses.AddPass(new GetterSetterToPropertyPass());
274275
}
275276

276-
TranslationUnitPasses.AddPass(new GetterSetterToPropertyPass());
277277
TranslationUnitPasses.AddPass(new StripUnusedSystemTypesPass());
278278

279279
if (Options.IsCSharpGenerator)

0 commit comments

Comments
 (0)