Use DtdProcessing for XML text reader configuration statements

Proprietary

Replace standalone bound XmlTextReader.ProhibitDtd setters with equivalent Prohibit/Parse DtdProcessing assignments. Retain receiver and boolean evaluation, IDs, surrounding reader calls and XML policy. Require the receiver's static type to be exactly XmlTextReader to avoid subclass member hiding; skip assignment values, dynamic/custom boolean conversions, lambda bodies and conditional snapshots.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net3_0.UseDtdProcessingForXmlTextReaderSetters
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net3_0.UseDtdProcessingForXmlTextReaderSetters

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.