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
usingSystem;publicclassProgram{publicMyDisposableFoo=newMyDisposable();// IDISP006 shows correctly. Replace with new() and the warning goes away}publicclassMyDisposable:IDisposable{publicvoidDispose(){}}
version: 4.0.6
dotnet version: 7.0.203
The text was updated successfully, but these errors were encountered:
Minimum repro:
version: 4.0.6
dotnet version: 7.0.203
The text was updated successfully, but these errors were encountered: