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

Please make some INTERNAL methods PUBLIC in class 'File.cs' #65

Open
efef77 opened this issue Jun 17, 2017 · 0 comments
Open

Please make some INTERNAL methods PUBLIC in class 'File.cs' #65

efef77 opened this issue Jun 17, 2017 · 0 comments

Comments

@efef77
Copy link

efef77 commented Jun 17, 2017

class File has general purpose methods which are supposed to substitute some System.IO constructors.
Unfortunaltely they are INTERNAL and therefore not usable in the sence they are designed for.
Since File.cs ist static we even cant use inheritance to make them public.

Please help by making those methods in File.cs PUBLIC

public static class File
internal static StreamReader CreateStreamReader(string path, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize)
internal static StreamWriter CreateStreamWriter(string path, bool append)
internal static StreamWriter CreateStreamWriter(string path, bool append, Encoding encoding)
internal static StreamWriter CreateText(string path, Encoding encoding)

Kind regards
efef77

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

1 participant