From 6abbb1c46ec32eef3057166a4bf97cba1e175d4f Mon Sep 17 00:00:00 2001 From: Jonathan Pobst Date: Tue, 2 Jul 2024 20:11:15 -0500 Subject: [PATCH] Bump `Mono.Cecil.dll` to `0.11.5`. --- Directory.Build.props | 2 +- .../Tests/Xamarin.Android.Build.Tests/Tasks/LinkerTests.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index b220f73f83b..9c6551ecfe8 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -43,7 +43,7 @@ 3.3.0 1.0.0 - 0.11.4 + 0.11.5 13.0.3 5.4.0 1.1.11 diff --git a/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Tasks/LinkerTests.cs b/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Tasks/LinkerTests.cs index 261f9cda915..d91ed72976f 100644 --- a/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Tasks/LinkerTests.cs +++ b/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Tasks/LinkerTests.cs @@ -131,7 +131,7 @@ static void CreateExplicitInterface (string assemblyPath, AssemblyDefinition and impl.Interfaces.Add (new InterfaceImplementation (iface)); var explicit_method = new MethodDefinition ("MyNamespace.IMyInterface.MyMethod", MethodAttributes.Abstract, void_type); - explicit_method.Overrides.Add (new MethodReference (iface_method.Name, void_type, iface)); + explicit_method.Overrides.Add (iface_method); impl.Methods.Add (explicit_method); assm.MainModule.Types.Add (impl);