Exemplo n.º 1
0
 protected virtual CompilerOptions CreateOptionsForTestCase(NPath outputPath, NPath[] sourceFiles, NPath[] references, string[] defines)
 {
     return(new CompilerOptions
     {
         OutputPath = outputPath,
         SourceFiles = sourceFiles,
         References = references,
         Defines = defines.Concat(_metadataProvider.GetDefines()).ToArray()
     });
 }
Exemplo n.º 2
0
 protected virtual CompilerOptions CreateOptionsForTestCase(NPath outputPath, NPath[] sourceFiles, NPath[] references, string[] defines, NPath[] resources, string[] additionalArguments)
 {
     return(new CompilerOptions {
         OutputPath = outputPath,
         SourceFiles = sourceFiles,
         References = references,
         Defines = defines.Concat(_metadataProvider.GetDefines()).ToArray(),
         Resources = resources,
         AdditionalArguments = additionalArguments,
         CompilerToUse = _metadataProvider.GetCSharpCompilerToUse()
     });
 }