You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
C#: Report diagnostic for Node exports in a type that doesn't derive from Node
This commit is contained in:
@@ -32,7 +32,7 @@ namespace Godot.SourceGenerators
|
||||
disabledGenerators != null &&
|
||||
disabledGenerators.Split(';').Contains(generatorName));
|
||||
|
||||
public static bool InheritsFrom(this INamedTypeSymbol? symbol, string assemblyName, string typeFullName)
|
||||
public static bool InheritsFrom(this ITypeSymbol? symbol, string assemblyName, string typeFullName)
|
||||
{
|
||||
while (symbol != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user