affederaffe / Tmds.DBus.SourceGenerator

A roslyn source generator for creating proxies targeting the Tmds.DBus.Protocol API
MIT License
7 stars 5 forks source link

Generate changes the case of the interface methods #4

Closed 17steen closed 10 months ago

17steen commented 10 months ago

I have a method like this defined in my interface.xaml

  <method name="set_number">
   <arg type="d" name="number" direction="in"/>
  </method>

and the outputed dbus call is this:

                writer.WriteMethodCallHeader(_destination, _path, Interface, "SetNumber", "d");

Which is incorrect

affederaffe commented 10 months ago

Fixed with 0.0.12 (should be on nuget soon:tm:), thanks for the PR!