mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
C#: Ignore explicit interface implementations
This commit is contained in:
parent
61d2c85511
commit
0372bd56b6
4 changed files with 34 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue