Browse Source

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

* Changed modifiers for injected non-client implementable method

* Keep internal modifier
pull/16734/head
Nikita Tsukanov 1 year ago
committed by GitHub
parent
commit
135b5984b1
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      nukebuild/RefAssemblyGenerator.cs

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

Loading…
Cancel
Save