Procházet zdrojové kódy

Changed modifiers for injected non-client implementable method (#16626)

* Changed modifiers for injected non-client implementable method

* Keep internal modifier
Nikita Tsukanov před 1 rokem
rodič
revize
135b5984b1
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      nukebuild/RefAssemblyGenerator.cs

+ 1 - 0
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));