Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ReadAllLines() [2/2]

static string[] System.IO.File.ReadAllLines ( string path,
Encoding encoding )
inlinestatic

Definition at line 373 of file File.cs.

374 {
375 if (path == null)
376 {
377 throw new ArgumentNullException("path");
378 }
379 if (encoding == null)
380 {
381 throw new ArgumentNullException("encoding");
382 }
383 if (path.Length == 0)
384 {
385 throw new ArgumentException(SR.Argument_EmptyPath, "path");
386 }
387 return InternalReadAllLines(path, encoding);
388 }
static string[] InternalReadAllLines(string path, Encoding encoding)
Definition File.cs:390

References System.SR.Argument_EmptyPath, and System.IO.File.InternalReadAllLines().