aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Converters/WixConverter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Converters/WixConverter.cs')
-rw-r--r--src/WixToolset.Converters/WixConverter.cs20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/WixToolset.Converters/WixConverter.cs b/src/WixToolset.Converters/WixConverter.cs
index 80784807..6080eeb9 100644
--- a/src/WixToolset.Converters/WixConverter.cs
+++ b/src/WixToolset.Converters/WixConverter.cs
@@ -1848,8 +1848,8 @@ namespace WixToolset.Converters
1848 { 1848 {
1849 // Ignore the error if explicitly ignored or outside the range of the current operation. 1849 // Ignore the error if explicitly ignored or outside the range of the current operation.
1850 if (this.IgnoreErrors.Contains(converterTestType) || 1850 if (this.IgnoreErrors.Contains(converterTestType) ||
1851 (this.Operation == ConvertOperation.Convert && converterTestType < ConverterTestType.DeclarationPresent) || 1851 (this.Operation == ConvertOperation.Convert && converterTestType < ConverterTestType.EndIgnoreInConvert) ||
1852 (this.Operation == ConvertOperation.Format && converterTestType > ConverterTestType.DeclarationPresent)) 1852 (this.Operation == ConvertOperation.Format && converterTestType > ConverterTestType.BeginIgnoreInFormat))
1853 { 1853 {
1854 return false; 1854 return false;
1855 } 1855 }
@@ -2033,11 +2033,6 @@ namespace WixToolset.Converters
2033 XmlException, 2033 XmlException,
2034 2034
2035 /// <summary> 2035 /// <summary>
2036 /// Displayed when a file cannot be accessed; typically when trying to save back a fixed file.
2037 /// </summary>
2038 UnauthorizedAccessException,
2039
2040 /// <summary>
2041 /// Displayed when the whitespace preceding a node is wrong. 2036 /// Displayed when the whitespace preceding a node is wrong.
2042 /// </summary> 2037 /// </summary>
2043 WhitespacePrecedingNodeWrong, 2038 WhitespacePrecedingNodeWrong,
@@ -2047,14 +2042,21 @@ namespace WixToolset.Converters
2047 /// </summary> 2042 /// </summary>
2048 WhitespacePrecedingEndElementWrong, 2043 WhitespacePrecedingEndElementWrong,
2049 2044
2050 // Before this point, ignore errors on convert operation 2045 /// Before this point, ignore errors on convert operation
2046 EndIgnoreInConvert,
2051 2047
2052 /// <summary> 2048 /// <summary>
2053 /// Displayed when the XML declaration is present in the source file. 2049 /// Displayed when the XML declaration is present in the source file.
2054 /// </summary> 2050 /// </summary>
2055 DeclarationPresent, 2051 DeclarationPresent,
2056 2052
2057 // After this point, ignore errors on format operation 2053 /// <summary>
2054 /// Displayed when a file cannot be accessed; typically when trying to save back a fixed file.
2055 /// </summary>
2056 UnauthorizedAccessException,
2057
2058 /// After this point, ignore errors on format operation
2059 BeginIgnoreInFormat,
2058 2060
2059 /// <summary> 2061 /// <summary>
2060 /// Displayed when the xmlns attribute is missing from the document element. 2062 /// Displayed when the xmlns attribute is missing from the document element.