Loading files
using ICSharpCode.Decompiler.CSharp.Syntax;
using System.Collections.Generic;
namespace Hast.Transformer.Models;
internal 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 = new HashSet<AstNode>();
}
e97463da5This file is pinned to the selected release. Download the original to open it in your design tool.