C#: Ignore explicit interface implementations

(cherry picked from commit 0372bd56b6)
This commit is contained in:
Raul Santos
2023-03-13 21:55:11 +01:00
committed by Yuri Sizov
parent 079c8ea719
commit ad6fa1cd25
4 changed files with 34 additions and 2 deletions
@@ -151,6 +151,12 @@ namespace Godot.SourceGenerators
continue;
}
if (property.ExplicitInterfaceImplementations.Length > 0)
{
Common.ReportExportedMemberIsExplicitInterfaceImplementation(context, property);
continue;
}
var propertyType = property.Type;
var marshalType = MarshalUtils.ConvertManagedTypeToMarshalType(propertyType, typeCache);