add a scanner, but this seems to be a wrong solution. Change open-source head

This commit is contained in:
Youmu Liu
2026-07-07 18:20:38 +08:00
parent b053567eb7
commit 1705d7c245
276 changed files with 3468 additions and 7205 deletions
@@ -1,3 +1,10 @@
// -----------------------------------------------------------------------------
// file="PanelStateIncrementalGenerator.Models"
// Project: StgSharp
// Copyright (c) Nitload.
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using Microsoft.CodeAnalysis;
using System.Collections.Immutable;
@@ -14,7 +21,8 @@ namespace StgSharp.UserInterface.Generator
string? metadataName
)
{
return IsStateSymbolAttribute(metadataName) || metadataName == StateChangeBindingAttribute;
return IsStateSymbolAttribute(metadataName) ||
metadataName == StateChangeBindingAttribute;
}
public static bool IsStateSymbolAttribute(