1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

C#: Ignore explicit interface implementations

This commit is contained in:
Raul Santos
2023-03-04 19:16:48 +01:00
parent 61d2c85511
commit 0372bd56b6
4 changed files with 34 additions and 2 deletions

View File

@@ -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);