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/ComboBoxTuple.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/WixToolset.Data/Tuples/ComboBoxTuple.cs') diff --git a/src/WixToolset.Data/Tuples/ComboBoxTuple.cs b/src/WixToolset.Data/Tuples/ComboBoxTuple.cs index 67acc30c..f3629c5f 100644 --- a/src/WixToolset.Data/Tuples/ComboBoxTuple.cs +++ b/src/WixToolset.Data/Tuples/ComboBoxTuple.cs @@ -43,25 +43,25 @@ namespace WixToolset.Data.Tuples public string Property { - get => (string)this.Fields[(int)ComboBoxTupleFields.Property]?.Value; + get => (string)this.Fields[(int)ComboBoxTupleFields.Property]; set => this.Set((int)ComboBoxTupleFields.Property, value); } public int Order { - get => (int)this.Fields[(int)ComboBoxTupleFields.Order]?.Value; + get => (int)this.Fields[(int)ComboBoxTupleFields.Order]; set => this.Set((int)ComboBoxTupleFields.Order, value); } public string Value { - get => (string)this.Fields[(int)ComboBoxTupleFields.Value]?.Value; + get => (string)this.Fields[(int)ComboBoxTupleFields.Value]; set => this.Set((int)ComboBoxTupleFields.Value, value); } public string Text { - get => (string)this.Fields[(int)ComboBoxTupleFields.Text]?.Value; + get => (string)this.Fields[(int)ComboBoxTupleFields.Text]; set => this.Set((int)ComboBoxTupleFields.Text, value); } } -- cgit v1.2.3-55-g6feb