add a scanner, but this seems to be a wrong solution. Change open-source head
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user