Commit f3311a1
fix: restore CrtDisplay.PositiveMod accessibility for unit tests
A previous code-review pass changed PositiveMod to private static,
breaking CrtDisplayTests which call it directly via CrtDisplay.PositiveMod.
Fix:
- private static → internal static (keeps it off the public API)
- Add Properties/AssemblyInfo.cs with [InternalsVisibleTo("Pipboy.Avalonia.Tests")]
so the test project can access internal members without any visibility leaks.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 883eff0 commit f3311a1
File tree
2 files changed
+5
-1
lines changed- src/Pipboy.Avalonia
- Controls
- Properties
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
809 | 809 | | |
810 | 810 | | |
811 | 811 | | |
812 | | - | |
| 812 | + | |
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments