aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/WixFileTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Data/Tuples/WixFileTuple.cs')
-rw-r--r--src/WixToolset.Data/Tuples/WixFileTuple.cs14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/WixToolset.Data/Tuples/WixFileTuple.cs b/src/WixToolset.Data/Tuples/WixFileTuple.cs
index 077622b7..34493796 100644
--- a/src/WixToolset.Data/Tuples/WixFileTuple.cs
+++ b/src/WixToolset.Data/Tuples/WixFileTuple.cs
@@ -10,7 +10,6 @@ namespace WixToolset.Data
10 TupleDefinitionType.WixFile, 10 TupleDefinitionType.WixFile,
11 new[] 11 new[]
12 { 12 {
13 new IntermediateFieldDefinition(nameof(WixFileTupleFields.File_), IntermediateFieldType.String),
14 new IntermediateFieldDefinition(nameof(WixFileTupleFields.AssemblyType), IntermediateFieldType.Number), 13 new IntermediateFieldDefinition(nameof(WixFileTupleFields.AssemblyType), IntermediateFieldType.Number),
15 new IntermediateFieldDefinition(nameof(WixFileTupleFields.File_AssemblyManifest), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(WixFileTupleFields.File_AssemblyManifest), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(WixFileTupleFields.File_AssemblyApplication), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(WixFileTupleFields.File_AssemblyApplication), IntermediateFieldType.String),
@@ -33,7 +32,6 @@ namespace WixToolset.Data.Tuples
33 32
34 public enum WixFileTupleFields 33 public enum WixFileTupleFields
35 { 34 {
36 File_,
37 AssemblyType, 35 AssemblyType,
38 File_AssemblyManifest, 36 File_AssemblyManifest,
39 File_AssemblyApplication, 37 File_AssemblyApplication,
@@ -95,12 +93,6 @@ namespace WixToolset.Data.Tuples
95 93
96 public IntermediateField this[WixFileTupleFields index] => this.Fields[(int)index]; 94 public IntermediateField this[WixFileTupleFields index] => this.Fields[(int)index];
97 95
98 public string File_
99 {
100 get => (string)this.Fields[(int)WixFileTupleFields.File_];
101 set => this.Set((int)WixFileTupleFields.File_, value);
102 }
103
104 public FileAssemblyType AssemblyType 96 public FileAssemblyType AssemblyType
105 { 97 {
106 get => (FileAssemblyType)(int)this.Fields[(int)WixFileTupleFields.AssemblyType]; 98 get => (FileAssemblyType)(int)this.Fields[(int)WixFileTupleFields.AssemblyType];
@@ -155,10 +147,10 @@ namespace WixToolset.Data.Tuples
155 set => this.Set((int)WixFileTupleFields.Attributes, value); 147 set => this.Set((int)WixFileTupleFields.Attributes, value);
156 } 148 }
157 149
158 public PatchAttributeType PatchAttributes 150 public PatchAttributeType? PatchAttributes
159 { 151 {
160 get => (PatchAttributeType)(int)this.Fields[(int)WixFileTupleFields.PatchAttributes]; 152 get => (PatchAttributeType?)this.Fields[(int)WixFileTupleFields.PatchAttributes].AsNullableNumber();
161 set => this.Set((int)WixFileTupleFields.PatchAttributes, (int)value); 153 set => this.Set((int)WixFileTupleFields.PatchAttributes, (int?)value);
162 } 154 }
163 155
164 public string DeltaPatchHeaderSource 156 public string DeltaPatchHeaderSource