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); }
public bool ContainAny(CallGraphContextElement another) { var context = myStack.Peek().Context; return((context & another) != CallGraphContextElement.NONE); }
public BoundContextElement(CallGraphContextElement context, ITreeNode node) { Context = context; Node = node; }