// Token: 0x0600020F RID: 527 RVA: 0x000050C0 File Offset: 0x000032C0 private static string[] GetMultiselectFiles(NativeMethods.CharBuffer charBuffer) { string text = charBuffer.GetString(); string text2 = charBuffer.GetString(); if (text2.Length == 0) { return(new string[] { text }); } if (!text.EndsWith(Path.DirectorySeparatorChar.ToString(), StringComparison.Ordinal)) { text += Path.DirectorySeparatorChar.ToString(); } List <string> list = new List <string>(); do { bool flag = text2[0] == Path.DirectorySeparatorChar && text2[1] == Path.DirectorySeparatorChar; bool flag2 = text2.Length > 3 && text2[1] == Path.VolumeSeparatorChar && text2[2] == Path.DirectorySeparatorChar; if (!flag && !flag2) { text2 = text + text2; } list.Add(text2); text2 = charBuffer.GetString(); }while (!string.IsNullOrEmpty(text2)); return(list.ToArray()); }