diff options
author | Bob Arnson <bob@firegiant.com> | 2019-10-22 18:12:18 -0400 |
---|---|---|
committer | Bob Arnson <bob@firegiant.com> | 2019-10-22 18:17:03 -0400 |
commit | 11355d03334e300886512411d4649536a5ee65e3 (patch) | |
tree | 21146e654f8f82b8ab1480c4a77d9afaf164df6e /src | |
parent | d9645d0faf28c2adbad249b4db047df47942160e (diff) | |
download | wix-11355d03334e300886512411d4649536a5ee65e3.tar.gz wix-11355d03334e300886512411d4649536a5ee65e3.tar.bz2 wix-11355d03334e300886512411d4649536a5ee65e3.zip |
Remove old field zero primary key bad magic code.
Diffstat (limited to 'src')
-rw-r--r-- | src/WixToolset.Core/ExtensibilityServices/ParseHelper.cs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/WixToolset.Core/ExtensibilityServices/ParseHelper.cs b/src/WixToolset.Core/ExtensibilityServices/ParseHelper.cs index 8fbfdd87..67a78a56 100644 --- a/src/WixToolset.Core/ExtensibilityServices/ParseHelper.cs +++ b/src/WixToolset.Core/ExtensibilityServices/ParseHelper.cs | |||
@@ -913,18 +913,6 @@ namespace WixToolset.Core.ExtensibilityServices | |||
913 | { | 913 | { |
914 | var tuple = tupleDefinition.CreateTuple(sourceLineNumbers, identifier); | 914 | var tuple = tupleDefinition.CreateTuple(sourceLineNumbers, identifier); |
915 | 915 | ||
916 | if (null != identifier) | ||
917 | { | ||
918 | if (tuple.Definition.FieldDefinitions[0].Type == IntermediateFieldType.Number) | ||
919 | { | ||
920 | tuple.Set(0, Convert.ToInt32(identifier.Id)); | ||
921 | } | ||
922 | else | ||
923 | { | ||
924 | tuple.Set(0, identifier.Id); | ||
925 | } | ||
926 | } | ||
927 | |||
928 | section.Tuples.Add(tuple); | 916 | section.Tuples.Add(tuple); |
929 | 917 | ||
930 | return tuple; | 918 | return tuple; |