From 7f4c41fc2c6ce55f8f1b87a5516573d99a9beec0 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Mon, 19 Apr 2021 16:12:28 -0700 Subject: Prefer IReadOnlyCollection<> or IReadOnlyList<> over IEnumerable<> Closes wixtoolset/issues#6422 --- src/WixToolset.Core/CompilerCore.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/WixToolset.Core/CompilerCore.cs') diff --git a/src/WixToolset.Core/CompilerCore.cs b/src/WixToolset.Core/CompilerCore.cs index 8705cacd..727084eb 100644 --- a/src/WixToolset.Core/CompilerCore.cs +++ b/src/WixToolset.Core/CompilerCore.cs @@ -1048,7 +1048,7 @@ namespace WixToolset.Core { var section = new IntermediateSection(id, type, compilationId); - this.intermediate.Sections.Add(section); + this.intermediate.AddSection(section); return section; } -- cgit v1.2.3-55-g6feb