Leaning on the compiler with intentional compilation errors in refactoring

added by DotNetKicks
2/10/2017 1:35:26 PM

1 Kicks, 280 Views

The problem is that there is no difference in the code between passing a class argument to a function and passing a struct argument. So the idea is that we'll lean on the compiler. We'll change the object name to by ObjStruct, and then start going over each usage scenario, fixing it in turn.