Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path.GetFileName throws if path is null #38

Closed
canton7 opened this issue Feb 6, 2016 · 2 comments
Closed

Path.GetFileName throws if path is null #38

canton7 opened this issue Feb 6, 2016 · 2 comments

Comments

@canton7
Copy link

canton7 commented Feb 6, 2016

System.IO.Path.GetFileName returns null if the input is null. Pri.LongPath.Path.GetFileName used to do the same (since it simply delegated to System.IO.Path.GetFileName).

However it no longer does so, since it calls Path.NormalizeLongPath which throws if its input is null.

@peteraritchie
Copy link
Owner

closed by 2679169

@canton7
Copy link
Author

canton7 commented Feb 6, 2016

👍 thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants