'System.Uri.NonPathPart' is inaccessible due to its protection level
'System.Uri.NonPathPart' is inaccessible due to its protection level
Argh! Why? Parsing URL's is a pain, the System.Uri object's got some nice utility functions that show the right values in a watch window, and I can't use them. I hate duplicating this kind of parsing, since that includes duplicating the QA effort as well.
Reminds me of trying to call DirectX functions from VB that weren't exported or exposed via the COM interface back in the day. I can see the candy, but I cannot eat the candy.
Wish: System.Uri would be less protective of its utility properties.