Changed modifiers for injected non-client implementable method (#16626)
* Changed modifiers for injected non-client implementable method * Keep internal modifier
This commit is contained in:
@@ -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));
|
||||||
|
|||||||
Reference in New Issue
Block a user