mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Update csharp/ql/test/query-tests/API Abuse/NoDisposeCallOnLocalIDisposable/NoDisposeCallOnLocalIDisposable.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -87,7 +87,7 @@ class Test
|
||||
using (XmlReader.Create(source ?? new StringReader("xml"), null))
|
||||
;
|
||||
|
||||
// GOOD: Flagging these generates to much noise and there is a general
|
||||
// GOOD: Flagging these generates too much noise and there is a general
|
||||
// acceptance that Tasks are not disposed.
|
||||
// https://devblogs.microsoft.com/pfxteam/do-i-need-to-dispose-of-tasks/
|
||||
Task t = new Task(() => { });
|
||||
|
||||
Reference in New Issue
Block a user