diff options
Diffstat (limited to 'src/WixToolset.Data/WindowsInstaller/TableDefinitionCollection.cs')
| -rw-r--r-- | src/WixToolset.Data/WindowsInstaller/TableDefinitionCollection.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/WixToolset.Data/WindowsInstaller/TableDefinitionCollection.cs b/src/WixToolset.Data/WindowsInstaller/TableDefinitionCollection.cs index 91385d74..fcc2b1f6 100644 --- a/src/WixToolset.Data/WindowsInstaller/TableDefinitionCollection.cs +++ b/src/WixToolset.Data/WindowsInstaller/TableDefinitionCollection.cs | |||
| @@ -132,8 +132,9 @@ namespace WixToolset.Data.WindowsInstaller | |||
| 132 | /// Loads a collection of table definitions from a XmlReader in memory. | 132 | /// Loads a collection of table definitions from a XmlReader in memory. |
| 133 | /// </summary> | 133 | /// </summary> |
| 134 | /// <param name="reader">Reader to get data from.</param> | 134 | /// <param name="reader">Reader to get data from.</param> |
| 135 | /// <param name="tableDefinitions">Table definitions to use for strongly-typed rows.</param> | ||
| 135 | /// <returns>The TableDefinitionCollection represented by the xml.</returns> | 136 | /// <returns>The TableDefinitionCollection represented by the xml.</returns> |
| 136 | internal static TableDefinitionCollection Read(XmlReader reader) | 137 | internal static TableDefinitionCollection Read(XmlReader reader, TableDefinitionCollection tableDefinitions) |
| 137 | { | 138 | { |
| 138 | if ("tableDefinitions" != reader.LocalName) | 139 | if ("tableDefinitions" != reader.LocalName) |
| 139 | { | 140 | { |
| @@ -160,7 +161,7 @@ namespace WixToolset.Data.WindowsInstaller | |||
| 160 | switch (reader.LocalName) | 161 | switch (reader.LocalName) |
| 161 | { | 162 | { |
| 162 | case "tableDefinition": | 163 | case "tableDefinition": |
| 163 | tableDefinitionCollection.Add(TableDefinition.Read(reader)); | 164 | tableDefinitionCollection.Add(TableDefinition.Read(reader, tableDefinitions)); |
| 164 | break; | 165 | break; |
| 165 | default: | 166 | default: |
| 166 | throw new XmlException(); | 167 | throw new XmlException(); |
