Sergio0694 / PolySharp

PolySharp provides generated, source-only polyfills for C# language features, to easily use all runtime-agnostic features downlevel. Add a reference, set your C# version to latest and have fun! 🚀
MIT License
1.83k stars 49 forks source link

Fix InlineArrayAttribute visibility #92

Closed sliekens closed 11 months ago

sliekens commented 12 months ago

Description (optional)

This PR changes the default visibility of the generated InlineArrayAttribute from public to internal, to conform with the other generated attributes.

Additional context (optional)

Generated code should only be public when PolySharpUsePublicAccessibilityForGeneratedTypes is enabled.