Beispiel #1
0
        internal DotNetCompiler(ProjectFile project, string intermediateDirectory, string outputFileName, ErrorCollection errors) : base(project, intermediateDirectory, outputFileName, errors)
        {
            Helper     = new CompilerHelper(Project, Errors);
            Obfuscator = new CSharpObfuscator();

            Stage2SourceCodeFiles = new List <string>
            {
                "Stage2.cs",
                "Api.cs"
            };
            StubSourceCodeFiles = new List <string>
            {
                "Stub.cs",
                "Emulator.cs",
                "Api.cs"
            };

            Stage2ResourcesFileName = BytecodeApi.Create.AlphaNumericString(MathEx.Random.Next(20, 30)) + ".resources";
            StubResourcesFileName   = BytecodeApi.Create.AlphaNumericString(MathEx.Random.Next(20, 30)) + ".resources";
        }
Beispiel #2
0
 internal Pe32Compiler(ProjectFile project, string intermediateDirectory, string outputFileName, ErrorCollection errors) : base(project, intermediateDirectory, outputFileName, errors)
 {
     Helper = new CompilerHelper(Project, Errors);
 }