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/IniLocatorTuple.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/WixToolset.Data/Tuples/IniLocatorTuple.cs') diff --git a/src/WixToolset.Data/Tuples/IniLocatorTuple.cs b/src/WixToolset.Data/Tuples/IniLocatorTuple.cs index f956ee5f..84097f9c 100644 --- a/src/WixToolset.Data/Tuples/IniLocatorTuple.cs +++ b/src/WixToolset.Data/Tuples/IniLocatorTuple.cs @@ -47,37 +47,37 @@ namespace WixToolset.Data.Tuples public string Signature_ { - get => (string)this.Fields[(int)IniLocatorTupleFields.Signature_]?.Value; + get => (string)this.Fields[(int)IniLocatorTupleFields.Signature_]; set => this.Set((int)IniLocatorTupleFields.Signature_, value); } public string FileName { - get => (string)this.Fields[(int)IniLocatorTupleFields.FileName]?.Value; + get => (string)this.Fields[(int)IniLocatorTupleFields.FileName]; set => this.Set((int)IniLocatorTupleFields.FileName, value); } public string Section { - get => (string)this.Fields[(int)IniLocatorTupleFields.Section]?.Value; + get => (string)this.Fields[(int)IniLocatorTupleFields.Section]; set => this.Set((int)IniLocatorTupleFields.Section, value); } public string Key { - get => (string)this.Fields[(int)IniLocatorTupleFields.Key]?.Value; + get => (string)this.Fields[(int)IniLocatorTupleFields.Key]; set => this.Set((int)IniLocatorTupleFields.Key, value); } public int Field { - get => (int)this.Fields[(int)IniLocatorTupleFields.Field]?.Value; + get => (int)this.Fields[(int)IniLocatorTupleFields.Field]; set => this.Set((int)IniLocatorTupleFields.Field, value); } public int Type { - get => (int)this.Fields[(int)IniLocatorTupleFields.Type]?.Value; + get => (int)this.Fields[(int)IniLocatorTupleFields.Type]; set => this.Set((int)IniLocatorTupleFields.Type, value); } } -- cgit v1.2.3-55-g6feb