public override void ExitNestedPrompt() { if (this.nestedPromptCount != 0) { try { this.externalHostRef.Value.ExitNestedPrompt(); } finally { this.ExitNestedPromptHelper(); } ExitNestedPromptException exception = new ExitNestedPromptException(); throw exception; } }
public override void ExitNestedPrompt() { if (this.nestedPromptCount != 0) { try { this.externalHostRef.Value.ExitNestedPrompt(); } finally { this.ExitNestedPromptHelper(); } ExitNestedPromptException nestedPromptException = new ExitNestedPromptException(); InternalHost.tracer.TraceException((Exception)nestedPromptException); throw nestedPromptException; } }
/// <summary> /// /// See base class /// /// <seealso cref="EnterNestedPrompt()"/> /// </summary> public override void ExitNestedPrompt() { Dbg.Assert(NestedPromptCount >= 0, "nestedPromptCounter should be greater than or equal to 0"); if (NestedPromptCount == 0) { return; } try { _externalHostRef.Value.ExitNestedPrompt(); } finally { ExitNestedPromptHelper(); } ExitNestedPromptException enpe = new ExitNestedPromptException(); throw enpe; }
/// <summary> /// /// See base class /// /// <seealso cref="EnterNestedPrompt()"/> /// </summary> public override void ExitNestedPrompt() { Dbg.Assert(NestedPromptCount >= 0, "nestedPromptCounter should be greater than or equal to 0"); if (NestedPromptCount == 0) return; try { _externalHostRef.Value.ExitNestedPrompt(); } finally { ExitNestedPromptHelper(); } ExitNestedPromptException enpe = new ExitNestedPromptException(); throw enpe; }