diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-04-19 16:12:28 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-04-19 16:37:03 -0700 |
| commit | 7f4c41fc2c6ce55f8f1b87a5516573d99a9beec0 (patch) | |
| tree | bf62fa354b7ebbf6eb25cc5af1f6bbbb7ce80fe6 /src/WixToolset.Core/PreprocessContext.cs | |
| parent | bb40dc8a911ec0679016cbbf7132ea813ea1a3ad (diff) | |
| download | wix-7f4c41fc2c6ce55f8f1b87a5516573d99a9beec0.tar.gz wix-7f4c41fc2c6ce55f8f1b87a5516573d99a9beec0.tar.bz2 wix-7f4c41fc2c6ce55f8f1b87a5516573d99a9beec0.zip | |
Prefer IReadOnlyCollection<> or IReadOnlyList<> over IEnumerable<>
Closes wixtoolset/issues#6422
Diffstat (limited to 'src/WixToolset.Core/PreprocessContext.cs')
| -rw-r--r-- | src/WixToolset.Core/PreprocessContext.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Core/PreprocessContext.cs b/src/WixToolset.Core/PreprocessContext.cs index 0b735a7c..986045ff 100644 --- a/src/WixToolset.Core/PreprocessContext.cs +++ b/src/WixToolset.Core/PreprocessContext.cs | |||
| @@ -18,11 +18,11 @@ namespace WixToolset.Core | |||
| 18 | 18 | ||
| 19 | public IServiceProvider ServiceProvider { get; } | 19 | public IServiceProvider ServiceProvider { get; } |
| 20 | 20 | ||
| 21 | public IEnumerable<IPreprocessorExtension> Extensions { get; set; } | 21 | public IReadOnlyCollection<IPreprocessorExtension> Extensions { get; set; } |
| 22 | 22 | ||
| 23 | public Platform Platform { get; set; } | 23 | public Platform Platform { get; set; } |
| 24 | 24 | ||
| 25 | public IEnumerable<string> IncludeSearchPaths { get; set; } | 25 | public IReadOnlyCollection<string> IncludeSearchPaths { get; set; } |
| 26 | 26 | ||
| 27 | public string SourcePath { get; set; } | 27 | public string SourcePath { get; set; } |
| 28 | 28 | ||
