diff --git a/examples/user_types/ExampleDecoder.cs b/examples/user_types/ExampleDecoder.cs index 2b4ef09248e9c51751354c571999ecd4ef6550a2..7f22a9e3d9e29515e9add248122cce10109004ca 100644 --- a/examples/user_types/ExampleDecoder.cs +++ b/examples/user_types/ExampleDecoder.cs @@ -54,9 +54,14 @@ namespace user_types Console.WriteLine("b: "+d.b); } - public void handle(int d) + void theFirstInt.Handler.handle(int d) { - Console.WriteLine("Got int: "+d); + Console.WriteLine("Got theFirstInt: "+d); + } + + void theSecondInt.Handler.handle(int d) + { + Console.WriteLine("Got theSecondInt: "+d); } static void Main(string[] args)