Find obsolete 5-argument EncoderParameter constructor
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework.FindObsoleteEncoderParameterCtorArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetFinds uses of the obsolete EncoderParameter(Encoder, int, int, int, int) constructor (obsolete as of .NET Framework 4.5). Use the EncoderParameter(Encoder, int, EncoderParameterValueType, IntPtr) overload instead.
Single recipesearchdotnetnet-frameworkdrawingProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe OpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework.FindObsoleteEncoderParameterCtorIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet