From bb4b388c89b09de528a40220fda623340436e77f Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Mon, 30 Nov 2015 13:14:23 -0800 Subject: [PATCH] Move TypeCatalog code to System.Management.Automation We're keeping it in the superproject for now, as it's the only build system with a dependency on the file. However, we have to move it out of the host because the unit tests also need to initialize the type catalog. --- .../typecatalog.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename src/{Microsoft.PowerShell.Linux.Host => System.Management.Automation}/typecatalog.cs (98%) diff --git a/src/Microsoft.PowerShell.Linux.Host/typecatalog.cs b/src/System.Management.Automation/typecatalog.cs similarity index 98% rename from src/Microsoft.PowerShell.Linux.Host/typecatalog.cs rename to src/System.Management.Automation/typecatalog.cs index 0abed0f77..f53ce80ab 100644 --- a/src/Microsoft.PowerShell.Linux.Host/typecatalog.cs +++ b/src/System.Management.Automation/typecatalog.cs @@ -1,4 +1,4 @@ -namespace Microsoft.PowerShell.Linux.Host +namespace System.Management.Automation { using System; using System.Collections; @@ -11,7 +11,7 @@ namespace Microsoft.PowerShell.Linux.Host using Microsoft.Extensions.PlatformAbstractions; using System.Management.Automation.Runspaces; - internal class TypeCatalog + internal static class TypeCatalog { internal static void GenerateTypeCatalog() { TrackPackage("System.Management.Automation");