Azure / azure-powershell-common

Microsoft Azure PowerShell common components
Other
35 stars 56 forks source link

Fixed bug about access level in Resources.Designer.cs #399

Closed BethanyZhou closed 1 year ago

BethanyZhou commented 1 year ago

The access level of Resources.Designer.cs is decided by the custom tool of Resources.resx. image

ResXFileCodeGenerator means internal access and PublicResXFileCodeGenerator means public access.

In our code, ResXFileCodeGenerator is used as the custom tool of Resources.resx files. But part of Resources.Designer.cs files is internal access and remaining is public access.

Adjusted the custom tool to PublicResXFileCodeGenerator or ResXFileCodeGenerator to keep consistent behavior in this PR.

Note that the access level of some Resources.Designer.cs files are internal, this PR doesn't change their custom tool.