Use DtdProcessing in fresh XML settings initializers
ProprietaryReplace bound ProhibitDtd assignments in new XmlReaderSettings object initializers with equivalent Prohibit/Parse DtdProcessing values. Preserve the boolean expression, initializer ordering, other properties, allocation and surrounding uses. Require exact BCL construction and an already typed boolean value; leave borrowed settings, dynamic/custom conversions and conditional snapshots unchanged.
OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net3_0. UseDtdProcessingForXmlSettingsInitializersmod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net3_0. UseDtdProcessingForXmlSettingsInitializersInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.