Skip to content

Commit

Permalink
Cosmos.IL2CPU has changed name in simply IL2CPU
Browse files Browse the repository at this point in the history
  • Loading branch information
fanoI committed Dec 10, 2017
1 parent d6aff6a commit f3633a5
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 29 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Cosmos.IL2CPU.API.Attribs;
using IL2CPU.API.Attribs;
using System.Text;

namespace Cosmos.Core_Plugs.System.Text
Expand Down
2 changes: 1 addition & 1 deletion source/Cosmos.Core_Plugs/System/Threading/TaskImpl.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Threading;
using Cosmos.IL2CPU.API.Attribs;
using IL2CPU.API.Attribs;
using System.Threading.Tasks;

namespace Cosmos.Core_Plugs.System.Threading
Expand Down
10 changes: 4 additions & 6 deletions source/Cosmos.System2/FileSystem/VFS/VFSManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,9 @@ public static bool FileExists(DirectoryEntry aEntry)

return GetFile(xPath) != null;
}
catch (Exception e)
catch
{
global::System.Console.Write("Exception occurred: ");
global::System.Console.WriteLine(e.Message);
/* Simply map any Exception to false as this method should return only bool */
return false;
}
}
Expand All @@ -331,10 +330,9 @@ public static bool DirectoryExists(string aPath)

return GetDirectory(xPath) != null;
}
catch (Exception e)
catch
{
global::System.Console.Write("Exception occurred: ");
global::System.Console.WriteLine(e.Message);
/* Simply map any Exception to false as this method should return only bool */
return false;
}
}
Expand Down
4 changes: 2 additions & 2 deletions source/Cosmos.System2_Plugs/System/IO/CosmosFileSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
using System.IO;
using System.Collections.Generic;
using Cosmos.Debug.Kernel;
using Cosmos.IL2CPU.API;
using Cosmos.IL2CPU.API.Attribs;
using IL2CPU.API;
using IL2CPU.API.Attribs;
using Cosmos.System;
using Cosmos.System.FileSystem;
using Cosmos.System.FileSystem.Listing;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//#define COSMOSDEBUG
using System.IO;
using Cosmos.IL2CPU.API.Attribs;
using IL2CPU.API.Attribs;
using Cosmos.System;
using Cosmos.System.FileSystem.VFS;

Expand Down
2 changes: 1 addition & 1 deletion source/Cosmos.System2_Plugs/System/IO/DirectoryInfoImpl.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#define COSMOSDEBUG
using System.IO;
using Cosmos.IL2CPU.API.Attribs;
using IL2CPU.API.Attribs;
using Cosmos.System;
using Cosmos.System.FileSystem.Listing;
using Cosmos.System.FileSystem.VFS;
Expand Down
5 changes: 2 additions & 3 deletions source/Cosmos.System2_Plugs/System/IO/FileInfoImpl.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#define COSMOSDEBUG
//#define COSMOSDEBUG
using System.IO;
using Cosmos.IL2CPU.API.Attribs;
using IL2CPU.API.Attribs;
using Cosmos.System;
using Cosmos.System.FileSystem.Listing;
using Cosmos.System.FileSystem.VFS;

namespace Cosmos.System2_Plugs.System.IO
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System.IO;
using Cosmos.IL2CPU.API.Attribs;
using Cosmos.System;
using Cosmos.System.FileSystem.Listing;
using Cosmos.System.FileSystem.VFS;
using IL2CPU.API.Attribs;
using System;

namespace Cosmos.System2_Plugs.System.IO
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using System.IO;
using Cosmos.IL2CPU.API.Attribs;
using Cosmos.System;
using Cosmos.System.FileSystem.Listing;
using Cosmos.System.FileSystem.VFS;
using IL2CPU.API.Attribs;
using System;

namespace Cosmos.System2_Plugs.System.IO
{
[Plug(Target = typeof(FileNotFoundException))]
Expand Down
2 changes: 1 addition & 1 deletion source/Cosmos.System2_Plugs/System/IO/PathInternalImpl.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//#define COSMOSDEBUG
using Cosmos.IL2CPU.API.Attribs;
using IL2CPU.API.Attribs;
using Cosmos.System;

namespace Cosmos.System_Plugs.System.IO
Expand Down
4 changes: 1 addition & 3 deletions source/Cosmos.System2_Plugs/System/IO/TextWriterImpl.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
//#define COSMOSDEBUG
using System;
using System.IO;
using Cosmos.System;
using Cosmos.IL2CPU.API.Attribs;
using System.Text;
using IL2CPU.API.Attribs;

namespace Cosmos.System_Plugs.System.IO
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Cosmos.IL2CPU.API.Attribs;
using IL2CPU.API.Attribs;

namespace Cosmos.System_Plugs.System.Runtime
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;
using System.Text;
using Cosmos.IL2CPU.API.Attribs;
using IL2CPU.API.Attribs;

namespace Cosmos.System2_Plugs.System.Text
{
Expand Down

0 comments on commit f3633a5

Please sign in to comment.