From dffa9e1e0f839c01ad131d6754742aa03e651e00 Mon Sep 17 00:00:00 2001 From: morkt Date: Fri, 27 Jan 2017 13:18:58 +0400 Subject: [PATCH] (VFS.InvalidFileNameChars): new public field. --- GameRes/FileSystem.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GameRes/FileSystem.cs b/GameRes/FileSystem.cs index cfb6c9e2..3b72c809 100644 --- a/GameRes/FileSystem.cs +++ b/GameRes/FileSystem.cs @@ -784,6 +784,8 @@ namespace GameRes return m_vfs.Top.GetFiles (pattern); } + public static readonly ISet InvalidFileNameChars = new HashSet (Path.GetInvalidFileNameChars()); + static readonly char[] PathSeparatorChars = { '\\', '/', ':' }; ///