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/MsiEmbeddedChainerTuple.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/WixToolset.Data/Tuples/MsiEmbeddedChainerTuple.cs') diff --git a/src/WixToolset.Data/Tuples/MsiEmbeddedChainerTuple.cs b/src/WixToolset.Data/Tuples/MsiEmbeddedChainerTuple.cs index 7f1b7a2a..72d92c3e 100644 --- a/src/WixToolset.Data/Tuples/MsiEmbeddedChainerTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiEmbeddedChainerTuple.cs @@ -45,31 +45,31 @@ namespace WixToolset.Data.Tuples public string MsiEmbeddedChainer { - get => (string)this.Fields[(int)MsiEmbeddedChainerTupleFields.MsiEmbeddedChainer]?.Value; + get => (string)this.Fields[(int)MsiEmbeddedChainerTupleFields.MsiEmbeddedChainer]; set => this.Set((int)MsiEmbeddedChainerTupleFields.MsiEmbeddedChainer, value); } public string Condition { - get => (string)this.Fields[(int)MsiEmbeddedChainerTupleFields.Condition]?.Value; + get => (string)this.Fields[(int)MsiEmbeddedChainerTupleFields.Condition]; set => this.Set((int)MsiEmbeddedChainerTupleFields.Condition, value); } public string CommandLine { - get => (string)this.Fields[(int)MsiEmbeddedChainerTupleFields.CommandLine]?.Value; + get => (string)this.Fields[(int)MsiEmbeddedChainerTupleFields.CommandLine]; set => this.Set((int)MsiEmbeddedChainerTupleFields.CommandLine, value); } public string Source { - get => (string)this.Fields[(int)MsiEmbeddedChainerTupleFields.Source]?.Value; + get => (string)this.Fields[(int)MsiEmbeddedChainerTupleFields.Source]; set => this.Set((int)MsiEmbeddedChainerTupleFields.Source, value); } public int Type { - get => (int)this.Fields[(int)MsiEmbeddedChainerTupleFields.Type]?.Value; + get => (int)this.Fields[(int)MsiEmbeddedChainerTupleFields.Type]; set => this.Set((int)MsiEmbeddedChainerTupleFields.Type, value); } } -- cgit v1.2.3-55-g6feb