3 instantiations of CleanupScope
Microsoft.Build (3)
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
415
using var cleanupScope = new
CleanupScope
(archiveFileEventArgs.Dispose);
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
286
return new
CleanupScope
(() => binaryWriter = afterScopeWriter);
Logging\BinaryLogger\Postprocessing\StreamExtensions.cs (1)
34
using var _ = new
CleanupScope
(() => ArrayPool<byte>.Shared.Return(buffer));
2 references to CleanupScope
Microsoft.Build (2)
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
415
using
var
cleanupScope = new CleanupScope(archiveFileEventArgs.Dispose);
Logging\BinaryLogger\Postprocessing\StreamExtensions.cs (1)
34
using
var
_ = new CleanupScope(() => ArrayPool<byte>.Shared.Return(buffer));