From 293a609a10765c91dd5ef3f535d9f6f8699a075d Mon Sep 17 00:00:00 2001 From: Hank McCord Date: Tue, 21 Sep 2021 22:44:34 -0400 Subject: Seal previously publicized classes --- src/wix/heat/AssemblyHarvester.cs | 2 +- src/wix/heat/DirectoryHarvester.cs | 2 +- src/wix/heat/DllHarvester.cs | 2 +- src/wix/heat/FileHarvester.cs | 2 +- src/wix/heat/IIsFinalizeHarvesterMutator.cs | 2 +- src/wix/heat/IIsHarvesterMutator.cs | 2 +- src/wix/heat/IIsHeatExtension.cs | 2 +- src/wix/heat/IIsWebSiteHarvester.cs | 2 +- src/wix/heat/PayloadHarvester.cs | 2 +- src/wix/heat/PerformanceCategoryHarvester.cs | 2 +- src/wix/heat/RegFileHarvester.cs | 2 +- src/wix/heat/RegistryHarvester.cs | 2 +- src/wix/heat/TypeLibraryHarvester.cs | 2 +- src/wix/heat/UtilFinalizeHarvesterMutator.cs | 2 +- src/wix/heat/UtilHarvesterMutator.cs | 2 +- src/wix/heat/UtilHeatExtension.cs | 2 +- src/wix/heat/UtilMutator.cs | 2 +- src/wix/heat/UtilTransformMutator.cs | 2 +- src/wix/heat/VSHeatExtension.cs | 2 +- src/wix/heat/VSProjectHarvester.cs | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/wix/heat/AssemblyHarvester.cs b/src/wix/heat/AssemblyHarvester.cs index 37af4840..2304d827 100644 --- a/src/wix/heat/AssemblyHarvester.cs +++ b/src/wix/heat/AssemblyHarvester.cs @@ -10,7 +10,7 @@ namespace WixToolset.Harvesters /// /// Harvest WiX authoring from an assembly file. /// - public class AssemblyHarvester + public sealed class AssemblyHarvester { /// /// Harvest the registry values written by RegisterAssembly. diff --git a/src/wix/heat/DirectoryHarvester.cs b/src/wix/heat/DirectoryHarvester.cs index 1147c322..c1cc3edb 100644 --- a/src/wix/heat/DirectoryHarvester.cs +++ b/src/wix/heat/DirectoryHarvester.cs @@ -12,7 +12,7 @@ namespace WixToolset.Harvesters /// /// Harvest WiX authoring for a directory from the file system. /// - public class DirectoryHarvester : BaseHarvesterExtension + public sealed class DirectoryHarvester : BaseHarvesterExtension { private FileHarvester fileHarvester; diff --git a/src/wix/heat/DllHarvester.cs b/src/wix/heat/DllHarvester.cs index 0c6cd4fa..e8c5ae40 100644 --- a/src/wix/heat/DllHarvester.cs +++ b/src/wix/heat/DllHarvester.cs @@ -11,7 +11,7 @@ namespace WixToolset.Harvesters /// /// Harvest WiX authoring from a native DLL file. /// - public class DllHarvester + public sealed class DllHarvester { /// /// Harvest the registry values written by calling DllRegisterServer on the specified file. diff --git a/src/wix/heat/FileHarvester.cs b/src/wix/heat/FileHarvester.cs index 0c33363b..886b942a 100644 --- a/src/wix/heat/FileHarvester.cs +++ b/src/wix/heat/FileHarvester.cs @@ -12,7 +12,7 @@ namespace WixToolset.Harvesters /// /// Harvest WiX authoring for a file from the file system. /// - public class FileHarvester : BaseHarvesterExtension + public sealed class FileHarvester : BaseHarvesterExtension { private string rootedDirectoryRef; private bool setUniqueIdentifiers; diff --git a/src/wix/heat/IIsFinalizeHarvesterMutator.cs b/src/wix/heat/IIsFinalizeHarvesterMutator.cs index 765761a2..cfe90272 100644 --- a/src/wix/heat/IIsFinalizeHarvesterMutator.cs +++ b/src/wix/heat/IIsFinalizeHarvesterMutator.cs @@ -13,7 +13,7 @@ namespace WixToolset.Harvesters /// /// The finalize harvester mutator for the WiX Toolset Internet Information Services Extension. /// - public class IIsFinalizeHarvesterMutator : BaseMutatorExtension + public sealed class IIsFinalizeHarvesterMutator : BaseMutatorExtension { private Hashtable directoryPaths; private Hashtable filePaths; diff --git a/src/wix/heat/IIsHarvesterMutator.cs b/src/wix/heat/IIsHarvesterMutator.cs index ac16d224..a0147d0f 100644 --- a/src/wix/heat/IIsHarvesterMutator.cs +++ b/src/wix/heat/IIsHarvesterMutator.cs @@ -13,7 +13,7 @@ namespace WixToolset.Harvesters /// /// The harvester mutator for the WiX Toolset Internet Information Services Extension. /// - public class IIsHarvesterMutator : BaseMutatorExtension + public sealed class IIsHarvesterMutator : BaseMutatorExtension { private ArrayList components; private DirectoryHarvester directoryHarvester; diff --git a/src/wix/heat/IIsHeatExtension.cs b/src/wix/heat/IIsHeatExtension.cs index 8ad87bbc..be998370 100644 --- a/src/wix/heat/IIsHeatExtension.cs +++ b/src/wix/heat/IIsHeatExtension.cs @@ -8,7 +8,7 @@ namespace WixToolset.Harvesters /// /// An IIS harvesting extension for the WiX Toolset Harvester application. /// - public class IIsHeatExtension : BaseHeatExtension + public sealed class IIsHeatExtension : BaseHeatExtension { /// /// Gets the supported command line types for this extension. diff --git a/src/wix/heat/IIsWebSiteHarvester.cs b/src/wix/heat/IIsWebSiteHarvester.cs index e389f554..6e5e29c7 100644 --- a/src/wix/heat/IIsWebSiteHarvester.cs +++ b/src/wix/heat/IIsWebSiteHarvester.cs @@ -15,7 +15,7 @@ namespace WixToolset.Harvesters /// /// The web site harvester for the WiX Toolset Internet Information Services Extension. /// - public class IIsWebSiteHarvester : BaseHarvesterExtension + public sealed class IIsWebSiteHarvester : BaseHarvesterExtension { /// /// Harvest a WiX document. diff --git a/src/wix/heat/PayloadHarvester.cs b/src/wix/heat/PayloadHarvester.cs index fe7c8297..d2492512 100644 --- a/src/wix/heat/PayloadHarvester.cs +++ b/src/wix/heat/PayloadHarvester.cs @@ -14,7 +14,7 @@ namespace WixToolset.Harvesters /// /// Harvest WiX authoring for a payload from the file system. /// - public class PayloadHarvester : BaseHarvesterExtension + public sealed class PayloadHarvester : BaseHarvesterExtension { private bool setUniqueIdentifiers; private WixBundlePackageType packageType; diff --git a/src/wix/heat/PerformanceCategoryHarvester.cs b/src/wix/heat/PerformanceCategoryHarvester.cs index 551e50d7..6be3401b 100644 --- a/src/wix/heat/PerformanceCategoryHarvester.cs +++ b/src/wix/heat/PerformanceCategoryHarvester.cs @@ -14,7 +14,7 @@ namespace WixToolset.Harvesters /// /// Harvest WiX authoring for a file from the file system. /// - public class PerformanceCategoryHarvester : BaseHarvesterExtension + public sealed class PerformanceCategoryHarvester : BaseHarvesterExtension { /// /// Harvest a performance category. diff --git a/src/wix/heat/RegFileHarvester.cs b/src/wix/heat/RegFileHarvester.cs index b8b1d44d..1377d413 100644 --- a/src/wix/heat/RegFileHarvester.cs +++ b/src/wix/heat/RegFileHarvester.cs @@ -14,7 +14,7 @@ namespace WixToolset.Harvesters /// /// Harvest WiX authoring for a reg file. /// - public class RegFileHarvester : BaseHarvesterExtension + public sealed class RegFileHarvester : BaseHarvesterExtension { private static readonly string ComponentPrefix = "cmp"; diff --git a/src/wix/heat/RegistryHarvester.cs b/src/wix/heat/RegistryHarvester.cs index 668009eb..0dfd3a29 100644 --- a/src/wix/heat/RegistryHarvester.cs +++ b/src/wix/heat/RegistryHarvester.cs @@ -16,7 +16,7 @@ namespace WixToolset.Harvesters /// /// Harvest WiX authoring from the registry. /// - public class RegistryHarvester : IDisposable + public sealed class RegistryHarvester : IDisposable { private const string HKCRPathInHKLM = @"Software\Classes"; private string remappedPath; diff --git a/src/wix/heat/TypeLibraryHarvester.cs b/src/wix/heat/TypeLibraryHarvester.cs index 125f45df..b5c1cba6 100644 --- a/src/wix/heat/TypeLibraryHarvester.cs +++ b/src/wix/heat/TypeLibraryHarvester.cs @@ -10,7 +10,7 @@ namespace WixToolset.Harvesters /// /// Harvest WiX authoring from a type library file. /// - public class TypeLibraryHarvester + public sealed class TypeLibraryHarvester { /// /// Harvest the registry values written by RegisterTypeLib. diff --git a/src/wix/heat/UtilFinalizeHarvesterMutator.cs b/src/wix/heat/UtilFinalizeHarvesterMutator.cs index 04083bbe..5af56e89 100644 --- a/src/wix/heat/UtilFinalizeHarvesterMutator.cs +++ b/src/wix/heat/UtilFinalizeHarvesterMutator.cs @@ -17,7 +17,7 @@ namespace WixToolset.Harvesters /// /// The finalize harvester mutator for the WiX Toolset Utility Extension. /// - public class UtilFinalizeHarvesterMutator : BaseMutatorExtension + public sealed class UtilFinalizeHarvesterMutator : BaseMutatorExtension { private ArrayList components; private ArrayList directories; diff --git a/src/wix/heat/UtilHarvesterMutator.cs b/src/wix/heat/UtilHarvesterMutator.cs index e2402880..af2584e3 100644 --- a/src/wix/heat/UtilHarvesterMutator.cs +++ b/src/wix/heat/UtilHarvesterMutator.cs @@ -15,7 +15,7 @@ namespace WixToolset.Harvesters /// /// The WiX Toolset harvester mutator. /// - public class UtilHarvesterMutator : BaseMutatorExtension + public sealed class UtilHarvesterMutator : BaseMutatorExtension { // Flags for SetErrorMode() native method. private const UInt32 SEM_FAILCRITICALERRORS = 0x0001; diff --git a/src/wix/heat/UtilHeatExtension.cs b/src/wix/heat/UtilHeatExtension.cs index 5a5935ec..e5be9cac 100644 --- a/src/wix/heat/UtilHeatExtension.cs +++ b/src/wix/heat/UtilHeatExtension.cs @@ -15,7 +15,7 @@ namespace WixToolset.Harvesters /// /// A utility heat extension for the WiX Toolset Harvester application. /// - public class UtilHeatExtension : BaseHeatExtension + public sealed class UtilHeatExtension : BaseHeatExtension { public UtilHeatExtension(IServiceProvider serviceProvider) { diff --git a/src/wix/heat/UtilMutator.cs b/src/wix/heat/UtilMutator.cs index 46532fbc..0bc15cd6 100644 --- a/src/wix/heat/UtilMutator.cs +++ b/src/wix/heat/UtilMutator.cs @@ -34,7 +34,7 @@ namespace WixToolset.Harvesters /// /// The mutator for the WiX Toolset Internet Information Services Extension. /// - public class UtilMutator : BaseMutatorExtension + public sealed class UtilMutator : BaseMutatorExtension { private ArrayList components; private ArrayList componentGroups; diff --git a/src/wix/heat/UtilTransformMutator.cs b/src/wix/heat/UtilTransformMutator.cs index a4597eb7..2d3f2bb0 100644 --- a/src/wix/heat/UtilTransformMutator.cs +++ b/src/wix/heat/UtilTransformMutator.cs @@ -9,7 +9,7 @@ namespace WixToolset.Harvesters using WixToolset.Harvesters.Data; using WixToolset.Harvesters.Extensibility; - public class UtilTransformMutator : BaseMutatorExtension + public sealed class UtilTransformMutator : BaseMutatorExtension { private string transform; private int transformSequence; diff --git a/src/wix/heat/VSHeatExtension.cs b/src/wix/heat/VSHeatExtension.cs index e628f19b..d31cd25a 100644 --- a/src/wix/heat/VSHeatExtension.cs +++ b/src/wix/heat/VSHeatExtension.cs @@ -29,7 +29,7 @@ namespace WixToolset.Harvesters /// /// VS-related extensions for the WiX Toolset Harvester application. /// - public class VSHeatExtension : BaseHeatExtension + public sealed class VSHeatExtension : BaseHeatExtension { /// /// Gets the supported command line types for this extension. diff --git a/src/wix/heat/VSProjectHarvester.cs b/src/wix/heat/VSProjectHarvester.cs index 7a7ba773..93b20cd8 100644 --- a/src/wix/heat/VSProjectHarvester.cs +++ b/src/wix/heat/VSProjectHarvester.cs @@ -19,7 +19,7 @@ namespace WixToolset.Harvesters /// /// Harvest WiX authoring for the outputs of a VS project. /// - public class VSProjectHarvester : BaseHarvesterExtension + public sealed class VSProjectHarvester : BaseHarvesterExtension { // These format strings are used for generated element identifiers. // {0} = project name -- cgit v1.2.3-55-g6feb