-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
simplify CreateTempSubdirectory #45633
base: main
Are you sure you want to change the base?
Conversation
@marcpopMSFT @baronfel can we backport it to 9.0.2xx? |
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.
Please see my comment on #45631 (comment)
updated. it guarantees the desired file mode is set on unix without pinvoke |
public override string ToString() | ||
{ | ||
return ToQuotedString(); | ||
return $"\"{Value}\""; |
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 don't have much context, but perhaps I would suggest using Path.DirectorySeparatorChar
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 moved it from ToQuotedString and deleted the unnecessary wrapper
InternalAbstractions
netstandard support is only needed byMicrosoft.NET.TestFramework.csproj
. for thatCreateTempSubdirectory
is using p/invoke for all dependentsmaking
InternalAbstractions
multi-framework same asMicrosoft.NET.TestFramework.csproj
to simplifyCreateTempSubdirectory
and deleting unused methods#45631