Browse Source

Update ReadyToRun to use 9.0 package (#3340)

pull/3350/head
Andrew Au 5 months ago committed by GitHub
parent
commit
6293cd1762
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      Directory.Packages.props
  2. 5
      ILSpy.ReadyToRun/ReadyToRunLanguage.cs
  3. 4
      NuGet.config

2
Directory.Packages.props

@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
<PackageVersion Include="DiffLib" Version="2017.7.26.1241" />
<PackageVersion Include="Dirkster.AvalonDock.Themes.VS2013" Version="4.72.1" />
<PackageVersion Include="FluentAssertions" Version="6.12.2" />
<PackageVersion Include="ILCompiler.Reflection.ReadyToRun.Experimental" Version="8.0.0-rc.2.23471.30" />
<PackageVersion Include="ILCompiler.Reflection.ReadyToRun.Experimental" Version="9.0.1-rtm.24557.9" />
<PackageVersion Include="Iced" Version="1.21.0" />
<PackageVersion Include="JunitXml.TestLogger" Version="4.1.0" />
<PackageVersion Include="K4os.Compression.LZ4" Version="1.3.8" />

5
ILSpy.ReadyToRun/ReadyToRunLanguage.cs

@ -30,6 +30,7 @@ using System.Runtime.CompilerServices; @@ -30,6 +30,7 @@ using System.Runtime.CompilerServices;
using ICSharpCode.AvalonEdit.Highlighting;
using ICSharpCode.Decompiler;
using ICSharpCode.Decompiler.Disassembler;
using ICSharpCode.Decompiler.Metadata;
using ICSharpCode.Decompiler.Solution;
using ICSharpCode.Decompiler.TypeSystem;
@ -96,6 +97,10 @@ namespace ICSharpCode.ILSpy.ReadyToRun @@ -96,6 +97,10 @@ namespace ICSharpCode.ILSpy.ReadyToRun
public void WriteReference(IMember member, string text, bool isDefinition = false)
{
}
public void WriteReference(MetadataFile metadata, Handle handle, string text, string protocol = "decompile", bool isDefinition = false)
{
}
}
#endif

4
NuGet.config

@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
<add key="dotnet8-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8-transport/nuget/v3/index.json" />
<add key="dotnet9-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9-transport/nuget/v3/index.json" />
</packageSources>
<packageSourceMapping>
<packageSource key="nuget.org">
@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
<package pattern="Microsoft.DiaSymReader.Native" />
<package pattern="Microsoft.DiaSymReader" />
</packageSource>
<packageSource key="dotnet8-transport">
<packageSource key="dotnet9-transport">
<package pattern="ILCompiler.Reflection.ReadyToRun.Experimental" />
</packageSource>
<packageSource key="dotnet-tools">

Loading…
Cancel
Save