public static void event_with_uint_payload() { var obj = new Dummy.TestObject(); uint received_uint = 0; obj.EvtWithUintEvent += (object sender, Dummy.TestObjectEvtWithUintEventArgs e) => { received_uint = e.arg; }; obj.EmitEventWithUint(0xbeef); Test.AssertEquals <uint>(0xbeef, received_uint); }