testfx
testfx copied to clipboard
TestMethodIdentifierProperty Namespace is not nullable
If code is declared in a Global Namespace, Type.Namespace returns null.
Therefore, shouldn't TestMethodIdentifierProperty.Namespace be nullable so it too also distinguishes global namespace?
You can use empty string for this case. We could make it nullable though, I don't have a strong opinion.
IMO absolutely make it nullable. then the compiler forces u to always handle that case. compared to empty string where it is too easy to forget to handle the empty case
I am going to close the issue, we can reopen if there is more global interest.