private static ExtendedRichDescription GetStatementDescription(SetContextStatement statement) { return(new ExtendedRichDescription( new RichDescription( "Setting ", new Hilite(statement.ContextType), " context to ", new Hilite(statement.ContextValue) ) )); }
private static void Validate(SetContextStatement statement, ValidateStatementEventArgs e) => Validate(statement.ContextType, e);