Browse Source

Add ReferenceTrimmer and remove unused references

pull/3666/head
David Federman 2 months ago
parent
commit
98b9342f34
  1. 3
      Directory.Build.props
  2. 1
      Directory.Packages.props
  3. 24
      ICSharpCode.BamlDecompiler/packages.lock.json
  4. 1
      ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj
  5. 34
      ICSharpCode.ILSpyCmd/packages.lock.json
  6. 18
      ICSharpCode.ILSpyX/packages.lock.json
  7. 3
      ILSpy.BamlDecompiler.Tests/ILSpy.BamlDecompiler.Tests.csproj
  8. 1
      ILSpy.Tests/ILSpy.Tests.csproj

3
Directory.Build.props

@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
<Project>
<PropertyGroup>
<NoWarn>$(NoWarn);NU1510</NoWarn>
<NoWarn>$(NoWarn);NU1510;CS1591</NoWarn>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup>

1
Directory.Packages.props

@ -56,6 +56,7 @@ @@ -56,6 +56,7 @@
<PackageVersion Include="System.Text.RegularExpressions" Version="4.3.1" />
</ItemGroup>
<ItemGroup>
<GlobalPackageReference Include="ReferenceTrimmer" Version="3.4.5" />
<GlobalPackageReference Include="TomsToolbox.Composition.Analyzer" Version="2.22.2" />
</ItemGroup>
</Project>

24
ICSharpCode.BamlDecompiler/packages.lock.json

@ -8,6 +8,12 @@ @@ -8,6 +8,12 @@
"resolved": "4.1.5",
"contentHash": "i5z+cNu/cOcdO0AgFB8aXk8w6In2H+haaDfSgd9ImvQIK+rSHavHZIogVoAZLL8jLwYx4bAcs5b7EyuMMG4mQQ=="
},
"ReferenceTrimmer": {
"type": "Direct",
"requested": "[3.4.5, )",
"resolved": "3.4.5",
"contentHash": "I3vQerUFZ3BSrPfdpAUZX+OIEj9rf/BZ0p/Dc+KlygFHsGa3zekygNhqoPOP6/p06ql1lAcGmrqJGpsLOb6Yfw=="
},
"TomsToolbox.Composition.Analyzer": {
"type": "Direct",
"requested": "[2.22.2, )",
@ -15,23 +21,7 @@ @@ -15,23 +21,7 @@
"contentHash": "7gYo8ZR2eq3XkrilvUpLbTypeZy6IlD5FB8jah0YPhMOmDGhya4jJ3kfDMTTRt5m258Ou78P69mHMkG6DKZXsg=="
},
"icsharpcode.decompiler": {
"type": "Project",
"dependencies": {
"System.Collections.Immutable": "[9.0.0, )",
"System.Reflection.Metadata": "[9.0.0, )"
}
},
"System.Collections.Immutable": {
"type": "CentralTransitive",
"requested": "[10.0.3, )",
"resolved": "9.0.0",
"contentHash": "QhkXUl2gNrQtvPmtBTQHb0YsUrDiDQ2QS09YbtTTiSjGcf7NBqtYbrG/BE06zcBPCKEwQGzIv13IVdXNOSub2w=="
},
"System.Reflection.Metadata": {
"type": "CentralTransitive",
"requested": "[10.0.3, )",
"resolved": "9.0.0",
"contentHash": "ANiqLu3DxW9kol/hMmTWbt3414t9ftdIuiIU7j80okq2YzAueo120M442xk1kDJWtmZTqWQn7wHDvMRipVOEOQ=="
"type": "Project"
}
}
}

1
ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj

@ -79,7 +79,6 @@ @@ -79,7 +79,6 @@
<PackageReference Include="Mono.Cecil" />
<PackageReference Include="Microsoft.NETCore.ILAsm" />
<PackageReference Include="Microsoft.NETCore.ILDAsm" />
<PackageReference Include="System.Resources.Extensions" />
</ItemGroup>
<ItemGroup>

34
ICSharpCode.ILSpyCmd/packages.lock.json

