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