From af854e4c8341cc90fb41c8b5122d4308574e8a9a Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Mon, 9 Nov 2020 15:48:37 -0500 Subject: Obsolete long-deprecated elements and attributes. --- src/WixToolset.Core/Compiler_Module.cs | 50 ---------------------------------- 1 file changed, 50 deletions(-) (limited to 'src/WixToolset.Core/Compiler_Module.cs') diff --git a/src/WixToolset.Core/Compiler_Module.cs b/src/WixToolset.Core/Compiler_Module.cs index 2f926d82..d730ae5d 100644 --- a/src/WixToolset.Core/Compiler_Module.cs +++ b/src/WixToolset.Core/Compiler_Module.cs @@ -181,9 +181,6 @@ namespace WixToolset.Core case "Icon": this.ParseIconElement(child); break; - case "IgnoreModularization": - this.ParseIgnoreModularizationElement(child); - break; case "IgnoreTable": this.ParseIgnoreTableElement(child); break; @@ -624,53 +621,6 @@ namespace WixToolset.Core } } - /// - /// Parses an ignore modularization element. - /// - /// XmlNode on an IgnoreModulatization element. - private void ParseIgnoreModularizationElement(XElement node) - { - var sourceLineNumbers = Preprocessor.GetSourceLineNumbers(node); - string name = null; - - this.Core.Write(WarningMessages.DeprecatedIgnoreModularizationElement(sourceLineNumbers)); - - foreach (var attrib in node.Attributes()) - { - if (String.IsNullOrEmpty(attrib.Name.NamespaceName) || CompilerCore.WixNamespace == attrib.Name.Namespace) - { - switch (attrib.Name.LocalName) - { - case "Name": - name = this.Core.GetAttributeIdentifierValue(sourceLineNumbers, attrib); - break; - case "Type": - // this is actually not used - break; - default: - this.Core.UnexpectedAttribute(node, attrib); - break; - } - } - else - { - this.Core.ParseExtensionAttribute(node, attrib); - } - } - - if (null == name) - { - this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Name")); - } - - this.Core.ParseForExtensionElements(node); - - if (!this.Core.EncounteredError) - { - this.Core.AddSymbol(new WixSuppressModularizationSymbol(sourceLineNumbers, new Identifier(AccessModifier.Private, name))); - } - } - /// /// Parses an IgnoreTable element. /// -- cgit v1.2.3-55-g6feb