From f94aa4a3a40ece339d8ce5687a97fcb42189f78e Mon Sep 17 00:00:00 2001 From: Andrew Au Date: Mon, 25 Nov 2024 07:30:36 -0800 Subject: [PATCH] Update ReadyToRun to use 9.0 package --- Directory.Packages.props | 6 +++--- ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj | 2 +- ILSpy.ReadyToRun/ReadyToRunLanguage.cs | 5 +++++ NuGet.config | 2 +- 4 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/ILSpy.ReadyToRun.csproj b/ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj index dfe925ddda..e3d2f3bb0f 100644 --- a/ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj +++ b/ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj @@ -35,12 +35,12 @@ - + 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..fd44347908 100644 --- a/NuGet.config +++ b/NuGet.config @@ -4,7 +4,7 @@ - +