From 22d85ce683d0b70eded98bb95e8369268d3fd6ec Mon Sep 17 00:00:00 2001 From: Katy Coe Date: Sun, 17 Nov 2019 23:20:23 +0100 Subject: [PATCH] Output: Explicit interface implementations should not have access level modifiers --- Il2CppInspector/Reflection/MethodBase.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Il2CppInspector/Reflection/MethodBase.cs b/Il2CppInspector/Reflection/MethodBase.cs index ffccff1..eb573c6 100644 --- a/Il2CppInspector/Reflection/MethodBase.cs +++ b/Il2CppInspector/Reflection/MethodBase.cs @@ -119,6 +119,9 @@ namespace Il2CppInspector.Reflection // Static constructors can not have an access level modifier { IsConstructor: true, IsStatic: true } => "", + // Explicit interface implementations do not have an access level modifier + { Name: var name } when name.IndexOf('.') != -1 => "", + { IsPrivate: true } => "private ", { IsPublic: true } => "public ", { IsFamily: true } => "protected ",