private bool AddIncludeTag(string tag) { if (IncludeTags.Contains(tag)) { return(false); } IncludeTags.Add(tag); return(true); }
public override void Analyze(SymbolAnalysisContext context, List <IncludeAttributeData> includeTags, List <ProtobufAttributeData> memberTags, List <ContractAttributeData> contractAttributes) { MemberTags.Add(context.Symbol.Name, memberTags); IncludeTags.Add(context.Symbol.Name, includeTags); }