AjTalk.Tests.Compilers.SourceWriterTests.GetLines C# (CSharp) Метод

GetLines() приватный Метод

private GetLines ( ) : string[]
Результат string[]
        private string[] GetLines()
        {
            this.swriter.Close();
            string text = this.swriter.ToString();
            IList<string> lines = new List<string>();
            StringReader reader = new StringReader(text);

            for (string line = reader.ReadLine(); line != null; line = reader.ReadLine())
                lines.Add(line);

            return lines.ToArray();
        }