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/WixPatchRefTuple.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/WixToolset.Data/Tuples/WixPatchRefTuple.cs') diff --git a/src/WixToolset.Data/Tuples/WixPatchRefTuple.cs b/src/WixToolset.Data/Tuples/WixPatchRefTuple.cs index 63528439..fa357566 100644 --- a/src/WixToolset.Data/Tuples/WixPatchRefTuple.cs +++ b/src/WixToolset.Data/Tuples/WixPatchRefTuple.cs @@ -39,13 +39,13 @@ namespace WixToolset.Data.Tuples public string Table { - get => (string)this.Fields[(int)WixPatchRefTupleFields.Table]?.Value; + get => (string)this.Fields[(int)WixPatchRefTupleFields.Table]; set => this.Set((int)WixPatchRefTupleFields.Table, value); } public string PrimaryKeys { - get => (string)this.Fields[(int)WixPatchRefTupleFields.PrimaryKeys]?.Value; + get => (string)this.Fields[(int)WixPatchRefTupleFields.PrimaryKeys]; set => this.Set((int)WixPatchRefTupleFields.PrimaryKeys, value); } } -- cgit v1.2.3-55-g6feb