15 references to Peek
System.Private.Xml (15)
System\Xml\Schema\DtdValidator.cs (1)
520context = (ValidationState?)_validationStack.Peek();
System\Xml\Schema\XdrValidator.cs (1)
672context = (ValidationState?)_validationStack.Peek();
System\Xml\Schema\XmlSchemaValidator.cs (1)
1555_context = (ValidationState)_validationStack.Peek()!;
System\Xml\Schema\XsdValidator.cs (1)
803context = (ValidationState?)_validationStack.Peek();
System\Xml\Xsl\XsltOld\ActionFrame.cs (1)
155Debug.Assert(proc.ActionStack.Peek() == this, "the trick we are doing with proc.Current will work only if this is topmost frame");
System\Xml\Xsl\XsltOld\OutputScopeManager.cs (2)
30Debug.Assert(_elementScopesStack.Peek() != null); // We adding rootElementScope to garantee this 31return (OutputScope)_elementScopesStack.Peek()!;
System\Xml\Xsl\XsltOld\Processor.cs (8)
117ActionFrame? frame = (ActionFrame?)_actionStack.Peek(); 441ActionFrame? frame = (ActionFrame?)_actionStack.Peek(); 470ActionFrame? prent = (ActionFrame?)_actionStack.Peek(); 1011bool endOfFrame = ((ActionFrame)_actionStack.Peek()!).Execute(this); 1024return ((ActionFrame)_actionStack.Peek()!).GetVariable(variablekey); 1065dbgFrame.actionFrame = (ActionFrame?)_actionStack.Peek(); // In a case of next builtIn action. 1077DebuggerFrame? dbgFrame = (DebuggerFrame?)_debuggerStack!.Peek(); 1079dbgFrame.actionFrame = (ActionFrame?)_actionStack.Peek();