Skip to content

Commit

Permalink
Changed modifiers for injected non-client implementable method (#16626)
Browse files Browse the repository at this point in the history
* Changed modifiers for injected non-client implementable method

* Keep internal modifier
  • Loading branch information
kekekeks authored and grokys committed Oct 8, 2024
1 parent 49bacc6 commit 3d86730
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nukebuild/RefAssemblyGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ static void ProcessType(TypeDefinition type, MethodReference obsoleteCtor)
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));
Expand Down

0 comments on commit 3d86730

Please sign in to comment.