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
{{ message }}
Repository navigation
CuiSharp.TaskStatus collides with System.Threading.Tasks.TaskStatus #10
error CS0104: 'TaskStatus' is an ambiguous reference between
'CuiSharp.TaskStatus' and 'System.Threading.Tasks.TaskStatus'
The only fix was fully qualifying two call sites. Size and Color have the same relationship with System.Drawing (a likely early import for a desktop app that handles a bitmap or icon), and Status / Direction / Placement are generic enough to collide with app types.
Proposal
Any of these, cheapest first:
Put the value types under a CuiSharp.Types namespace so using CuiSharp; for widgets does not drag the colliding names in.
Rename the generic ones while pre-1.0: TaskStatus → CuiTaskStatus, and review Size / Color / Status.
At minimum, document the collision list next to the recommended using block in the skill.
Acceptance
using CuiSharp; using System.Threading.Tasks; compiles without qualification or aliases.
Activity
Merge pull request #14 from slaveOftime/pr/issues-integration
albertwoo commentedon Nov 11, 2026
Fixed and merged in PR #14.