aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Link/WixGroupingOrdering.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/Link/WixGroupingOrdering.cs')
-rw-r--r--src/WixToolset.Core/Link/WixGroupingOrdering.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/WixToolset.Core/Link/WixGroupingOrdering.cs b/src/WixToolset.Core/Link/WixGroupingOrdering.cs
index 563cd565..7e0030ca 100644
--- a/src/WixToolset.Core/Link/WixGroupingOrdering.cs
+++ b/src/WixToolset.Core/Link/WixGroupingOrdering.cs
@@ -171,15 +171,15 @@ namespace WixToolset.Core.Link
171 // does WiX (although they do, currently). We probably want to "upgrade" this to a new 171 // does WiX (although they do, currently). We probably want to "upgrade" this to a new
172 // table that includes a sequence number, and then change the code that uses ordered 172 // table that includes a sequence number, and then change the code that uses ordered
173 // groups to read from that table instead. 173 // groups to read from that table instead.
174 foreach (Item item in orderedItems) 174 foreach (var item in orderedItems)
175 { 175 {
176 var row = new WixGroupTuple(item.Row.SourceLineNumbers); 176 this.EntrySection.AddTuple(new WixGroupTuple(item.Row.SourceLineNumbers)
177 row.ParentId = parentId; 177 {
178 row.ParentType = (ComplexReferenceParentType)Enum.Parse(typeof(ComplexReferenceParentType), parentType); 178 ParentId = parentId,
179 row.ChildId = item.Id; 179 ParentType = (ComplexReferenceParentType)Enum.Parse(typeof(ComplexReferenceParentType), parentType),
180 row.ChildType = (ComplexReferenceChildType)Enum.Parse(typeof(ComplexReferenceChildType), item.Type); 180 ChildId = item.Id,
181 181 ChildType = (ComplexReferenceChildType)Enum.Parse(typeof(ComplexReferenceChildType), item.Type),
182 this.EntrySection.Tuples.Add(row); 182 });
183 } 183 }
184 } 184 }
185 185