I have three classes: ClassA, ClassB, ClassC.
ClassCextends ClassB, which in turn extends ClassA.
When I call GetType () from the constructor ClassA, .net returns a type ClassC. I am confusing because this happens in code that worked for a while and which I did not touch at that time. Was there a fix for .net that changed the behavior of GetType ()? I doubt it. My only thought is that this has anything to do with xUnit, the testing platform used?
source
share