Fix CA1052
in TypeCatalogGen
(#15840)
This commit is contained in:
parent
ce6f04aa8a
commit
44595a40ec
|
@ -27,7 +27,7 @@ using System.Text;
|
||||||
|
|
||||||
namespace Microsoft.PowerShell.CoreCLR
|
namespace Microsoft.PowerShell.CoreCLR
|
||||||
{
|
{
|
||||||
public class TypeCatalogGen
|
public static class TypeCatalogGen
|
||||||
{
|
{
|
||||||
// Help messages
|
// Help messages
|
||||||
private const string Param_TargetCSharpFilePath = "TargetCSharpFilePath";
|
private const string Param_TargetCSharpFilePath = "TargetCSharpFilePath";
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Description>Generates CorePsTypeCatalog.cs given powershell.inc</Description>
|
<Description>Generates CorePsTypeCatalog.cs given powershell.inc</Description>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||||
<AssemblyName>TypeCatalogGen</AssemblyName>
|
<AssemblyName>TypeCatalogGen</AssemblyName>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TieredCompilation>true</TieredCompilation>
|
<TieredCompilation>true</TieredCompilation>
|
||||||
|
|
Loading…
Reference in a new issue