diff options
author | Rob Mensching <rob@firegiant.com> | 2024-12-24 18:11:55 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2025-02-11 23:14:49 -0800 |
commit | eda11c7eb726da970de68c5b353f946d1da0a7a3 (patch) | |
tree | 65a1780392a7213ba12a1865dba51cedbcdc561c /src/ext/Util/wixext/UtilCompiler.cs | |
parent | 5b4a6538ee06988c75b717bd905197fb670e6142 (diff) | |
download | wix-eda11c7eb726da970de68c5b353f946d1da0a7a3.tar.gz wix-eda11c7eb726da970de68c5b353f946d1da0a7a3.tar.bz2 wix-eda11c7eb726da970de68c5b353f946d1da0a7a3.zip |
Group creation and update PR nits and feedback fixes
Diffstat (limited to 'src/ext/Util/wixext/UtilCompiler.cs')
-rw-r--r-- | src/ext/Util/wixext/UtilCompiler.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ext/Util/wixext/UtilCompiler.cs b/src/ext/Util/wixext/UtilCompiler.cs index 4b1e43b5..f59ffcd6 100644 --- a/src/ext/Util/wixext/UtilCompiler.cs +++ b/src/ext/Util/wixext/UtilCompiler.cs | |||
@@ -1485,7 +1485,7 @@ namespace WixToolset.Util | |||
1485 | switch (child.Name.LocalName) | 1485 | switch (child.Name.LocalName) |
1486 | { | 1486 | { |
1487 | case "GroupRef": | 1487 | case "GroupRef": |
1488 | this.ParseGroupRefElement(intermediate, section, child, id.Id, groupType:true); | 1488 | this.ParseGroupRefElement(intermediate, section, child, id.Id, groupType: true); |
1489 | break; | 1489 | break; |
1490 | default: | 1490 | default: |
1491 | this.ParseHelper.UnexpectedElement(element, child); | 1491 | this.ParseHelper.UnexpectedElement(element, child); |
@@ -1521,7 +1521,7 @@ namespace WixToolset.Util | |||
1521 | /// <param name="element">Element to parse.</param> | 1521 | /// <param name="element">Element to parse.</param> |
1522 | /// <param name="childId">Required child id to be joined to the group.</param> | 1522 | /// <param name="childId">Required child id to be joined to the group.</param> |
1523 | /// <param name="groupType">whether the child is a group (true) or a user (false)</param> | 1523 | /// <param name="groupType">whether the child is a group (true) or a user (false)</param> |
1524 | private void ParseGroupRefElement(Intermediate intermediate, IntermediateSection section, XElement element, string childId, bool groupType=false) | 1524 | private void ParseGroupRefElement(Intermediate intermediate, IntermediateSection section, XElement element, string childId, bool groupType) |
1525 | { | 1525 | { |
1526 | var sourceLineNumbers = this.ParseHelper.GetSourceLineNumbers(element); | 1526 | var sourceLineNumbers = this.ParseHelper.GetSourceLineNumbers(element); |
1527 | string groupId = null; | 1527 | string groupId = null; |
@@ -3588,7 +3588,7 @@ namespace WixToolset.Util | |||
3588 | this.Messaging.Write(UtilErrors.IllegalElementWithoutComponent(childSourceLineNumbers, child.Name.LocalName)); | 3588 | this.Messaging.Write(UtilErrors.IllegalElementWithoutComponent(childSourceLineNumbers, child.Name.LocalName)); |
3589 | } | 3589 | } |
3590 | 3590 | ||
3591 | this.ParseGroupRefElement(intermediate, section, child, id.Id, groupType:false); | 3591 | this.ParseGroupRefElement(intermediate, section, child, id.Id, groupType: false); |
3592 | break; | 3592 | break; |
3593 | default: | 3593 | default: |
3594 | this.ParseHelper.UnexpectedElement(element, child); | 3594 | this.ParseHelper.UnexpectedElement(element, child); |