You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.
If I call File.Open the returned FileStream object has it's Name property set to '[Unknown]'. With the .NET variant of File.Open this property is set to the file path.
The text was updated successfully, but these errors were encountered:
I think the only way to work around it is if we'd use reflection to set the _fileName field of the FileStream instance after creating it. It could be a viable option actually, since this is a quite annoying "bug". What do you think @Yomodo? (We would just need to create tests for this to ensure it doesn't break with new .NET versions, but I find it unlikely that they'd change this).
If I call File.Open the returned FileStream object has it's Name property set to '[Unknown]'. With the .NET variant of File.Open this property is set to the file path.
The text was updated successfully, but these errors were encountered: