Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/Tasks/ManifestUtil/ManifestReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,9 @@ public static Manifest ReadManifest(string manifestType, Stream input, bool pres
private static Manifest Deserialize(Stream s)
{
s.Position = 0;
using var r = new XmlTextReader(s) { DtdProcessing = DtdProcessing.Ignore };
#pragma warning disable CA2000 // Dispose objects before losing scope is suppressed because the stream will be handled in the caller
var r = new XmlTextReader(s) { DtdProcessing = DtdProcessing.Ignore };
#pragma warning restore CA2000 // Dispose objects before losing scope

do
{
Expand Down