diff options
Diffstat (limited to 'src/WixToolset.Core/CommandLine/BuildCommand.cs')
| -rw-r--r-- | src/WixToolset.Core/CommandLine/BuildCommand.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/WixToolset.Core/CommandLine/BuildCommand.cs b/src/WixToolset.Core/CommandLine/BuildCommand.cs index 59aa2f1f..5f618b81 100644 --- a/src/WixToolset.Core/CommandLine/BuildCommand.cs +++ b/src/WixToolset.Core/CommandLine/BuildCommand.cs | |||
| @@ -216,7 +216,7 @@ namespace WixToolset.Core.CommandLine | |||
| 216 | } | 216 | } |
| 217 | } | 217 | } |
| 218 | 218 | ||
| 219 | private IEnumerable<Intermediate> CompilePhase(IDictionary<string, string> preprocessorVariables, IEnumerable<SourceFile> sourceFiles, CancellationToken cancellationToken) | 219 | private IReadOnlyList<Intermediate> CompilePhase(IDictionary<string, string> preprocessorVariables, IEnumerable<SourceFile> sourceFiles, CancellationToken cancellationToken) |
| 220 | { | 220 | { |
| 221 | var intermediates = new List<Intermediate>(); | 221 | var intermediates = new List<Intermediate>(); |
| 222 | 222 | ||
| @@ -257,7 +257,7 @@ namespace WixToolset.Core.CommandLine | |||
| 257 | return intermediates; | 257 | return intermediates; |
| 258 | } | 258 | } |
| 259 | 259 | ||
| 260 | private Intermediate LibraryPhase(IEnumerable<Intermediate> intermediates, IEnumerable<Localization> localizations, bool bindFiles, IEnumerable<IBindPath> bindPaths, CancellationToken cancellationToken) | 260 | private Intermediate LibraryPhase(IReadOnlyCollection<Intermediate> intermediates, IReadOnlyCollection<Localization> localizations, bool bindFiles, IReadOnlyCollection<IBindPath> bindPaths, CancellationToken cancellationToken) |
| 261 | { | 261 | { |
| 262 | var context = this.ServiceProvider.GetService<ILibraryContext>(); | 262 | var context = this.ServiceProvider.GetService<ILibraryContext>(); |
| 263 | context.BindFiles = bindFiles; | 263 | context.BindFiles = bindFiles; |
| @@ -302,7 +302,7 @@ namespace WixToolset.Core.CommandLine | |||
| 302 | return linker.Link(context); | 302 | return linker.Link(context); |
| 303 | } | 303 | } |
| 304 | 304 | ||
| 305 | private void BindPhase(Intermediate output, IEnumerable<Localization> localizations, IEnumerable<string> filterCultures, string cabCachePath, IEnumerable<IBindPath> bindPaths, CancellationToken cancellationToken) | 305 | private void BindPhase(Intermediate output, IReadOnlyCollection<Localization> localizations, IReadOnlyCollection<string> filterCultures, string cabCachePath, IReadOnlyCollection<IBindPath> bindPaths, CancellationToken cancellationToken) |
| 306 | { | 306 | { |
| 307 | var intermediateFolder = this.IntermediateFolder; | 307 | var intermediateFolder = this.IntermediateFolder; |
| 308 | if (String.IsNullOrEmpty(intermediateFolder)) | 308 | if (String.IsNullOrEmpty(intermediateFolder)) |
| @@ -405,7 +405,7 @@ namespace WixToolset.Core.CommandLine | |||
| 405 | return Array.Empty<Intermediate>(); | 405 | return Array.Empty<Intermediate>(); |
| 406 | } | 406 | } |
| 407 | 407 | ||
| 408 | private IEnumerable<Localization> LoadLocalizationFiles(IEnumerable<string> locFiles, IDictionary<string, string> preprocessorVariables, CancellationToken cancellationToken) | 408 | private IReadOnlyList<Localization> LoadLocalizationFiles(IEnumerable<string> locFiles, IDictionary<string, string> preprocessorVariables, CancellationToken cancellationToken) |
| 409 | { | 409 | { |
| 410 | var localizations = new List<Localization>(); | 410 | var localizations = new List<Localization>(); |
| 411 | var parser = this.ServiceProvider.GetService<ILocalizationParser>(); | 411 | var parser = this.ServiceProvider.GetService<ILocalizationParser>(); |
| @@ -787,7 +787,7 @@ namespace WixToolset.Core.CommandLine | |||
| 787 | return Data.OutputType.Unknown; | 787 | return Data.OutputType.Unknown; |
| 788 | } | 788 | } |
| 789 | 789 | ||
| 790 | public IEnumerable<string> CalculateFilterCultures() | 790 | public IReadOnlyList<string> CalculateFilterCultures() |
| 791 | { | 791 | { |
| 792 | var result = new List<string>(); | 792 | var result = new List<string>(); |
| 793 | 793 | ||
