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/WixInstanceTransformsTuple.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/WixToolset.Data/Tuples/WixInstanceTransformsTuple.cs') diff --git a/src/WixToolset.Data/Tuples/WixInstanceTransformsTuple.cs b/src/WixToolset.Data/Tuples/WixInstanceTransformsTuple.cs index 4f152ac6..a72bad0f 100644 --- a/src/WixToolset.Data/Tuples/WixInstanceTransformsTuple.cs +++ b/src/WixToolset.Data/Tuples/WixInstanceTransformsTuple.cs @@ -45,31 +45,31 @@ namespace WixToolset.Data.Tuples public string Id { - get => (string)this.Fields[(int)WixInstanceTransformsTupleFields.Id]?.Value; + get => (string)this.Fields[(int)WixInstanceTransformsTupleFields.Id]; set => this.Set((int)WixInstanceTransformsTupleFields.Id, value); } public string PropertyId { - get => (string)this.Fields[(int)WixInstanceTransformsTupleFields.PropertyId]?.Value; + get => (string)this.Fields[(int)WixInstanceTransformsTupleFields.PropertyId]; set => this.Set((int)WixInstanceTransformsTupleFields.PropertyId, value); } public string ProductCode { - get => (string)this.Fields[(int)WixInstanceTransformsTupleFields.ProductCode]?.Value; + get => (string)this.Fields[(int)WixInstanceTransformsTupleFields.ProductCode]; set => this.Set((int)WixInstanceTransformsTupleFields.ProductCode, value); } public string ProductName { - get => (string)this.Fields[(int)WixInstanceTransformsTupleFields.ProductName]?.Value; + get => (string)this.Fields[(int)WixInstanceTransformsTupleFields.ProductName]; set => this.Set((int)WixInstanceTransformsTupleFields.ProductName, value); } public string UpgradeCode { - get => (string)this.Fields[(int)WixInstanceTransformsTupleFields.UpgradeCode]?.Value; + get => (string)this.Fields[(int)WixInstanceTransformsTupleFields.UpgradeCode]; set => this.Set((int)WixInstanceTransformsTupleFields.UpgradeCode, value); } } -- cgit v1.2.3-55-g6feb