aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/WixUnexpectedFileFormatException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Data/WixUnexpectedFileFormatException.cs')
-rw-r--r--src/WixToolset.Data/WixUnexpectedFileFormatException.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WixToolset.Data/WixUnexpectedFileFormatException.cs b/src/WixToolset.Data/WixUnexpectedFileFormatException.cs
index 4d1e39e9..340fb4d7 100644
--- a/src/WixToolset.Data/WixUnexpectedFileFormatException.cs
+++ b/src/WixToolset.Data/WixUnexpectedFileFormatException.cs
@@ -10,7 +10,7 @@ namespace WixToolset.Data
10 public class WixUnexpectedFileFormatException : WixException 10 public class WixUnexpectedFileFormatException : WixException
11 { 11 {
12 public WixUnexpectedFileFormatException(string path, FileFormat expectedFormat, FileFormat format, Exception innerException = null) 12 public WixUnexpectedFileFormatException(string path, FileFormat expectedFormat, FileFormat format, Exception innerException = null)
13 : base(WixDataErrors.UnexpectedFileFormat(path, expectedFormat.ToString().ToLowerInvariant(), format.ToString().ToLowerInvariant()), innerException) 13 : base(ErrorMessages.UnexpectedFileFormat(path, expectedFormat, format), innerException)
14 { 14 {
15 this.Path = path; 15 this.Path = path;
16 this.ExpectedFileFormat = expectedFormat; 16 this.ExpectedFileFormat = expectedFormat;
@@ -20,12 +20,12 @@ namespace WixToolset.Data
20 /// <summary> 20 /// <summary>
21 /// Gets the expected file format. 21 /// Gets the expected file format.
22 /// </summary> 22 /// </summary>
23 public FileFormat ExpectedFileFormat { get; private set; } 23 public FileFormat ExpectedFileFormat { get; }
24 24
25 /// <summary> 25 /// <summary>
26 /// Gets the actual file format found in the file. 26 /// Gets the actual file format found in the file.
27 /// </summary> 27 /// </summary>
28 public FileFormat FileFormat { get; private set; } 28 public FileFormat FileFormat { get; }
29 29
30 /// <summary> 30 /// <summary>
31 /// Gets the path to the file with unexpected format. 31 /// Gets the path to the file with unexpected format.