microsoft / microsoft/win32metadata

`MSITRANSFORM_VALIDATE_LANGUAGE` not emitting with `[Flags]` in CsWin32.

Open
#2,297 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.5k
Forks
149
Avg merge
5d 16h
Merged PRs (30d)
4

Description

```C#
// ------------------------------------------------------------------------------
//
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
// ------------------------------------------------------------------------------

#pragma warning disable CS1591,CS1573,CS0465,CS0649,CS8019,CS1570,CS1584,CS1658,CS0436,CS8981,SYSLIB1092,CS3016
using global::System;
using global::System.Diagnostics;
using global::System.Diagnostics.CodeAnalysis;
using global::System.Runtime.CompilerServices;
using global::System.Runtime.InteropServices;
using winmdroot = global::Windows.Win32;
namespace Windows.Win32
{
namespace System.ApplicationInstallationAndServicing
{
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.321+b0f1e799e6.RR")]
internal enum MSITRANSFORM_VALIDATE
{
MSITRANSFORM_VALIDATE_LANGUAGE = 1,
MSITRANSFORM_VALIDATE_PRODUCT = 2,
MSITRANSFORM_VALIDATE_PLATFORM = 4,
MSITRANSFORM_VALIDATE_MAJORVERSION = 8,
MSITRANSFORM_VALIDATE_MINORVERSION = 16,
MSITRANSFORM_VALIDATE_UPDATEVERSION = 32,
MSITRANSFORM_VALIDATE_NEWLESSBASEVERSION = 64,
MSITRANSFORM_VALIDATE_NEWLESSEQUALBASEVERSION = 128,
MSITRANSFORM_VALIDATE_NEWEQUALBASEVERSION = 256,
MSITRANSFORM_VALIDATE_NEWGREATEREQUALBASEVERSION = 512,
MSITRANSFORM_VALIDATE_NEWGREATERBASEVERSION = 1024,
MSITRANSFORM_VALIDATE_UPGRADECODE = 2048,
}
}
}
```

Contributor guide

Open the contributing guide

Research direction

Start by tracing CsWin32's enum-generation path for the MSITRANSFORM_VALIDATE enum and compare it with generated flag enums. Identify the metadata or generation test covering this enum; done means the generated declaration includes [Flags] while preserving the existing members and values.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.