Skip to content

Commit 66b6169

Browse files
update: updated SimpleFileHandler.ProjectToLocation function
1 parent ce83614 commit 66b6169

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

SimpleFileHandler.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.IO;
22
using System.Reflection;
3+
using System.Runtime.CompilerServices;
34

45
namespace CSSimpleFunctions
56
{
@@ -20,6 +21,7 @@ public static void Append(string FilePath, string Content)
2021
File.AppendAllText(FilePath, Content);
2122
}
2223

24+
[MethodImpl(MethodImplOptions.NoInlining)]
2325
public static void ProjectToLocation(string FileName)
2426
{
2527
try
@@ -38,6 +40,7 @@ public static void ProjectToLocation(string FileName)
3840
}
3941
}
4042

43+
[MethodImpl(MethodImplOptions.NoInlining)]
4144
public static void ProjectToLocation(string FileName, string FilePath)
4245
{
4346
try

0 commit comments

Comments
 (0)