aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/MsiShortcutPropertyTuple.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/MsiShortcutPropertyTuple.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/MsiShortcutPropertyTuple.cs')
-rw-r--r--src/WixToolset.Data/Tuples/MsiShortcutPropertyTuple.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/WixToolset.Data/Tuples/MsiShortcutPropertyTuple.cs b/src/WixToolset.Data/Tuples/MsiShortcutPropertyTuple.cs
index 9ee6b2f2..26ddbf4f 100644
--- a/src/WixToolset.Data/Tuples/MsiShortcutPropertyTuple.cs
+++ b/src/WixToolset.Data/Tuples/MsiShortcutPropertyTuple.cs
@@ -43,25 +43,25 @@ namespace WixToolset.Data.Tuples
43 43
44 public string MsiShortcutProperty 44 public string MsiShortcutProperty
45 { 45 {
46 get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.MsiShortcutProperty]?.Value; 46 get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.MsiShortcutProperty];
47 set => this.Set((int)MsiShortcutPropertyTupleFields.MsiShortcutProperty, value); 47 set => this.Set((int)MsiShortcutPropertyTupleFields.MsiShortcutProperty, value);
48 } 48 }
49 49
50 public string Shortcut_ 50 public string Shortcut_
51 { 51 {
52 get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.Shortcut_]?.Value; 52 get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.Shortcut_];
53 set => this.Set((int)MsiShortcutPropertyTupleFields.Shortcut_, value); 53 set => this.Set((int)MsiShortcutPropertyTupleFields.Shortcut_, value);
54 } 54 }
55 55
56 public string PropertyKey 56 public string PropertyKey
57 { 57 {
58 get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.PropertyKey]?.Value; 58 get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.PropertyKey];
59 set => this.Set((int)MsiShortcutPropertyTupleFields.PropertyKey, value); 59 set => this.Set((int)MsiShortcutPropertyTupleFields.PropertyKey, value);
60 } 60 }
61 61
62 public string PropVariantValue 62 public string PropVariantValue
63 { 63 {
64 get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.PropVariantValue]?.Value; 64 get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.PropVariantValue];
65 set => this.Set((int)MsiShortcutPropertyTupleFields.PropVariantValue, value); 65 set => this.Set((int)MsiShortcutPropertyTupleFields.PropVariantValue, value);
66 } 66 }
67 } 67 }