Fix CA1052 in TypeCatalogGen (#15840)

This commit is contained in:
xtqqczze 2021-08-06 00:21:46 +01:00 committed by GitHub
parent ce6f04aa8a
commit 44595a40ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -27,7 +27,7 @@ using System.Text;
namespace Microsoft.PowerShell.CoreCLR
{
public class TypeCatalogGen
public static class TypeCatalogGen
{
// Help messages
private const string Param_TargetCSharpFilePath = "TargetCSharpFilePath";

View file

@ -3,6 +3,7 @@
<PropertyGroup>
<Description>Generates CorePsTypeCatalog.cs given powershell.inc</Description>
<TargetFramework>net6.0</TargetFramework>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AssemblyName>TypeCatalogGen</AssemblyName>
<OutputType>Exe</OutputType>
<TieredCompilation>true</TieredCompilation>