@@ -9,8 +9,8 @@ namespace Migrator.Compile
99{
1010 public class ScriptEngine
1111 {
12- readonly string _codeType = "csharp" ;
13- readonly CodeDomProvider _provider ;
12+ private readonly string _codeType = "csharp" ;
13+ private readonly CodeDomProvider _provider ;
1414 public readonly string [ ] extraReferencedAssemblies ;
1515
1616 public ScriptEngine ( ) : this ( null , null )
@@ -41,7 +41,7 @@ public Assembly Compile(string directory)
4141 return Compile ( files ) ;
4242 }
4343
44- string [ ] GetFilesRecursive ( string directory )
44+ private string [ ] GetFilesRecursive ( string directory )
4545 {
4646 var files = GetFilesRecursive ( new DirectoryInfo ( directory ) ) ;
4747 var fileNames = new string [ files . Length ] ;
@@ -52,7 +52,7 @@ string[] GetFilesRecursive(string directory)
5252 return fileNames ;
5353 }
5454
55- FileInfo [ ] GetFilesRecursive ( DirectoryInfo d )
55+ private FileInfo [ ] GetFilesRecursive ( DirectoryInfo d )
5656 {
5757 var files = new List < FileInfo > ( ) ;
5858 files . AddRange ( d . GetFiles ( String . Format ( "*.{0}" , _provider . FileExtension ) ) ) ;
@@ -83,7 +83,7 @@ public Assembly Compile(params string[] files)
8383 return compileResult . CompiledAssembly ;
8484 }
8585
86- CompilerParameters SetupCompilerParams ( )
86+ private CompilerParameters SetupCompilerParams ( )
8787 {
8888 var migrationFrameworkPath = FrameworkAssemblyPath ( ) ;
8989 var parms = new CompilerParameters ( ) ;
@@ -107,7 +107,7 @@ CompilerParameters SetupCompilerParams()
107107 return parms ;
108108 }
109109
110- static string FrameworkAssemblyPath ( )
110+ private static string FrameworkAssemblyPath ( )
111111 {
112112 var path = typeof ( MigrationAttribute ) . Module . FullyQualifiedName ;
113113 Console . Out . WriteLine ( "Framework DLL: " + path ) ;
0 commit comments