diff options
Diffstat (limited to 'src/WixToolset.Core/CompilerCore.cs')
| -rw-r--r-- | src/WixToolset.Core/CompilerCore.cs | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/WixToolset.Core/CompilerCore.cs b/src/WixToolset.Core/CompilerCore.cs index ec22a8ec..d737b359 100644 --- a/src/WixToolset.Core/CompilerCore.cs +++ b/src/WixToolset.Core/CompilerCore.cs | |||
| @@ -206,6 +206,11 @@ namespace WixToolset.Core | |||
| 206 | return false; | 206 | return false; |
| 207 | } | 207 | } |
| 208 | 208 | ||
| 209 | internal void InnerTextDisallowed(XElement element) | ||
| 210 | { | ||
| 211 | this.parseHelper.InnerTextDisallowed(element); | ||
| 212 | } | ||
| 213 | |||
| 209 | /// <summary> | 214 | /// <summary> |
| 210 | /// Verifies that a filename is ambiguous. | 215 | /// Verifies that a filename is ambiguous. |
| 211 | /// </summary> | 216 | /// </summary> |
| @@ -1103,15 +1108,6 @@ namespace WixToolset.Core | |||
| 1103 | return this.parseHelper.ScheduleActionSymbol(this.ActiveSection, sourceLineNumbers, access, sequence, actionName, condition, beforeAction, afterAction, overridable); | 1108 | return this.parseHelper.ScheduleActionSymbol(this.ActiveSection, sourceLineNumbers, access, sequence, actionName, condition, beforeAction, afterAction, overridable); |
| 1104 | } | 1109 | } |
| 1105 | 1110 | ||
| 1106 | internal void VerifyNoInnerText(SourceLineNumber sourceLineNumbers, XElement element) | ||
| 1107 | { | ||
| 1108 | var innerText = Common.GetInnerText(element); | ||
| 1109 | if (!String.IsNullOrWhiteSpace(innerText)) | ||
| 1110 | { | ||
| 1111 | this.messaging.Write(ErrorMessages.IllegalInnerText(sourceLineNumbers, element.Name.LocalName, innerText)); | ||
| 1112 | } | ||
| 1113 | } | ||
| 1114 | |||
| 1115 | private static string CreateValueList(ValueListKind kind, IEnumerable<string> values) | 1111 | private static string CreateValueList(ValueListKind kind, IEnumerable<string> values) |
| 1116 | { | 1112 | { |
| 1117 | // Ideally, we could denote the list kind (and the list itself) directly in the | 1113 | // Ideally, we could denote the list kind (and the list itself) directly in the |
