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() }); }
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() }); }