27 references to contextStack
Microsoft.Build (27)
Logging\SerialConsoleLogger.cs (27)
226if (!contextStack.IsEmpty()) 228this.VerifyStack(contextStack.Peek().type == FrameType.Target, "Bad stack -- Top is project {0}", contextStack.Peek().ID); 237if (!contextStack.IsEmpty()) 239this.VerifyStack(contextStack.Peek().type == FrameType.Target, "Bad stack -- Top is target {0}", contextStack.Peek().ID); 242contextStack.Push(new Frame(FrameType.Project, 253contextStack.Push(new Frame(FrameType.Project, 303if (contextStack.Peek().hasErrorsOrWarnings 318Frame top = contextStack.Pop(); 331contextStack.Push(new Frame(FrameType.Target, 376bool targetHasErrorsOrWarnings = contextStack.Peek().hasErrorsOrWarnings; 403Frame top = contextStack.Pop(); 601this.VerifyStack(!contextStack.IsEmpty(), "Bad project stack"); 604Frame outerMost = contextStack.Pop(); 610contextStack.Push(outerMost); 668Frame f = contextStack.Pop(); 670contextStack.Push(f); 693if (contextStack.IsEmpty()) 698Frame topOfStack = contextStack.Peek(); 726if (contextStack.IsEmpty()) 731if (!contextStack.Peek().displayed) 733Frame f = contextStack.Pop(); 740contextStack.Push(f); 777if (contextStack.Count == 0) 782Frame frame = contextStack.Pop(); 784contextStack.Push(frame);