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/WixDeltaPatchFileTuple.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs') diff --git a/src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs b/src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs index 68f327f4..a8e191df 100644 --- a/src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs +++ b/src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs @@ -47,37 +47,37 @@ namespace WixToolset.Data.Tuples public string File_ { - get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.File_]?.Value; + get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.File_]; set => this.Set((int)WixDeltaPatchFileTupleFields.File_, value); } public string RetainLengths { - get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.RetainLengths]?.Value; + get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.RetainLengths]; set => this.Set((int)WixDeltaPatchFileTupleFields.RetainLengths, value); } public string IgnoreOffsets { - get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.IgnoreOffsets]?.Value; + get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.IgnoreOffsets]; set => this.Set((int)WixDeltaPatchFileTupleFields.IgnoreOffsets, value); } public string IgnoreLengths { - get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.IgnoreLengths]?.Value; + get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.IgnoreLengths]; set => this.Set((int)WixDeltaPatchFileTupleFields.IgnoreLengths, value); } public string RetainOffsets { - get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.RetainOffsets]?.Value; + get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.RetainOffsets]; set => this.Set((int)WixDeltaPatchFileTupleFields.RetainOffsets, value); } public string SymbolPaths { - get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.SymbolPaths]?.Value; + get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.SymbolPaths]; set => this.Set((int)WixDeltaPatchFileTupleFields.SymbolPaths, value); } } -- cgit v1.2.3-55-g6feb