diff --git a/ICSharpCode.Decompiler/IL/Transforms/DelegateConstruction.cs b/ICSharpCode.Decompiler/IL/Transforms/DelegateConstruction.cs index 2b78ecf37..a87253dca 100644 --- a/ICSharpCode.Decompiler/IL/Transforms/DelegateConstruction.cs +++ b/ICSharpCode.Decompiler/IL/Transforms/DelegateConstruction.cs @@ -162,7 +162,7 @@ namespace ICSharpCode.Decompiler.IL.Transforms } ILFunction TransformDelegateConstruction( - ILInstruction value, IMethod targetMethod, + ILInstruction value, IMethod targetMethod, ILInstruction target, IType delegateType) { if (!IsAnonymousMethod(decompilationContext.CurrentTypeDefinition, targetMethod)) diff --git a/appveyor.yml b/appveyor.yml index 8b9b0dd07..37b094854 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -13,7 +13,7 @@ init: install: - git submodule update --init --recursive - pwsh .\BuildTools\appveyor-install.ps1 -- dotnet tool install dotnet-format --tool-path BuildTools +- dotnet tool install dotnet-format --tool-path BuildTools --version 4.1.131201 nuget: account_feed: false diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e087c1aea..4ef922dce 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -52,7 +52,7 @@ jobs: inputs: command: 'custom' custom: 'tool' - arguments: 'install dotnet-format --tool-path $(Agent.ToolsDirectory)/dotnet-format' + arguments: 'install dotnet-format --tool-path $(Agent.ToolsDirectory)/dotnet-format --version 4.1.131201' - script: pwsh .\BuildTools\pipelines-install.ps1 displayName: Install