Browse Source

Fix build and use specific version of dotnet-format.

pull/2201/head
Siegfried Pammer 5 years ago
parent
commit
a7f58e8657
  1. 2
      ICSharpCode.Decompiler/IL/Transforms/DelegateConstruction.cs
  2. 2
      appveyor.yml
  3. 2
      azure-pipelines.yml

2
ICSharpCode.Decompiler/IL/Transforms/DelegateConstruction.cs

@ -162,7 +162,7 @@ namespace ICSharpCode.Decompiler.IL.Transforms @@ -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))

2
appveyor.yml

@ -13,7 +13,7 @@ init: @@ -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

2
azure-pipelines.yml

@ -52,7 +52,7 @@ jobs: @@ -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

Loading…
Cancel
Save