C#: Compare symbol names without null flow state
This commit is contained in:
parent
46424488ed
commit
671a5b4ea5
3 changed files with 9 additions and 9 deletions
|
|
@ -362,7 +362,7 @@ namespace Godot.SourceGenerators
|
|||
{
|
||||
foreach (var attr in memberSymbol.GetAttributes())
|
||||
{
|
||||
PropertyUsageFlags? propertyUsage = attr.AttributeClass?.ToString() switch
|
||||
PropertyUsageFlags? propertyUsage = attr.AttributeClass?.FullQualifiedNameOmitGlobal() switch
|
||||
{
|
||||
GodotClasses.ExportCategoryAttr => PropertyUsageFlags.Category,
|
||||
GodotClasses.ExportGroupAttr => PropertyUsageFlags.Group,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue