Exemple #1
0
        public bool IsSuperSetOf(CallGraphContextElement another)
        {
            var context = myStack.Peek().Context;

            // this byte trick check if subContext is subset of myContext
            return(((context & another) ^ another) == CallGraphContextElement.NONE);
        }
Exemple #2
0
        public bool ContainAny(CallGraphContextElement another)
        {
            var context = myStack.Peek().Context;

            return((context & another) != CallGraphContextElement.NONE);
        }
Exemple #3
0
 public BoundContextElement(CallGraphContextElement context, ITreeNode node)
 {
     Context = context;
     Node    = node;
 }