You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuring a Ressource File with Public="true" makes only the getters public (or rather the class is made public, the getters are always public and format methods are always internal)
Steps To Reproduce
Add a ressource file with arguments and configure the analyzer:
Source Generators
Nuget Package
NuGet Package: Microsoft.CodeAnalysis.ResxSourceGenerator
Version: 3.11.0-beta1.24454.1
Describe the bug
Configuring a Ressource File with
Public="true"
makes only the getters public (or rather the class is made public, the getters are always public and format methods are always internal)Steps To Reproduce
Add a ressource file with arguments and configure the analyzer:
Example Ressource string with argument:
This {addressType} address does to conform to expected requirements.
Expected behavior
Format Methods are public
Actual behavior
Format Methods are internal
Personal suggestion for fix
Replace internal with public in this line:
The text was updated successfully, but these errors were encountered: