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/RegLocatorTuple.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/WixToolset.Data/Tuples/RegLocatorTuple.cs') diff --git a/src/WixToolset.Data/Tuples/RegLocatorTuple.cs b/src/WixToolset.Data/Tuples/RegLocatorTuple.cs index b098e687..f8edad95 100644 --- a/src/WixToolset.Data/Tuples/RegLocatorTuple.cs +++ b/src/WixToolset.Data/Tuples/RegLocatorTuple.cs @@ -45,31 +45,31 @@ namespace WixToolset.Data.Tuples public string Signature_ { - get => (string)this.Fields[(int)RegLocatorTupleFields.Signature_]?.Value; + get => (string)this.Fields[(int)RegLocatorTupleFields.Signature_]; set => this.Set((int)RegLocatorTupleFields.Signature_, value); } public int Root { - get => (int)this.Fields[(int)RegLocatorTupleFields.Root]?.Value; + get => (int)this.Fields[(int)RegLocatorTupleFields.Root]; set => this.Set((int)RegLocatorTupleFields.Root, value); } public string Key { - get => (string)this.Fields[(int)RegLocatorTupleFields.Key]?.Value; + get => (string)this.Fields[(int)RegLocatorTupleFields.Key]; set => this.Set((int)RegLocatorTupleFields.Key, value); } public string Name { - get => (string)this.Fields[(int)RegLocatorTupleFields.Name]?.Value; + get => (string)this.Fields[(int)RegLocatorTupleFields.Name]; set => this.Set((int)RegLocatorTupleFields.Name, value); } public int Type { - get => (int)this.Fields[(int)RegLocatorTupleFields.Type]?.Value; + get => (int)this.Fields[(int)RegLocatorTupleFields.Type]; set => this.Set((int)RegLocatorTupleFields.Type, value); } } -- cgit v1.2.3-55-g6feb