Browse Source

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

* Changed modifiers for injected non-client implementable method

* Keep internal modifier
release/11.1.4
Nikita Tsukanov 2 years ago
committed by Steven Kirk
parent
commit
3d867303bc
  1. 1
      nukebuild/RefAssemblyGenerator.cs

1
nukebuild/RefAssemblyGenerator.cs

@ -84,6 +84,7 @@ public class RefAssemblyGenerator
type.Methods.Add(new MethodDefinition( type.Methods.Add(new MethodDefinition(
"(This interface or abstract class is -not- implementable by user code !)", "(This interface or abstract class is -not- implementable by user code !)",
MethodAttributes.Assembly MethodAttributes.Assembly
| MethodAttributes.Virtual
| MethodAttributes.Abstract | MethodAttributes.Abstract
| MethodAttributes.NewSlot | MethodAttributes.NewSlot
| MethodAttributes.HideBySig, type.Module.TypeSystem.Void)); | MethodAttributes.HideBySig, type.Module.TypeSystem.Void));

Loading…
Cancel
Save