mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
Every_ExportToolbarCommand_Resolves_An_Icon used GetField against ILSpy.Avalonia.Images.Images to verify every [ExportToolbarCommand]'s ToolbarIcon resolves to a live IImage. Images.Images currently declares its icons as static readonly fields, but a future refactor could lazify them into properties (we explored that path earlier in this session before reverting). Accept either FieldInfo or PropertyInfo so the test keeps holding under that refactor. Assisted-by: Claude:claude-opus-4-7:Claude Codepull/3755/head
1 changed files with 11 additions and 6 deletions
Loading…
Reference in new issue