aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2020-06-04 10:24:50 -0700
committerRob Mensching <rob@firegiant.com>2020-06-04 11:32:20 -0700
commit0dfddf11df6d5c06b40bfaabca116dea7717e801 (patch)
tree2fbd0379e015a9c7c11eafd3a7d231271f163161 /src
parent9317f7c8ea709da55e4602eaaba06952bbf315b7 (diff)
downloadwix-0dfddf11df6d5c06b40bfaabca116dea7717e801.tar.gz
wix-0dfddf11df6d5c06b40bfaabca116dea7717e801.tar.bz2
wix-0dfddf11df6d5c06b40bfaabca116dea7717e801.zip
Add column tuples when created instead of after the table tuple creation
Diffstat (limited to 'src')
-rw-r--r--src/WixToolset.Core/Compiler.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/WixToolset.Core/Compiler.cs b/src/WixToolset.Core/Compiler.cs
index 35a73e00..83623883 100644
--- a/src/WixToolset.Core/Compiler.cs
+++ b/src/WixToolset.Core/Compiler.cs
@@ -3873,7 +3873,7 @@ namespace WixToolset.Core
3873 attributes |= nullable ? WixCustomTableColumnTupleAttributes.Nullable : WixCustomTableColumnTupleAttributes.None; 3873 attributes |= nullable ? WixCustomTableColumnTupleAttributes.Nullable : WixCustomTableColumnTupleAttributes.None;
3874 attributes |= columnUnreal ? WixCustomTableColumnTupleAttributes.Unreal : WixCustomTableColumnTupleAttributes.None; 3874 attributes |= columnUnreal ? WixCustomTableColumnTupleAttributes.Unreal : WixCustomTableColumnTupleAttributes.None;
3875 3875
3876 columns.Add(new WixCustomTableColumnTuple(childSourceLineNumbers, new Identifier(AccessModifier.Private, tableId, columnName)) 3876 var column = this.Core.AddTuple(new WixCustomTableColumnTuple(childSourceLineNumbers, new Identifier(AccessModifier.Private, tableId, columnName))
3877 { 3877 {
3878 TableRef = tableId, 3878 TableRef = tableId,
3879 Name = columnName, 3879 Name = columnName,
@@ -3889,6 +3889,7 @@ namespace WixToolset.Core
3889 Modularize = modularization, 3889 Modularize = modularization,
3890 Set = setValues, 3890 Set = setValues,
3891 }); 3891 });
3892 columns.Add(column);
3892 } 3893 }
3893 break; 3894 break;
3894 case "Row": 3895 case "Row":
@@ -3921,11 +3922,6 @@ namespace WixToolset.Core
3921 ColumnNames = columnNames, 3922 ColumnNames = columnNames,
3922 Unreal = unreal, 3923 Unreal = unreal,
3923 }); 3924 });
3924
3925 foreach (var column in columns)
3926 {
3927 this.Core.AddTuple(column);
3928 }
3929 } 3925 }
3930 } 3926 }
3931 } 3927 }