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