Output: Explicit interface implementations should not have access level modifiers

This commit is contained in:
Katy Coe
2019-11-17 23:20:23 +01:00
parent 673c9c94a9
commit 22d85ce683

View File

@@ -119,6 +119,9 @@ namespace Il2CppInspector.Reflection
// Static constructors can not have an access level modifier // Static constructors can not have an access level modifier
{ IsConstructor: true, IsStatic: true } => "", { IsConstructor: true, IsStatic: true } => "",
// Explicit interface implementations do not have an access level modifier
{ Name: var name } when name.IndexOf('.') != -1 => "",
{ IsPrivate: true } => "private ", { IsPrivate: true } => "private ",
{ IsPublic: true } => "public ", { IsPublic: true } => "public ",
{ IsFamily: true } => "protected ", { IsFamily: true } => "protected ",