Revert "Fixes C# connect"

This reverts commit 072851c8fc2b9c3420af97cb6732b859e427a297.