peteraritchie / LongPath

drop-in library to support long paths in .NET
GNU Lesser General Public License v3.0
112 stars 43 forks source link

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

Open efef77 opened 7 years ago

efef77 commented 7 years ago

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