Skip to content
This repository was archived by the owner on Oct 5, 2019. It is now read-only.

Commit 4eda91f

Browse files
author
Kamil Monicz
committed
Updated comments, updated CSharpCodeProvider version, pushed version to 1.4-beta
1 parent 6470d10 commit 4eda91f

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

SharpLoader/Core/RuntimeCompiler.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System;
22
using System.CodeDom.Compiler;
3+
using System.Collections.Generic;
34
using System.Diagnostics;
45
using Microsoft.CSharp;
56

@@ -11,7 +12,7 @@ public class RuntimeCompiler
1112

1213
public RuntimeCompiler()
1314
{
14-
_compiler = new CSharpCodeProvider();
15+
_compiler = new CSharpCodeProvider(new Dictionary<string, string> { { "CompilerVersion", "v4.0" } });
1516
}
1617

1718
public bool Compile(string outputName, string compilerArguments, string[] assemblies, params string[] sources)

SharpLoader/Program.cs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,8 @@ namespace SharpLoader
1111
{
1212
public class Program
1313
{
14-
/* Bugs:
15-
*/
16-
1714
/* Limitations:
18-
* doesn't support $ strings
19-
* doesn't support @ strings
20-
* doesn't support VS code
21-
* doesn't support => properties
22-
* doesn't support few unicode values
15+
* supports only c# 5.0
2316
*/
2417

2518
/* Exit codes:
@@ -32,7 +25,7 @@ public class Program
3225
*/
3326

3427
private const string Author = "Zaczero";
35-
private const string Version = "1.3";
28+
private const string Version = "1.4-beta";
3629

3730
private const int ReadBufferSize = 255;
3831

SharpLoader/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
// You can specify all the values or you can default the Build and Revision Numbers
3232
// by using the '*' as shown below:
3333
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyVersion("1.3.0.0")]
35-
[assembly: AssemblyFileVersion("1.3.0.0")]
34+
[assembly: AssemblyVersion("1.4.0.0")]
35+
[assembly: AssemblyFileVersion("1.4.0.0")]

0 commit comments

Comments
 (0)