mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[ALL] Add check for Mono compiler
This commit is contained in:
@@ -9,7 +9,11 @@ using SabreTools.Helper.Data;
|
||||
using SabreTools.Helper.Dats;
|
||||
using SabreTools.Helper.Tools;
|
||||
|
||||
#if __MonoCS__
|
||||
using System.IO;
|
||||
#else
|
||||
using Alphaleonis.Win32.Filesystem;
|
||||
#endif
|
||||
|
||||
using FileAccess = System.IO.FileAccess;
|
||||
using FileMode = System.IO.FileMode;
|
||||
|
||||
@@ -8,7 +8,11 @@ using SabreTools.Helper.Data;
|
||||
using SabreTools.Helper.Dats;
|
||||
using SabreTools.Helper.Tools;
|
||||
|
||||
#if __MonoCS__
|
||||
using System.IO;
|
||||
#else
|
||||
using Alphaleonis.Win32.Filesystem;
|
||||
#endif
|
||||
|
||||
namespace SabreTools
|
||||
{
|
||||
|
||||
@@ -11,7 +11,11 @@ using SabreTools.Helper.Data;
|
||||
using SabreTools.Helper.Skippers;
|
||||
using SabreTools.Helper.Tools;
|
||||
|
||||
#if __MonoCS__
|
||||
using System.IO;
|
||||
#else
|
||||
using Alphaleonis.Win32.Filesystem;
|
||||
#endif
|
||||
using NaturalSort;
|
||||
using SharpCompress.Common;
|
||||
|
||||
|
||||
@@ -4,7 +4,11 @@ using System.Collections.Generic;
|
||||
using SabreTools.Helper.Data;
|
||||
using SabreTools.Helper.Tools;
|
||||
|
||||
#if __MonoCS__
|
||||
using System.IO;
|
||||
#else
|
||||
using Alphaleonis.Win32.Filesystem;
|
||||
#endif
|
||||
using NaturalSort;
|
||||
|
||||
namespace SabreTools.Helper.Dats
|
||||
|
||||
@@ -4,7 +4,11 @@ using System.Text;
|
||||
|
||||
using SabreTools.Helper.Data;
|
||||
|
||||
#if __MonoCS__
|
||||
using System.IO;
|
||||
#else
|
||||
using Alphaleonis.Win32.Filesystem;
|
||||
#endif
|
||||
using OCRC;
|
||||
|
||||
using BinaryReader = System.IO.BinaryReader;
|
||||
|
||||
@@ -28,7 +28,11 @@
|
||||
|
||||
using System;
|
||||
|
||||
#if __MonoCS__
|
||||
using System.IO;
|
||||
#else
|
||||
using Alphaleonis.Win32.Filesystem;
|
||||
#endif
|
||||
|
||||
using MemoryStream = System.IO.MemoryStream;
|
||||
using SeekOrigin = System.IO.SeekOrigin;
|
||||
|
||||
@@ -6,7 +6,11 @@ using System.Xml;
|
||||
using SabreTools.Helper.Data;
|
||||
using SabreTools.Helper.Tools;
|
||||
|
||||
#if __MonoCS__
|
||||
using System.IO;
|
||||
#else
|
||||
using Alphaleonis.Win32.Filesystem;
|
||||
#endif
|
||||
|
||||
using BinaryReader = System.IO.BinaryReader;
|
||||
using SearchOption = System.IO.SearchOption;
|
||||
|
||||
@@ -3,7 +3,11 @@ using System.Collections.Generic;
|
||||
|
||||
using SabreTools.Helper.Data;
|
||||
|
||||
#if __MonoCS__
|
||||
using System.IO;
|
||||
#else
|
||||
using Alphaleonis.Win32.Filesystem;
|
||||
#endif
|
||||
|
||||
using BinaryReader = System.IO.BinaryReader;
|
||||
using BinaryWriter = System.IO.BinaryWriter;
|
||||
|
||||
@@ -6,7 +6,11 @@ using System.Text.RegularExpressions;
|
||||
using SabreTools.Helper.Data;
|
||||
using SabreTools.Helper.Dats;
|
||||
|
||||
#if __MonoCS__
|
||||
using System.IO;
|
||||
#else
|
||||
using Alphaleonis.Win32.Filesystem;
|
||||
#endif
|
||||
using Ionic.Zlib;
|
||||
using ROMVault2.SupportedFiles.Zip;
|
||||
using SharpCompress.Archives;
|
||||
|
||||
@@ -3,7 +3,11 @@ using System;
|
||||
|
||||
using SabreTools.Helper.Data;
|
||||
|
||||
#if __MonoCS__
|
||||
using System.IO;
|
||||
#else
|
||||
using Alphaleonis.Win32.Filesystem;
|
||||
#endif
|
||||
|
||||
namespace SabreTools.Helper.Tools
|
||||
{
|
||||
|
||||
@@ -10,7 +10,11 @@ using SabreTools.Helper.Data;
|
||||
using SabreTools.Helper.Dats;
|
||||
using SabreTools.Helper.Skippers;
|
||||
|
||||
#if __MonoCS__
|
||||
using System.IO;
|
||||
#else
|
||||
using Alphaleonis.Win32.Filesystem;
|
||||
#endif
|
||||
using NaturalSort;
|
||||
using OCRC;
|
||||
|
||||
|
||||
@@ -9,7 +9,11 @@ using System.Web;
|
||||
using SabreTools.Helper.Data;
|
||||
using SabreTools.Helper.Dats;
|
||||
|
||||
#if __MonoCS__
|
||||
using System.IO;
|
||||
#else
|
||||
using Alphaleonis.Win32.Filesystem;
|
||||
#endif
|
||||
|
||||
using FileAccess = System.IO.FileAccess;
|
||||
using FileMode = System.IO.FileMode;
|
||||
|
||||
@@ -6,7 +6,11 @@ using SabreTools.Helper.Data;
|
||||
using SabreTools.Helper.Dats;
|
||||
using SabreTools.Helper.Tools;
|
||||
|
||||
#if __MonoCS__
|
||||
using System.IO;
|
||||
#else
|
||||
using Alphaleonis.Win32.Filesystem;
|
||||
#endif
|
||||
|
||||
using SearchOption = System.IO.SearchOption;
|
||||
|
||||
|
||||
@@ -5,7 +5,11 @@ using SabreTools.Helper;
|
||||
using SabreTools.Helper.Data;
|
||||
using SabreTools.Helper.Tools;
|
||||
|
||||
#if __MonoCS__
|
||||
using System.IO;
|
||||
#else
|
||||
using Alphaleonis.Win32.Filesystem;
|
||||
#endif
|
||||
|
||||
namespace SabreTools
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user