From 505fe69d85c90184cd37290ccb0120fec6074c20 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Thu, 16 May 2019 12:18:36 -0700 Subject: Remove redundant `?.Value` from strongly typed accesses --- src/WixToolset.Data/Tuples/MsiShortcutPropertyTuple.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/WixToolset.Data/Tuples/MsiShortcutPropertyTuple.cs') 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 public string MsiShortcutProperty { - get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.MsiShortcutProperty]?.Value; + get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.MsiShortcutProperty]; set => this.Set((int)MsiShortcutPropertyTupleFields.MsiShortcutProperty, value); } public string Shortcut_ { - get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.Shortcut_]?.Value; + get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.Shortcut_]; set => this.Set((int)MsiShortcutPropertyTupleFields.Shortcut_, value); } public string PropertyKey { - get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.PropertyKey]?.Value; + get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.PropertyKey]; set => this.Set((int)MsiShortcutPropertyTupleFields.PropertyKey, value); } public string PropVariantValue { - get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.PropVariantValue]?.Value; + get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.PropVariantValue]; set => this.Set((int)MsiShortcutPropertyTupleFields.PropVariantValue, value); } } -- cgit v1.2.3-55-g6feb