Closed ilya-zlobintsev closed 5 months ago
Thank you for the report! That's indeed a bug where methods with no parameters and no return value where simply ignored. This should work with https://github.com/affederaffe/Tmds.DBus.SourceGenerator/commit/8854fa8212b20881a020e40e635881d219b648fc, though the CI build currently fails because it depends on a nightly version of Tmds.DBus.Protocol. A new version will be released when the Tmds.DBus.Protocol package is uploaded to NuGet.
Thanks, seems to work fine now
I'm trying to generate a handler for these two interfaces: org.mpris.MediaPlayer2 org.mpris.MediaPlayer2.Player
But for both of them, the generated code doesn't compile since it has several switch cases for
Introspect
:Tmds.DBus.SourceGenerator.OrgMprisMediaPlayer2Player.g.cs
lines 309-341: