using Microsoft.CodeAnalysis; namespace Semmle.Extraction.CSharp { /// /// Defines which entities belong in the trap file /// for the currently extracted entity. This is used to ensure that /// trap files do not contain redundant information. Generally a symbol /// should have an affinity with exactly one trap file, except for constructed /// symbols. /// public interface IExtractionScope { /// /// Whether the given symbol belongs in the trap file. /// /// The symbol to populate. bool InScope(ISymbol symbol); /// /// Whether the given file belongs in the trap file. /// /// The path to populate. bool InFileScope(string path); } }