From 135b5984b1beba9e32b7d88901d5c2ae205a340d Mon Sep 17 00:00:00 2001 From: Nikita Tsukanov Date: Tue, 20 Aug 2024 02:44:28 +0500 Subject: [PATCH] Changed modifiers for injected non-client implementable method (#16626) * Changed modifiers for injected non-client implementable method * Keep internal modifier --- nukebuild/RefAssemblyGenerator.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/nukebuild/RefAssemblyGenerator.cs b/nukebuild/RefAssemblyGenerator.cs index f103f16919..f8d03b0232 100644 --- a/nukebuild/RefAssemblyGenerator.cs +++ b/nukebuild/RefAssemblyGenerator.cs @@ -84,6 +84,7 @@ public class RefAssemblyGenerator type.Methods.Add(new MethodDefinition( "(This interface or abstract class is -not- implementable by user code !)", MethodAttributes.Assembly + | MethodAttributes.Virtual | MethodAttributes.Abstract | MethodAttributes.NewSlot | MethodAttributes.HideBySig, type.Module.TypeSystem.Void));