Normalize return types of .NET events

Fix #221.