-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Cleanup FileSystemProvider from runtime checks #7655
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
Cleanup FileSystemProvider from runtime checks #7655
Conversation
Replace runtime checks with compile time checks. Remove unneeded methods.
|
:-) I wonder that my first all-in-one commit failed and I had to split on steps. |
rjmholt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me -- much nicer!
| } | ||
|
|
||
| #endif | ||
| return InternalGetTarget(fileSysInfo.FullName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see the definition for this method is gone but a call remains. Is there another definition somewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, one - wih handle parameter, second with string parameter. First one was removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just checking 😄
|
@daxian-dbw can you please review this? Thanks. @iSazonov please do a |
Replace runtime checks with compile time checks. Remove unneeded methods.
PR Summary
Address second part of #2349
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.[feature]if the change is significant or affects feature tests