Skip to content

Commit

Permalink
Fix typo where Level was used instead of Value in Level element error…
Browse files Browse the repository at this point in the history
… message

Fixes 7603
  • Loading branch information
robmen authored and barnson committed Jul 11, 2023
1 parent e53c658 commit 713f286
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wix/WixToolset.Core/Compiler.cs
Expand Up @@ -7261,7 +7261,7 @@ private void ParseLevelElement(XElement node, string featureId)

if (!level.HasValue)
{
this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Level"));
this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Value"));
}

if (String.IsNullOrEmpty(condition))
Expand All @@ -7275,7 +7275,7 @@ private void ParseLevelElement(XElement node, string featureId)
{
if (CompilerConstants.IntegerNotSet == level)
{
this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Level"));
this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Value"));
level = CompilerConstants.IllegalInteger;
}

Expand Down

0 comments on commit 713f286

Please sign in to comment.