Output: Fix regression in truncation of interface names for explicitly implemented properties
This commit is contained in:
@@ -33,8 +33,8 @@ namespace Il2CppInspector.Reflection {
|
|||||||
get {
|
get {
|
||||||
// Explicit interface implementation
|
// Explicit interface implementation
|
||||||
if (DeclaringType.ImplementedInterfaces
|
if (DeclaringType.ImplementedInterfaces
|
||||||
.FirstOrDefault(i => CSharpSafeName.IndexOf("." + i.CSharpTypeDeclarationName, StringComparison.Ordinal) != -1) is TypeInfo @interface)
|
.FirstOrDefault(i => CSharpSafeName.IndexOf("." + i.CSharpName, StringComparison.Ordinal) != -1) is TypeInfo @interface)
|
||||||
return CSharpSafeName.Substring(CSharpSafeName.IndexOf("." + @interface.CSharpTypeDeclarationName, StringComparison.Ordinal) + 1);
|
return CSharpSafeName.Substring(CSharpSafeName.IndexOf("." + @interface.CSharpName, StringComparison.Ordinal) + 1);
|
||||||
|
|
||||||
// Regular method
|
// Regular method
|
||||||
return Name;
|
return Name;
|
||||||
|
|||||||
Reference in New Issue
Block a user