From 6293cd17628f368b64d89d7087c78aa2b0ae1b2a Mon Sep 17 00:00:00 2001 From: Andrew Au Date: Mon, 9 Dec 2024 06:09:27 -0800 Subject: [PATCH] Update ReadyToRun to use 9.0 package (#3340) --- Directory.Packages.props | 2 +- ILSpy.ReadyToRun/ReadyToRunLanguage.cs | 5 +++++ NuGet.config | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 016f5fcf6..72b5cb578 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -10,7 +10,7 @@ - + diff --git a/ILSpy.ReadyToRun/ReadyToRunLanguage.cs b/ILSpy.ReadyToRun/ReadyToRunLanguage.cs index 26a3dc0df..de2620bd7 100644 --- a/ILSpy.ReadyToRun/ReadyToRunLanguage.cs +++ b/ILSpy.ReadyToRun/ReadyToRunLanguage.cs @@ -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 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 diff --git a/NuGet.config b/NuGet.config index 5209a02bf..ccdac39a4 100644 --- a/NuGet.config +++ b/NuGet.config @@ -4,7 +4,7 @@ - + @@ -12,7 +12,7 @@ - +