@ -52,6 +52,12 @@ @@ -52,6 +52,12 @@
"NuGet.Packaging": "7.3.0"
}
},
"ReferenceTrimmer": {
"type": "Direct",
"requested": "[3.4.5, )",
"resolved": "3.4.5",
"contentHash": "I3vQerUFZ3BSrPfdpAUZX+OIEj9rf/BZ0p/Dc+KlygFHsGa3zekygNhqoPOP6/p06ql1lAcGmrqJGpsLOb6Yfw=="
},
"System.Security.Cryptography.Pkcs": {
"type": "Direct",
"requested": "[10.0.3, )",
@ -343,11 +349,7 @@ @@ -343,11 +349,7 @@
"contentHash": "+TUFINV2q2ifyXauQXRwy4CiBhqvDEDZeVJU7qfxya4aRYOKzVBpN+4acx25VcPB9ywUN6C0n8drWl110PhZEg=="
},
"icsharpcode.decompiler": {
"type": "Project",
"dependencies": {
"System.Collections.Immutable": "[9.0.0, )",
"System.Reflection.Metadata": "[9.0.0, )"
}
"type": "Project"
},
"icsharpcode.ilspyx": {
"type": "Project",
@ -355,9 +357,7 @@ @@ -355,9 +357,7 @@
"ICSharpCode.Decompiler": "[8.0.0-noversion, )",
"K4os.Compression.LZ4": "[1.3.8, )",
"Mono.Cecil": "[0.11.6, )",
"System.Composition.AttributedModel": "[10.0.3, )",
"System.Reflection.Metadata": "[10.0.3, )",
"System.Runtime.CompilerServices.Unsafe": "[6.1.2, )"
"System.Composition.AttributedModel": "[10.0.3, )"
}
},
"K4os.Compression.LZ4": {
@ -406,29 +406,11 @@ @@ -406,29 +406,11 @@
"resolved": "0.11.6",
"contentHash": "f33RkDtZO8VlGXCtmQIviOtxgnUdym9xx/b1p9h91CRGOsJFxCFOFK1FDbVt1OCf1aWwYejUFa2MOQyFWTFjbA=="
},
"System.Collections.Immutable": {
"type": "CentralTransitive",
"requested": "[10.0.3, )",
"resolved": "9.0.0",
"contentHash": "QhkXUl2gNrQtvPmtBTQHb0YsUrDiDQ2QS09YbtTTiSjGcf7NBqtYbrG/BE06zcBPCKEwQGzIv13IVdXNOSub2w=="
},
"System.Composition.AttributedModel": {
"type": "CentralTransitive",
"requested": "[10.0.3, )",
"resolved": "10.0.3",
"contentHash": "Pj+8+lQhO6XOm8HD4xQLf5Mxiq4z64sq5rXSwesCDUFAC4AtSmAScGuxDCyoEmr4O8p7ygxnh9FOvd9vfi3ApQ=="
},
"System.Reflection.Metadata": {
"type": "CentralTransitive",
"requested": "[10.0.3, )",
"resolved": "10.0.3",
"contentHash": "xtgymSlbWSeg/7JEwDbyX0YWJlyBhKqZwRk0edFZ0axqZYWtGgcP09rwfzQgqYiFnpQekZ/ur9Dr9YFCKkJK0A=="
},
"System.Runtime.CompilerServices.Unsafe": {
"type": "CentralTransitive",
"requested": "[6.1.2, )",
"resolved": "6.1.2",
"contentHash": "2hBr6zdbIBTDE3EhK7NSVNdX58uTK6iHW/P/Axmm9sl1xoGSLqDvMtpecn226TNwHByFokYwJmt/aQQNlO5CRw=="
}
}
}

18
ICSharpCode.ILSpyX/packages.lock.json

@ -30,6 +30,12 @@ @@ -30,6 +30,12 @@
"resolved": "0.11.6",
"contentHash": "f33RkDtZO8VlGXCtmQIviOtxgnUdym9xx/b1p9h91CRGOsJFxCFOFK1FDbVt1OCf1aWwYejUFa2MOQyFWTFjbA=="
},
"ReferenceTrimmer": {
"type": "Direct",
"requested": "[3.4.5, )",
"resolved": "3.4.5",
"contentHash": "I3vQerUFZ3BSrPfdpAUZX+OIEj9rf/BZ0p/Dc+KlygFHsGa3zekygNhqoPOP6/p06ql1lAcGmrqJGpsLOb6Yfw=="
},
"System.Composition.AttributedModel": {
"type": "Direct",
"requested": "[10.0.3, )",
@ -65,17 +71,7 @@ @@ -65,17 +71,7 @@
"contentHash": "cMtGW5/r0ck72Jg2QwZcNTX59z+iB/B1kW84VMa/eX8L19DhHIuIcQjfK0pgLLBxd60Jl0Bj9GUolcM0MnJnZA=="
},
"icsharpcode.decompiler": {
"type": "Project",
"dependencies": {
"System.Collections.Immutable": "[9.0.0, )",
"System.Reflection.Metadata": "[9.0.0, )"
}
},
"System.Collections.Immutable": {
"type": "CentralTransitive",
"requested": "[10.0.3, )",
"resolved": "9.0.0",
"contentHash": "QhkXUl2gNrQtvPmtBTQHb0YsUrDiDQ2QS09YbtTTiSjGcf7NBqtYbrG/BE06zcBPCKEwQGzIv13IVdXNOSub2w=="
"type": "Project"
}
}
}

3
ILSpy.BamlDecompiler.Tests/ILSpy.BamlDecompiler.Tests.csproj

@ -48,9 +48,8 @@ @@ -48,9 +48,8 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ICSharpCode.BamlDecompiler\ICSharpCode.BamlDecompiler.csproj" />
<ProjectReference Include="..\ICSharpCode.Decompiler.Tests\ICSharpCode.Decompiler.Tests.csproj" />
<ProjectReference Include="..\ILSpy.BamlDecompiler\ILSpy.BamlDecompiler.csproj" />
<ProjectReference Include="..\ILSpy\ILSpy.csproj" />
</ItemGroup>
<ItemGroup>

1
ILSpy.Tests/ILSpy.Tests.csproj

@ -64,7 +64,6 @@ @@ -64,7 +64,6 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="DiffLib" />
<PackageReference Include="NSubstitute" />
<PackageReference Include="NSubstitute.Analyzers.CSharp">
<PrivateAssets>all</PrivateAssets>

Loading…
Cancel
Save