aboutsummaryrefslogtreecommitdiff
path: root/src/wix/WixToolset.Core/ExtensibilityServices/ParseHelper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wix/WixToolset.Core/ExtensibilityServices/ParseHelper.cs')
-rw-r--r--src/wix/WixToolset.Core/ExtensibilityServices/ParseHelper.cs17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/wix/WixToolset.Core/ExtensibilityServices/ParseHelper.cs b/src/wix/WixToolset.Core/ExtensibilityServices/ParseHelper.cs
index 2d5c5b2e..654b56dc 100644
--- a/src/wix/WixToolset.Core/ExtensibilityServices/ParseHelper.cs
+++ b/src/wix/WixToolset.Core/ExtensibilityServices/ParseHelper.cs
@@ -306,9 +306,6 @@ namespace WixToolset.Core.ExtensibilityServices
306 { 306 {
307 Table = tableDefinition.Name, 307 Table = tableDefinition.Name,
308 }); 308 });
309
310 // TODO: Check if the given table definition is a custom table. For now we have to assume that it isn't.
311 //this.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.WixCustomTable, tableDefinition.Name);
312 } 309 }
313 310
314 public void EnsureTable(IntermediateSection section, SourceLineNumber sourceLineNumbers, string tableName) 311 public void EnsureTable(IntermediateSection section, SourceLineNumber sourceLineNumbers, string tableName)
@@ -317,20 +314,6 @@ namespace WixToolset.Core.ExtensibilityServices
317 { 314 {
318 Table = tableName, 315 Table = tableName,
319 }); 316 });
320
321 if (this.Creator == null)
322 {
323 this.CreateSymbolDefinitionCreator();
324 }
325
326 // TODO: The tableName may not be the same as the symbolName. For now, we have to assume that it is.
327 // We don't add custom table definitions to the tableDefinitions collection,
328 // so if it's not in there, it better be a custom table. If the Id is just wrong,
329 // instead of a custom table, we get an unresolved reference at link time.
330 if (!this.Creator.TryGetSymbolDefinitionByName(tableName, out var _))
331 {
332 this.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.WixCustomTable, tableName);
333 }
334 } 317 }
335 318
336 public string GetAttributeGuidValue(SourceLineNumber sourceLineNumbers, XAttribute attribute, bool generatable = false, bool canBeEmpty = false) 319 public string GetAttributeGuidValue(SourceLineNumber sourceLineNumbers, XAttribute attribute, bool generatable = false, bool canBeEmpty = false)