Loading files
7f9864208This file is pinned to the selected release. Download the original to open it in your design tool.
using ICSharpCode.Decompiler.CSharp.Syntax;
using System.Collections.Generic;
namespace Hast.Transformer.Models;
internal sealed class DeclarationReferenceMetadata
{
public HashSet<AstNode> ReferencedFrom { get; private set; }
public int ReferenceCount => ReferencedFrom.Count;
public bool IsReferenced => ReferenceCount > 0;
public bool WasVisited { get; set; }
public DeclarationReferenceMetadata() => ReferencedFrom = [];
}