1
0
mirror of synced 2024-11-30 18:24:39 +01:00

Fix errors

This commit is contained in:
KillzXGaming 2019-12-07 20:24:54 -05:00
parent 6da93a9b34
commit cbdce592ab

View File

@ -200,9 +200,9 @@ namespace Toolbox.Library.IO
public static byte[] GetSchema(string name)
{
var obj = Properties.Resources.ResourceManager.GetObject(name);
if (!(obj is byte[] b)) {
if (!(obj is byte[])) {
throw new FileNotFoundException(nameof(name)); }
return b;
return (byte[])obj;
}
public static readonly string WorkingDirectory = Application.StartupPath;