C#: Ignore explicit interface implementations
This commit is contained in:
@ -113,7 +113,7 @@ namespace Godot.SourceGenerators
|
||||
var propertySymbols = members
|
||||
.Where(s => !s.IsStatic && s.Kind == SymbolKind.Property)
|
||||
.Cast<IPropertySymbol>()
|
||||
.Where(s => !s.IsIndexer);
|
||||
.Where(s => !s.IsIndexer && s.ExplicitInterfaceImplementations.Length == 0);
|
||||
|
||||
var fieldSymbols = members
|
||||
.Where(s => !s.IsStatic && s.Kind == SymbolKind.Field && !s.IsImplicitlyDeclared)
|
||||
|
||||
Reference in New Issue
Block a user