aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/WixDeltaPatchSymbolPathsTuple.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2019-05-16 12:18:36 -0700
committerRob Mensching <rob@firegiant.com>2019-05-23 15:43:40 -0700
commit505fe69d85c90184cd37290ccb0120fec6074c20 (patch)
tree685314724a00232c2cad02e73c88214bee25df4f /src/WixToolset.Data/Tuples/WixDeltaPatchSymbolPathsTuple.cs
parentac1400ac5502db2f975e94dc803c155fd6a0a0e0 (diff)
downloadwix-505fe69d85c90184cd37290ccb0120fec6074c20.tar.gz
wix-505fe69d85c90184cd37290ccb0120fec6074c20.tar.bz2
wix-505fe69d85c90184cd37290ccb0120fec6074c20.zip
Remove redundant `?.Value` from strongly typed accesses
Diffstat (limited to 'src/WixToolset.Data/Tuples/WixDeltaPatchSymbolPathsTuple.cs')
-rw-r--r--src/WixToolset.Data/Tuples/WixDeltaPatchSymbolPathsTuple.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WixToolset.Data/Tuples/WixDeltaPatchSymbolPathsTuple.cs b/src/WixToolset.Data/Tuples/WixDeltaPatchSymbolPathsTuple.cs
index 39747be5..9537db3a 100644
--- a/src/WixToolset.Data/Tuples/WixDeltaPatchSymbolPathsTuple.cs
+++ b/src/WixToolset.Data/Tuples/WixDeltaPatchSymbolPathsTuple.cs
@@ -56,19 +56,19 @@ namespace WixToolset.Data.Tuples
56 56
57 public string Id 57 public string Id
58 { 58 {
59 get => (string)this.Fields[(int)WixDeltaPatchSymbolPathsTupleFields.Id]?.Value; 59 get => (string)this.Fields[(int)WixDeltaPatchSymbolPathsTupleFields.Id];
60 set => this.Set((int)WixDeltaPatchSymbolPathsTupleFields.Id, value); 60 set => this.Set((int)WixDeltaPatchSymbolPathsTupleFields.Id, value);
61 } 61 }
62 62
63 public SymbolPathType Type 63 public SymbolPathType Type
64 { 64 {
65 get => (SymbolPathType)Enum.Parse(typeof(SymbolPathType), (string)this.Fields[(int)WixDeltaPatchSymbolPathsTupleFields.Type]?.Value, true); 65 get => (SymbolPathType)Enum.Parse(typeof(SymbolPathType), (string)this.Fields[(int)WixDeltaPatchSymbolPathsTupleFields.Type], true);
66 set => this.Set((int)WixDeltaPatchSymbolPathsTupleFields.Type, value.ToString()); 66 set => this.Set((int)WixDeltaPatchSymbolPathsTupleFields.Type, value.ToString());
67 } 67 }
68 68
69 public string SymbolPaths 69 public string SymbolPaths
70 { 70 {
71 get => (string)this.Fields[(int)WixDeltaPatchSymbolPathsTupleFields.SymbolPaths]?.Value; 71 get => (string)this.Fields[(int)WixDeltaPatchSymbolPathsTupleFields.SymbolPaths];
72 set => this.Set((int)WixDeltaPatchSymbolPathsTupleFields.SymbolPaths, value); 72 set => this.Set((int)WixDeltaPatchSymbolPathsTupleFields.SymbolPaths, value);
73 } 73 }
74 } 74 }