protected virtual void Write(IndentedTextWriter writer, RemoveEventHandlerStatement statement, WriteStatementOptions options) { if (statement.LeftExpression != null) { Write(writer, statement.LeftExpression); } writer.Write(" -= "); if (statement.RightExpression != null) { Write(writer, statement.RightExpression); } writer.WriteLine(";"); }
public virtual void VisitRemoveEventHandlerStatement(RemoveEventHandlerStatement removeEventHandlerStatement) { VisitStatement(removeEventHandlerStatement); Visit(removeEventHandlerStatement.LeftExpression); Visit(removeEventHandlerStatement.RightExpression); }