Task type
Tech Debt — Good to have
Context
TraceWrapper is a ~7-line class that wraps System.Diagnostics.Trace.WriteLine behind a #if !NETSTANDARD guard. It has effectively 0-1 active consumers. The guard can be moved to the call site or removed if netstandard is no longer targeted.
Priority
🟢 Low priority / Good to have — Trivial removal. Near-zero risk.
Proposed fix
- Find all callers of
TraceWrapper
- Replace with direct
System.Diagnostics.Trace.WriteLine calls (with #if guard if still needed)
- Delete
TraceWrapper.cs
- Verify build passes on all TFMs
Risk assessment
🟢 Very low — Minimal code, minimal consumers.
Task type
Tech Debt — Good to have
Context
TraceWrapperis a ~7-line class that wrapsSystem.Diagnostics.Trace.WriteLinebehind a#if !NETSTANDARDguard. It has effectively 0-1 active consumers. The guard can be moved to the call site or removed if netstandard is no longer targeted.Priority
🟢 Low priority / Good to have — Trivial removal. Near-zero risk.
Proposed fix
TraceWrapperSystem.Diagnostics.Trace.WriteLinecalls (with#ifguard if still needed)TraceWrapper.csRisk assessment
🟢 Very low — Minimal code, minimal consumers.