From 87fb2600ff734d21e158681ee2ba5086849d9961 Mon Sep 17 00:00:00 2001 From: Andrew Au Date: Tue, 26 Nov 2024 08:06:29 -0800 Subject: [PATCH] Update ReadyToRun to use 9.0 package --- Directory.Packages.props | 6 +++--- ILSpy.ReadyToRun/ReadyToRunLanguage.cs | 5 +++++ NuGet.config | 4 ++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 054032035e..1a17a10a2d 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -10,7 +10,7 @@ - + @@ -39,9 +39,9 @@ - + - + diff --git a/ILSpy.ReadyToRun/ReadyToRunLanguage.cs b/ILSpy.ReadyToRun/ReadyToRunLanguage.cs index 26a3dc0dfc..de2620bd77 100644 --- a/ILSpy.ReadyToRun/ReadyToRunLanguage.cs +++ b/ILSpy.ReadyToRun/ReadyToRunLanguage.cs @@ -30,6 +30,7 @@ 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 @@ public void WriteReference(IType type, string text, bool isDefinition = false) 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 5209a02bfd..ccdac39a4f 100644 --- a/NuGet.config +++ b/NuGet.config @@ -4,7 +4,7 @@ - + @@ -12,7 +12,7 @@ - +