public override void FormatReturnValueName(DbgEvaluationContext context, IDbgTextWriter output, uint id) { if (context == null) { throw new ArgumentNullException(nameof(context)); } if (!(context is DbgEvaluationContextImpl)) { throw new ArgumentException(); } if (context.Language != Language) { throw new ArgumentException(); } if (context.Runtime.RuntimeKindGuid != runtimeKindGuid) { throw new ArgumentException(); } if (output == null) { throw new ArgumentNullException(nameof(output)); } try { engineFormatter.FormatReturnValueName(context, output, id); } catch (Exception ex) when(ExceptionUtils.IsInternalDebuggerError(ex)) { WriteError(output); } }
public override void FormatReturnValueName(DbgEvaluationContext context, ITextColorWriter output, uint id) { if (context == null) { throw new ArgumentNullException(nameof(context)); } if (!(context is DbgEvaluationContextImpl)) { throw new ArgumentException(); } if (context.Language != Language) { throw new ArgumentException(); } if (context.Runtime.RuntimeKindGuid != runtimeKindGuid) { throw new ArgumentException(); } if (output == null) { throw new ArgumentNullException(nameof(output)); } engineFormatter.FormatReturnValueName(context, output, id); }